/* ============================================================================
   VeloCart International 3-Color Design System
   1. Primary:   #0F172A (Midnight Navy)
   2. Secondary: #047857 (Royal Emerald)
   3. Accent:    #EA580C (Vibrant Coral Orange)
   ============================================================================ */

:root {
  --navy: #0F172A;
  --navy-soft: #1E293B;
  --emerald: #047857;
  --emerald-light: #ECFDF5;
  --orange: #EA580C;
  --orange-light: #FFF7ED;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 44px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

.full-w {
  width: 100%;
}

.text-emerald {
  color: var(--emerald);
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.btn-accent,
.btn-emerald,
.btn-navy,
.btn-outline-light,
.btn-navy-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.28);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy-sm {
  background: var(--navy);
  color: var(--white);
  padding: 9px 14px;
  font-size: 0.85rem;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-accent:hover,
.btn-emerald:hover,
.btn-navy:hover,
.btn-outline-light:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* Announcement Bar */
.announcement-bar {
  background: var(--emerald);
  color: var(--white);
  font-size: 0.82rem;
  padding: 7px 0;
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FDE68A;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.4);
  }
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-btn {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.92;
}

.link-btn:hover {
  text-decoration: underline;
  opacity: 1;
}

.sep {
  opacity: 0.45;
}

/* Main Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand-logo-pill {
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.brand-logo-pill img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo-pill {
  margin-bottom: 10px;
  padding: 6px 14px;
}

.footer-logo-pill img {
  height: 44px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo-mark svg {
  width: 38px;
  height: 38px;
  display: block;
}

.brand-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Search Bar */
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 11px;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.search-lens-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 14px;
  color: #94A3B8;
  flex-shrink: 0;
}

.search-lens-icon svg {
  stroke: #94A3B8;
  width: 17px;
  height: 17px;
  display: block;
}

.header-search:focus-within {
  border-color: var(--orange);
}

.header-search select {
  border: none;
  background: #F1F5F9;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.83rem;
  padding: 11px 12px;
  border-radius: 9px 0 0 9px;
  outline: none;
  border-right: 1px solid var(--border);
}

.header-search input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 0.92rem;
  color: var(--navy);
  outline: none;
  min-width: 120px;
}

.search-btn {
  background: var(--orange);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 0 9px 9px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 120;
  max-height: 360px;
  overflow-y: auto;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.live-search-item:hover {
  background: var(--bg);
}

.live-search-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.action-wrapper {
  position: relative;
}

.icon-action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--white);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.action-label {
  font-size: 0.7rem;
  color: #CBD5E1;
  font-weight: 600;
}

.badge-pill {
  position: absolute;
  top: 1px;
  right: 3px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.badge-emerald {
  background: var(--emerald);
}

.profile-trigger-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s;
}

.profile-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.profile-meta {
  text-align: left;
  line-height: 1.15;
}

.profile-greeting {
  display: block;
  font-size: 0.72rem;
  color: #CBD5E1;
}

.profile-sub {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

/* Popover Panels */
.popover-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--white);
  color: var(--navy);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 150;
  overflow: hidden;
}

.account-popover {
  width: 230px;
  padding: 8px;
}

.account-popover-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.account-popover-header small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.menu-item-btn {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.menu-item-btn:hover {
  background: var(--bg);
}

.menu-item-btn.danger {
  color: #DC2626;
}

.menu-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.popover-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.popover-body {
  max-height: 320px;
  overflow-y: auto;
}

.notif-item {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.notif-item.unread {
  background: var(--orange-light);
}

.notif-item strong {
  display: block;
  margin-bottom: 2px;
}

.text-btn {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Sub-Navigation */
.sub-nav {
  background: var(--navy-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  overflow-x: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: 9px;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-pill.active {
  background: var(--orange);
  color: var(--white);
}

.nav-pill-fruits.active {
  background: var(--emerald);
  color: var(--white);
}

.nav-tag,
.nav-tag-green {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 700;
}

.nav-tag {
  background: rgba(255, 255, 255, 0.18);
}

.nav-tag-green {
  background: var(--emerald);
  color: var(--white);
}

.admin-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 88, 12, 0.18);
  color: #FDBA74;
  border: 1px solid rgba(234, 88, 12, 0.45);
  padding: 6px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-nav-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.nav-right-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 120, 87, 0.28);
  color: #A7F3D0;
  border: 1px solid rgba(4, 120, 87, 0.65);
  padding: 6px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.customer-nav-btn:hover {
  background: var(--emerald);
  color: var(--white);
}

/* CUSTOMER PERSONAL DASHBOARD */
.customer-banner {
  padding: 30px 0;
  color: var(--white);
}

.customer-banner.theme-navy {
  background: linear-gradient(125deg, var(--navy) 0%, #1E293B 100%);
}

.customer-banner.theme-emerald {
  background: linear-gradient(125deg, var(--emerald) 0%, #065F46 100%);
}

.customer-banner.theme-orange {
  background: linear-gradient(125deg, var(--orange) 0%, #9A3412 100%);
}

.customer-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.customer-profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.customer-avatar-wrap {
  position: relative;
}

.customer-avatar-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  border: 3px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.customer-avatar-circle.small {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.customer-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-upload-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.customer-head-meta h1 {
  font-size: 1.7rem;
  margin: 4px 0;
}

.customer-head-meta p {
  font-size: 0.9rem;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.customer-contact-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  margin-top: 6px;
}

.cust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.chip-svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
  flex-shrink: 0;
}

.customer-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.customer-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 26px 20px 52px;
}

.customer-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.cust-tab-btn {
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.cust-tab-btn .tab-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cust-tab-btn .tab-icon-box svg {
  width: 17px;
  height: 17px;
}

.cust-tab-btn:hover {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #E2E8F0;
}

.cust-tab-btn:hover .tab-icon-box {
  background: var(--white);
  color: #0F172A;
  border-color: #CBD5E1;
}

.cust-tab-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.cust-tab-btn.active .tab-icon-box {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.cust-tab-btn.active .tab-text {
  color: var(--white);
  font-weight: 700;
}

/* Status dots for order filter buttons */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.dot-active { background: #EA580C; box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2); }
.dot-delivered { background: #059669; box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2); }
.dot-cancelled { background: #DC2626; box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2); }

.cust-tab {
  display: none;
}

.cust-tab.active {
  display: block;
}

.photo-edit-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.purchase-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  background: var(--bg);
}

.purchase-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.purchase-items-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.purchase-item-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.purchase-item-chip img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.purchase-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.status-stepper {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.step-dot {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  background: #E2E8F0;
  color: var(--muted);
}

.step-dot.done {
  background: var(--emerald);
  color: var(--white);
}

@media (max-width: 900px) {
  .customer-shell {
    grid-template-columns: 1fr;
  }
}

/* ANIMATED MOVING PRODUCT MARQUEE */
.marquee-section {
  margin-top: 26px;
}

.marquee-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.marquee-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.marquee-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.live-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.marquee-hint {
  color: var(--muted);
  font-size: 0.78rem;
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 245px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.marquee-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.marquee-card img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--white);
}

.marquee-info {
  min-width: 0;
}

.marquee-info strong {
  display: block;
  font-size: 0.83rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.marquee-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--orange);
}

.marquee-tag {
  font-size: 0.68rem;
  color: var(--emerald);
  font-weight: 700;
  margin-left: 6px;
}

/* Views */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
  animation: fadeInView 0.25s ease;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO SECTION */
.hero-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding-top: 20px;
}

.dept-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.dept-header {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.dept-fruits-title {
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--emerald);
  margin: 10px 0 6px;
}

.dept-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.dept-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.dept-item span:first-child,
.dept-item .dept-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dept-item .cat-svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-right: 0;
  flex-shrink: 0;
}

.dept-item:hover {
  background: var(--orange-light);
  color: var(--orange);
  transform: translateX(3px);
}

.dept-item.fruit:hover {
  background: var(--emerald-light);
  color: var(--emerald);
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-md);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  min-height: 360px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 48%, rgba(15, 23, 42, 0.18) 100%);
}

.hero-overlay-green {
  background: linear-gradient(95deg, rgba(4, 120, 87, 0.94) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(4, 120, 87, 0.15) 100%);
}

.hero-overlay-orange {
  background: linear-gradient(95deg, rgba(154, 52, 18, 0.94) 0%, rgba(15, 23, 42, 0.82) 52%, rgba(234, 88, 12, 0.18) 100%);
}

.hero-pill-orange {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFEDD5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 42px;
  max-width: 600px;
  color: var(--white);
}

.hero-pill {
  display: inline-block;
  background: rgba(234, 88, 12, 0.22);
  border: 1px solid rgba(234, 88, 12, 0.55);
  color: #FED7AA;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.hero-pill-green {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #D1FAE5;
}

.hero-content h1 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 0.96rem;
  color: #E2E8F0;
  margin-bottom: 22px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow.prev {
  left: 14px;
}

.slider-arrow.next {
  right: 14px;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 42px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s;
}

.slider-dots .dot.active {
  width: 28px;
  background: var(--orange);
}

.hero-bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-feature-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-feature-card.navy {
  background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
}

.mini-feature-card.emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, #065F46 100%);
}

.mini-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  font-weight: 700;
}

.mini-feature-card h3 {
  font-size: 1.08rem;
  margin: 2px 0;
}

.mini-feature-card p {
  font-size: 0.82rem;
  opacity: 0.88;
}

.mini-arrow {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.trust-ico-delivery {
  background: #FFF7ED !important;
  border: 1.5px solid #FDBA74 !important;
  color: #EA580C !important;
}
.trust-ico-delivery svg {
  stroke: #EA580C !important;
}

.trust-ico-shield {
  background: #ECFDF5 !important;
  border: 1.5px solid #A7F3D0 !important;
  color: #059669 !important;
}
.trust-ico-shield svg {
  stroke: #059669 !important;
}

.trust-ico-pay {
  background: #EFF6FF !important;
  border: 1.5px solid #BFDBFE !important;
  color: #2563EB !important;
}
.trust-ico-pay svg {
  stroke: #2563EB !important;
}

.trust-ico-return {
  background: #FAF5FF !important;
  border: 1.5px solid #E9D5FF !important;
  color: #7C3AED !important;
}
.trust-ico-return svg {
  stroke: #7C3AED !important;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
}

.trust-item span {
  font-size: 0.77rem;
  color: var(--muted);
}

/* Section Blocks */
.section-block {
  margin-top: 40px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  gap: 12px;
}

.section-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.view-all-btn {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}

.view-all-btn:hover {
  text-decoration: underline;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.cat-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--orange-light);
  color: var(--orange);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(234, 88, 12, 0.2);
  transition: all 0.2s ease;
}

.cat-icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
}

.cat-svg {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: -2px;
  display: inline-block;
  flex-shrink: 0;
}

.category-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 3px;
}

