/* ===========================================================
   CRISPAH – Complete E-Commerce Stylesheet
   Mobile-first responsive design
   Breakpoints: 480px, 768px, 1024px
   =========================================================== */

/* ===========================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   =========================================================== */
:root {
  /* Brand Colours */
  --brand-primary: #e60012;        /* Vibrant Red for headings, buttons */
  --brand-dark: #b3000e;           /* Darker red for hover states */
  --brand-light: #ff4d5a;          /* Lighter red accents */
  --brand-pale: #fff0f1;           /* Very light red backgrounds */
  --brand-accent: #1a1a1a;         /* Almost black / dark accent */
  --brand-accent-light: #f5f5f5;   /* Light grey for trust box */
  --brand-highlight: #000000;      /* Pure black for high contrast */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --grey-text: #333333;            /* Dark grey for body text */
  --grey-light: #757575;           /* Lighter grey for secondary text */
  --grey-border: #E0E0E0;         /* Border grey */
  --grey-bg: #F5F5F5;             /* Subtle grey background */

  /* Typography */
  --font-heading: 'Bangers', 'Impact', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 50rem;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Safe area insets (iPhone notch) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  /* Header height for offset */
  --header-height: 56px;
}

/* ===========================================================
   RESET & BASE STYLES
   =========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px; /* Prevent Safari auto-zoom on inputs */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--grey-text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh; /* Use dynamic viewport height to avoid 100vh bug on iOS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* CRITICAL: 16px minimum prevents Safari zoom on focus */
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* Section Title (used across sections) */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--brand-primary);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}



/* ===========================================================
   SECTION 2: STICKY HEADER
   =========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--space-md);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 10;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grey-text);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-smooth),
              opacity var(--duration-normal) var(--ease-smooth);
}

.header__hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.header__hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  margin: 0 auto;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--grey-text);
  letter-spacing: 2px;
  position: relative;
}

.header__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height var(--duration-normal) var(--ease-smooth);
}

@media (min-width: 768px) {
  .header__logo-img {
    height: 44px;
  }
}

/* Red burst effect behind logo text */
.logo-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(211,47,47,0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  color: var(--grey-text);
  transition: background var(--duration-fast) var(--ease-smooth);
}

.header__icon-btn:hover,
.header__icon-btn:focus-visible {
  background: var(--grey-bg);
}

.header__cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--brand-highlight);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.cart-count.show {
  opacity: 1;
  transform: scale(1);
}

/* Search Overlay */
.search-overlay {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  z-index: 50;
}

.search-overlay.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-sm);
}

.search-overlay__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.search-overlay__input:focus {
  border-color: var(--brand-dark);
}

.search-overlay__close {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  color: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-results {
  padding: 0 var(--space-md) var(--space-sm);
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--grey-border);
  cursor: pointer;
  transition: background var(--duration-fast);
}

.search-result-item:hover {
  background: var(--grey-bg);
}

.search-result-item__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.search-result-item__price {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===========================================================
   MOBILE NAV DRAWER
   =========================================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 80vw);
  height: 100%;
  background: var(--white);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--grey-border);
}

.mobile-nav__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-primary);
  letter-spacing: 1px;
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
}

.mobile-nav__links {
  padding: var(--space-md) 0;
  flex: 1;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--grey-text);
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  background: var(--brand-pale);
  color: var(--brand-primary);
  padding-left: var(--space-xl);
}

.mobile-nav__social {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-top: 1px solid var(--grey-border);
  justify-content: center;
}

.mobile-nav__social a {
  color: var(--grey-light);
  transition: color var(--duration-fast);
}

.mobile-nav__social a:hover {
  color: var(--brand-primary);
}

/* ===========================================================
   SECTION 3: CATEGORY ROW
   =========================================================== */
.categories {
  background: var(--white);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--grey-border);
}

.categories__scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-sm) var(--space-md);
  /* Hide scrollbar on all browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories__scroll::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: 72px;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.category-item:active {
  transform: scale(0.95);
}

.category-item__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  border: 2.5px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--brand-pale);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.category-item:hover .category-item__icon {
  background: var(--brand-primary);
  transform: scale(1.05);
}

.category-item__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-text);
  text-align: center;
  white-space: nowrap;
}

/* ===========================================================
   SECTION 4: HERO BANNER SLIDER
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Much taller on mobile */
  height: clamp(450px, 80vh, 700px);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

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

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Gradient overlay for text readability */
.hero__slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.hero__slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
  max-width: 600px;
}

.hero__label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero__subtext {
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.hero__cta {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--duration-fast) var(--ease-smooth);
  box-shadow: 0 4px 15px rgba(46,125,50,0.4);
}

