/* ==========================================================================
   CLEANTASTE — LOCAL GROCERY E-COMMERCE HOMEPAGE DEMO
   Virugambakkam, Chennai | Pure Clean White Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  /* Brand Core Colors (White Dominant) */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAF9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-secondary: #F3F6F4;
  --bg-alt: #F7F9F8;

  /* Fresh Green Accents */
  --green-primary: #15803D;
  --green-hover: #166534;
  --green-light: #ECFDF5;
  --green-border: #BBF7D0;
  --green-badge: #16A34A;

  /* Red Highlight / Urgency / CTA */
  --red-primary: #DC2626;
  --red-hover: #B91C1C;
  --red-light: #FEF2F2;
  --red-badge: #EF4444;

  /* Orange Offers / Badges */
  --orange-primary: #EA580C;
  --orange-hover: #C2410C;
  --orange-light: #FFF7ED;
  --orange-border: #FED7AA;

  /* Trust Blue / Delivery / Info */
  --blue-primary: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;

  /* Neutral Typography & Borders */
  --text-main: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;
  --border-light: #E5E7EB;
  --border-subtle: #F0F2F1;
  --border-focus: #15803D;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.10);
  --shadow-green: 0 8px 20px rgba(21, 128, 61, 0.18);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Malayalam', sans-serif;
  
  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-base: 0.25s ease;
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Heights */
  --topbar-height: 38px;
  --header-height: 84px;
  --mobile-bottom-height: 64px;
}

/* --------------------------------------------------------------------------
   01b. Dynamic Food Diet Theme Overrides
   Veg = Green (#15803D), Non-Veg = Red (#DC2626), Both = Orange (#EA580C)
   -------------------------------------------------------------------------- */
html[data-food-theme="veg"],
body[data-food-theme="veg"] {
  --theme-primary: #15803D !important;
  --theme-hover: #166534 !important;
  --theme-light: #ECFDF5 !important;
  --theme-border: #BBF7D0 !important;
  --theme-badge: #16A34A !important;
  --green-primary: #15803D !important;
  --green-hover: #166534 !important;
  --green-light: #ECFDF5 !important;
  --green-border: #BBF7D0 !important;
  --green-badge: #16A34A !important;
  --border-focus: #15803D !important;
  --shadow-green: 0 8px 20px rgba(21, 128, 61, 0.20) !important;
}

html[data-food-theme="nonveg"],
body[data-food-theme="nonveg"] {
  --theme-primary: #DC2626 !important;
  --theme-hover: #B91C1C !important;
  --theme-light: #FEF2F2 !important;
  --theme-border: #FECACA !important;
  --theme-badge: #EF4444 !important;
  --green-primary: #DC2626 !important;
  --green-hover: #B91C1C !important;
  --green-light: #FEF2F2 !important;
  --green-border: #FECACA !important;
  --green-badge: #EF4444 !important;
  --border-focus: #DC2626 !important;
  --shadow-green: 0 8px 20px rgba(220, 38, 38, 0.22) !important;
}

html[data-food-theme="both"],
body[data-food-theme="both"] {
  --theme-primary: #EA580C !important;
  --theme-hover: #C2410C !important;
  --theme-light: #FFF7ED !important;
  --theme-border: #FED7AA !important;
  --theme-badge: #F97316 !important;
  --green-primary: #EA580C !important;
  --green-hover: #C2410C !important;
  --green-light: #FFF7ED !important;
  --green-border: #FED7AA !important;
  --green-badge: #F97316 !important;
  --border-focus: #EA580C !important;
  --shadow-green: 0 8px 20px rgba(234, 88, 12, 0.22) !important;
}

/* --------------------------------------------------------------------------
   02. Global Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  background: #FFFFFF;
  color: var(--text-main);
  color-scheme: light;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  line-height: 1.55;
  background-color: #FFFFFF;
  background: #FFFFFF;
  color: var(--text-body);
  color-scheme: light;
  position: relative;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Prevent fixed mobile bottom bar from ever covering content */
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(var(--mobile-bottom-height, 64px) + env(safe-area-inset-bottom, 0px) + 8px);
  }
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  touch-action: manipulation;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px !important; /* Prevents auto-zoom on mobile iOS */
  color: inherit;
  box-sizing: border-box;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green-primary);
  color: #FFF;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--trans-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-green {
  background: var(--green-light);
  color: var(--green-primary);
  border: 1px solid var(--green-border);
}

.badge-red {
  background: var(--red-light);
  color: var(--red-primary);
  border: 1px solid #FECACA;
}

.badge-orange {
  background: var(--orange-light);
  color: var(--orange-primary);
  border: 1px solid var(--orange-border);
}

.badge-blue {
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  transition: all var(--trans-base);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.22);
}
.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.3);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: var(--green-light);
}