.category-card small {
  color: var(--muted);
  font-size: 0.76rem;
}

/* Flash Deal Banner */
.flash-deal-banner {
  margin-top: 38px;
  background: linear-gradient(125deg, var(--navy) 0%, #1E293B 65%, #334155 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.flash-badge {
  display: inline-block;
  background: var(--orange);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flash-left h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.flash-left p {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.countdown-boxes {
  display: flex;
  gap: 10px;
}

.cd-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  min-width: 62px;
  padding: 10px 8px;
  text-align: center;
}

.cd-box span {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FDBA74;
  line-height: 1.1;
}

.cd-box small {
  font-size: 0.68rem;
  color: #CBD5E1;
  font-weight: 700;
}

/* PRODUCT CARDS WITH DYNAMIC HOVER ANIMATION */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.product-card:hover {
  transform: translateY(-9px) scale(1.012);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.product-card.fruit-card:hover {
  border-color: var(--emerald);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F8FAFC;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.09);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.discount-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-badge {
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.fruit-card .tag-badge {
  background: var(--emerald);
}

.wishlist-float-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, color 0.2s, background 0.2s;
}

.wishlist-float-btn:hover {
  transform: scale(1.12);
  color: var(--orange);
}

.wishlist-float-btn.saved {
  background: var(--orange);
  color: var(--white);
}

.quick-actions-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.28s ease;
  z-index: 3;
}

.product-card:hover .quick-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn {
  flex: 1;
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.quick-view-btn:hover {
  background: var(--orange);
}

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-line {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.product-rating {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-rating span {
  color: var(--muted);
  font-weight: 500;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
}

.price-now {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.price-old {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.unit-pill {
  margin-left: auto;
  font-size: 0.72rem;
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
}

.card-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}

.card-action-row:has(button:only-child) {
  grid-template-columns: 1fr;
}

.add-cart-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 9px 6px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.2s, transform 0.2s;
}

.buy-now-btn {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  padding: 9px 6px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.2s, transform 0.2s;
}

.buy-now-btn:hover {
  background: #C2410C;
  transform: translateY(-1px);
}

.add-cart-btn:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.fruit-card .add-cart-btn {
  background: var(--emerald);
}

.fruit-card .add-cart-btn:hover {
  background: #065F46;
}

/* Fruits Showcase Band */
.fruits-showcase-band {
  margin-top: 48px;
  padding: 42px 0;
  background: linear-gradient(180deg, #ECFDF5 0%, #F8FAFC 100%);
  border-top: 2px solid #A7F3D0;
  border-bottom: 1px solid var(--border);
}

.fruits-promo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.fruit-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fruits-promo-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
}

.fruits-promo-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.fruit-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fruit-cat-chip {
  background: var(--white);
  border: 1px solid #A7F3D0;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
}

.fruit-cat-chip:hover {
  background: var(--emerald);
  color: var(--white);
}

/* Reviews & Customer Feedback Slider */
.reviews-section-wrap {
  position: relative;
}
.reviews-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rev-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.rev-arrow-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.05);
}
.reviews-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.reviews-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px;
  scrollbar-width: none;
}
.reviews-slider-track::-webkit-scrollbar {
  display: none;
}
.reviews-slider-track.expanded-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow-x: visible;
  scroll-snap-type: none;
}
.review-card {
  flex: 0 0 290px;
  min-width: 280px;
  max-width: 320px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reviews-slider-track.expanded-grid .review-card {
  flex: auto;
  min-width: 0;
  max-width: 100%;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.review-card .verified-badge {
  font-size: 0.68rem;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.review-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
  margin-bottom: 14px;
  flex: 1;
  font-style: italic;
}
.review-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.review-author-meta {
  min-width: 0;
  overflow: hidden;
}
.review-author-meta strong {
  display: block;
  font-size: 0.86rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-author-meta small {
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reviews-footer-bar {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.btn-show-more-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.btn-show-more-reviews:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #FFF7ED;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card strong {
  display: block;
  font-size: 0.86rem;
}

.review-card small {
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 600;
  display: block;
}

.qv-reviews-box {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.qv-reviews-box h4 {
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.qv-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.qv-review-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg);
  padding: 10px;
  border-radius: 10px;
}

.qv-review-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qv-review-form select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.qv-review-form input {
  flex: 1;
  min-width: 180px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.newsletter-band {
  margin-top: 40px;
  margin-bottom: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 460px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* Catalog Pages */
.store-banner {
  padding: 36px 0;
  color: var(--white);
}

.store-banner-navy {
  background: linear-gradient(120deg, var(--navy), #1E293B);
}

.store-banner-emerald {
  background: linear-gradient(120deg, var(--emerald), #065F46);
}

.store-banner h1 {
  font-size: 2rem;
  margin: 8px 0 6px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  padding: 28px 20px 56px;
}

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  height: fit-content;
}

.filter-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.filter-cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.filter-cat-btn {
  text-align: left;
  padding: 8px 11px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
}

.filter-cat-btn:hover,
.filter-cat-btn.active {
  background: var(--orange-light);
  color: var(--orange);
}

.filter-box select {
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 6px;
}

.fruit-guarantee-card {
  margin-top: 16px;
  background: var(--emerald-light);
  border: 1px solid #A7F3D0;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--emerald);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.catalog-toolbar input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 240px;
}

/* Admin Dashboard */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 82vh;
}

.admin-sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-brand strong {
  display: block;
  font-size: 1.1rem;
}

.admin-brand small {
  color: #94A3B8;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #CBD5E1;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  width: 100%;
  cursor: pointer;
}

.admin-tab-btn .adm-nav-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-tab-btn:hover .adm-nav-svg {
  opacity: 1;
}

.admin-tab-btn.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.admin-tab-btn.active .adm-nav-svg {
  opacity: 1;
}

.admin-back-btn {
  margin-top: auto;
}

.admin-main {
  padding: 26px;
  background: #F1F5F9;
  overflow-x: auto;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-toolbar-actions select,
.admin-toolbar-actions input {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--white);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.kpi-card span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.kpi-card strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-card {
  background: var(--white);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.admin-card h3 {
  margin-bottom: 14px;
  font-size: 1.04rem;
}

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.prod-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prod-cell img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.pill-status {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-block;
}

.pill-general {
  background: #E0E7FF;
  color: var(--navy);
}

.pill-fruits {
  background: var(--emerald-light);
  color: var(--emerald);
}

.pill-ok {
  background: #DCFCE7;
  color: #166534;
}

.pill-warn {
  background: #FEF3C7;
  color: #92400E;
}

.pill-bad {
  background: #FEE2E2;
  color: #991B1B;
}

.btn-xs {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  margin-right: 4px;
}

.btn-xs-edit {
  background: #E2E8F0;
  color: var(--navy);
}

.btn-xs-del {
  background: #FEE2E2;
  color: #B91C1C;
}

.orders-admin-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.order-admin-card:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.order-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.admin-order-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-order-price-badge {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  box-sizing: border-box;
}

/* Custom Modern Admin Selects */
.admin-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 11px;
  padding: 5px 26px 5px 10px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  outline: none;
  height: 32px;
  box-sizing: border-box;
}

.admin-select:hover {
  border-color: #94A3B8;
  background-color: #F8FAFC;
}

.admin-select:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.admin-select-status {
  font-weight: 700;
  border-color: #CBD5E1;
  color: #0F172A;
}

.admin-select-courier {
  border-color: #BAE6FD;
  background-color: #F0FDF4;
  color: #0369A1;
  font-weight: 700;
}

/* Modern Admin Action Buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
  height: 32px;
  box-sizing: border-box;
}

.admin-btn .btn-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.admin-btn-courier {
  background: #047857;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
}

.admin-btn-courier:hover {
  background: #065F46;
  transform: translateY(-1px);
}

.admin-btn-call {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.admin-btn-call:hover {
  background: #DBEAFE;
  color: #1E40AF;
}

.admin-btn-whatsapp {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

.admin-btn-whatsapp:hover {
  background: #D1FAE5;
  color: #065F46;
}

.admin-btn-invoice {
  background: #F8FAFC;
  color: #334155;
  border-color: #CBD5E1;
}

.admin-btn-invoice:hover {
  background: #F1F5F9;
  color: #0F172A;
}

/* Info Badges */
.admin-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  margin-top: 3px;
  margin-right: 4px;
}

.admin-info-badge .micro-svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.badge-note {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.badge-choice {
  background: #F0FDF4;
  color: #047857;
  border: 1px solid #BBF7D0;
}

.badge-courier {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-courier.cancelled {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.status-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.status-bar-track {
  flex: 1;
  height: 10px;
  background: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.status-bar-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 99px;
}

/* CUSTOMER TRACKING & FUNNEL ANALYTICS */
.track-kpi-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pct-note {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 4px;
}

.pct-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 4px;
}

.pct-green {
  background: #DCFCE7;
  color: #166534;
}

.pct-orange {
  background: #FFEDD5;
  color: #C2410C;
}

.pct-navy {
  background: #E2E8F0;
  color: var(--navy);
}

.funnel-step-row {
  margin-bottom: 12px;
}

.funnel-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 5px;
}

.funnel-bar-track {
  height: 14px;
  background: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.funnel-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.split-bar {
  display: flex;
  height: 16px;
  border-radius: 99px;
  overflow: hidden;
  background: #E2E8F0;
}

.split-general {
  background: var(--navy);
}

.split-fruits {
  background: var(--emerald);
}

.activity-feed-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .track-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding-top: 44px;
  margin-top: 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1fr;
  gap: 26px;
  padding-bottom: 28px;
}

.footer-brand strong {
  font-size: 1.35rem;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.f-badge {
  background: rgba(4, 120, 87, 0.28);
  border: 1px solid rgba(4, 120, 87, 0.6);
  color: #A7F3D0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.footer-col a {
  color: #CBD5E1;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--orange);
}

.delivery-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.del-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
}

.del-card strong {
  display: block;
  color: var(--white);
}

.city-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.city-chips span {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.support-box {
  background: rgba(4, 120, 87, 0.22);
  border: 1px solid rgba(4, 120, 87, 0.5);
  padding: 14px;
  border-radius: 12px;
}

.support-box strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.support-box span,
.support-box small {
  display: block;
  font-size: 0.8rem;
  margin-top: 4px;
}

.footer-newsletter-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin: 10px auto 14px;
}

.fn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.fn-text strong {
  display: block;
  font-size: 0.88rem;
  color: #F8FAFC;
  font-weight: 700;
}

.fn-text span {
  font-size: 0.74rem;
  color: #94A3B8;
}

.fn-form {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 380px;
  flex: 1;
}

.fn-form input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #F8FAFC;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.fn-form input:focus {
  border-color: var(--primary);
}

.fn-form button {
  padding: 8px 18px;
  font-size: 0.80rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}

.footer-trust-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
}

.payment-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge {
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 6px;
}

.pay-bkash {
  background: #E2136E;
  color: var(--white);
}

.pay-nagad {
  background: var(--orange);
  color: var(--white);
}

.footer-bottom {
  background: #090E1A;
  padding: 14px 0;
  font-size: 0.8rem;
  color: #94A3B8;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modals & Drawers */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.modal-card {
  background: var(--white);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}

.product-modal-card {
  max-width: 920px;
  width: 95vw;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

#product-modal-body {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

.admin-product-modal-card {
  max-width: 680px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.4rem;
  color: var(--navy);
}

.modal-close-inline {
  font-size: 1.6rem;
  color: var(--navy);
  padding: 0 6px;
}

.drawer-panel {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg);
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.auth-tab {
  padding: 9px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--muted);
}

.auth-tab.active {
  background: var(--navy);
  color: var(--white);
}

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stacked-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
}

.stacked-form input,
.stacked-form select,
.stacked-form textarea {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.stacked-form input:focus,
.stacked-form select:focus,
.stacked-form textarea:focus {
  border-color: var(--orange);
}

.two-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.three-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.checkbox-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.inline-check {
  flex-direction: row !important;
  align-items: center;
  gap: 7px !important;
}

.demo-credentials-box {
  background: var(--bg);
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.demo-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.demo-fill-btn {
  background: var(--emerald);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.78rem;
}

/* Cart Items & Quick View */
.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-row img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 800;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.coupon-row input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.coupon-msg {
  font-size: 0.78rem;
  margin-bottom: 8px;
  color: var(--emerald);
  font-weight: 700;
}

.cart-summary-lines div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.checkout-totals {
  background: var(--bg);
  padding: 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.checkout-totals div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.checkout-totals .grand {
  font-size: 1.08rem;
  font-weight: 800;
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin-top: 6px;
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.qv-grid #qv-main-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px;
}

.specs-table {
  width: 100%;
  margin: 12px 0;
  font-size: 0.84rem;
  border-collapse: collapse;
}

.specs-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
  animation: slideToast 0.25s ease;
}

.toast.success {
  border-left-color: var(--emerald);
}

@keyframes slideToast {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.preview-mode-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 260;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--emerald);
}

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
}

/* Responsive - Mobile Mirroring Desktop Layout 1:1 */
@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: 210px 1fr;
    gap: 12px;
  }

  .dept-sidebar {
    display: block;
    padding: 10px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid,
  .reviews-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
  }

  .container {
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. Hide bulky top announcement bar on mobile */
  .announcement-bar {
    display: none !important;
  }

  /* 2. Compact Native App-Style Header */
  .main-header {
    position: sticky;
    top: 0;
    z-index: 120;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
    flex-wrap: wrap;
  }

  .brand-logo-pill {
    padding: 3px 8px;
    border-radius: 9px;
  }

  .site-brand-logo {
    height: 26px !important;
    width: auto;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }

  .icon-action-btn {
    padding: 4px 6px;
    font-size: 0.75rem;
  }

  .icon-action-btn svg {
    width: 20px;
    height: 20px;
  }

  .action-label,
  .profile-meta {
    display: none !important;
  }

  .avatar-circle {
    width: 30px;
    height: 30px;
  }

  .header-search {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 6px !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    order: 3 !important;
  }

  .search-lens-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 14px !important;
    color: #94A3B8 !important;
    flex-shrink: 0 !important;
  }

  .search-lens-icon svg {
    width: 17px !important;
    height: 17px !important;
    stroke: #94A3B8 !important;
    display: block !important;
  }

  .header-search select {
    display: none !important;
  }

  .header-search input {
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .search-btn {
    padding: 8px 16px !important;
    border-radius: 0 999px 999px 0 !important;
    background: var(--orange) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .search-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #FFFFFF !important;
    display: block !important;
  }

  /* 3. Sleek Horizontal Category Tab Strip (CartUp Style) */
  .sub-nav {
    background: var(--navy-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sub-nav-inner {
    padding: 4px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sub-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
  }

  .nav-pill {
    padding: 4px 11px;
    font-size: 0.74rem;
    border-radius: 999px;
    white-space: nowrap;
    gap: 4px;
    flex-shrink: 0;
  }

  .nav-pill svg {
    width: 12px;
    height: 12px;
  }

  /* 4. Hide redundant desktop sidebar on mobile */
  .dept-sidebar {
    display: none !important;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 4px;
  }

  /* 5. Compact App-Style Hero Banner Slider */
  .hero-slider {
    min-height: 170px !important;
    max-height: 210px;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  }

  .hero-slide {
    min-height: 170px !important;
  }

  .hero-slide.active {
    min-height: 170px !important;
  }

  .hero-content {
    padding: 12px 14px !important;
    max-width: 100%;
  }

  .hero-pill {
    font-size: 0.58rem;
    padding: 2px 7px;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
  }

  .hero-content h1 {
    font-size: 1.05rem !important;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .hero-content p {
    font-size: 0.70rem !important;
    line-height: 1.25;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-cta-row {
    gap: 6px;
  }

  .hero-cta-row button {
    padding: 5px 10px !important;
    font-size: 0.70rem !important;
    border-radius: 6px;
    font-weight: 700;
  }

  .slider-arrow {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }

  .slider-dots {
    bottom: 6px;
    left: 14px;
    gap: 4px;
  }

  .slider-dots .dot {
    width: 6px;
    height: 6px;
  }

  .slider-dots .dot.active {
    width: 16px;
  }

  /* 6. Compact Dual-Store Promo Cards */
  .hero-bottom-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
  }

  .mini-feature-card {
    padding: 7px 10px !important;
    border-radius: 10px;
    min-height: 46px;
    align-items: center;
  }

  .mini-feature-card h3 {
    font-size: 0.75rem !important;
    margin: 0 0 1px;
    font-weight: 800;
  }

  .mini-feature-card p {
    font-size: 0.58rem !important;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.88;
  }

  .mini-arrow {
    font-size: 0.85rem;
    margin-left: 4px;
  }

  /* 7. Compact App-Style Trust Strip */
  .trust-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 10px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .trust-item {
    padding: 7px 9px !important;
    gap: 8px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
  }

  .trust-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  }

  .trust-icon svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
  }

  .trust-item strong {
    font-size: 0.70rem !important;
    line-height: 1.2 !important;
    display: block !important;
    color: var(--navy) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .trust-item span {
    font-size: 0.56rem !important;
    line-height: 1.15 !important;
    color: var(--muted) !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 8. App-Style Category Icon Grid (3 Columns Symmetrical & Zero Overflow) */
  .section-block {
    margin-top: 14px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .section-head {
    margin-bottom: 8px;
    gap: 4px;
  }

  .section-kicker {
    font-size: 0.60rem !important;
    margin-bottom: 2px;
  }

  .section-head h2 {
    font-size: 0.98rem !important;
  }

  .view-all-btn {
    font-size: 0.72rem !important;
    padding: 3px 6px;
  }

  .category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .category-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 10px 4px !important;
    border-radius: 10px !important;
    border: 1px solid var(--border) !important;
    background: #FFFFFF !important;
    text-align: center !important;
  }

  .cat-icon-circle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    margin: 0 auto 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cat-icon-circle svg {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
  }

  .category-card strong {
    font-size: 0.70rem !important;
    line-height: 1.2 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }

  .category-card small {
    font-size: 0.58rem !important;
    display: block !important;
    color: var(--muted) !important;
    margin-top: 2px !important;
  }

  /* 9. Compact Flash Deals Banner */
  .flash-deal-banner {
    padding: 10px 12px !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .flash-badge {
    font-size: 0.60rem;
    padding: 2px 7px;
    margin-bottom: 4px;
  }

  .flash-left h2 {
    font-size: 0.95rem !important;
    margin-bottom: 2px;
  }

  .flash-left p {
    font-size: 0.70rem !important;
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .countdown-boxes {
    gap: 5px !important;
    justify-content: flex-start !important;
  }

  .cd-box {
    min-width: 42px !important;
    padding: 4px 5px !important;
    border-radius: 6px !important;
  }

  .cd-box span {
    font-size: 0.88rem !important;
  }

  .cd-box small {
    font-size: 0.52rem !important;
  }

  .flash-deal-banner .btn-accent {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    width: 100% !important;
    text-align: center;
  }

  /* 10. Compact Mobile Product Grid & Cards */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-card {
    border-radius: 12px !important;
  }

  .product-body {
    padding: 8px 8px !important;
  }

  .product-title {
    font-size: 0.78rem !important;
    min-height: 2.3em !important;
    margin-bottom: 3px !important;
    line-height: 1.25 !important;
  }

  .product-cat-line {
    font-size: 0.60rem !important;
    margin-bottom: 2px !important;
  }

  .product-rating {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
  }

  .product-price-row {
    margin-bottom: 6px !important;
    gap: 4px !important;
  }

  .price-now {
    font-size: 0.92rem !important;
  }

  .price-old {
    font-size: 0.68rem !important;
  }

  .unit-pill {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
  }

  .card-action-row {
    gap: 4px !important;
  }

  .add-cart-btn,
  .buy-now-btn {
    padding: 5px 3px !important;
    font-size: 0.70rem !important;
    border-radius: 6px !important;
  }

  .discount-badge,
  .tag-badge {
    font-size: 0.56rem !important;
    padding: 2px 4px !important;
  }

  .wishlist-float-btn {
    width: 26px !important;
    height: 26px !important;
    top: 6px !important;
    right: 6px !important;
  }

  .wishlist-float-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* 11. Layout and Containers */
  .catalog-layout,
  .qv-grid,
  .two-inputs,
  .three-inputs {
    grid-template-columns: 1fr;
  }

  /* Mobile Customer Reviews Slider (Horizontal Right-to-Left, Swipeable) */
  .reviews-slider-wrap {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 -8px !important;
    padding: 0 8px !important;
  }

  .reviews-slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 4px 12px !important;
    scrollbar-width: none !important;
  }

  .reviews-slider-track::-webkit-scrollbar {
    display: none !important;
  }

  .reviews-slider-track.expanded-grid {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    gap: 12px !important;
  }

  .reviews-slider-track .review-card {
    flex: 0 0 78vw !important;
    min-width: 250px !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    padding: 14px !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid var(--border) !important;
  }

  .reviews-slider-track.expanded-grid .review-card {
    flex: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .review-card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
  }

  .review-card .review-stars {
    font-size: 0.84rem !important;
    letter-spacing: 0.5px !important;
  }

  .review-card .verified-badge {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
  }

  .review-card .review-text {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .rev-arrow-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
  }

  .btn-show-more-reviews {
    font-size: 0.75rem !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
  }

  /* Mobile Footer Restructure & Beautiful Compact Alignment ("ইনপুটারে") */
  .site-footer {
    padding-top: 24px !important;
    padding-bottom: 0 !important;
    margin-top: 28px !important;
  }

  .footer-top-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    padding-bottom: 16px !important;
  }

  /* Footer Row 1: Brand Info Centered */
  .footer-col-brand {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 2px !important;
  }

  .footer-col-brand .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-logo-pill {
    margin: 0 auto 6px !important;
  }

  .footer-logo-pill img {
    height: 34px !important;
  }

  .footer-col-brand .footer-desc {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
    color: #94A3B8 !important;
    max-width: 92% !important;
    margin: 4px auto 10px !important;
    text-align: center !important;
  }

  .footer-col-brand .footer-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 0 !important;
  }

  .footer-col-brand .f-badge {
    font-size: 0.65rem !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34D399 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Footer Row 2: Quick Links (Col 1) & Support (Col 2) Symmetrical */
  .footer-col-links {
    grid-column: 1 / 2 !important;
  }

  .footer-col-links h4 {
    font-size: 0.80rem !important;
    margin-bottom: 8px !important;
    color: #F8FAFC !important;
    font-weight: 700 !important;
  }

  .footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .footer-links-list a {
    font-size: 0.73rem !important;
    color: #94A3B8 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: color 0.15s !important;
  }

  .footer-col-support {
    grid-column: 2 / 3 !important;
  }

  .footer-col-support h4 {
    font-size: 0.80rem !important;
    margin-bottom: 8px !important;
    color: #F8FAFC !important;
    font-weight: 700 !important;
  }

  .footer-col-support .support-box {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .footer-col-support .support-phone {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: #10B981 !important;
    text-decoration: none !important;
  }

  .footer-col-support .support-email {
    font-size: 0.66rem !important;
    color: #94A3B8 !important;
    text-decoration: none !important;
    word-break: break-all !important;
  }

  .footer-col-support .support-address {
    font-size: 0.60rem !important;
    color: #64748B !important;
    line-height: 1.2 !important;
  }

  /* Footer Row 3: Delivery Cards & Service Areas */
  .footer-col-delivery {
    grid-column: 1 / -1 !important;
    margin-top: 2px !important;
  }

  .footer-col-delivery h4 {
    font-size: 0.80rem !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    color: #F8FAFC !important;
    font-weight: 700 !important;
  }

  .delivery-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .del-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    text-align: center !important;
  }

  .del-card strong {
    font-size: 0.68rem !important;
    display: block !important;
    color: #F1F5F9 !important;
    margin-bottom: 2px !important;
  }

  .del-card span {
    font-size: 0.60rem !important;
    color: #94A3B8 !important;
  }

  .city-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  .city-chips span {
    font-size: 0.64rem !important;
    padding: 2px 7px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    color: #CBD5E1 !important;
  }

  /* Footer Trust & Payment Bar */
  /* Mobile Footer Newsletter Strip (Ultra Compact & Centered) */
  .footer-newsletter-strip {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    margin: 6px auto 10px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .fn-content {
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .fn-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .fn-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .fn-text strong {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    display: block !important;
    color: #F1F5F9 !important;
  }

  .fn-text span {
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    display: block !important;
    color: #94A3B8 !important;
  }

  .fn-form {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    gap: 6px !important;
  }

  .fn-form input {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 7px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
    background: rgba(15, 23, 42, 0.7) !important;
  }

  .fn-form button {
    padding: 7px 14px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

.footer-trust-bar {
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 7px !important;
  }

  .footer-trust-bar .trust-pill {
    font-size: 0.66rem !important;
    color: #94A3B8 !important;
    text-align: center !important;
  }

  .footer-trust-bar .trust-pill strong {
    color: #E2E8F0 !important;
  }

  .payment-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .payment-strip .pay-label {
    font-size: 0.64rem !important;
    color: #94A3B8 !important;
    margin-right: 2px !important;
  }

  .payment-strip .pay-badge {
    font-size: 0.60rem !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
  }

  /* Footer Bottom & Crucial Bottom Nav Spacing */
  .footer-bottom {
    padding-bottom: 80px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .footer-bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    font-size: 0.64rem !important;
    color: #64748B !important;
    padding: 8px 12px !important;
  }

  /* 12. Floating WhatsApp Help button positioned right above bottom nav */
  .floating-support-wrap {
    bottom: 70px !important;
    right: 12px !important;
  }

  .floating-support-btn {
    padding: 7px 11px !important;
    font-size: 0.74rem !important;
  }

  .floating-support-btn .fs-dot {
    width: 6px !important;
    height: 6px !important;
  }

  /* 13. Mobile Bottom Navigation Guaranteed Inside Artboard */
  .mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 6px 2px !important;
    margin: 0 !important;
    z-index: 250 !important;
    background: var(--white) !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 -4px 14px rgba(15,23,42,0.08) !important;
  }

  .mobile-bottom-nav button {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 3px 1px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .mobile-bottom-nav .mbn-ico {
    font-size: 1.15rem !important;
    line-height: 1 !important;
    position: relative !important;
  }

  .mobile-bottom-nav .mbn-lbl {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
    color: var(--muted) !important;
  }
}


.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
}

.qv-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.qv-thumb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.qv-thumb:hover {
  transform: scale(1.06);
  border-color: var(--navy);
}

.qv-thumb.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
  transform: scale(1.06);
}

.variant-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.variant-chip.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

.v-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.qv-related-section {
  margin-top: 16px;
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(135deg, #FFF7ED 0%, #ECFDF5 55%, #EFF6FF 100%);
  border: 1px solid #E2E8F0;
  overflow: hidden !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.qv-related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.qv-related-head h4 {
  font-size: 0.90rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.qv-related-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #F59E0B);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qv-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.qv-rel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 5px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.qv-rel-card:nth-child(4n+2) {
  border-top-color: var(--emerald);
}

.qv-rel-card:nth-child(4n+3) {
  border-top-color: #2563EB;
}

.qv-rel-card:nth-child(4n+4) {
  border-top-color: #D97706;
}

.qv-rel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.qv-rel-img-wrap {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-radius: 6px;
  padding: 2px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  overflow: hidden;
  box-sizing: border-box;
}

.qv-rel-card:nth-child(4n+1) .qv-rel-img-wrap {
  background: linear-gradient(180deg, #FFF7ED 0%, #FFEDD5 100%);
}

.qv-rel-card:nth-child(4n+2) .qv-rel-img-wrap {
  background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
}

.qv-rel-card:nth-child(4n+3) .qv-rel-img-wrap {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
}

.qv-rel-card:nth-child(4n+4) .qv-rel-img-wrap {
  background: linear-gradient(180deg, #FEFCE8 0%, #FEF3C7 100%);
}

.qv-rel-img-wrap img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.qv-rel-card:hover .qv-rel-img-wrap img {
  transform: scale(1.05);
}

.qv-rel-float-off {
  position: absolute;
  top: 3px;
  left: 3px;
  background: #DC2626;
  color: #fff;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 999px;
  line-height: 1.1;
}

.qv-rel-float-rate {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(15, 23, 42, 0.85);
  color: #FBBF24;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 999px;
  line-height: 1.1;
}

.qv-rel-badges {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
  flex-wrap: wrap;
  overflow: hidden;
}

.rel-badge {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.1;
}

.rel-choice {
  background: #FEF3C7;
  color: #92400E;
}

.qv-rel-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  line-height: 1.2;
  width: 100%;
}

.qv-rel-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
  line-height: 1.1;
  overflow: hidden;
}

.qv-rel-price strong {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.qv-rel-price .price-old {
  font-size: 0.60rem;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.qv-rel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

.qv-stat-chip {
  border-radius: 4px;
  padding: 1px 2px;
  font-size: 0.54rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qv-stat-sold {
  background: #ECFDF5;
  color: #047857;
}

.qv-stat-left {
  background: #EFF6FF;
  color: #1D4ED8;
}

.qv-rel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: auto;
  width: 100%;
}

.qv-rel-add-btn,
.qv-rel-buy-btn {
  width: 100%;
  min-width: 0;
  padding: 3px 2px;
  border-radius: 6px;
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.qv-rel-buy-btn {
  background: var(--orange);
}

.qv-rel-add-btn:hover {
  background: var(--emerald);
}

.qv-rel-buy-btn:hover {
  background: #C2410C;
}

@media (max-width: 640px) {
  .qv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

.quick-view-btn.compared {
  background: var(--emerald);
}

.online-pay-box,
.loyalty-redeem-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.loyalty-redeem-box {
  background: var(--emerald-light);
  border-color: #A7F3D0;
}

.filter-box input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 6px;
}

.variant-admin-row {
  display: grid;
  grid-template-columns: 1.5fr 70px 90px 80px 36px;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.gallery-admin-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.gallery-admin-chip {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-admin-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-admin-chip button {
  position: absolute;
  top: 0;
  right: 0;
  background: #DC2626;
  color: #fff;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 0 0 0 6px;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #invoice-modal,
  #invoice-modal * {
    visibility: visible !important;
  }

  #invoice-modal {
    position: absolute !important;
    inset: 0 !important;
    background: #fff !important;
  }

  .no-print {
    display: none !important;
  }
}

.stock-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--emerald);
}

.stock-pill.low {
  color: var(--orange);
}

.stock-pill.out {
  color: #DC2626;
}

.hero-admin-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.hero-admin-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.hero-admin-thumb {
  width: 96px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
}

.hero-admin-item label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
}

.hero-admin-item input[type="text"],
.hero-admin-item input:not([type]),
.hero-admin-item input[type="file"] {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1.5px solid #CBD5E1;
  font-size: 0.85rem;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  outline: none;
  transition: all 0.2s ease;
  height: 36px;
  box-sizing: border-box;
}

.hero-admin-item input[type="file"] {
  padding: 5px 8px;
  font-size: 0.78rem;
  background: #F8FAFC;
}

.hero-admin-item input:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.checkout-daraz-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: start;
}

.checkout-summary-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.deliv-label-row {
  display: flex;
  gap: 10px;
}

.deliv-label-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy);
}

.deliv-label-btn.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

.cod-choice-box {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  padding: 10px 12px;
}

.cod-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cod-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--emerald);
}

.gateway-banner-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFF7ED 100%);
  border: 1.5px dashed #2563EB;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.settings-subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.settings-subpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
  cursor: pointer;
  line-height: 1.2;
}
.settings-subpill .subpill-svg,
.settings-subpill svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.settings-subpill:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.settings-subpill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.settings-pane { display: none; }
.settings-pane.active { display: block; }
.settings-exec-card { border-top: 3px solid var(--navy); }
.settings-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.settings-card-head h3 { margin: 0 0 2px 0; font-size: 1rem; color: var(--navy); }
.settings-card-head small { color: var(--muted); font-size: 0.8rem; }
.settings-icon-badge {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.settings-icon-badge svg,
.settings-icon-badge .badge-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.today-svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  vertical-align: middle;
  margin-right: 5px;
  display: inline-block;
}
.mbn-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
  margin: 0 auto 2px;
}
.trust-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  display: inline-block;
  vertical-align: middle;
}
.settings-save-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px;
}
.verified-badge {
  display: inline-block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0;
  font-size: 0.68rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; margin-left: 4px;
}
.qv-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.qv-qty-stepper {
  display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--white); overflow: hidden;
}
.qv-qty-stepper button {
  width: 32px; height: 30px; font-weight: 800; font-size: 1rem; color: var(--navy); background: #F8FAFC;
}
.qv-qty-stepper button:hover { background: var(--orange-light); color: var(--orange); }
.qv-qty-stepper span { min-width: 32px; text-align: center; font-weight: 800; font-size: 0.9rem; color: var(--navy); }
.qv-price-breakdown {
  font-size: 0.78rem; font-weight: 700; color: #C2410C; background: var(--orange-light);
  border: 1px solid #FED7AA; padding: 2px 9px; border-radius: 999px;
}
.checkout-items-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.checkout-item-row {
  display: flex; align-items: center; gap: 10px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px;
}
.checkout-item-row img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #F1F5F9; }
.chk-item-info { flex: 1; min-width: 0; }
.chk-item-title { font-size: 0.82rem; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chk-item-meta { font-size: 0.73rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chk-item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.chk-item-stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: #F8FAFC; overflow: hidden;
}
.chk-item-stepper button {
  width: 24px; height: 22px; font-weight: 800; font-size: 0.85rem; color: var(--navy); background: transparent;
}
.chk-item-stepper button:hover:not(:disabled) { background: var(--orange-light); color: var(--orange); }
.chk-item-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.chk-item-stepper span { min-width: 22px; text-align: center; font-size: 0.78rem; font-weight: 800; color: var(--navy); }
.chk-item-total-row { display: flex; align-items: center; gap: 6px; }
.chk-item-total { font-size: 0.84rem; font-weight: 800; color: var(--navy); }
.chk-item-remove {
  width: 18px; height: 18px; border-radius: 50%; background: #FEE2E2; color: #DC2626;
  font-size: 0.72rem; font-weight: 800; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
}
.order-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; position: relative;
}
.tl-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; }
.tl-step:not(:last-child)::after {
  content: ''; position: absolute; top: 13px; left: 55%; right: -45%; height: 3px; background: #E2E8F0; z-index: 0;
}
.tl-step.done:not(:last-child)::after { background: var(--emerald); }
.tl-dot {
  width: 26px; height: 26px; border-radius: 50%; background: #E2E8F0; color: #64748B;
  font-size: 0.72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.tl-step.done .tl-dot { background: var(--emerald); color: #fff; }
.tl-step.current .tl-dot { background: var(--orange); color: #fff; box-shadow: 0 0 0 3px rgba(234,88,12,0.2); }
.tl-step small { font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.tl-step span:not(.tl-dot) { line-height: 1.2; word-break: break-word; }
.tl-step.done small, .tl-step.current small { color: var(--navy); }
.inline-num {
  width: 74px; padding: 4px 6px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--navy); background: #F8FAFC;
}
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    z-index: 250 !important;
    background: var(--white) !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 -4px 14px rgba(15,23,42,0.08) !important;
    padding: 6px 0 !important;
    margin: 0 !important;
  }
  .mobile-bottom-nav button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: transparent !important;
    color: var(--navy) !important;
    padding: 3px 1px !important;
    position: relative !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .mobile-bottom-nav .mbn-ico { font-size: 1.15rem !important; position: relative !important; line-height: 1 !important; }
  .mobile-bottom-nav .mbn-lbl {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: var(--muted) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  .mobile-bottom-nav .mbn-badge {
    position: absolute; top: -5px; right: -8px; background: var(--orange); color: #fff;
    font-size: 0.60rem; font-weight: 800; padding: 1px 4px; border-radius: 999px;
  }
  .preview-mode-bar { bottom: 68px; }
}

@media (max-width: 760px) {
  .checkout-daraz-grid {
    grid-template-columns: 1fr;
  }
}
.admin-lookup-card { border-left: 4px solid var(--navy); }
.admin-lookup-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-lookup-bar input {
  flex: 1; min-width: 240px; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.88rem; background: #F8FAFC;
}
.lookup-summary-box {
  background: #F8FAFC; border: 1px solid #CBD5E1; border-radius: 12px;
  padding: 12px 14px; margin-top: 12px; margin-bottom: 12px;
}
.lookup-summary-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.lookup-kpi-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lookup-bucket {
  font-size: 0.82rem; padding: 7px 10px; border-radius: 8px; margin-top: 6px; line-height: 1.45;
}
.lookup-bucket.in-delivery { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A; }
.lookup-bucket.pending { background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; }
.lookup-bucket.delivered { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.pill-in-transit { background: #DBEAFE; color: #1D4ED8; }
.pill-delivery { background: #FEF3C7; color: #B45309; }
.order-items-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.order-item-chip {
  display: flex; align-items: center; gap: 10px; background: #F8FAFC;
  border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; flex-wrap: wrap;
}
.order-item-chip img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.free-ship-bar {
  background: #F8FAFC; border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 10px; margin-bottom: 10px; font-size: 0.78rem; color: var(--navy);
}
.free-ship-bar.unlocked { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.free-ship-track { height: 6px; background: #E2E8F0; border-radius: 999px; margin-top: 5px; overflow: hidden; }
.free-ship-fill { height: 100%; background: linear-gradient(90deg, var(--emerald), #10B981); border-radius: 999px; transition: width 0.25s ease; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
}
.faq-item summary { font-weight: 700; font-size: 0.9rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item p { margin: 8px 0 0 0; font-size: 0.84rem; color: #475569; line-height: 1.5; }
.admin-mobile-bar { display: none; }
.admin-pending-badge {
  background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 1px 7px; border-radius: 999px; margin-left: auto;
}
.today-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.today-pill-card {
  background: linear-gradient(135deg, #0F172A, #1E293B); color: #fff;
  border-radius: 12px; padding: 12px 14px;
}
.today-pill-card span { display: block; font-size: 0.74rem; color: #CBD5E1; font-weight: 600; }
.today-pill-card strong { font-size: 1.25rem; font-weight: 800; color: #fff; }
.perm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: #F8FAFC; border: 1px solid var(--border); padding: 10px; border-radius: 10px; }

/* ---------------- ADMIN PANEL FULL DESKTOP FIDELITY ACROSS ALL DEVICES ---------------- */
.admin-shell {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  min-width: 1080px !important;
  min-height: 100vh !important;
  background: #F1F5F9 !important;
}

.admin-sidebar {
  display: flex !important;
  flex-direction: column !important;
  min-width: 240px !important;
  max-width: 240px !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 22px 14px !important;
  gap: 16px !important;
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  overflow-y: auto !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-sidebar .admin-brand {
  display: block !important;
}

.admin-mobile-bar {
  display: none !important;
}

.admin-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.admin-tab-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  font-size: 0.84rem !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  text-align: left !important;
}

.admin-main {
  padding: 24px 28px !important;
  background: #F1F5F9 !important;
  min-width: 840px !important;
  overflow-x: auto !important;
}

.today-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}

.kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

.admin-two-col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

/* ---------------- STOREFRONT STICKY MOBILE BUY BAR & ENHANCED CHAT ---------------- */
.qv-sticky-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .qv-sticky-mobile-bar {
    display: flex !important;
    position: sticky !important;
    bottom: -1px !important;
    left: 0 !important;
    right: 0 !important;
    background: #FFFFFF !important;
    border-top: 1.5px solid var(--border) !important;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.12) !important;
    padding: 10px 14px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    z-index: 99 !important;
    margin: 16px -18px -18px !important;
    border-radius: 0 0 16px 16px !important;
  }

  .qv-smb-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }

  .qv-smb-price {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    line-height: 1.1 !important;
  }

  .qv-smb-unit {
    font-size: 0.65rem !important;
    color: #059669 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  .qv-smb-actions {
    display: flex !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .qv-smb-actions .btn-navy-sm {
    background: var(--navy) !important;
    color: #FFFFFF !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border: none !important;
  }

  .qv-smb-actions .btn-accent-sm {
    background: linear-gradient(135deg, #EA580C, #F97316) !important;
    color: #FFFFFF !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 0.80rem !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.3) !important;
  }
}

/* Floating Live Help & Chat Drawer Enhanced UI */
.fs-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.floating-support-btn .fs-dot.pulse {
  animation: pulseDot 2s infinite;
}

.floating-support-menu {
  width: 290px !important;
  border-radius: 16px !important;
}

.floating-support-head {
  padding: 12px 16px !important;
  background: linear-gradient(135deg, #0F172A, #1E293B) !important;
}

.floating-support-head button {
  font-size: 1.25rem !important;
  cursor: pointer !important;
}

.floating-support-body {
  display: flex;
  flex-direction: column;
}

.floating-support-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 15px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  background: #FFFFFF !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
}

.floating-support-item:hover {
  background: #F8FAFC !important;
}

.floating-support-item.wa:hover {
  background: #ECFDF5 !important;
}

.fsi-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fsi-icon.wa-ico {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.fsi-icon.call-ico {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.fsi-icon.track-ico {
  background: #FFF7ED;
  color: #EA580C;
  border: 1px solid #FDBA74;
}

.floating-support-item strong {
  display: block !important;
  font-size: 0.84rem !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}

.floating-support-item small {
  display: block !important;
  font-size: 0.70rem !important;
  color: #64748B !important;
  margin-top: 1px !important;
}

.floating-support-footer {
  padding: 8px 12px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.floating-support-footer span {
  font-size: 0.65rem;
  font-weight: 600;
  color: #475569;
}

/* ---------------- ENGAGEMENT & CONVERSION UI (SECTION 2) ---------------- */
.bestseller-badge {
  background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
  font-size: 0.68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}
.card-swatches {
  display: flex; align-items: center; gap: 5px; margin: 4px 0 2px; min-height: 16px; flex-wrap: wrap;
}
.swatch-dot {
  width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(15, 23, 42, 0.22);
  display: inline-block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.swatch-label-chip {
  font-size: 0.66rem; font-weight: 700; color: #475569; background: #F1F5F9;
  padding: 1px 6px; border-radius: 999px;
}
.low-stock-urgency {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 800; color: #B91C1C; background: #FEF2F2;
  border: 1px solid #FECACA; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px;
}

.popular-search-box { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.popular-search-title {
  font-size: 0.74rem; font-weight: 800; color: #475569; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.popular-search-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.popular-chip {
  background: #F1F5F9; border: 1px solid #E2E8F0; color: #0F172A;
  font-size: 0.78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  cursor: pointer; transition: all 0.15s ease;
}
.popular-chip:hover { background: #0F172A; color: #fff; border-color: #0F172A; }

.rev-photo-thumb {
  width: 68px; height: 68px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); margin-top: 8px; cursor: zoom-in;
  transition: transform 0.15s ease;
}
.rev-photo-thumb:hover { transform: scale(1.04); }
.rev-photo-picker {
  display: inline-flex; align-items: center; gap: 6px; background: #F1F5F9;
  border: 1px dashed #94A3B8; color: #0F172A; padding: 6px 10px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.rev-photo-picker input { display: none; }
.rev-photo-preview-bar {
  display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.76rem; color: #059669; font-weight: 700;
}

.qv-bundle-box {
  margin-top: 16px; padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
  border: 1.5px solid #FDBA74;
}
.qv-bundle-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.qv-bundle-head h4 { margin: 0; font-size: 0.94rem; color: #9A3412; }
.qv-bundle-badge {
  background: #EA580C; color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px;
}
.qv-bundle-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
}
.qv-bundle-item {
  display: flex; align-items: center; gap: 8px; background: #fff;
  padding: 8px; border-radius: 10px; border: 1px solid #FED7AA; min-width: 0;
}
.qv-bundle-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.qv-bundle-item strong {
  display: block; font-size: 0.78rem; color: #0F172A; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.qv-bundle-item span { font-size: 0.76rem; font-weight: 800; color: #EA580C; }
.qv-bundle-plus { font-size: 1.15rem; font-weight: 900; color: #9A3412; }
.qv-bundle-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed #FDBA74; flex-wrap: wrap;
}
.qv-bundle-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.floating-support-wrap {
  position: fixed; right: 20px; bottom: 20px; z-index: 990;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.floating-support-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #059669, #0F172A); color: #fff;
  border: none; padding: 11px 16px; border-radius: 999px;
  font-weight: 800; font-size: 0.86rem; cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
  transition: transform 0.15s ease;
}
.floating-support-btn:hover { transform: translateY(-2px); }
.floating-support-btn .fs-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.28);
}
.floating-support-menu {
  width: 268px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.floating-support-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; background: var(--navy); color: #fff; font-size: 0.86rem;
}
.floating-support-head button {
  background: none; border: none; color: #CBD5E1; font-size: 1rem; cursor: pointer;
}
.floating-support-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  background: #fff; border: none; border-bottom: 1px solid #F1F5F9;
  text-decoration: none; text-align: left; cursor: pointer; color: #0F172A;
}
.floating-support-item:last-child { border-bottom: none; }
.floating-support-item:hover { background: #F8FAFC; }
.floating-support-item.wa:hover { background: #ECFDF5; }
.floating-support-item span { font-size: 1.25rem; }
.floating-support-item strong { display: block; font-size: 0.84rem; }
.floating-support-item small { display: block; font-size: 0.72rem; color: #64748B; }
@media (max-width: 760px) {
  .qv-bundle-row { grid-template-columns: 1fr; }
  .qv-bundle-plus { text-align: center; }
  .floating-support-wrap { bottom: 74px; right: 12px; }
}

/* ============================================================================
   Bulk Operations & Thermal POS Shipping Label Styles
   ============================================================================ */
.bulk-order-bar {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.bulk-selected-badge {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-order-chk {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #047857;
  flex-shrink: 0;
}

.admin-btn-sticker {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #1E293B;
}

.admin-btn-sticker:hover {
  background: #1E293B;
  color: #38BDF8;
}

.admin-inline-stock {
  width: 58px;
  padding: 4px 6px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.admin-inline-stock:focus {
  border-color: #047857;
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.15);
}

.stickers-scroll-wrap {
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 6px 2px;
}

/* Standard 3x4 inch Thermal Label Sticker */
.thermal-label {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #000000;
  box-sizing: border-box;
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.tl-brand {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.tl-courier-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1.5px solid #000;
  border-radius: 4px;
}

.tl-barcode-box {
  text-align: center;
  border-bottom: 1.5px solid #000;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.tl-barcode-svg {
  width: 100%;
  height: 42px;
  display: block;
  margin: 0 auto 3px;
}

.tl-consignment-txt {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.tl-customer-box {
  border: 1.5px solid #000;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: #FAF5FF;
}

.tl-cust-name {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.tl-cust-phone {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.tl-cust-addr {
  font-size: 0.82rem;
  line-height: 1.35;
}

.tl-cod-box {
  background: #000;
  color: #FFF;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.tl-cod-box.paid {
  background: #047857;
}

.tl-cod-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tl-cod-amount {
  font-size: 1.3rem;
  font-weight: 900;
}

.tl-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.tl-items-table th,
.tl-items-table td {
  border-bottom: 1px solid #CBD5E1;
  padding: 4px 2px;
  text-align: left;
}

.tl-items-table th:last-child,
.tl-items-table td:last-child {
  text-align: right;
}

.tl-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #475569;
  border-top: 1px solid #CBD5E1;
  padding-top: 5px;
}

@media print {
  body * {
    visibility: hidden !important;
  }
  #admin-shipping-sticker-modal,
  #admin-shipping-sticker-modal *,
  #admin-stickers-container,
  #admin-stickers-container * {
    visibility: visible !important;
  }
  #admin-shipping-sticker-modal {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
  .modal-backdrop {
    background: transparent !important;
  }
  .modal-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .modal-close-btn,
  .btn-accent,
  .stickers-scroll-wrap > div:first-child,
  #admin-shipping-sticker-modal > div > div:first-child,
  #admin-shipping-sticker-modal > div > div:nth-child(2) {
    display: none !important;
  }
  .stickers-scroll-wrap {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }
  .thermal-label {
    width: 3in !important;
    min-height: 4in !important;
    max-width: none !important;
    margin: 0 auto 12px !important;
    page-break-after: always !important;
    break-after: page !important;
    border: 1.5px solid #000 !important;
    border-radius: 0 !important;
    background: #FFF !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  @page {
    size: 3in 4in;
    margin: 2mm;
  }
}

/* ---------------- FULL DESKTOP VIEW TOGGLE & STYLES ---------------- */
.desktop-mode-banner {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #F8FAFC;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.80rem;
  border-bottom: 2px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.desktop-mode-banner button {
  background: var(--orange);
  color: #FFFFFF;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.74rem;
  cursor: pointer;
}

.view-mode-bar {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.btn-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mode-switch:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Forced Desktop Mode on Mobile Viewport (100% Mirroring PC Desktop) */
body.forced-desktop-mode {
  min-width: 1180px !important;
  max-width: none !important;
  overflow-x: auto !important;
  width: 1180px !important;
  padding-bottom: 0 !important;
}

body.forced-desktop-mode .container {
  max-width: 1160px !important;
  padding: 0 20px !important;
  margin: 0 auto !important;
}

body.forced-desktop-mode .announcement-bar {
  display: block !important;
}

body.forced-desktop-mode .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

body.forced-desktop-mode .header-search {
  flex: 1 !important;
  max-width: 600px !important;
  margin: 0 !important;
  order: 2 !important;
}

body.forced-desktop-mode .header-search select {
  display: block !important;
}

body.forced-desktop-mode .action-label,
body.forced-desktop-mode .profile-meta {
  display: block !important;
}

body.forced-desktop-mode .hero-layout {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: 20px !important;
}

body.forced-desktop-mode .dept-sidebar {
  display: flex !important;
  flex-direction: column !important;
  width: 260px !important;
  min-width: 260px !important;
  box-sizing: border-box !important;
  padding: 14px 12px !important;
  background: var(--white) !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
  height: fit-content !important;
}

body.forced-desktop-mode .dept-header {
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: var(--navy) !important;
  padding-bottom: 10px !important;
  border-bottom: 1.5px solid var(--border) !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
  display: block !important;
  width: 100% !important;
}

body.forced-desktop-mode .dept-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
}

body.forced-desktop-mode .dept-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.forced-desktop-mode .dept-item span:first-child,
body.forced-desktop-mode .dept-item .dept-name-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

body.forced-desktop-mode .dept-item .cat-svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

body.forced-desktop-mode .dept-fruits-title {
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  color: var(--emerald) !important;
  margin: 12px 0 6px !important;
  padding-top: 8px !important;
  white-space: nowrap !important;
  display: block !important;
  width: 100% !important;
}

body.forced-desktop-mode .dept-divider {
  height: 1px !important;
  background: var(--border) !important;
  margin: 8px 0 !important;
  width: 100% !important;
  display: block !important;
}

body.forced-desktop-mode .trust-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 20px auto !important;
}

body.forced-desktop-mode .trust-item {
  padding: 14px 16px !important;
  gap: 12px !important;
}

body.forced-desktop-mode .trust-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
}

body.forced-desktop-mode .trust-icon svg {
  width: 20px !important;
  height: 20px !important;
}

body.forced-desktop-mode .category-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 14px !important;
}

body.forced-desktop-mode .category-card {
  padding: 18px 12px !important;
}

body.forced-desktop-mode .cat-icon-circle {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
}

body.forced-desktop-mode .cat-icon-circle svg {
  width: 24px !important;
  height: 24px !important;
}

body.forced-desktop-mode .products-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
}

body.forced-desktop-mode .reviews-slider-track {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  overflow-x: visible !important;
  gap: 16px !important;
}

body.forced-desktop-mode .review-card {
  flex: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.forced-desktop-mode .footer-top-grid {
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1fr !important;
  gap: 26px !important;
}

body.forced-desktop-mode .mobile-bottom-nav {
  display: none !important;
}

body.forced-desktop-mode .qv-sticky-mobile-bar {
  display: none !important;
}

body.forced-desktop-mode .floating-support-wrap {
  bottom: 24px !important;
  right: 24px !important;
}

body.forced-desktop-mode .footer-bottom {
  padding-bottom: 20px !important;
}


/* Checkout Modal Responsive & Overflow-Proof System */
.checkout-modal-card {
  max-width: 920px;
  width: 95vw;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 36px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 10px;
  box-sizing: border-box;
  width: 100%;
}

.checkout-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 800;
}

.checkout-modal-logo {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #checkout-modal.modal-backdrop,
  #product-modal.modal-backdrop,
  #payment-gateway-modal.modal-backdrop,
  #utility-modal.modal-backdrop,
  #auth-modal.modal-backdrop {
    padding: 8px 6px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  #checkout-modal .modal-card,
  .checkout-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 12px 20px !important;
    border-radius: 14px !important;
    margin: 4px 0 !important;
    max-height: 94vh !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .checkout-modal-header {
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    padding-right: 32px !important;
  }

  .checkout-modal-header h3 {
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
  }

  .checkout-modal-logo {
    height: 22px !important;
    max-width: 75px !important;
  }

  .checkout-daraz-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .checkout-left-col,
  .checkout-right-col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .checkout-left-col .two-inputs {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stacked-form label {
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    font-size: 0.80rem !important;
  }

  .stacked-form input,
  .stacked-form select,
  .stacked-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.88rem !important;
    padding: 9px 10px !important;
  }

  .deliv-label-row {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cod-choice-box {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
  }

  .cod-choice-box strong {
    font-size: 0.84rem !important;
  }

  .cod-choice-box small {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .coupon-row {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 6px !important;
  }

  .coupon-row input {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    font-size: 0.82rem !important;
    padding: 8px 10px !important;
  }

  .checkout-summary-card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 10px !important;
  }

  .checkout-totals {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
  }

  .checkout-totals div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
  }

  .checkout-totals div span {
    word-break: break-word !important;
  }

  .checkout-item-row {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px !important;
    gap: 8px !important;
  }

  .checkout-item-row img {
    width: 36px !important;
    height: 36px !important;
  }

  .chk-item-info {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .chk-item-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 125px !important;
    font-size: 0.78rem !important;
  }

  .chk-item-meta {
    font-size: 0.70rem !important;
  }

  #chk-submit-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.90rem !important;
    padding: 12px 8px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }
}


/* Premium Free Shipping Progress Bar */
.free-ship-bar {
  background: linear-gradient(135deg, #FFF7ED 0%, #EFF6FF 100%);
  border: 1.5px solid #FDBA74;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 14px 6px;
  font-size: 0.82rem;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
  transition: all 0.3s ease;
}

.free-ship-bar.unlocked {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border-color: #6EE7B7;
  color: #065F46;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.12);
}

.free-ship-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  line-height: 1.3;
}

.free-ship-header.unlocked {
  justify-content: center;
  font-weight: 800;
  color: #047857;
}

.fs-truck-ico {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.free-ship-header.unlocked .fs-truck-ico {
  color: var(--emerald);
  width: 18px;
  height: 18px;
}

.fs-pct-badge {
  background: var(--white);
  border: 1px solid #FED7AA;
  color: #EA580C;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.free-ship-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

.free-ship-fill {
  height: 100%;
  background: linear-gradient(90deg, #F97316 0%, #10B981 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.free-ship-fill.unlocked {
  background: linear-gradient(90deg, #059669 0%, #10B981 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}


/* Bulletproof Coupon Row & Apply Button Sizing (Prevent Horizontal Push-out) */
.checkout-summary-card {
  overflow: hidden !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.coupon-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 6px !important;
}

.coupon-row input,
#chk-coupon-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--border) !important;
  font-size: 0.84rem !important;
}

.coupon-row button,
.coupon-row .btn-navy-sm {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
}


/* ==========================================================================
   PERFECT BULLETPROOF CHECKOUT MODAL & GRID SYSTEM (NO OVERFLOW / CUT-OFF)
   ========================================================================== */
#checkout-modal .modal-card,
.checkout-modal-card {
  width: 95vw !important;
  max-width: 920px !important;
  box-sizing: border-box !important;
  padding: 20px 20px 24px !important;
  overflow-x: hidden !important;
}

#checkout-modal form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.checkout-daraz-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.checkout-daraz-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-left-col,
.checkout-right-col {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-left-col .two-inputs {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-left-col select,
.checkout-left-col input,
.checkout-left-col textarea {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-summary-card {
  background: #F8FAFC !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  padding: 14px 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.coupon-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin-bottom: 6px !important;
}

.coupon-row input,
#chk-coupon-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--border) !important;
  font-size: 0.84rem !important;
}

.coupon-row button,
.coupon-row .btn-navy-sm {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.checkout-totals {
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.checkout-totals div {
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.checkout-totals div strong {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.checkout-item-row {
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.checkout-item-info {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.checkout-item-info strong {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.checkout-item-price {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Forced Desktop Mode Container Specifics */
body.forced-desktop-mode #checkout-modal .modal-card,
body.forced-desktop-mode .checkout-modal-card {
  max-width: 920px !important;
  width: 920px !important;
  box-sizing: border-box !important;
}

@media (max-width: 820px) {
  body:not(.forced-desktop-mode) .checkout-daraz-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }
}