.hero__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.5);
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-circle);
  background: var(--brand-primary);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  padding: 0;
}

.hero__dot--active {
  background: var(--brand-primary);
  opacity: 1;
  width: 28px;
  border-radius: var(--radius-pill);
}

/* ===========================================================
   SECTION 5: BRAND STORY
   =========================================================== */
.brand-story {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.brand-story__text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  color: var(--grey-text);
}

.brand-story__text strong {
  color: var(--brand-primary);
}

/* ===========================================================
   SECTION 6: NEW ARRIVALS CAROUSEL
   =========================================================== */
.new-arrivals {
  padding: var(--space-2xl) 0;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* Carousel Arrow Buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--white);
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
  border: 1px solid var(--grey-border);
}

.carousel-arrow:hover {
  background: var(--brand-primary);
  color: var(--white);
}

.carousel-arrow--left {
  left: 4px;
}

.carousel-arrow--right {
  right: 4px;
}

/* Product Card (used in carousel and grid) */
.product-card {
  flex: 0 0 75%;
  max-width: 280px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  cursor: pointer;
  border: 1px solid var(--grey-border);
}

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

.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--grey-bg);
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

/* Placeholder for missing product images */
.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--brand-pale) 0%, var(--brand-accent-light) 100%);
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-highlight);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--grey-text);
}

.product-card__weight {
  font-size: 0.75rem;
  color: var(--grey-light);
  margin-bottom: var(--space-sm);
}

.product-card__price-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.product-card__old-price {
  font-size: 0.8rem;
  color: var(--grey-light);
  text-decoration: line-through;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.product-card__add-btn {
  width: 100%;
  padding: 0.6rem;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 44px;
}

.product-card__add-btn:hover {
  background: var(--brand-dark);
}

.product-card__add-btn:active {
  transform: scale(0.97);
}

/* ===========================================================
   SECTION 7: TRUST BOX
   =========================================================== */
.trust-box {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.trust-box__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: var(--brand-accent-light);
  border: 1.5px solid #FFD54F;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  width: calc(33.333% - 1.5rem);
  min-width: 0;
}

.trust-item__icon {
  font-size: 2.5rem;
  background: var(--white);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.trust-item__text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.3;
}

/* Category Images */
.category-item-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s ease;
}
.category-item-new:hover {
  transform: translateY(-5px);
}
.cat-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  position: relative;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-item-new--disabled .cat-img-wrap img {
  filter: blur(4px) brightness(0.8);
}
.cat-coming-soon {
  position: absolute;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  line-height: 1.2;
}

@media (max-width: 600px) {
  .cat-img-wrap {
    width: 75px;
    height: 75px;
    border-width: 2px;
  }
  .cat-coming-soon {
    font-size: 0.7rem;
  }
  
  .trust-box__grid {
    gap: 0.5rem !important; /* Override inline gap */
  }
  .trust-item {
    width: calc(33.333% - 0.75rem); /* Force 3 columns on mobile */
    gap: 0.25rem;
  }
  .trust-item__icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .trust-item__text {
    font-size: 0.7rem;
    font-weight: 600;
  }
}

/* Featured On marquee */
.featured-on {
  margin-top: var(--space-xl);
  text-align: center;
}

.featured-on__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.featured-on__marquee {
  overflow: hidden;
}

.featured-on__track {
  display: flex;
  gap: var(--space-2xl);
  animation: marquee 20s linear infinite;
  will-change: transform;
}

.featured-logo {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--grey-light);
  font-weight: 600;
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
}

/* ===========================================================
   SECTION 8: PRODUCT COLLECTION GRID
   =========================================================== */
.products-collection {
  padding: var(--space-2xl) 0;
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-chip {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-text);
  background: var(--grey-bg);
  border: 1.5px solid var(--grey-border);
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.filter-chip--active,
.filter-chip:hover {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}

/* Product Grid: 2 columns on mobile */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Grid product cards */
.product-grid .product-card {
  flex: none;
  max-width: none;
}

.show-more-wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

.show-more-btn {
  background: var(--brand-primary);
  color: var(--white);
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 44px;
}

.show-more-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* ===========================================================
   SECTION 9: PRODUCT MODAL
   =========================================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--safe-bottom);
}

.product-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  max-height: 90dvh;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.product-modal-overlay.open .product-modal {
  transform: translateY(0);
}

.product-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--grey-bg);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--grey-text);
  transition: background var(--duration-fast);
}

.product-modal__close:hover {
  background: var(--grey-border);
}

.product-modal__body {
  padding: var(--space-lg);
}

.product-modal__gallery {
  margin-bottom: var(--space-lg);
}