.btn-red {
  background: var(--red-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.btn-orange {
  background: var(--orange-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  min-height: 36px;
}

/* Section Common Titles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-header .badge {
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   03. SECTION 01 — Top Announcement Bar & Mobile Ticker
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   03. SECTION 01 — Top Header Strip: Social Icons | Scrolling Ticker | Contact
   -------------------------------------------------------------------------- */
.top-header-strip {
  background: #0F172A;
  color: #F8FAFC;
  font-size: 0.8rem;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 38px;
  box-sizing: border-box;
}

/* 1. LEFT: Social Media Icons */
.top-strip-left.top-strip-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.top-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.top-social-icon:hover {
  background: #22C55E;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.top-social-icon.social-fb:hover { background: #1877F2; }
.top-social-icon.social-insta:hover { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }
.top-social-icon.social-wa:hover { background: #25D366; }
.top-social-icon.social-yt:hover { background: #FF0000; }
.top-social-icon.social-tw:hover { background: #111827; }

/* 2. CENTER: Scrolling Ticker */
.top-strip-center.top-strip-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.strip-ticker-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.strip-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  animation: stripTickerMarquee var(--strip-speed, 25s) linear infinite;
  will-change: transform;
}

.strip-ticker-container:hover .strip-ticker-track {
  animation-play-state: paused;
}

.strip-ticker-phrase {
  font-size: 0.8rem;
  font-weight: 600;
  color: #F1F5F9;
  letter-spacing: 0.01em;
}

.strip-ticker-bullet {
  color: #22C55E;
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.8;
}

.strip-ticker-static {
  font-size: 0.8rem;
  font-weight: 600;
  color: #F1F5F9;
  text-align: center;
  width: 100%;
}

@keyframes stripTickerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 3. RIGHT: Contact Information */
.top-strip-right.top-strip-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.strip-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD5E1;
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.strip-contact-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.strip-contact-badge.location-badge {
  color: #94A3B8;
}

.strip-contact-badge.phone-badge {
  color: #FEF08A;
  font-weight: 700;
}
.strip-contact-badge.phone-badge:hover {
  color: #FDE047;
  border-color: rgba(253, 224, 71, 0.35);
}

.strip-contact-badge.wa-badge {
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
  border-color: rgba(34, 197, 94, 0.25);
  font-weight: 700;
}
.strip-contact-badge.wa-badge:hover {
  background: #22C55E;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Responsive collapse on tablet & mobile */
@media (max-width: 960px) {
  .strip-contact-badge.location-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-strip-container {
    height: 34px;
    gap: 0.45rem;
    padding: 0 0.5rem;
  }
  .top-strip-left.top-strip-socials {
    gap: 0.25rem;
  }
  .top-social-icon {
    width: 22px;
    height: 22px;
  }
  .strip-contact-badge .wa-text {
    display: none;
  }
  .strip-contact-badge.phone-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
  }
  .strip-ticker-phrase {
    font-size: 0.74rem;
  }
}

@media (max-width: 540px) {
  .top-strip-socials .social-tw,
  .top-strip-socials .social-yt {
    display: none;
  }
  .strip-contact-badge.phone-badge span {
    display: none;
  }
  .strip-contact-badge.phone-badge {
    padding: 0.25rem;
  }
}

/* --------------------------------------------------------------------------
   04. SECTION 02 — Main Header & Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--trans-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  background: #FFFFFF;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }

  .header-inner {
    height: 70px;
    gap: 0.45rem;
    padding: 0 0.25rem;
  }

  .brand-logo {
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 1;
    height: 100%;
    padding: 4px 0;
  }

  .brand-icon-box,
  .brand-logo-img {
    width: auto;
    height: auto;
    max-height: calc(var(--header-height) - 12px);
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-location-tag {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  /* Hide customer account on small mobile to give space to Menu */
  .account-desktop-btn {
    display: none !important;
  }

  .lang-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.78rem;
    gap: 0.2rem;
  }

  .header-icon-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ECFDF5;
    border: 1.5px solid #BBF7D0;
    padding: 8px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    background: #15803D;
    height: 2.5px;
    border-radius: 2px;
  }
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
  padding: 4px 0;
}

.brand-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
}

.brand-logo-img {
  width: auto;
  height: auto;
  max-height: calc(var(--header-height) - 14px);
  max-width: 140px;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(21, 128, 61, 0.22));
}

.brand-location-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--green-primary);
  background: #ECFDF5;
  border: 1px solid #BBF7D0;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .brand-location-badge {
    display: none;
  }
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-name span {
  color: var(--green-primary);
}

.brand-location-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Nav Links & Dropdowns */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    height: 100%;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color var(--trans-fast);
  white-space: nowrap;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--green-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--green-primary);
  border-radius: var(--radius-full);
}

/* Today's Deals Nav Pill */
.nav-link-deals {
  color: var(--green-primary);
  font-weight: 700;
}
.nav-hot-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
  animation: pulsePill 2s infinite ease-in-out;
}
@keyframes pulsePill {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Dropdown Container */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-link-dropdown {
  cursor: pointer;
  height: 100%;
  display: inline-flex;
  align-items: center;
}

.dropdown-chevron {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron,
.nav-item-dropdown.is-active .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--green-primary);
}

/* Dropdown Menu Box */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 14px -2px rgba(15, 23, 42, 0.06);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  transition-delay: 0.2s;
  z-index: 1000;
}

/* Wide bridge so hover doesn't break moving cursor down */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  height: 28px;
}

/* Open states */
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu,
.nav-item-dropdown.is-active .nav-dropdown-menu,
.nav-item-dropdown.is-pinned .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* ==========================================================================
   MEGA MENU STYLES — Centered 5-Column 3-Tier Department Mega Menu
   ========================================================================== */
.main-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
.main-header .container {
  position: relative;
}
.nav-item-dropdown.nav-item-megamenu {
  position: static;
  height: 100%;
}

.shop-mega-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 1220px !important;
  box-sizing: border-box !important;
  padding: 1.35rem 1.6rem 1.15rem !important;
  background: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  z-index: 1000 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
  transition-delay: 0.25s !important;
}

/* Invisible wide bridge above the mega menu ensuring cursor traversal never breaks */
.shop-mega-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 35px;
  background: transparent;
  z-index: 10;
}

.nav-item-dropdown:hover .shop-mega-menu,
.nav-item-dropdown:focus-within .shop-mega-menu,
.nav-item-dropdown.is-open .shop-mega-menu,
.nav-item-dropdown.is-active .shop-mega-menu,
.nav-item-dropdown.is-pinned .shop-mega-menu,
.shop-mega-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

/* Mega Menu Header Bar */
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 1rem;
}
.mega-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mega-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: #DCFCE7;
  color: #15803D;
  padding: 3px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
}
.mega-subtext {
  font-size: 0.82rem;
  color: #6B7280;
  white-space: nowrap;
}
.mega-view-all {
  color: #15803D;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s;
}
.mega-view-all:hover {
  color: #166534;
  text-decoration: underline;
}

/* 5/6-Column Department Layout */
.mega-departments-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

[data-food-theme="both"] .mega-departments-grid,
[data-food-theme="nonveg"] .mega-departments-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .mega-departments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  [data-food-theme="both"] .mega-departments-grid,
  [data-food-theme="nonveg"] .mega-departments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Each Department Column */
.mega-dept-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

/* Level 1 Category Header */
.mega-dept-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.65rem;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mega-dept-header:hover {
  background: #F0FDF4;
  border-color: #86EFAC;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.1);
}
.mega-dept-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
}
.mega-dept-titles {
  flex: 1;
  min-width: 0;
}
.mega-dept-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #111827;
  white-space: normal;
  line-height: 1.25;
  word-break: break-word;
}
.mega-dept-header:hover .mega-dept-name {
  color: #15803D;
}
.mega-dept-tamil {
  display: block;
  font-size: 0.74rem;
  color: #15803D;
  font-family: 'Noto Sans Tamil', sans-serif;
  white-space: normal;
  line-height: 1.25;
  margin-top: 2px;
}
.mega-dept-count {
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 6px;
  border-radius: 99px;
  flex-shrink: 0;
}

/* Subcategories List */
.mega-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.25rem 0.15rem 0.4rem;
}

.mega-subgroup {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Level 2 Subcategory Link */
.mega-sub-link {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.35;
  padding: 3px 6px;
  border-radius: 6px;
}
.mega-sub-link:hover {
  color: #15803D;
  background: #F0FDF4;
}
.mega-sub-bullet {
  color: #15803D;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.mega-sub-name {
  flex: 1;
  white-space: normal;
  word-break: break-word;
}
.mega-sub-count {
  font-size: 0.68rem;
  color: #6B7280;
  font-weight: 600;
  flex-shrink: 0;
}

/* Level 3 Sub-sub Categories */
.mega-subsub-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 0.85rem;
}
.mega-subsub-item {
  font-size: 0.74rem;
  color: #6B7280;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.15s;
  line-height: 1.25;
  padding: 2px 6px;
  border-radius: 4px;
}
.mega-subsub-item:hover {
  color: #15803D;
  background: #DCFCE7;
  font-weight: 700;
}
.mega-subsub-symbol {
  color: #9CA3AF;
  font-size: 0.7rem;
}

/* Mega Menu Footer */
.mega-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.75rem 1rem;
  background: #F9FAFB;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  margin-top: 1rem;
}
.mega-footer-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #4B5563;
}
.mega-footer-item strong {
  color: #111827;
}

.more-dropdown-menu {
  width: 320px;
  left: 0;
  transform: translateY(8px);
}
.nav-item-dropdown:hover .more-dropdown-menu,
.nav-item-dropdown:focus-within .more-dropdown-menu,
.nav-item-dropdown.is-active .more-dropdown-menu {
  transform: translateY(0);
}

/* Grid layout for Shop Dropdown */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.more-dropdown-menu .nav-dropdown-grid,
.more-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Individual Dropdown Item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  transition: all 0.18s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: #F0FDF4;
}

.nav-dd-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-item:hover .nav-dd-icon {
  transform: scale(1.1);
}

.nav-dd-text {
  display: flex;
  flex-direction: column;
}

.nav-dd-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.25;
  transition: color 0.18s;
}

.nav-dropdown-item:hover .nav-dd-title {
  color: var(--green-primary);
}

.nav-dd-sub {
  font-size: 0.74rem;
  color: #6B7280;
  font-weight: 500;
  margin-top: 1px;
}

/* Footer Banner in Dropdown */
.nav-dropdown-footer {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #F3F4F6;
}

.nav-dd-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 10px;
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
}

.nav-dd-banner:hover {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: var(--green-primary);
}

.nav-dd-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: #DCFCE7;
  color: #15803D;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Mobile Drawer Section Titles */
.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.6rem 0.5rem 0.2rem;
  margin-top: 0.4rem;
  border-top: 1px solid #F3F4F6;
}
.mobile-nav-section-title:first-of-type {
  margin-top: 0;
  border-top: none;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Dietary Preference Segmented Pill Toggle (Veg | Non-Veg | Both) */
.diet-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  user-select: none;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--trans-fast);
}

.diet-toggle-wrap:hover {
  border-color: var(--border-focus);
}

.diet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  white-space: nowrap;
}

.diet-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.03);
}

.diet-btn .diet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Specific indicator dots */
.diet-btn .veg-dot {
  background: #15803D;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.2);
}

.diet-btn .nonveg-dot {
  background: #DC2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.diet-btn .both-dot {
  background: linear-gradient(135deg, #15803D 50%, #DC2626 50%);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.25);
}

/* Active State Styles */
.diet-btn[data-diet="veg"].active {
  background: #15803D;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35);
}
.diet-btn[data-diet="veg"].active .veg-dot {
  background: #FFFFFF;
  box-shadow: none;
}

.diet-btn[data-diet="nonveg"].active {
  background: #DC2626;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}
.diet-btn[data-diet="nonveg"].active .nonveg-dot {
  background: #FFFFFF;
  box-shadow: none;
}

.diet-btn[data-diet="both"].active {
  background: #EA580C;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.diet-btn[data-diet="both"].active .both-dot {
  background: #FFFFFF;
  box-shadow: none;
}

/* Mobile drawer diet toggle */
.mobile-drawer-diet-wrap {
  padding: 0.85rem 1.25rem 0.35rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.65rem;
}

.mobile-diet-label-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.mobile-diet-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.mobile-diet-toggle .diet-btn {
  flex: 1;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.82rem;
}

/* Hide desktop toggle on very narrow screens (< 640px) to prevent header overflow, available in mobile drawer */
@media (max-width: 768px) {
  .header-actions .diet-toggle-wrap {
    display: none;
  }
}

/* Multilingual Selector */
.lang-selector-wrap {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.lang-btn:hover {
  border-color: var(--green-primary);
  background: #FFF;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  padding: 0.4rem 0;
  display: none;
  z-index: 150;
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: background var(--trans-fast);
}

.lang-option:hover, .lang-option.selected {
  background: var(--green-light);
  color: var(--green-primary);
}

/* Header Icons (Search Mobile, Account, Cart) */
.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  position: relative;
  transition: all var(--trans-fast);
}

.header-icon-btn:hover {
  background: var(--green-light);
  color: var(--green-primary);
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  transition: transform var(--trans-fast);
}

.cart-count-badge.bump {
  transform: scale(1.3);
}

/* Mobile Hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  padding: 10px;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle,
  .mobile-nav-drawer {
    display: none !important;
  }
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--trans-base);
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer: Strictly Hidden on Desktop (>= 1024px) */
.mobile-nav-drawer {
  display: none !important;
}

@media (max-width: 1023px) {
  .mobile-nav-drawer {
    display: none !important;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    background: #FFFFFF;
    z-index: 1050;
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav-drawer.open {
    display: flex !important;
  }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-mobile-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F4F6;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
}
.close-mobile-drawer-btn:hover {
  background: #E5E7EB;
  color: #111827;
}

.mobile-drawer-search-wrap {
  margin-bottom: 1rem;
}

.mobile-drawer-search-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  background: var(--bg-subtle);
}
.mobile-drawer-search-input:focus {
  border-color: var(--green-primary);
  background: #FFFFFF;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-links a {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px dashed var(--border-light);
  transition: all var(--trans-fast);
}
.mobile-nav-links a:hover {
  background: var(--green-light);
  color: var(--green-primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   05. SECTION 03 — Hero Section (Dark Theme)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 2.25rem 0 2.5rem 0;
  background: radial-gradient(circle at 85% 20%, rgba(21, 128, 61, 0.12) 0%, rgba(240, 253, 244, 0.95) 55%, #FFFFFF 100%), #F0FDF4;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #D1FAE5;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-badge-wrap .badge-green {
  background: rgba(34, 197, 94, 0.16);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 25px rgba(74, 222, 128, 0.35));
}

.hero-desc {
  font-size: 1.1rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero-location-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.4);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FB923C;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-ctas .btn-primary {
  background: #22C55E;
  color: #052E16;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.hero-ctas .btn-primary:hover {
  background: #16A34A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
}

.hero-ctas .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-ctas .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #4ADE80;
  color: #4ADE80;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  width: 100%;
}

.hero-trust-bar svg {
  stroke: #4ADE80;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-stat-card .stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #4ADE80;
  line-height: 1.2;
}

.hero-stat-card .stat-label {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Hero Media Image */
.hero-media-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 45px rgba(34, 197, 94, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  max-width: 580px;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-float-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.1rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.float-badge-1 {
  bottom: 1.5rem;
  left: -0.5rem;
}

.float-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-badge-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}
.float-badge-sub {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   06. SECTION 04 — Shop by Category
   -------------------------------------------------------------------------- */
.section-categories {
  padding: 2rem 0;
  background: var(--bg-main);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.category-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--trans-base);
  box-shadow: var(--shadow-xs);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
  background: var(--green-light);
}

.cat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  transition: all var(--trans-fast);
}

.category-card:hover .cat-icon-wrap {
  background: #FFFFFF;
  transform: scale(1.08);
}

.cat-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.cat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   07. SECTION 05 — Why Shop With Cleantaste
   -------------------------------------------------------------------------- */
.section-why-us {
  padding: 2rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card-1:hover { border-color: var(--green-primary); background: #F0FDF4; }
.why-card-2:hover { border-color: var(--blue-primary); background: #EFF6FF; }
.why-card-3:hover { border-color: var(--orange-primary); background: #FFF7ED; }
.why-card-4:hover { border-color: var(--red-primary); background: #FEF2F2; }
.why-card-5:hover { border-color: #8B5CF6; background: #F5F3FF; }

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-1 .why-icon { background: var(--green-light); color: var(--green-primary); }
.why-card-2 .why-icon { background: var(--blue-light); color: var(--blue-primary); }
.why-card-3 .why-icon { background: var(--orange-light); color: var(--orange-primary); }
.why-card-4 .why-icon { background: var(--red-light); color: var(--red-primary); }
.why-card-5 .why-icon { background: #EDE9FE; color: #7C3AED; }

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   08. Unified Product Card Component (Sections 06, 07, 08, 09)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--trans-base);
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-lg);
}

.product-thumb-box {
  position: relative;
  background: #FAFAFA;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-thumb-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform var(--trans-smooth);
}

.product-card:hover .product-thumb-box img {
  transform: scale(1.06);
}

/* Discount Badge */
.discount-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-fast);
}

.wishlist-btn:hover, .wishlist-btn.active {
  color: var(--red-primary);
  border-color: #FECACA;
  background: #FEF2F2;
  transform: scale(1.1);
}

.wishlist-btn.active svg {
  fill: var(--red-primary);
}

/* Product Info */
.product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.65rem;
}

.product-unit {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 500;
}

/* Add to Cart Button */
.btn-add-cart {
  width: 100%;
  background: var(--green-light);
  color: var(--green-primary);
  border: 1.5px solid var(--green-border);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--trans-base);
  min-height: 40px;
}

.btn-add-cart:hover {
  background: var(--green-primary);
  color: #FFFFFF;
  border-color: var(--green-primary);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-add-cart.added {
  background: var(--green-primary);
  color: #FFFFFF;
  border-color: var(--green-primary);
}

/* Section Action Links */
.section-action-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   09. SECTION 06 — Fresh Fruits
   -------------------------------------------------------------------------- */
.section-fruits {
  padding: 2.25rem 0;
  background: var(--bg-main);
}

/* --------------------------------------------------------------------------
   10. SECTION 07 — Fresh Vegetables
   -------------------------------------------------------------------------- */
.section-vegetables {
  padding: 2.25rem 0;
  background: var(--bg-subtle);
}

/* --------------------------------------------------------------------------
   11. SECTION 08 — Grocery Essentials with Category Filter
   -------------------------------------------------------------------------- */
.section-grocery-essentials {
  padding: 2.25rem 0;
  background: var(--bg-main);
}

.category-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--green-primary);
  color: #FFFFFF;
  border-color: var(--green-primary);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

/* --------------------------------------------------------------------------
   12. SECTION 09 — Today's Best Deals with Countdown
   -------------------------------------------------------------------------- */
.section-best-deals {
  padding: 2.25rem 0;
  background: linear-gradient(180deg, #FEF2F2 0%, #FFFFFF 100%);
  border-top: 2px dashed #FECACA;
  border-bottom: 2px dashed #FECACA;
}

.deals-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.deals-timer-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 2px solid var(--red-primary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.15);
}

.deals-timer-box .timer-label {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--red-primary);
  text-transform: uppercase;
}

.deals-countdown-digits {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   13. SECTION 10 — Special Combo Offers
   -------------------------------------------------------------------------- */
.section-combos {
  padding: 2.25rem 0;
  background: var(--bg-main);
}

.combo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .combo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.combo-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-base);
  position: relative;
}

.combo-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-xl);
}

.combo-image-box {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F8FAF9;
}

.combo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.combo-card:hover .combo-image-box img {
  transform: scale(1.05);
}

.combo-save-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange-primary);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.combo-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

.combo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.combo-items-list {
  font-size: 0.88rem;
  color: var(--text-body);
  background: var(--bg-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
}

.combo-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   14. SECTION 11 — Freshness Promise
   -------------------------------------------------------------------------- */
.section-freshness-promise {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  position: relative;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .promise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.promise-content h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.promise-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.promise-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
}

.promise-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promise-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
}

.promise-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   15. SECTION 12 — Local Delivery Section (Virugambakkam Focus)
   -------------------------------------------------------------------------- */
.section-local-delivery {
  padding: 2.5rem 0;
  background: var(--bg-main);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .delivery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.delivery-media-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.delivery-media-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.delivery-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.delivery-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

.deliv-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.deliv-pill svg {
  color: var(--green-primary);
  flex-shrink: 0;
}

.service-locations-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.loc-tag {
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   16. SECTION 13 — How It Works
   -------------------------------------------------------------------------- */
.section-how-it-works {
  padding: 4.5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-primary);
}

.step-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green-primary);
  margin-bottom: 1rem;
  display: inline-block;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. SECTION 14 — Customer Testimonials
   -------------------------------------------------------------------------- */
.section-testimonials {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
}

.stars-row {
  display: flex;
  gap: 0.2rem;
  color: #F59E0B;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.reviewer-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.reviewer-tag {
  font-size: 0.75rem;
  color: var(--green-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. SECTION 15 — App / Mobile Shopping Promotion
   -------------------------------------------------------------------------- */
.section-app-promo {
  padding: 2.5rem 0;
  background: radial-gradient(circle at center, #F0FDF4 0%, #FFFFFF 100%);
}

.app-promo-box {
  background: #15803D;
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 992px) {
  .app-promo-box {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3.5rem 3rem;
  }
}

.app-promo-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.app-promo-content p {
  color: #D1D5DB;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.app-feature-item svg {
  color: #22C55E;
}

/* Phone Mockup Frame */
.phone-mockup-frame {
  max-width: 290px;
  margin: 0 auto;
  border: 10px solid #374151;
  border-radius: 40px;
  background: #FFFFFF;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background: #374151;
  margin: 0 auto;
  border-radius: 0 0 12px 12px;
}

.phone-screen-content {
  padding: 0.75rem;
  background: #F9FAFB;
}

.phone-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 0.75rem;
}

.phone-ui-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  border: 1px solid #E5E7EB;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-ui-card img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.phone-ui-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #111827;
}

.phone-ui-price {
  font-size: 0.7rem;
  color: var(--green-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   19. SECTION 16 — Frequently Asked Questions
   -------------------------------------------------------------------------- */
.section-faq {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq-card.active {
  border-color: var(--green-primary);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background: transparent;
  gap: 1rem;
}

.faq-icon-arrow {
  transition: transform var(--trans-base);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-card.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--green-primary);
}

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-card.active .faq-content {
  padding-bottom: 1.25rem;
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   20. SECTION 17 — Newsletter / Special Offers
   -------------------------------------------------------------------------- */
.section-newsletter {
  padding: 2.25rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.newsletter-box {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
  border: 2px solid var(--orange-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  outline: none;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* --------------------------------------------------------------------------
   21. SECTION 18 — Contact & Service Area
   -------------------------------------------------------------------------- */
.section-contact-area {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
}

.contact-card:hover {
  background: #FFFFFF;
  border-color: var(--green-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.contact-card p, .contact-card a {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 600;
}

.contact-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   22. SECTION 19 — Final Call to Action
   -------------------------------------------------------------------------- */
.section-final-cta {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-content {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .final-cta-content h2 {
    font-size: 2.8rem;
  }
}

.final-cta-content p {
  font-size: 1.15rem;
  color: #DCFCE7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-white {
  background: #FFFFFF;
  color: var(--green-primary);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  background: #F0FDF4;
  color: var(--green-hover);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   23. SECTION 20 — Complete Footer
   -------------------------------------------------------------------------- */
.site-footer,
.main-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 2.75rem 0 1.5rem 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-about-text {
  line-height: 1.6;
  margin: 1rem 0 1.5rem 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1F2937;
  color: #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.social-icon-link:hover {
  background: var(--green-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Admin Portal Footer */
.admin-portal-footer {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid #E5E7EB;
  color: #6B7280;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   24. Slide-Out Cart Drawer & Backdrop
   -------------------------------------------------------------------------- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-base);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #FFFFFF;
  z-index: 210;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}
.close-cart-btn:hover {
  background: #FEE2E2;
  color: var(--red-primary);
}

/* Free Delivery Meter */
.free-delivery-meter {
  padding: 0.85rem 1.5rem;
  background: var(--green-light);
  border-bottom: 1px solid var(--green-border);
}

.meter-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-hover);
  margin-bottom: 0.4rem;
}

.meter-bar-track {
  height: 6px;
  background: #BBF7D0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: var(--green-primary);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.4s ease;
}

/* Cart Items Scroll Container */
.cart-items-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--text-muted);
  gap: 0.85rem;
}

.cart-empty-state svg {
  color: #D1D5DB;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #F9FAFB;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--green-primary);
  margin: 0.2rem 0;
}

.cart-item-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg-subtle);
}

.cart-stepper-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
}
.cart-stepper-btn:hover {
  background: #FFFFFF;
}

.cart-stepper-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-delete {
  color: var(--text-subtle);
  padding: 0.4rem;
  cursor: pointer;
}
.cart-item-delete:hover {
  color: var(--red-primary);
}

/* Cart Footer & Checkout */
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
}

.cart-calc-row.total {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  border-top: 1px dashed var(--border-light);
  padding-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   25. Mobile Sticky Bottom Navigation
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--mobile-bottom-height);
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 80;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  position: relative;
  padding: 0.35rem 0.6rem;
}

.bottom-bar-item.active, .bottom-bar-item:hover {
  color: var(--green-primary);
}

.bottom-bar-item .badge-dot {
  position: absolute;
  top: 2px;
  right: 12px;
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   26. Toast Notification System
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  background: #15803D;
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success {
  border-left: 4px solid var(--green-primary);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   27. Scroll Reveal Animation Classes
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   28. Floating AI Search Bar & Conversational Chatbot Assistant
   -------------------------------------------------------------------------- */
.floating-ai-bar-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  z-index: 950;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .floating-ai-bar-wrap {
    bottom: calc(var(--mobile-bottom-height, 64px) + 12px);
    width: calc(100vw - 20px);
    max-width: 560px;
  }
}

.floating-ai-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(21, 128, 61, 0.35);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.45rem 0.35rem 0.65rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(21, 128, 61, 0.18);
  transition: all var(--trans-smooth);
  min-height: 54px;
}

.floating-ai-bar:focus-within,
.floating-ai-bar:hover {
  border-color: var(--green-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 0 0 4px rgba(21, 128, 61, 0.15);
  background: #FFFFFF;
}

/* AI Sparkle Badge */
.ai-sparkle-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  color: #FFFFFF;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
  cursor: pointer;
  transition: transform var(--trans-fast);
}

.ai-sparkle-badge:hover {
  transform: scale(1.04);
}

.ai-sparkle-svg {
  animation: aiSpin 4s linear infinite;
}

@keyframes aiSpin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg); }
}

/* Inner Input Field */
.floating-input-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.floating-input-inner input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.4rem 0.25rem;
}

.floating-input-inner input::placeholder {
  color: #9CA3AF;
  font-size: 0.86rem;
}

/* Action Send Button */
.floating-ai-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--green-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.floating-ai-action-btn:hover {
  background: var(--green-hover);
  transform: scale(1.05);
}

/* Integrated WhatsApp Icon Button */
.floating-whatsapp-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all var(--trans-fast);
  position: relative;
}

.floating-whatsapp-btn:hover {
  background: #20BA5A;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

.floating-whatsapp-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulseWa 2s infinite;
}

@keyframes pulseWa {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* --------------------------------------------------------------------------
   29. AI Chatbot Assistant Modal / Drawer (Anchored Above Floating Bar)
   -------------------------------------------------------------------------- */
.ai-assistant-modal {
  position: fixed;
  bottom: calc(24px + 62px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: min(680px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 25px 60px rgba(0, 0, 0, 0.18);
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-smooth);
  max-height: min(520px, 72vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ai-assistant-modal {
    bottom: calc(var(--mobile-bottom-height, 64px) + 72px);
    width: calc(100vw - 20px);
    max-height: 65vh;
    border-radius: var(--radius-lg);
  }
}

.ai-assistant-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Modal Header */
.ai-modal-header {
  padding: 0.85rem 1.25rem;
  background: #F8FAF9;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-avatar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ai-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.ai-header-subtitle {
  font-size: 0.72rem;
  color: var(--green-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}

.ai-close-btn {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-close-btn:hover {
  color: var(--text-main);
  background: #E5E7EB;
}

/* Suggestion Chips Bar */
.ai-chips-bar {
  padding: 0.65rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.ai-chips-bar::-webkit-scrollbar {
  display: none;
}

.ai-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.ai-chip-pill:hover {
  background: var(--green-light);
  border-color: var(--green-border);
  color: var(--green-primary);
}

/* Chat Messages Scroll Body */
.ai-chat-messages {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  background: #FAFCFA;
}

.ai-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  gap: 0.25rem;
}

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
}

.ai-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ai-msg.bot .ai-msg-bubble {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-xs);
}

.ai-msg.user .ai-msg-bubble {
  background: var(--green-primary);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.ai-msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0 0.25rem;
}
.ai-msg.user .ai-msg-time {
  align-self: flex-end;
}

/* Product Cards Rendered in Chat */
.ai-chat-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.ai-chat-product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: var(--shadow-xs);
}

.ai-chat-product-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.ai-chat-prod-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.ai-chat-prod-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--green-primary);
}

.ai-chat-add-btn {
  background: var(--green-primary);
  color: #FFFFFF;
  border: none;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all var(--trans-fast);
}
.ai-chat-add-btn:hover {
  background: var(--green-hover);
}

/* ==========================================================================
   24. Smart App Install Banner (Android, iOS, Desktop PWA)
   ========================================================================== */
.smart-app-banner {
  background: #FFFFFF;
  color: #111827;
  border-bottom: 2px solid #15803D;
  position: relative;
  z-index: 1060;
  display: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-app-banner.visible {
  display: block;
  animation: bannerDropIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Shown strictly on Mobile and Tablet devices only (<= 1024px) */
@media (min-width: 1025px) {
  .smart-app-banner,
  .smart-app-banner.visible {
    display: none !important;
  }
}


@keyframes bannerDropIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.smart-banner-container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.smart-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.smart-banner-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94A3B8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.smart-banner-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.smart-banner-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.smart-banner-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smart-banner-info {
  flex: 1;
  min-width: 0;
}

.smart-banner-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2px;
}

.smart-banner-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
}

.smart-banner-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 1px 7px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.smart-banner-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smart-banner-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
}

.smart-banner-rating .stars {
  color: #FBBF24;
  letter-spacing: 1px;
}

.smart-banner-rating .rating-sub {
  color: #64748B;
}

.smart-banner-cta {
  flex-shrink: 0;
}

.smart-banner-install-btn {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  border: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.smart-banner-install-btn:hover {
  background: linear-gradient(135deg, #16A34A 0%, #166534 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

@media (max-width: 640px) {
  .smart-banner-inner {
    gap: 0.55rem;
  }
  .smart-banner-app-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }
  .smart-banner-name {
    font-size: 0.88rem;
  }
  .smart-banner-desc {
    font-size: 0.74rem;
  }
  .smart-banner-install-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   25. iOS "Add to Home Screen" Instructions Modal
   ========================================================================== */
.ios-install-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1250;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ios-install-backdrop.open {
  display: block;
  opacity: 1;
}

.ios-install-modal {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  width: calc(100% - 32px);
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 24px;
  z-index: 1260;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 1.5rem;
  display: none;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-install-modal.open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ios-install-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-ios-modal-btn {
  background: #F3F4F6;
  border: none;
  color: #4B5563;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
}

.close-ios-modal-btn:hover {
  background: #E5E7EB;
  color: #111827;
}

.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ios-step-card {
  display: flex;
  gap: 0.85rem;
  background: #F8FAF9;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.85rem;
}

.ios-step-badge {
  width: 28px;
  height: 28px;
  background: #15803D;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ios-step-info {
  flex: 1;
}

.ios-step-info p {
  font-size: 0.84rem;
  color: #374151;
  margin: 0 0 0.35rem 0;
  line-height: 1.35;
}

.ios-step-visual {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ios-install-action button {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem;
}

/* ==========================================================================
   CLEANTASTE COMPLETE EXTENDED MODULE STYLES
   - Modals Framework (Auth, OTP, Account Hub, Product Details, Checkout)
   - Order Tracking Interactive Timeline
   - Printable Tax Invoice
   - Live Search Autocomplete
   - Mobile Bottom Navigation Enhancement
   ========================================================================== */

/* 1. Global Modal Dialogs & Backdrops */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
  width: 92%;
  max-width: 540px;
}

.modal-dialog.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
  background: #F3F4F6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #E5E7EB;
  color: #111827;
}

/* 2. Header Account Menu & Dropdown */
.account-menu-wrap {
  position: relative;
}

.account-active-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  background: #15803D;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  min-width: 230px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  z-index: 1000;
  display: none;
}

.account-dropdown-menu.active {
  display: block;
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
}

.account-dropdown-item:hover {
  background: #F3F4F6;
  color: var(--primary);
}

.account-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.35rem 0;
}

/* 3. Auth Modal & Email OTP */
.auth-modal {
  max-width: 440px;
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.auth-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: #F9FAFB;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #FFFFFF;
}

.auth-modal-content {
  padding: 1.25rem;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-main);
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.simulated-email-banner {
  background: #EFF6FF;
  border: 1.5px dashed #93C5FD;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.otp-inputs-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem 0;
}

.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: #F9FAFB;
  transition: all 0.2s;
}

.otp-box:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

/* 4. Customer Account Hub Modal */
.account-hub-modal {
  max-width: 860px;
  width: 95%;
}

.account-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #F8FAF9;
  border-bottom: 1px solid var(--border-color);
}

.account-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.account-avatar-circle {
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.3);
}

.account-user-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.account-user-email {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.account-hub-layout {
  display: flex;
  min-height: 460px;
}

@media (max-width: 768px) {
  .account-hub-layout {
    flex-direction: column;
  }
}

.account-sidebar-nav {
  width: 220px;
  background: #F9FAFB;
  border-right: 1px solid var(--border-color);
  padding: 0.85rem 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .account-sidebar-nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem;
    gap: 0.4rem;
  }
}

.account-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4B5563;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  white-space: nowrap;
}

.account-nav-btn:hover {
  background: #E5E7EB;
  color: #111827;
}

.account-nav-btn.active {
  background: #DCFCE7;
  color: var(--primary);
  font-weight: 800;
}

.account-tab-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 600px;
}

.hub-tab-pane {
  display: none;
}

.hub-tab-pane.active {
  display: block;
}

.hub-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
}

.hub-stat-card {
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.hub-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.hub-stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hub-recent-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1.15rem;
}

.order-card-customer {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.order-filter-pills {
  display: flex;
  gap: 0.4rem;
}

.order-filter-pill {
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  background: #FFFFFF;
  color: #4B5563;
  cursor: pointer;
}

.order-filter-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.account-table th {
  background: #F9FAFB;
  padding: 0.75rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.account-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

/* 5. Interactive Order Tracking Modal */
.tracking-modal {
  max-width: 580px;
}

.tracking-modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #F8FAF9;
}

.tracking-stepper-body {
  padding: 1.5rem;
}

.track-step-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.track-step-item:last-child {
  padding-bottom: 0;
}

.track-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.track-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 2;
}

.track-step-item.completed .track-step-dot {
  background: var(--primary);
  color: #FFFFFF;
}

.track-step-item.active .track-step-dot {
  background: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.25);
  animation: pulseTracking 1.8s infinite;
}

@keyframes pulseTracking {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.track-step-line {
  position: absolute;
  top: 28px;
  left: 13px;
  bottom: 0;
  width: 2px;
  background: #E5E7EB;
}

.track-step-item.completed .track-step-line {
  background: var(--primary);
}

.track-step-info {
  flex: 1;
}

.track-step-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.track-step-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0.25rem;
}

.track-step-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  margin: 0;
}

.tracking-footer {
  padding: 1rem 1.25rem;
  background: #F9FAFB;
  border-top: 1px solid var(--border-color);
}

/* 6. Product Quick View & Details Modal */
.product-quick-modal {
  max-width: 680px;
}

.product-quick-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .product-quick-body {
    grid-template-columns: 1fr;
  }
}

.quick-img-wrap {
  background: #F9FAFB;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.quick-details {
  display: flex;
  flex-direction: column;
}

.quick-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0.35rem 0 0.2rem;
}

.quick-regional-name {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.quick-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.quick-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green-primary);
}

.quick-old-price {
  font-size: 1rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.quick-savings-tag {
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 99px;
}

.quick-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.quick-nutrition-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  color: #166534;
  margin-bottom: 1.25rem;
}

.quick-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  align-items: center;
}

.quick-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #FFFFFF;
}

.quick-stepper button {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-stepper span {
  width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
}

/* 7. Multi-Step Checkout Modal */
.checkout-modal {
  max-width: 620px;
}

.checkout-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.checkout-steps-bar {
  display: flex;
  background: #F9FAFB;
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 1.5rem;
  gap: 1rem;
  overflow-x: auto;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9CA3AF;
  white-space: nowrap;
}

.checkout-step span {
  width: 20px;
  height: 20px;
  background: #E5E7EB;
  color: #6B7280;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.checkout-step.active {
  color: var(--primary);
}

.checkout-step.active span {
  background: var(--primary);
  color: #FFFFFF;
}

.checkout-step-pane {
  display: none;
  padding: 1.5rem;
}

.checkout-step-pane.active {
  display: block;
}

.delivery-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slot-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.slot-card:hover, .slot-card:has(input:checked) {
  border-color: var(--primary);
  background: #F0FDF4;
}

.slot-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  margin-bottom: 0.2rem;
}

.checkout-totals-card {
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.chk-total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-body);
}

.chk-total-row.grand {
  border-top: 1.5px dashed var(--border-color);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pay-method-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.pay-method-card:has(input:checked) {
  border-color: var(--primary);
  background: #F0FDF4;
}

/* 8. Order Success Modal */
.order-success-modal {
  max-width: 480px;
}

.success-checkmark-circle {
  width: 68px;
  height: 68px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(21, 128, 61, 0.25);
  animation: scaleSuccess 0.5s ease;
}

@keyframes scaleSuccess {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.order-success-details-card {
  margin: 1.25rem;
  background: #F9FAFB;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1.15rem;
  font-size: 0.88rem;
}

.order-success-actions {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.25rem 1.5rem;
}

/* 9. Live Search Autocomplete Floating Results */
.search-autocomplete-dropdown {
  position: absolute;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
  border: 1.5px solid var(--border-color);
  width: 92%;
  max-width: 460px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 10000;
  padding: 0.5rem;
}

.search-auto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
}

.search-auto-close {
  background: none;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  color: #6B7280;
}

.search-auto-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.search-auto-item:hover {
  background: #F3F4F6;
}

.search-auto-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: #F9FAFB;
}

/* 10. Printable Tax Invoice View */
.invoice-modal {
  max-width: 720px;
}

.invoice-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: #F9FAFB;
}

.invoice-print-sheet {
  padding: 2rem;
  background: #FFFFFF;
  color: #111827;
  font-size: 0.9rem;
}

@media print {
  body * {
    visibility: hidden;
  }
  .invoice-modal, .invoice-modal * {
    visibility: visible;
  }
  .invoice-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
  }
  .no-print {
    display: none !important;
  }
}

/* 11. Wholesale / Bulk Order Lead Modal */
.lead-modal {
  position: relative;
  max-width: 520px;
}

.lead-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.lead-modal-header > div {
  padding-right: 2.5rem;
}

.lead-modal-header .modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.lead-modal-header .modal-close-btn:hover {
  background: #E5E7EB;
  color: #111827;
  transform: scale(1.08);
}

/* ==========================================================================
   29. MOBILE-FIRST RESPONSIVE ARCHITECTURE & TOUCH ENHANCEMENTS
   ========================================================================== */

/* Touch Target Minimum Sizing (Sections 7, 19, 85) */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-sm,
.btn-add-cart,
.sidebar-reset-btn,
.mobile-filter-toggle-btn,
.smart-banner-install-btn {
  min-height: 44px;
  box-sizing: border-box;
}

.bottom-bar-item {
  min-height: 48px;
  min-width: 48px;
  justify-content: center;
}

/* Mobile Sticky Purchase Bar for Product Details Page */
.product-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .product-sticky-bar {
    display: flex;
    position: fixed;
    bottom: calc(var(--mobile-bottom-height, 64px) + env(safe-area-inset-bottom, 0px));
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 85;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .product-sticky-price {
    display: flex;
    flex-direction: column;
    min-width: 75px;
  }

  .product-sticky-price .val {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
  }

  .product-sticky-price .unit {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
  }

  .product-sticky-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
  }

  .product-sticky-btn {
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
    text-decoration: none;
  }
}

/* Cart Page Responsive Layout */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .cart-layout-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
  }
}

/* Checkout Page Responsive Layout */
.checkout-steps-bar {
  display: flex;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 1.5rem;
  justify-content: space-around;
  font-size: 0.88rem;
  font-weight: 800;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .checkout-steps-bar {
    padding: 0.75rem 0.5rem;
    gap: 0.4rem;
  }
  .checkout-step-item span:last-child {
    font-size: 0.75rem;
  }
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Client Portal Mobile Layout */
.client-portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 899px) {
  .client-portal-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .client-sidebar nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .client-nav-link {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
    min-height: 44px !important;
  }
}

@media (max-width: 500px) {
  .client-sidebar nav {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Modal Bottom Sheet Enhancements */
@media (max-width: 640px) {
  .cart-drawer {
    width: 100%;
    max-width: 100vw;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .ios-install-modal,
  .lead-modal,
  .invoice-modal {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 90dvh !important;
    border-radius: 20px 20px 0 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem) !important;
  }
}

/* Small Mobile Screen Adjustments (320px – 374px) */
@media (max-width: 374px) {
  .container {
    padding-inline: 12px;
  }

  .product-grid {
    gap: 0.5rem;
  }

  .product-content {
    padding: 0.65rem;
  }

  .product-title {
    font-size: 0.88rem;
  }

  .current-price {
    font-size: 1.05rem;
  }

  .btn-add-cart {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
}

/* ==========================================================================
   25. Global Category Filter Sidebar & Vertical Subcategory Rules
   ========================================================================== */
.subcat-collapse-list {
  list-style: none;
  padding: 0 0 0 0.75rem;
  margin: 0.25rem 0 0.5rem;
  display: none;
  flex-direction: column !important;
  gap: 0.2rem;
  border-left: 2px solid #E2E8F0;
  width: 100%;
}

.subcat-collapse-list.open {
  display: flex !important;
  flex-direction: column !important;
}

.category-filter-item {
  display: block !important;
  width: 100%;
  margin: 0;
  text-align: left;
}

.category-filter-item.active {
  display: block !important;
}

/* ==========================================================================
   WEBSITE ON HOLD MODE: DISABLE ALL LINKS & CLICKS
   ========================================================================== */
a,
a *,
button,
button *,
input,
select,
textarea,
form,
[role="button"],
[role="link"],
[onclick],
[href],
.btn,
.btn *,
.nav-link,
.nav-item-dropdown,
.shop-mega-menu,
.product-card,
.category-card,
.banner-card,
.feature-card,
.contact-card,
.clickable,
.clickable *,
.bottom-bar-item,
.bottom-bar-item *,
.floating-whatsapp-btn,
.floating-ai-bar-wrap,
.floating-ai-bar,
.ai-sparkle-badge,
.floating-ai-action-btn,
.smart-app-banner,
.smart-banner-install-btn,
.smart-banner-close,
.social-icon-link,
.social-links a,
.top-social-icon,
.quick-view-btn,
.add-to-cart-btn,
.qty-btn,
.diet-pill,
.header-action-btn,
.cart-trigger,
.mobile-menu-toggle,
.brand-logo,
.search-input-wrap,
.tag,
.badge {
  pointer-events: none !important;
  cursor: default !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

a:hover,
button:hover,
.btn:hover,
.nav-link:hover,
.product-card:hover,
.category-card:hover,
.feature-card:hover,
.bottom-bar-item:hover,
[role="button"]:hover {
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.funnel-popup-overlay,
.marketing-funnel-card,
.funnel-popup-container,
.modal-overlay,
.modal,
.cart-drawer,
.cart-drawer-backdrop,
.cart-drawer-overlay,
.ai-assistant-modal,
.quickview-modal {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