.product-modal__image-wrap {
  aspect-ratio: 1/1;
  background: var(--grey-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.product-modal__thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.product-modal__thumbnails::-webkit-scrollbar {
  height: 4px;
}
.product-modal__thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
.thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.7;
}
.thumbnail-img:hover, .thumbnail-img.active {
  border-color: var(--primary);
  opacity: 1;
}

.product-modal__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-primary);
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.product-modal__price-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.product-modal__old-price {
  font-size: 1rem;
  color: var(--grey-light);
  text-decoration: line-through;
}

.product-modal__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.product-modal__weight {
  font-size: 0.85rem;
  color: var(--grey-light);
  background: var(--grey-bg);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-lg);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  background: var(--grey-bg);
  transition: background var(--duration-fast);
}

.qty-btn:hover {
  background: var(--brand-pale);
}

.qty-input {
  width: 50px;
  height: 44px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  -moz-appearance: textfield;
  outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Action Buttons */
.product-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Shared Button Styles */
.btn {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all var(--duration-fast) var(--ease-smooth);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand-primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--primary:disabled {
  background: var(--grey-light);
  cursor: not-allowed;
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1EBE5A;
}

/* Product Tabs */
.product-tabs {
  border-top: 1px solid var(--grey-border);
  padding-top: var(--space-md);
}

.product-tabs__nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 2px solid var(--grey-border);
  margin-bottom: var(--space-md);
}

.product-tabs__nav::-webkit-scrollbar {
  display: none;
}

.product-tab-btn {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.product-tab-btn--active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.product-tab-content {
  display: none;
  font-size: 0.9rem;
  line-height: 1.7;
}

.product-tab-content--active {
  display: block;
}

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

.nutrition-table th,
.nutrition-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-border);
}

.nutrition-table th {
  background: var(--brand-pale);
  font-weight: 600;
  color: var(--brand-primary);
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

/* ===========================================================
   SECTION 10: REVIEWS
   =========================================================== */
.reviews {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.reviews__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.reviews__stars {
  color: var(--brand-accent);
  font-size: 1.2rem;
}

.reviews__rating {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--grey-text);
}

.reviews__count {
  font-size: 0.85rem;
  color: var(--grey-light);
}

.reviews-carousel {
  gap: var(--space-md);
}

.review-card {
  flex: 0 0 85%;
  max-width: 350px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.review-card__body {
  flex: 1;
  min-width: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.review-card__stars {
  color: var(--brand-accent);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.review-card__text {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.5;
  font-style: italic;
}

/* ===========================================================
   SECTION 11: WATCH & BUY (Video Reels)
   =========================================================== */
.watch-buy {
  padding: var(--space-2xl) 0;
}

.reels-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
  justify-content: center;
}

.reels-scroll::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 55%;
  max-width: 200px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  background: var(--grey-bg);
  border: 2px solid var(--grey-border);
}

.reel-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.reel-card__mute {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.reel-card__cta {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reel-card__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-light);
  padding: var(--space-md);
}

/* ===========================================================
   SECTION 12: BULK ORDERS
   =========================================================== */
.bulk-orders {
  padding: var(--space-2xl) 0;
  background: var(--brand-pale);
}

.bulk-orders__subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.bulk-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bulk-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.bulk-form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-text);
}

.bulk-form__input {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  font-size: 1rem; /* 16px to prevent Safari zoom */
  background: var(--white);
  transition: border-color var(--duration-fast);
  outline: none;
  min-height: 48px;
}

.bulk-form__input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

.bulk-form__submit {
  margin-top: var(--space-sm);
}

/* ===========================================================
   SECTION 13: FAQ ACCORDION
   =========================================================== */
.faq {
  padding: var(--space-2xl) 0;
}

.accordion {
  max-width: 700px;
  margin: 0 auto;
}

.accordion__item {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grey-text);
  text-align: left;
  background: var(--white);
  transition: background var(--duration-fast);
  min-height: 52px;
}

.accordion__header:hover {
  background: var(--grey-bg);
}

.accordion__header[aria-expanded="true"] {
  background: var(--brand-pale);
  color: var(--brand-primary);
}

.accordion__icon {
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform var(--duration-normal) var(--ease-smooth);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.accordion__header[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-smooth);
}

.accordion__body p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey-text);
}

/* ===========================================================
   SECTION 14: FOOTER
   =========================================================== */
.footer {
  background: var(--grey-text);
  color: rgba(255,255,255,0.8);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer__col:first-child {
  grid-column: 1 / -1;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: 2px;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--brand-light);
  margin-bottom: var(--space-md);
}

.footer__address {
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast);
  padding: 0.15rem 0;
}

.footer__links a:hover {
  color: var(--brand-light);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast);
}

.footer__social a:hover {
  color: var(--brand-light);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.footer__fssai {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer__payments {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.payment-icon {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ===========================================================
   SECTION 15: FLOATING WHATSAPP BUTTON
   =========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom));
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--duration-fast) var(--ease-smooth);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  display: block;
  flex-shrink: 0;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ===========================================================
   CART DRAWER
   =========================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 90vw);
  height: 100%;
  height: 100dvh;
  background: var(--white);
  z-index: 1501;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--grey-border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--brand-primary);
  letter-spacing: 1px;
}

.cart-drawer__close {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
}

/* Free shipping progress bar */
.cart-drawer__shipping-bar {
  padding: var(--space-sm) var(--space-lg);
  background: var(--brand-pale);
  flex-shrink: 0;
}

.shipping-progress {
  height: 6px;
  background: rgba(46,125,50,0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.shipping-progress__fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: var(--radius-pill);
  transition: width var(--duration-normal) var(--ease-smooth);
  width: 0%;
}

.shipping-progress__text {
  font-size: 0.75rem;
  color: var(--brand-primary);
  font-weight: 500;
  text-align: center;
}

/* Cart Items */
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-lg);
}

.cart-empty-msg {
  text-align: center;
  color: var(--grey-light);
  font-size: 0.95rem;
  padding: var(--space-2xl) 0;
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--grey-border);
  align-items: center;
}

.cart-item__image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--grey-bg);
  flex-shrink: 0;
}

.cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 700;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: var(--space-xs);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item__qty button {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-text);
  background: var(--grey-bg);
}

.cart-item__qty span {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item__remove {
  color: var(--brand-highlight);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs);
  flex-shrink: 0;
}

/* Cart Footer */
.cart-drawer__footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--grey-border);
  flex-shrink: 0;
  padding-bottom: calc(var(--space-lg) + var(--safe-bottom));
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-total {
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.cart-checkout-btn {
  width: 100%;
  margin-bottom: var(--space-sm);
}

/* ===========================================================
   RESPONSIVE BREAKPOINTS
   =========================================================== */

/* Small phones (480px+) */
@media (min-width: 480px) {
  .product-card {
    flex: 0 0 55%;
  }

  .review-card {
    flex: 0 0 70%;
  }

  .reel-card {
    flex: 0 0 40%;
  }
}

/* Tablets (768px+) */
@media (min-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .product-card {
    flex: 0 0 45%;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-card {
    flex: 0 0 45%;
    max-width: 400px;
  }

  .reel-card {
    flex: 0 0 30%;
    max-width: 220px;
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__col:first-child {
    grid-column: auto;
  }

  .trust-box__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }

  /* Product modal: side by side */
  .product-modal {
    border-radius: var(--radius-xl);
    max-height: 85vh;
  }

  .product-modal-overlay {
    align-items: center;
    padding: var(--space-lg);
  }

  .product-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }

  .product-modal__gallery {
    margin-bottom: 0;
  }

  /* Category row can show more */
  .category-item__icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }

  .hero {
    max-height: 550px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header__hamburger {
    /* Hamburger visible on desktop too */
  }

  .header__inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .categories__scroll {
    justify-content: center;
  }

  .product-card {
    flex: 0 0 23%;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-card {
    flex: 0 0 30%;
  }

  .hero {
    height: 550px;
  }

  .hero__heading {
    font-size: 3.5rem;
  }

  .reel-card {
    flex: 0 0 22%;
    max-width: 240px;
  }

  .product-modal__actions {
    flex-direction: row;
  }

  .product-modal__actions .btn {
    flex: 1;
  }
}

/* ===========================================================
   UTILITY: HIDE OVERFLOW, NO-SCROLL BODY
   =========================================================== */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Android-specific: Prevent address-bar hide jump for sticky elements */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific if needed */
}

/* Print styles */
@media print {
  .header, .announcement-bar, .whatsapp-float, .cart-drawer, .cart-overlay,
  .nav-overlay, .mobile-nav, .product-modal-overlay {
    display: none !important;
  }
}

#header-logout-btn {
  margin-left: 5px;
  border: 1px solid #d32f2f !important;
  color: #d32f2f !important;
  border-radius: var(--radius-sm);
  padding: 0 10px;
  height: 35px;
}
#header-logout-btn:hover {
  background: #ffebee !important;
}

/* Auth Mobile Toggles */
@media (max-width: 1023px) { .desktop-only { display: none !important; } }
@media (min-width: 1024px) { .mobile-only { display: none !important; } }

/* Standalone Page Header */
.header__container { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }

