/* ═══════════════════════════════════════════════════════════
   CHAI & SPICE — Premium Indian Grocery Brand
   Warm artisanal design inspired by spices, chai & tradition
═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Core palette — soft pastel ivory/blush canvas (Chai n' Spice logo family) */
  --color-bg: #FBF7F2;
  --color-bg-alt: #F6EDE6;
  --color-bg-warm: #F7EFE8;
  --color-surface: #FFFFFF;
  --color-border: #EDE2DA;
  --color-border-dark: #D9C8BD;

  /* Text hierarchy — soft warm maroon-browns */
  --color-heading: #43302C;
  --color-body: #5D4A44;
  --color-muted: #94817B;
  --color-placeholder: #C0B2AA;

  /* Brand — logo brick red + dusty rose pastels */
  --color-primary: #A94444;
  --color-primary-hover: #8E3636;
  --color-accent: #BE6E6E;
  --color-accent-light: #EFD5D0;
  --color-accent-bg: #FAF0ED;
  --color-brand-red: #A94444;
  --color-brand-green: #2F5D46;

  /* Logo forest green + pastel sage — trust & "fresh/authentic" cues */
  --color-fresh: #4A7C64;
  --color-fresh-dark: #2F5D46;
  --color-fresh-bg: #E9F1EC;

  /* Functional — softened */
  --color-sale: #B3574D;
  --color-sale-bg: #F9ECEA;
  --color-success: #3C7057;
  --color-success-bg: #E9F1EC;
  --color-error: #B3574D;
  --color-whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & sizing */
  --nav-height: 72px;
  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows — warmer tones */
  --shadow-sm: 0 1px 4px rgba(60,28,17,.05);
  --shadow-md: 0 4px 20px rgba(60,28,17,.07);
  --shadow-lg: 0 8px 40px rgba(60,28,17,.10);
  --shadow-hover: 0 12px 32px rgba(60,28,17,.12);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --duration: .25s;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
input, textarea, select { font-family: var(--font-body); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--color-border-dark); border-radius: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 768px) { .container { padding: 0 1rem; } }

/* ── ANNOUNCEMENT / TRUST BAR ─────────────────────────────── */
.announcement-bar {
  background: linear-gradient(135deg, #3D1C11, #5A2D1A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: .6rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  flex-wrap: wrap;
}
.announcement-bar a { color: var(--color-accent-light); text-decoration: underline; }
.trust-item { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.trust-item .trust-icon { font-size: .9rem; }
@media (max-width: 768px) {
  .announcement-bar { gap: .8rem; font-size: .7rem; }
  .trust-item:nth-child(n+3) { display: none; }
}

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-height);
  background: rgba(251,248,244,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  transition: box-shadow var(--duration) var(--ease);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(60,28,17,.08); }

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-heading);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  letter-spacing: .01em;
}
.nav-brand .brand-icon { font-size: 1.4rem; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-accent-light); box-shadow: 0 2px 8px rgba(193,120,23,.15); }
.brand-logo-mobile { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-accent-light); margin-right: 4px; }
.brand-logo-footer { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); margin-bottom: 0.75rem; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: 2rem;
}
.nav-link-item {
  position: relative;
}
.nav-links a, .nav-links .nav-dropdown-trigger {
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  transition: color var(--duration) var(--ease);
  padding: .4rem .65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  cursor: pointer;
}
.nav-links a:hover, .nav-links .nav-dropdown-trigger:hover,
.nav-links a.active {
  color: var(--color-heading);
  background: var(--color-bg-alt);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .65rem;
  right: .65rem;
  height: 2px;
  background: var(--color-heading);
  border-radius: 1px;
}
.nav-dropdown-trigger .chevron {
  font-size: .6rem;
  transition: transform var(--duration) var(--ease);
}
.nav-link-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s var(--ease);
  z-index: 950;
}
.nav-link-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
}
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem !important;
  font-size: .82rem !important;
  border-radius: 0 !important;
  color: var(--color-body) !important;
  transition: background var(--duration) var(--ease);
}
.nav-dropdown a:hover {
  background: var(--color-bg-alt) !important;
  color: var(--color-heading) !important;
}
.nav-dropdown .dd-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.nav-dropdown .dd-label { flex: 1; }
.nav-dropdown .dd-count { font-size: .7rem; color: var(--color-muted); }
/* Highlighted links in nav */
.nav-highlight {
  background: var(--color-sale) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-highlight:hover { background: #993f1a !important; }

.nav-spacer { flex: 1; }

.search-wrap {
  position: relative;
  max-width: 320px;
  flex: 1;
}
.search-wrap input {
  width: 100%;
  padding: .5rem .9rem .5rem 2.2rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-body);
  font-size: .85rem;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.search-wrap input::placeholder { color: var(--color-placeholder); }
.search-wrap input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-bg);
}
.search-icon {
  position: absolute;
  left: .65rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: .35;
  pointer-events: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  margin-left: 1rem;
}
.lang-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  padding: .3rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all var(--duration) var(--ease);
  min-width: 34px;
  text-align: center;
}
.lang-btn:hover,
.lang-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  color: var(--color-heading);
  padding: .4rem .6rem;
  font-weight: 500;
  font-size: .88rem;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}
.nav-btn:hover { background: var(--color-bg-alt); }
.auth-btn { color: var(--color-muted); }
.auth-btn.logged-in { color: var(--color-primary); font-weight: 600; background: var(--color-bg-alt); }

.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  color: var(--color-heading);
  padding: .4rem .6rem;
  font-weight: 500;
  font-size: .88rem;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}
.nav-cart-btn:hover { background: var(--color-bg-alt); }
.nav-cart-btn svg { width: 22px; height: 22px; }
.cart-badge {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .62rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .3rem;
  position: absolute;
  top: 0;
  right: -.1rem;
}
/* Hamburger button */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 1px;
  transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 899;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 901;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-head .nav-brand { font-size: 1.2rem; }
.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-muted);
}
.mobile-nav-links {
  padding: .5rem 0;
}
.mobile-nav-links a, .mobile-nav-links button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .75rem 1.25rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--color-body);
  text-align: left;
  transition: background var(--duration) var(--ease);
  border: none;
  background: none;
  cursor: pointer;
}
.mobile-nav-links a:hover, .mobile-nav-links button:hover {
  background: var(--color-bg-alt);
}
.mobile-nav-links .mn-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.mobile-nav-links .mn-divider {
  height: 1px;
  background: var(--color-border);
  margin: .5rem 0;
}
.mobile-nav-links .mn-highlight {
  background: var(--color-sale);
  color: #fff;
  border-radius: var(--radius-sm);
  margin: .5rem 1rem;
  justify-content: center;
  font-weight: 600;
}
.mobile-nav-links .mn-highlight:hover {
  background: #993f1a;
}
.mobile-nav-lang {
  display: flex;
  gap: .5rem;
  padding: .75rem 1.25rem;
}
.mobile-nav-lang .lang-btn { flex: 1; text-align: center; padding: .5rem; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.hero-bg-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Dark overlay over the images so text is readable */
.hero-bg-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(61,28,17,0.82), rgba(44,24,16,0.92));
  z-index: 2;
}
.collage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  animation: collageFade 15s infinite;
  z-index: 1;
}
.slide-1 {
  background-image: url('../images/products/Khavsa\ A.jpg');
  background-size: cover;
  animation-delay: 0s;
}
.slide-2 {
  background-image: url('../images/products/Surati\ Mix\ Farsan_Front_A.png');
  background-size: contain;
  animation-delay: 5s;
}
.slide-3 {
  background-image: url('../images/products/Khamni\ Box.png');
  background-size: contain;
  animation-delay: 10s;
}

@keyframes collageFade {
  0%   { opacity: 0; transform: scale(1.05); }
  10%  { opacity: 0.45; transform: scale(1.03); }
  33%  { opacity: 0.45; transform: scale(1); }
  43%  { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C17817' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 640px;
}
.hero-tag {
  display: inline-block;
  background: rgba(193,120,23,.2);
  border: 1px solid rgba(193,120,23,.35);
  color: var(--color-accent-light);
  border-radius: var(--radius-pill);
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 600;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 901;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-head .nav-brand { font-size: 1.2rem; }
.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-muted);
}
.mobile-nav-links {
  padding: .5rem 0;
}
.mobile-nav-links a, .mobile-nav-links button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .75rem 1.25rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--color-body);
  text-align: left;
  transition: background var(--duration) var(--ease);
  border: none;
  background: none;
  cursor: pointer;
}
.mobile-nav-links a:hover, .mobile-nav-links button:hover {
  background: var(--color-bg-alt);
}
.mobile-nav-links .mn-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.mobile-nav-links .mn-divider {
  height: 1px;
  background: var(--color-border);
  margin: .5rem 0;
}
.mobile-nav-links .mn-highlight {
  background: var(--color-sale);
  color: #fff;
  border-radius: var(--radius-sm);
  margin: .5rem 1rem;
  justify-content: center;
  font-weight: 600;
}
.mobile-nav-links .mn-highlight:hover {
  background: #993f1a;
}
.mobile-nav-lang {
  display: flex;
  gap: .5rem;
  padding: .75rem 1.25rem;
}
.mobile-nav-lang .lang-btn { flex: 1; text-align: center; padding: .5rem; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.hero-bg-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Dark overlay over the images so text is readable */
.hero-bg-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(61,28,17,0.82), rgba(44,24,16,0.92));
  z-index: 2;
}
.collage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  animation: collageFade 15s infinite;
  z-index: 1;
}
.slide-1 {
  background-image: url('../images/products/Khavsa\ A.jpg');
  background-size: cover;
  animation-delay: 0s;
}
.slide-2 {
  background-image: url('../images/products/Surati\ Mix\ Farsan_Front_A.png');
  background-size: contain;
  animation-delay: 5s;
}
.slide-3 {
  background-image: url('../images/products/Khamni\ Box.png');
  background-size: contain;
  animation-delay: 10s;
}

@keyframes collageFade {
  0%   { opacity: 0; transform: scale(1.05); }
  10%  { opacity: 0.45; transform: scale(1.03); }
  33%  { opacity: 0.45; transform: scale(1); }
  43%  { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C17817' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 640px;
}
.hero-tag {
  display: inline-block;
  background: rgba(193,120,23,.2);
  border: 1px solid rgba(193,120,23,.35);
  color: var(--color-accent-light);
  border-radius: var(--radius-pill);
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: .8rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero h1 em { color: var(--color-accent-light); font-style: normal; }
.hero p {
  color: rgba(255,255,255,.65);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  background: #FFFFFF;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: .8rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: all var(--duration) var(--ease);
}
.btn-primary:hover { background: #F0F0F0; transform: translateY(-1px); }

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.8rem;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  transition: all var(--duration) var(--ease);
}
.btn-dark:hover { background: var(--color-primary-hover); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  padding: .75rem 1.8rem;
  font-weight: 500;
  font-size: .9rem;
  transition: all var(--duration) var(--ease);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  transform: translateY(-1px);
}

/* ── HERO STATS ───────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-accent-light);
  font-weight: 800;
}
.stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── SECTION LAYOUT ───────────────────────────────────────── */
.section {
  padding: 3rem 0;
}
.section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-head p {
  color: var(--color-muted);
  font-size: .92rem;
  margin-top: .35rem;
}

/* ── CATEGORY PILLS ───────────────────────────────────────── */
.cats {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .5rem 1rem 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem; /* Full width scroll area */
}
.cats::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.cat-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-heading);
  transform: translateY(-1px);
}
.cat-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cat-pill .icon { font-size: 1.1rem; }
.cat-pill .label { line-height: 1; }

/* ── PRODUCTS HEADER ──────────────────────────────────────── */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}
.products-header .section-head { text-align: left; margin-bottom: 0; }
.product-count { font-size: .82rem; color: var(--color-muted); }
.sort-select {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .45rem .8rem;
  font-size: .82rem;
  color: var(--color-body);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}
.sort-select:focus { outline: none; border-color: var(--color-primary); }

/* ── PRODUCT GRID ─────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 0 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  animation: gridFadeIn 0.6s var(--ease) forwards;
}
@keyframes gridFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: 0 .75rem; }
}

/* Featured Grid used in Collections */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ── PRODUCT CARD ─────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-dark);
}

/* Card image */
.card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  background: var(--color-surface);
  transition: transform .4s var(--ease);
}
/* Scale down full-bleed/square-cropped images for better grid consistency */
.card-img-wrap.force-padding img,
.card-img-placeholder.force-padding {
  object-fit: contain;
  padding: 12%; 
  background: var(--color-bg-alt);
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card:hover .card-img-wrap.force-padding img { transform: scale(1.1); }

.card-img-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--color-bg-alt);
  position: relative;
}

/* Badges */
.badge-row {
  position: absolute;
  top: .6rem;
  left: .6rem;
  right: .6rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.featured-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.discount-badge {
  background: var(--color-sale);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
}
.low-stock-badge {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  background: var(--color-sale-bg);
  color: var(--color-sale);
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* Out-of-stock badge */
.oos-badge {
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Out-of-stock card styling */
.card-oos .card-img-wrap img,
.card-oos .card-img-placeholder {
  filter: grayscale(0.6) opacity(0.55);
  transition: filter .3s var(--ease);
}
.card-oos:hover .card-img-wrap img {
  filter: grayscale(0.3) opacity(0.75);
}

/* Notify Me button — card footer */
.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s var(--ease);
  white-space: nowrap;
  letter-spacing: .02em;
}
.notify-btn:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,119,6,.35);
}

/* Notify Me button — detail modal (full width) */
.notify-btn-detail {
  width: 100%;
  padding: .85rem 1.5rem;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  justify-content: center;
}


/* Quick add button (circular + on card image) */
.quick-add-btn {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transform: translateY(6px);
  transition: all .2s var(--ease);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
}
.card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }
.quick-add-btn:hover { background: var(--color-primary-hover); transform: scale(1.1) !important; }

/* Card body */
.card-body {
  padding: .85rem .9rem .4rem;
  flex: 1;
}
.card-brand {
  font-size: .65rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 0.15rem;
}
.card-cat {
  font-size: .65rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.card-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-heading);
  line-height: 1.35;
  margin-top: .15rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.card-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}
.card-unit, .card-serving {
  font-size: 0.72rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--color-bg-alt);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  white-space: nowrap;
  font-weight: 500;
}
.card-serving {
  color: var(--color-success);
  background: var(--color-success-bg);
  border-color: rgba(45,106,79,.15);
}
.spec-icon {
  font-size: 0.75rem;
  display: inline-flex;
}
.card-desc {
  font-size: .75rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: .25rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

/* Card footer */
.card-footer {
  padding: .5rem .9rem .85rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .6rem;
}
.price-block { display: flex; flex-direction: column; flex: 1; min-width: 0; align-items: flex-start; }
.price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
}
.card-price {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-heading);
}
.card-price.on-sale { color: var(--color-sale); }
.card-orig-price {
  font-size: .78rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.card-unit-price {
  font-size: .68rem;
  color: var(--color-muted);
  margin-top: .05rem;
}
.card-rating {
  font-size: .72rem;
  color: var(--color-muted);
  margin-top: .15rem;
  display: flex;
  align-items: center;
  gap: .2rem;
}
.vat-text {
  font-size: .65rem;
  color: var(--color-placeholder);
  margin-top: .1rem;
  letter-spacing: .01em;
}
/* Value Deal badge inline */
.value-deal-badge {
  display: inline-block;
  background: var(--color-success);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: var(--radius-sm);
  margin-left: .3rem;
  vertical-align: middle;
  letter-spacing: .02em;
}

/* Add to cart button */
.add-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--color-primary-hover); transform: scale(1.02); }
.in-cart-btn {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1.5px solid var(--color-success);
  border-radius: var(--radius-sm);
  padding: .35rem .8rem;
  font-size: .75rem;
  font-weight: 600;
}

/* Qty controls */
.qty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-heading);
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.qty-btn:hover { background: var(--color-bg-alt); }
.qty-num {
  min-width: 28px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-heading);
}

/* ── SKELETONS ────────────────────────────────────────────── */
.skeleton {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.skel-img { aspect-ratio: 1; background: linear-gradient(90deg, var(--color-bg-alt) 25%, #ede9e2 50%, var(--color-bg-alt) 75%); background-size: 200%; animation: shimmer 1.5s infinite; }
.skel-body { padding: 1rem; }
.skel-line { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--color-bg-alt) 25%, #ede9e2 50%, var(--color-bg-alt) 75%); background-size: 200%; animation: shimmer 1.5s infinite; margin-bottom: .5rem; }
.skel-line.s { width: 40%; }
.skel-line.m { width: 70%; }
.skel-line.l { width: 100%; }
@keyframes shimmer { to { background-position: -200% center; } }

/* ── PRODUCT DETAIL MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.detail-panel {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  background: var(--color-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.modal-overlay.open .detail-panel { transform: translateY(0); }

@media (min-width: 769px) {
  .modal-overlay { align-items: center; }
  .detail-panel {
    border-radius: var(--radius-lg);
    max-height: 85vh;
    max-width: 720px;
  }
  .modal-overlay.open .detail-panel { transform: translateY(0); }
}

.detail-drag {
  width: 40px;
  height: 4px;
  background: var(--color-border-dark);
  border-radius: 2px;
  margin: .75rem auto .25rem;
}
@media (min-width: 769px) { .detail-drag { display: none; } }

/* Detail image */
.detail-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.detail-img-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  padding: 1.5rem;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
.detail-img-wrap img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}
.zoom-hint {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: .35rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 2;
}
.detail-img-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--color-bg-alt);
  position: relative;
}
.detail-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  z-index: 2;
}
.detail-close:hover { background: rgba(0,0,0,.7); }
.detail-img2-btn {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .35rem .7rem;
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
}

/* Detail body */
.detail-body { padding: 1.25rem 1.25rem 1.5rem; }
.detail-cat {
  font-size: .7rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.detail-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.25;
  margin-top: .3rem;
}
.detail-brand {
  font-size: .82rem;
  color: var(--color-muted);
  margin-top: .15rem;
}
.detail-price-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .8rem;
  flex-wrap: wrap;
}
.detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
}
.detail-orig {
  font-size: 1rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.detail-discount {
  background: var(--color-sale-bg);
  color: var(--color-sale);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
}

.stock-indicator {
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
}
.stock-ok { background: var(--color-success-bg); color: var(--color-success); }
.stock-low { background: var(--color-sale-bg); color: var(--color-sale); }

.detail-meta {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .8rem;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .25rem .6rem;
  font-size: .73rem;
  color: var(--color-body);
}
.chip-serving {
  color: var(--color-success);
  background: var(--color-success-bg);
  border-color: rgba(45,106,79,.2);
}
.meta-chip .icon { font-size: .8rem; }

.detail-desc { font-size: .88rem; color: var(--color-body); margin-top: .8rem; line-height: 1.65; }
.detail-long-desc { font-size: .82rem; color: var(--color-muted); margin-top: .4rem; line-height: 1.65; }
.nutrition-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .6rem .8rem;
  font-size: .78rem;
  color: var(--color-body);
  margin-top: .8rem;
  line-height: 1.6;
}
.allergen-box {
  background: var(--color-sale-bg);
  border: 1px solid rgba(180,77,34,.15);
  border-radius: var(--radius-sm);
  padding: .6rem .8rem;
  font-size: .8rem;
  color: var(--color-sale);
  margin-top: .8rem;
}
.tags-row {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-top: .65rem;
}
.tag {
  background: var(--color-bg-alt);
  color: var(--color-muted);
  font-size: .7rem;
  padding: .2rem .5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
}

.detail-add-row {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .detail-add-row {
    position: sticky;
    bottom: 0;
    background: var(--color-surface);
    padding: 1rem;
    margin: 0 -1rem;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 12px rgba(0,0,0,.08);
    z-index: 5;
  }
}
.detail-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.detail-add-btn {
  flex: 1;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .88rem;
  transition: all var(--duration) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.detail-add-btn:hover { background: var(--color-primary-hover); }
.detail-add-btn.in-cart {
  background: var(--color-success);
}

/* ── CART SIDEBAR ──────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: var(--color-bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-head h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
}
.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--color-muted);
  transition: all var(--duration) var(--ease);
}
.close-btn:hover { background: var(--color-bg-alt); color: var(--color-heading); }

.cart-items { flex: 1; overflow-y: auto; padding: .75rem 1.25rem; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: .5rem;
  color: var(--color-muted);
}
.cart-empty-icon { font-size: 2.5rem; opacity: .3; }
.cart-empty strong { font-size: .95rem; color: var(--color-heading); }
.cart-empty span { font-size: .82rem; }

.cart-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child { border: none; }
.cart-item-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cart-item-icon img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .85rem; color: var(--color-heading); }
.cart-item-unit { font-size: .72rem; color: var(--color-muted); }
.cart-item-price { font-weight: 700; font-size: .85rem; color: var(--color-heading); margin-top: .2rem; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: .75rem;
  cursor: pointer;
  padding: .15rem .35rem;
  transition: color var(--duration) var(--ease);
}
.remove-btn:hover { color: var(--color-error); }

.cart-foot {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.25rem;
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}
.cart-total-label { font-size: .88rem; font-weight: 500; color: var(--color-muted); }
.cart-total { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--color-heading); }
.checkout-btn {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .9rem;
  font-weight: 600;
  font-size: .92rem;
  transition: all var(--duration) var(--ease);
  letter-spacing: .02em;
}
.checkout-btn:hover { background: var(--color-primary-hover); }

/* ── ORDER MODAL ──────────────────────────────────────────── */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.order-modal.open { opacity: 1; pointer-events: all; }

.order-box {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.order-box h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: .25rem;
}
.order-box .sub { font-size: .85rem; color: var(--color-muted); margin-bottom: 1.25rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--color-body);
  background: var(--color-bg);
  transition: border-color var(--duration) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-group textarea { min-height: 80px; resize: vertical; }

.summary-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: .5rem;
}
.summary-box h3 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .6rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: .25rem 0;
  color: var(--color-body);
}
.summary-total {
  border-top: 1px solid var(--color-border);
  margin-top: .4rem;
  padding-top: .5rem;
  font-weight: 700;
  color: var(--color-heading);
  font-size: .92rem;
}

.order-actions {
  display: flex;
  gap: .65rem;
  margin-top: 1.25rem;
}
.cancel-btn {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  padding: .75rem 1.2rem;
  font-weight: 500;
  transition: background var(--duration) var(--ease);
}
.cancel-btn:hover { background: var(--color-bg-alt); }
.wa-btn {
  flex: 1;
  background: var(--color-whatsapp);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.2rem;
  font-weight: 600;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: all var(--duration) var(--ease);
}
.wa-btn:hover { background: #1fbb57; }

/* ── FLOATING BUTTONS ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 800;
  background: var(--color-whatsapp);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  animation: none;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.08); }
}

.cart-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 800;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  height: 52px;
  padding: 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.cart-float:hover { background: var(--color-primary-hover); transform: scale(1.05); }
.cart-float .float-badge {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .65rem;
  font-weight: 700;
  padding: .08rem .4rem;
  min-width: 18px;
  text-align: center;
}
@media (min-width: 769px) { .cart-float { display: none; } }

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-weight: 500;
  font-size: .82rem;
  max-width: 280px;
  transform: translateY(20px);
  opacity: 0;
  transition: all .3s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── ERROR BOX ────────────────────────────────────────────── */
.error-box {
  background: var(--color-sale-bg);
  border: 1.5px solid rgba(180,77,34,.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  grid-column: 1 / -1;
}
.error-box h4 { color: var(--color-sale); font-weight: 700; margin-bottom: .3rem; }
.error-box p { font-size: .82rem; color: var(--color-body); line-height: 1.7; }
.error-box code {
  background: rgba(180,77,34,.1);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .78rem;
  font-family: monospace;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}
.no-results .icon { font-size: 2.5rem; display: block; margin-bottom: .65rem; opacity: .5; }

/* ── ADMIN PANEL ──────────────────────────────────────────── */
.admin-panel {
  background: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-border);
  padding: .7rem 1.25rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-panel.visible { display: flex; }
.admin-status { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 500; }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sdot.loading { background: var(--color-accent); animation: pd 1s infinite; }
.sdot.ok { background: var(--color-success); }
.sdot.local { background: #6B48D5; }
.sdot.error { background: var(--color-error); }
@keyframes pd { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.admin-controls { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.file-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--color-bg);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: .35rem .75rem;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
  color: var(--color-muted);
}
.file-label:hover { border-color: var(--color-primary); color: var(--color-heading); }
#fileInput { display: none; }
.reload-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .35rem .7rem;
  font-size: .78rem;
  color: var(--color-muted);
  transition: all var(--duration) var(--ease);
}
.reload-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ── VALUE PROPS ──────────────────────────────────────── */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
@media (max-width: 900px) {
  .value-props { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 1rem; }
}
.value-prop {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.value-prop:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value-prop-icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-bg);
  border-radius: 50%;
}
.value-prop h3 {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: .35rem;
}
.value-prop p {
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: linear-gradient(160deg, #3D1C11 0%, #2C1810 100%);
  color: rgba(255,255,255,.5);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 3rem;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-brand-red), var(--color-brand-green), var(--color-accent));
}
.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-col p,
.footer-col a {
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--color-accent-light); }
.footer-bottom {
  max-width: var(--container);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}

/* ── UTILITIES ────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── FEATURED SECTION HOME ────────────────────────────────── */
.featured-strip {
  background: var(--color-bg-warm);
  padding: 3rem 1.5rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.collection-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.collection-section:last-child { border-bottom: none; }

/* ── VALUE PROPS ──────────────────────────────────────────── */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
@media (max-width: 900px) {
  .value-props { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 1rem; }
}
.value-prop {
  text-align: center;
  padding: 1.5rem;
}
.value-prop-icon {
  font-size: 2rem;
  margin-bottom: .65rem;
}
.value-prop h3 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: .3rem;
}
.value-prop p {
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── FILTER DRAWER ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .45rem .85rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-body);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.filter-toggle-btn:hover, .filter-toggle-btn.active {
  border-color: var(--color-primary);
  color: var(--color-heading);
}
.filter-toggle-btn.active { background: var(--color-bg-alt); }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--color-accent-bg);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  padding: .3rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.filter-chip:hover { background: var(--color-accent); color: #fff; }
.filter-chip .chip-x { font-size: .7rem; opacity: .7; }

.filter-drawer {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 0 1.5rem 1.25rem;
  display: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.filter-drawer.open { display: flex; }
@media (max-width: 600px) {
  .filter-drawer { flex-direction: column; gap: 1rem; margin: 0 1rem 1rem; }
  .filter-accordion { width: 100%; }
  .price-range { flex-wrap: wrap; }
}
.filter-group h4 {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--color-body);
  padding: .2rem 0;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}
.filter-group label:hover { color: var(--color-heading); }
.filter-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.filter-group .price-range {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.filter-group .price-input {
  width: 80px;
  padding: .35rem .5rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.filter-actions {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
}
.filter-apply-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .45rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.filter-apply-btn:hover { background: var(--color-primary-hover); }
.filter-clear-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .45rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.filter-clear-btn:hover { border-color: var(--color-primary); color: var(--color-heading); }

/* ── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  padding: .75rem 1.5rem 0;
  font-size: .78rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.breadcrumb a { color: var(--color-muted); transition: color var(--duration) var(--ease); }
.breadcrumb a:hover { color: var(--color-heading); }
.breadcrumb .sep { opacity: .4; }

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: .75rem 1rem;
    gap: .6rem;
  }
  .cookie-banner p { font-size: .75rem; }
}

/* ── VAT INCLUDED TEXT ───────────────────────────────────── */
.vat-text {
  font-size: .62rem;
  color: var(--color-muted);
  margin-top: .1rem;
}

/* ── SEARCH AUTO-SUGGEST DROPDOWN ────────────────────────── */
.search-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  width: 100%;
  max-width: 350px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}
.search-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration) var(--ease);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--color-bg-alt); }
.search-item-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}
.search-item-img img { width: 100%; height: 100%; object-fit: cover; }
.search-item-info { flex: 1; overflow: hidden; }
.search-item-name {
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-item-price {
  font-size: .8rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: .15rem;
}
.search-item-empty {
  padding: 1rem;
  text-align: center;
  font-size: .85rem;
  color: var(--color-muted);
}
@media (max-width: 768px) {
  .search-dropdown {
    position: fixed;
    top: 60px;
    left: 1rem;
    width: calc(100% - 2rem);
    max-width: 100%;
  }
}



/* ── MAIN MOBILE OVERRIDES ────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .search-wrap { max-width: 140px; }
  .search-wrap input { font-size: .8rem; padding: .4rem .75rem .4rem 2rem; }
  .nav-cart-btn span.cart-label { display: none; }
  .lang-btn { display: none; }
  .navbar { padding: 0 .75rem; height: 56px; }
  .nav-brand { font-size: 1rem; gap: .4rem; }
  .nav-brand .brand-icon { font-size: 1rem; }
  .brand-logo { width: 36px; height: 36px; }

  /* Full-screen hero — premium app-like feel */
  .hero { min-height: calc(100vh - 56px); padding: 3rem 1rem; justify-content: center; display: flex; flex-direction: column; }
  .hero h1 { font-size: 1.6rem; margin-bottom: .5rem; line-height: 1.15; }
  .hero p { font-size: .82rem; margin-bottom: 1.2rem; line-height: 1.5; }
  .hero-tag { font-size: .62rem; padding: .25rem .7rem; margin-bottom: .7rem; }
  .hero-actions { gap: .5rem; }
  .btn-primary { padding: .6rem 1.4rem; font-size: .82rem; border-radius: var(--radius-pill); }
  .btn-outline { padding: .55rem 1.1rem; font-size: .78rem; border-radius: var(--radius-pill); }
  .hero-stats { gap: 1.5rem; margin-top: 1.5rem; }
  .stat-num { font-size: 1.15rem; }
  .stat-label { font-size: .58rem; }

  /* Value props — horizontal scroll on mobile */
  .value-props {
    display: flex;
    overflow-x: auto;
    gap: .75rem;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .value-props::-webkit-scrollbar { display: none; }
  .value-prop {
    flex: 0 0 140px;
    scroll-snap-align: start;
    padding: 1rem .75rem;
    border-radius: var(--radius-md);
  }
  .value-prop-icon { font-size: 1.3rem; width: 44px; height: 44px; margin-bottom: .5rem; }
  .value-prop h3 { font-size: .78rem; }
  .value-prop p { font-size: .68rem; line-height: 1.4; }

  /* Compact sections */
  .section { padding: 1.5rem 0; }
  .section-head { margin-bottom: 1rem; }
  .section-head h2 { font-size: 1.2rem; }
  .section-head p { font-size: .78rem; }

  /* Compact featured */
  .featured-strip { padding: 1.25rem 0; }
  .featured-grid { gap: .65rem; padding: 0 .75rem; grid-template-columns: repeat(2, 1fr); }
  .featured-grid .card-img-wrap { aspect-ratio: 1; }

  /* Categories — scroll fade indicator */
  .cats {
    justify-content: flex-start;
    gap: .4rem;
    padding: .5rem 1rem 1rem;
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
  .cat-pill { padding: .4rem .8rem; font-size: .75rem; }
  .cat-pill .icon { font-size: .9rem; }

  /* Product grid — 2-column with generous tap targets */
  .grid { padding: 0 .75rem; gap: .75rem; }
  .products-header { padding: 0 .75rem; margin-bottom: .75rem; }

  /* Mobile cards — optimized for touch */
  .card-body { padding: .6rem .7rem .3rem; }
  .card-brand { font-size: .6rem; }
  .card-name { font-size: .8rem; line-height: 1.3; -webkit-line-clamp: 2; }
  .card-unit { font-size: .65rem; }
  .card-desc { display: none; }
  .card-footer { padding: .4rem .7rem .6rem; gap: .4rem; }
  .card-price { font-size: .85rem; }
  .card-orig-price { font-size: .68rem; }
  .add-btn {
    padding: .5rem .6rem;
    font-size: .78rem;
    border-radius: var(--radius-pill);
    min-height: 36px;
  }
  .qty-controls { height: 34px; border-radius: var(--radius-pill); }
  .qty-btn { width: 34px; height: 34px; font-size: .9rem; }
  .qty-num { font-size: .78rem; }

  /* Compact badges */
  .featured-badge, .discount-badge { font-size: .58rem; padding: .15rem .45rem; }
  .low-stock-badge { font-size: .58rem; }

  /* Filter bar — better touch targets */
  .filter-bar { padding: 0 .75rem; gap: .4rem; margin-bottom: .5rem; }
  .filter-toggle-btn { font-size: .75rem; padding: .4rem .7rem; min-height: 34px; }
  .filter-drawer { margin: 0 .75rem .75rem; padding: .75rem; }
  .breadcrumb { padding: .5rem 1rem 0; font-size: .72rem; }

  /* Footer — single column stacked */
  .footer-content { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  footer { padding: 2rem 1rem 1.5rem; }
  footer h4 { font-size: .88rem; }
  footer p, footer a { font-size: .75rem; }
  .footer-bottom { font-size: .65rem; padding: .75rem; }
  .brand-logo-footer { width: 44px; height: 44px; }

  /* Admin */
  .admin-panel { padding: .35rem .75rem; }

  /* Detail modal — better mobile experience */
  .detail-panel { max-height: 92vh; }
  .detail-body { padding: 1rem; }
  .detail-name { font-size: 1.25rem; }
  .detail-add-btn { min-height: 48px; border-radius: var(--radius-pill); font-size: .9rem; }

  /* Legal pages */
  .legal-content { padding: 0 .5rem; }
  .legal-content h3 { font-size: 1.05rem; margin-top: 2rem; }
  .legal-content h4 { font-size: .9rem; }
  .legal-content p { font-size: .85rem; }

  /* WhatsApp float — moved much higher */
  .wa-float { bottom: 250px; left: 12px; width: 48px; height: 48px; }
  .wa-float svg { width: 22px; height: 22px; }

}

@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: 0 .5rem; }
  .card-body { padding: .45rem .55rem .2rem; }
  .card-footer { padding: .3rem .55rem .5rem; gap: .35rem; }
  .card-name { font-size: .75rem; }
  .card-brand { font-size: .55rem; }
  .card-unit { display: flex; }
  .card-unit-price { font-size: .55rem; }
  .card-price { font-size: .8rem; }
  .add-btn { padding: .4rem .5rem; font-size: .72rem; min-height: 32px; }
  .qty-controls { height: 30px; }
  .qty-btn { width: 30px; height: 30px; font-size: .85rem; }
  .hero { min-height: 200px; padding: 1.5rem .75rem; }
  .hero h1 { font-size: 1.35rem; }
  .hero p { font-size: .75rem; margin-bottom: .8rem; }
  .hero-tag { font-size: .58rem; padding: .2rem .6rem; margin-bottom: .5rem; }
  .hero-actions { gap: .4rem; }
  .hero-actions .btn-primary { padding: .45rem 1rem; font-size: .75rem; }
  .hero-actions .btn-outline { padding: .4rem .8rem; font-size: .7rem; }
  .hero-stats { gap: 1rem; margin-top: .8rem; }
  .stat-num { font-size: 1rem; }
  .stat-label { font-size: .55rem; }
  .footer-content { grid-template-columns: 1fr; gap: 1.25rem; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .featured-grid .card-img-wrap { aspect-ratio: 1; }
  .search-wrap { max-width: 100px; }
  /* Value props — smaller cards on tiny screens */
  .value-prop { flex: 0 0 120px; padding: .75rem .5rem; }
  .value-prop h3 { font-size: .72rem; }
  .value-prop p { display: none; }
  .announcement-bar { font-size: .62rem; gap: .5rem; padding: .4rem .5rem; }
  .section-head h2 { font-size: 1.05rem; }
  .cat-pill { padding: .3rem .6rem; font-size: .68rem; }
  .price-block { align-items: flex-start; }
  .quick-add-btn { width: 28px; height: 28px; font-size: 1rem; opacity: 1; transform: translateY(0); bottom: .35rem; right: .35rem; }
}

/* ── MOBILE APP BOTTOM NAVIGATION ─────────────────────────── */
.bottom-nav-bar {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  /* Hide the top nav right actions */
  .navbar .nav-right { display: none; }
  
  .bottom-nav-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(251, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    justify-content: space-around;
    padding: .4rem 0;
    padding-bottom: calc(.4rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 16px rgba(60,28,17,0.06);
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-muted);
    font-size: 0.62rem;
    font-weight: 600;
    gap: 0.3rem;
    transition: color var(--duration);
    position: relative;
    padding: .25rem .5rem;
    border-radius: var(--radius-sm);
    letter-spacing: .02em;
  }
  .bottom-nav-item.active {
    color: var(--color-accent);
  }
  .bottom-nav-item.active svg {
    stroke: var(--color-accent);
  }
  .bottom-nav-item svg {
    stroke-width: 2;
    width: 22px;
    height: 22px;
  }
  .bottom-cart-badge {
    position: absolute;
    top: -2px;
    right: 25%;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 50%;
    padding: 0 4px;
    min-width: 16px;
    text-align: center;
    line-height: 16px;
  }
  /* Push padding so footer isn't hidden under bottom nav */
  body { padding-bottom: 64px; }
  /* Ensure floating cart is hidden since we have bottom nav */
  .cart-float { display: none !important; }
}

/* ── LAST MINUTE DEALS ────────────────────────────────────── */
.last-minute-deal-section {
  background: linear-gradient(135deg, #FFF0EA 0%, #FFE1D6 100%);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(180, 77, 34, 0.1);
  border-bottom: 1px solid rgba(180, 77, 34, 0.1);
  position: relative;
  overflow: hidden;
}
.urgent-banner-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-error);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.pulse-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-error);
  color: white;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(193, 68, 14, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(193, 68, 14, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(193, 68, 14, 0); }
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.slider-btn {
  position: absolute;
  top: calc(50% - 0.5rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration) var(--ease);
  opacity: 0;
}
.slider-wrapper:hover .slider-btn { opacity: 1; }
.slider-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}
.slider-btn.prev { left: -22px; padding-bottom: 2px; padding-right: 2px; }
.slider-btn.next { right: -22px; padding-bottom: 2px; padding-left: 2px; }

@media (max-width: 768px) {
  .slider-btn { display: none; }
}

.scrolling-slider {
  display: flex;
  flex: 1;
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1.5rem;
  padding-bottom: 1rem; /* Space for scrollbar */
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for cleaner look */
}
.scrolling-slider::-webkit-scrollbar {
  display: none;
}
.scrolling-slider > * {
  flex: 0 0 calc(50% - 0.75rem); /* mobile width ensures exactly 2 products are visible */
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .scrolling-slider > * {
    flex: 0 0 calc(25% - 1.125rem); /* desktop width ensures exactly 4 products are visible */
  }
}


/* ── INTERACTIVE UPGRADES ─────────────────────────────────── */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
}
/* Enhance cards */
.card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  z-index: 2;
}

/* ── BETTER FILTER DRAWER ─────────────────────────────────── */
.filter-accordion {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.filter-accordion summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* remove default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-accordion summary::-webkit-details-marker { display: none; }
.filter-accordion summary::after { content: '+'; font-size: 1.2rem; transition: transform 0.2s; }
.filter-accordion[open] summary::after { transform: rotate(45deg); }
.filter-accordion-content {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── COLLECTION SECTIONS ─────────────────────────────────── */
.collection-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.collection-section:last-child { border-bottom: none; }

.collection-head {
  text-align: left !important;
  margin-bottom: 1rem !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}
.collection-head h2 {
  font-size: 1.35rem !important;
  margin: 0;
}
.collection-head p { margin: 0; }

.collection-view-all {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--duration) var(--ease);
  margin-left: auto;
  white-space: nowrap;
}
.collection-view-all:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ── COUNTDOWN TIMER ─────────────────────────────────────── */
.countdown-strip {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: .45rem .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem;
}
.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
}
.cd-block {
  display: inline-flex;
  align-items: baseline;
  gap: .1rem;
}
.cd-num {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
  min-width: 1.1em;
  text-align: center;
}
.cd-label {
  font-size: .55rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.cd-sep {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  font-weight: 700;
  margin: 0 .05rem;
}
.countdown-expired {
  color: #ff6b6b;
  font-size: .75rem;
  font-weight: 600;
}

/* Urgent banner / pulse badge for hot deals */
.urgent-banner-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-heading);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pulse-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
  color: #fff;
  background: #ff4444;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,.4); }
  50% { box-shadow: 0 0 12px 4px rgba(255,68,68,.2); }
}

/* ── LAZY LOADING SENTINEL ───────────────────────────────── */
.load-more-sentinel {
  padding: 2rem 0;
  text-align: center;
}
.load-more-spinner {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--color-muted);
}
.load-more-spinner .spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-content {
  font-family: var(--font-body);
  color: var(--color-body);
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-accent-bg);
  position: relative;
}
.legal-content h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.legal-content p {
  margin-bottom: .75rem;
  line-height: 1.8;
}
.legal-content ul {
  margin: .5rem 0 1rem 1.25rem;
  line-height: 1.8;
}
.legal-content ul li {
  margin-bottom: .35rem;
  color: var(--color-body);
}
.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color var(--duration) var(--ease);
}
.legal-content a:hover {
  color: var(--color-primary);
}
.legal-content strong {
  color: var(--color-heading);
}

/* ── CARD REFINEMENTS ────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s ease, border-color .3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent-light);
}

/* ── SECTION DIVIDER ─────────────────────────────────────── */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin: .5rem auto 0;
  border-radius: 2px;
}

/* ── EXPERT DESIGN REDESIGN ADDITIONS ───────────────────────── */
/* Glassmorphic Navbar Update */
.navbar {
  background: rgba(251, 248, 244, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(229, 221, 210, 0.5) !important;
  transition: all 0.3s var(--ease) !important;
}
.navbar.scrolled {
  background: rgba(251, 248, 244, 0.92) !important;
  box-shadow: 0 4px 30px rgba(60, 28, 17, 0.06) !important;
  border-bottom: 1px solid rgba(229, 221, 210, 0.9) !important;
}

/* Premium Card Upgrades */
.card {
  box-shadow: 0 4px 12px rgba(60, 28, 17, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 16px 32px rgba(60, 28, 17, 0.09) !important;
  border-color: var(--color-accent) !important;
}
/* Card typography lives in the base rules + responsive layers below —
   the old !important overrides here blocked every mobile media query. */
.card-orig-price { opacity: 0.7; }

/* Add Button Premium Transition */
.add-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.add-btn:hover {
  box-shadow: 0 4px 12px rgba(61, 28, 17, 0.2);
  background: var(--color-primary-hover) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

/* Slide-out Cart Drawer Shopify Polish */
.cart-sidebar {
  background: #FDFBFA !important;
  border-left: 1px solid var(--color-border);
}
.cart-head {
  background: var(--color-bg-alt);
  padding: 1.25rem 1.5rem !important;
}
.cart-head h2 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
}
.close-btn:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
}
.cart-item {
  border-bottom: 1px solid rgba(229, 221, 210, 0.5);
  padding: 1rem 1.25rem !important;
  transition: background 0.2s;
}
.cart-item:hover {
  background: rgba(243, 237, 228, 0.2);
}
.cart-foot {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem !important;
}

/* Product Detail Tabbed Panel CSS */
.product-tabs {
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  gap: 1.5rem;
}
.tab-header-btn {
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tab-header-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.tab-header-btn.active {
  color: var(--color-heading);
}
.tab-header-btn.active::after {
  transform: scaleX(1);
}
.tab-contents {
  padding: 1.25rem 0;
}
.tab-pane {
  animation: tabFadeIn 0.3s ease-out;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.specs-table th, .specs-table td {
  padding: 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(229, 221, 210, 0.5);
}
.specs-table th {
  font-weight: 600;
  color: var(--color-heading);
  width: 35%;
}
.specs-table td {
  color: var(--color-body);
}
.allergen-warn {
  color: var(--color-error) !important;
  font-weight: 600;
}
.nutrition-box {
  background: var(--color-bg-warm);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-body);
  border-left: 4px solid var(--color-accent);
}

/* MEGA MENU */
.mega-menu {
  width: 600px;
  padding: 1.5rem;
}
@media(max-width: 768px) {
  .mega-menu {
    width: 100%;
    padding: 1rem;
  }
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* VISUAL CATEGORY GRID */
.visual-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media(max-width: 768px) {
  .visual-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  background: var(--color-bg-alt);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1rem;
  color: white;
  display: flex;
  flex-direction: column;
}
.cat-card-overlay .cat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.cat-card-overlay .cat-label {
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* PROMO BANNER */
.promo-banner-section {
  padding: 2rem 0;
}
.promo-banner {
  background: linear-gradient(135deg, #FF6F00, #FFC107);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.promo-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}
.promo-banner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.promo-banner .btn-primary {
  background: white;
  color: #FF6F00;
}

/* BRAND BAR */
.brand-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}
.brand-scroll::-webkit-scrollbar { display: none; }
.brand-pill {
  padding: 0.8rem 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.brand-pill:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* NEWSLETTER */
.newsletter-section {
  background: var(--color-bg-warm);
  padding: 4rem 5%;
  text-align: center;
}
.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}
.newsletter-content p {
  color: var(--color-body);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}
@media(max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}
.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
}
.newsletter-form .btn-primary {
  border-radius: var(--radius-pill);
  padding: 0 1.5rem;
}

/* VARIANT SELECTOR */
.variant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.variant-pill {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.variant-pill.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}
.more-sizes-badge {
  font-size: 0.7rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-body);
  border-left: 4px solid var(--color-accent);
}

/* MEGA MENU */
.mega-menu {
  width: 600px;
  padding: 1.5rem;
}
@media(max-width: 768px) {
  .mega-menu {
    width: 100%;
    padding: 1rem;
  }
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* VISUAL CATEGORY GRID */
.visual-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media(max-width: 768px) {
  .visual-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  background: var(--color-bg-alt);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1rem;
  color: white;
  display: flex;
  flex-direction: column;
}
.cat-card-overlay .cat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.cat-card-overlay .cat-label {
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* PROMO BANNER */
.promo-banner-section {
  padding: 2rem 0;
}
.promo-banner {
  background: linear-gradient(135deg, #FF6F00, #FFC107);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.promo-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}
.promo-banner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.promo-banner .btn-primary {
  background: white;
  color: #FF6F00;
}

/* BRAND BAR */
.brand-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.brand-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .brand-scroll {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.brand-pill {
  padding: 0.8rem 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.brand-pill:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* NEWSLETTER */
.newsletter-section {
  background: var(--color-bg-warm);
  padding: 4rem 5%;
  text-align: center;
}
.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}
.newsletter-content p {
  color: var(--color-body);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}
@media(max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}
.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
}
.newsletter-form .btn-primary {
  border-radius: var(--radius-pill);
  padding: 0 1.5rem;
}

/* VARIANT SELECTOR */
.variant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.variant-pill {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.variant-pill.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}
.more-sizes-badge {
  font-size: 0.7rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  color: var(--color-muted);
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   JAMOONA-STYLE HOMEPAGE — Category Tiles & Rows
═══════════════════════════════════════════════ */

/* SECTION HEAD with view-all link */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0;
}
.view-all-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.view-all-link:hover {
  background: var(--color-primary);
  color: white;
}

/* CATEGORY TILE GRID — Jamoona style */
.cat-tile-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0;
  scrollbar-width: none; /* Hide scrollbar for cleaner look */
  -webkit-overflow-scrolling: touch;
}
.cat-tile-grid::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .cat-tile-grid {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 1rem;
  }
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  background: transparent;
  border: none;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  text-align: center;
  cursor: pointer;
  padding: 0;
  width: 76px;
  flex-shrink: 0;
}
.cat-tile:hover {
  transform: translateY(-4px);
}
.cat-tile-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.25s var(--ease);
}
.cat-tile:hover .cat-tile-icon {
  border-color: var(--color-primary);
  background: var(--color-accent-bg);
  box-shadow: var(--shadow-md);
}
.cat-tile-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.25;
  white-space: normal;
}
.cat-tile-count {
  display: none;
}

/* CATEGORY ROW SECTIONS */
.cat-row-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cat-row-section:last-child { border-bottom: none; }
.cat-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-row-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cat-row-icon { font-size: 1.4rem; line-height: 1; }
.cat-row-title h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
}
.cat-row-slider {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.cat-row-slider > .card {
  scroll-snap-align: start;
  min-width: 180px;
}
@media (max-width: 900px) {
  .cat-row-slider {
    grid-template-columns: none;
    display: flex;
    gap: 0.75rem;
  }
  .cat-row-slider > .card {
    flex: 0 0 160px;
  }
}
@media (max-width: 600px) {
  .cat-row-title h2 { font-size: 1.05rem; }
  .cat-row-slider > .card { flex: 0 0 145px; }
  .cat-row-section { padding: 1.25rem 0; }
}

/* CATEGORY GRID SECTION spacing */
.category-grid-section { padding: 2.5rem 0; background: var(--color-bg); }

/* ═══════════════════════════════════════════════
   SKELETON LOADERS & MICRO-ANIMATIONS
═══════════════════════════════════════════════ */
.skeleton {
  background: var(--color-border);
  background: linear-gradient(110deg, var(--color-bg-alt) 8%, var(--color-bg-warm) 18%, var(--color-bg-alt) 33%);
  border-radius: 4px;
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
}
.skeleton-card {
  height: 320px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--color-surface);
}
.skeleton-img { height: 180px; width: 100%; border-radius: 0; }
.skeleton-text { height: 14px; margin: 10px 15px; width: 80%; }
.skeleton-text.short { width: 40%; }
.skeleton-text.price { width: 30%; height: 20px; margin-top: auto; margin-bottom: 15px; }

@keyframes shine {
  to { background-position-x: -200%; }
}

@keyframes bounceCart {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: var(--color-whatsapp); }
  100% { transform: scale(1); }
}
.bounce-anim {
  animation: bounceCart 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ═══════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  min-height: 300px;
}
.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}
.empty-state-sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  max-width: 360px;
}
.empty-state-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.empty-state-actions .btn-primary {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
}
.empty-state-actions .btn-outline {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  color: var(--color-body);
  background: transparent;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.empty-state-actions .btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════
   CARD FADE-IN ANIMATION
═══════════════════════════════════════════════ */
.card {
  animation: cardFadeIn 0.35s ease-out both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   PROFESSIONAL REFRESH v2 — cohesive polish layer
   Appended last so it overrides earlier rules via the cascade.
   Goal: brighter, cleaner, more trustworthy grocery storefront
   in the spirit of modern Indian supermarkets.
═══════════════════════════════════════════════════════════ */

/* ── Announcement / trust bar → fresh grocery green ───────── */
.announcement-bar {
  background: linear-gradient(135deg, var(--color-fresh-dark), var(--color-fresh));
  font-size: .8rem;
  padding: .55rem 1rem;
  letter-spacing: .02em;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}
.announcement-bar a { color: #fff; text-decoration: none; font-weight: 700; }
.announcement-bar a:hover { text-decoration: underline; }
.trust-item { opacity: .95; }

/* ── Navbar: crisper, brighter ────────────────────────────── */
.navbar { background: rgba(255,255,255,.9); border-bottom-color: var(--color-border); }
.navbar.scrolled { box-shadow: 0 4px 24px rgba(60,28,17,.07); }
.nav-links a.active { color: var(--color-fresh-dark); }
.nav-links a.active::after { background: var(--color-fresh); height: 2.5px; }
.search-wrap input:focus { outline: none; }
.search-wrap:focus-within { border-color: var(--color-fresh); box-shadow: 0 0 0 3px var(--color-fresh-bg); }

/* ── Hero: richer overlay, refined type ───────────────────── */
.hero { min-height: 520px; }
.hero-bg-collage::after {
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(90,45,26,.35), transparent 60%),
    linear-gradient(165deg, rgba(44,24,16,.86), rgba(24,12,7,.94));
}
.hero-tag {
  background: rgba(255,255,255,.12);
  border-color: rgba(245,214,164,.45);
  color: var(--color-accent-light);
  font-size: .7rem;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.025em; margin-bottom: 1rem; }
.hero h1 em {
  color: var(--color-accent-light);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -.08em;
  height: .12em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}
.hero p { color: rgba(255,255,255,.82); font-size: 1.02rem; }

/* ── Buttons: solid, confident primary CTA ────────────────── */
.hero-actions .btn-primary,
.newsletter-form .btn-primary,
.promo-banner .btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(193,120,23,.28);
  font-weight: 700;
}
.hero-actions .btn-primary:hover,
.newsletter-form .btn-primary:hover,
.promo-banner .btn-primary:hover {
  background: #a9660f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193,120,23,.34);
}
.btn-primary, .btn-dark { border-radius: var(--radius-pill); }
.btn-outline { border-radius: var(--radius-pill); }

/* ── Section headings: centered accent underline ──────────── */
.section-head h2 { font-size: 1.7rem; position: relative; display: inline-block; }
.section-head { display: flex; flex-direction: column; align-items: center; }
.section-head h2::after {
  content: '';
  display: block;
  width: 54px; height: 3px;
  margin: .55rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-fresh));
}
/* Rows that keep the heading left-aligned with a "view all" link */
.cat-row-header, .collection-head, .section-head.collection-head { align-items: center; }

.view-all-link {
  color: var(--color-fresh-dark);
  font-weight: 700;
  font-size: .85rem;
  transition: color .2s var(--ease);
}
.view-all-link:hover { color: var(--color-fresh); }

/* ── USP / value props: cleaner cards with accent hover ───── */
.value-props { gap: 1rem; }
.value-prop {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-prop::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-fresh));
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.value-prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border-dark); }
.value-prop:hover::before { transform: scaleX(1); }
.value-prop-icon { filter: saturate(1.05); }

/* ── Category tiles: softer, more premium ─────────────────── */
.cat-tile {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}
.cat-tile-count { color: var(--color-fresh-dark); font-weight: 600; }

/* ── Product cards: crisper price + fresh ticks ───────────── */
.card { border-radius: var(--radius-lg); }
.card:hover { border-color: var(--color-accent-light); }
.card-price { font-weight: 800; letter-spacing: -.01em; }
.featured-badge { background: var(--color-fresh); }
.add-btn, .quick-add-btn {
  background: var(--color-primary);
}
.add-btn:hover, .quick-add-btn:hover { background: var(--color-primary-hover); }

/* ── Promo banner: elegant saffron/terracotta, not neon ───── */
.promo-banner {
  background: linear-gradient(120deg, #8B2E1C 0%, #C0431B 45%, #E0871E 100%);
  box-shadow: 0 14px 40px rgba(139,46,28,.22);
}
.promo-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.promo-banner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.promo-banner .btn-primary { color: #fff; }

/* ── Brand pills: fresh hover ─────────────────────────────── */
.brand-pill { background: var(--color-surface); font-weight: 600; }
.brand-pill:hover { background: var(--color-fresh); border-color: var(--color-fresh); }

/* ── Newsletter: warmer band, solid CTA ───────────────────── */
.newsletter-section {
  background: linear-gradient(160deg, var(--color-bg-warm), var(--color-bg-alt));
  border-top: 1px solid var(--color-border);
}
.newsletter-form input:focus { outline: none; border-color: var(--color-fresh); box-shadow: 0 0 0 3px var(--color-fresh-bg); }

/* ── Footer: subtle top accent ────────────────────────────── */
footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--color-accent), var(--color-fresh)) 1; }

/* ── Cart / checkout accents stay on-brand ────────────────── */
.checkout-btn { background: var(--color-fresh); }
.checkout-btn:hover { background: var(--color-fresh-dark); }

/* ═══════════════════════════════════════════════════════════
   BANNER SECTIONS v3 — hero slider, promo tiles, feature
   banner, trust strip, footer payments (Spice-Village style)
═══════════════════════════════════════════════════════════ */

/* ── Hero banner slider ───────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: var(--color-primary);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24,12,7,.90) 0%, rgba(30,15,9,.72) 42%, rgba(30,15,9,.30) 100%),
    linear-gradient(0deg, rgba(24,12,7,.55), transparent 45%);
}
/* Default hero backgrounds are clean brand gradients (no baked-in text).
   The admin CMS can override #heroBg1/2/3 with uploaded banner images. */
#heroBg1 { background-image: linear-gradient(120deg, #2C1810, #7a2f16 58%, #C0431B); background-color: #3D1C11; }
#heroBg2 { background-image: linear-gradient(120deg, #3a2408, #9c5410 58%, #E8871E); background-color: #5A2D1A; }
#heroBg3 { background-image: linear-gradient(120deg, #14311f, #1E6E42 58%, #C0431B); background-color: #14311f; }
/* Decorative watermark on the empty right side of each slide */
.hero-slide-inner::after {
  content: '';
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 12rem; line-height: 1; opacity: .1; z-index: 0;
  pointer-events: none;
}
.hero-slide:nth-child(1) .hero-slide-inner::after { content: '🌶️'; }
.hero-slide:nth-child(2) .hero-slide-inner::after { content: '🍿'; }
.hero-slide:nth-child(3) .hero-slide-inner::after { content: '🚚'; }
@media (max-width: 768px) { .hero-slide-inner::after { display: none; } }
.hero-slide-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slider .hero-content {
  max-width: 560px;
  min-width: 0;
  text-align: left;
  color: #fff;
  position: relative;
  z-index: 1;
}
.hero-slider h1 { overflow-wrap: break-word; }
.hero-slider .hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(245,214,164,.45);
  color: var(--color-accent-light);
  border-radius: var(--radius-pill);
  padding: .4rem 1rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(4px);
}
.hero-slider h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-slider h1 em {
  color: var(--color-accent-light);
  font-style: normal;
  position: relative; white-space: nowrap;
}
.hero-slider h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.06em;
  height: .1em; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}
.hero-slider .hero-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 1.6rem;
}
.hero-slider .hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-slider .hero-stats {
  display: flex; gap: 2.25rem; margin-top: 2rem;
}
.hero-slider .stat-num {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 800;
  color: var(--color-accent-light);
}
.hero-slider .stat-label {
  font-size: .68rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.55);
}
/* Arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }
/* Dots */
.hero-dots {
  position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 5;
  display: flex; gap: .5rem; justify-content: center;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; padding: 0; cursor: pointer;
  transition: all .2s var(--ease);
}
.hero-dot.active { background: var(--color-accent-light); width: 26px; border-radius: 5px; }
@media (max-width: 768px) {
  .hero-slider { height: 480px; }
  .hero-slider .hero-content { text-align: center; margin: 0 auto; max-width: 100%; width: 100%; flex: 1; }
  .hero-slider h1 { font-size: clamp(1.35rem, 6vw, 1.7rem); line-height: 1.15; }
  .hero-slider h1 em { white-space: normal; }
  .hero-slider .hero-tag { font-size: .62rem; white-space: normal; letter-spacing: .05em; }
  .hero-slider .hero-content p { font-size: .9rem; max-width: 100%; }
  .hero-slider .hero-actions, .hero-slider .hero-stats { justify-content: center; }
  .hero-slider .hero-stats { gap: 1.5rem; }
  .hero-slide::after { background: linear-gradient(0deg, rgba(24,12,7,.82), rgba(30,15,9,.55)); }
  .hero-arrow { display: none; }
}

/* ── Promo banner tiles ───────────────────────────────────── */
.promo-tiles-section { padding-top: 2.5rem; padding-bottom: .5rem; }
.promo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.promo-tile {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  isolation: isolate;
}
.promo-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
}
.promo-tile::after {
  content: ''; position: absolute; right: -10px; bottom: -20px;
  font-size: 8rem; line-height: 1; opacity: .16; z-index: -1;
  transition: transform .3s var(--ease);
}
.tile-spices::before { background: linear-gradient(135deg, #8B2E1C, #C0431B); }
.tile-spices::after  { content: '🌶️'; }
.tile-snacks::before { background: linear-gradient(135deg, #B4530C, #E8871E); }
.tile-snacks::after  { content: '🍿'; }
.tile-fresh::before  { background: linear-gradient(135deg, #14603A, #1E7A46); }
.tile-fresh::after   { content: '🍛'; }
.promo-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-tile:hover::after { transform: scale(1.08) rotate(-6deg); }
.promo-tile-body { padding: 1.5rem 1.6rem; position: relative; z-index: 1; }
.promo-tile-eyebrow {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; opacity: .9; margin-bottom: .35rem;
}
.promo-tile h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: .15rem; }
.promo-tile p { font-size: .9rem; opacity: .9; margin-bottom: .7rem; }
.promo-tile-cta { font-weight: 700; font-size: .88rem; letter-spacing: .01em; }
@media (max-width: 820px) {
  .promo-tiles { grid-template-columns: 1fr; }
  .promo-tile { min-height: 150px; }
}

/* ── Full-width feature banner ────────────────────────────── */
.feature-banner-section { padding: 2.5rem 0; }
.feature-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(224,135,30,.30), transparent 55%),
    linear-gradient(120deg, #2C1810 0%, #5A2D1A 55%, #8B2E1C 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.feature-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.feature-banner-content { position: relative; z-index: 1; max-width: 620px; }
.feature-banner-eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-light); margin-bottom: .75rem;
}
.feature-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.feature-banner p { color: rgba(255,255,255,.82); font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.6rem; max-width: 520px; }
.feature-banner-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-outline-dark {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-pill);
  padding: .75rem 1.6rem; font-weight: 600; font-size: .9rem;
  transition: all var(--duration) var(--ease);
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
@media (max-width: 640px) { .feature-banner { padding: 2.25rem 1.5rem; } }

/* ── Trust strip ──────────────────────────────────────────── */
.trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-badge { display: flex; align-items: center; gap: .75rem; justify-content: center; }
.trust-badge-icon {
  font-size: 1.6rem;
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-fresh-bg);
  border-radius: 50%;
}
.trust-badge div { display: flex; flex-direction: column; line-height: 1.25; }
.trust-badge strong { font-size: .92rem; color: var(--color-heading); font-weight: 700; }
.trust-badge span { font-size: .78rem; color: var(--color-muted); }
@media (max-width: 768px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .trust-badge { justify-content: flex-start; }
}

/* ── Footer payments ──────────────────────────────────────── */
.footer-payments {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 1.25rem 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-payments-label { font-size: .8rem; opacity: .6; letter-spacing: .04em; text-transform: uppercase; }
.payment-icons { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.pay-chip {
  font-size: .78rem; font-weight: 600;
  padding: .4rem .7rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85);
}
.pay-chip-wa { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.4); color: #d9ffe9; }

/* ═══════════════════════════════════════════════════════════
   PASTEL RE-THEME v4 — Chai n' Spice logo palette
   Soft pastels keyed to the wordmark: brick red #A94444,
   forest green #2F5D46, pastel rose & sage backgrounds.
   Appended last — overrides earlier hardcoded gradients.
═══════════════════════════════════════════════════════════ */

/* ── Brand wordmark (replaces raster logo everywhere) ─────── */
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: .3rem;
  white-space: nowrap;
}
.brand-wordmark .bw-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: .045em;
  color: #A94444;
}
.brand-wordmark .bw-main em {
  font-family: 'Pinyon Script', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.18em;
  margin: 0 .06em;
  position: relative;
  top: .04em;
}
.brand-wordmark .bw-sub {
  font-family: var(--font-body);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-indent: .38em; /* balance the letterspacing overhang */
  text-transform: uppercase;
  color: #2F5D46;
  border-top: 1px solid rgba(47,93,70,.55);
  padding-top: .3rem;
  width: 100%;
  text-align: center;
}
/* Light variant for the dark footer */
.brand-wordmark.bw-light .bw-main { color: #F0D9D4; }
.brand-wordmark.bw-light .bw-sub { color: #BCD8C8; border-top-color: rgba(188,216,200,.5); }
/* Small variant (mobile drawer) */
.brand-wordmark.bw-sm .bw-main { font-size: 1.05rem; }
.brand-wordmark.bw-sm .bw-sub { font-size: .42rem; letter-spacing: .3em; text-indent: .3em; }
/* Navbar sizing */
.navbar .nav-brand { line-height: 1; }
@media (max-width: 900px) {
  .navbar .brand-wordmark .bw-main { font-size: 1.1rem; }
  .navbar .brand-wordmark .bw-sub { font-size: .43rem; letter-spacing: .3em; text-indent: .3em; }
}
@media (max-width: 420px) {
  .navbar .brand-wordmark .bw-main { font-size: 1rem; }
  .navbar .brand-wordmark .bw-sub { display: none; } /* very small screens: keep it clean */
}
footer .brand-wordmark { margin-bottom: .75rem; }
footer .brand-wordmark .bw-main { font-size: 1.5rem; }

/* ── Hero slides → soft muted logo tones ──────────────────── */
#heroBg1 { background-image: linear-gradient(120deg, #4A2C2A, #8E3B39 58%, #B96A60); background-color: #4A2C2A; }
#heroBg2 { background-image: linear-gradient(120deg, #5C3E20, #96703C 58%, #BE9A62); background-color: #5C3E20; }
#heroBg3 { background-image: linear-gradient(120deg, #24473A, #3C6B52 58%, #79A98E); background-color: #24473A; }
.hero-slide::after {
  background:
    linear-gradient(90deg, rgba(43,26,24,.88) 0%, rgba(48,30,27,.68) 42%, rgba(48,30,27,.26) 100%),
    linear-gradient(0deg, rgba(43,26,24,.5), transparent 45%);
}
.hero-slider .hero-tag {
  background: rgba(255,255,255,.14);
  border-color: rgba(239,213,208,.5);
  color: #F3E2DE;
}
.hero-slider h1 em { color: #F0D9D4; }
.hero-slider h1 em::after { background: linear-gradient(90deg, #C98B8B, #EFD5D0); }
.hero-slider .stat-num { color: #F0D9D4; }

/* ── Primary CTAs → logo brick red ────────────────────────── */
.hero-actions .btn-primary,
.newsletter-form .btn-primary,
.promo-banner .btn-primary {
  background: var(--color-primary);
  box-shadow: 0 6px 18px rgba(169,68,68,.26);
}
.hero-actions .btn-primary:hover,
.newsletter-form .btn-primary:hover,
.promo-banner .btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 10px 24px rgba(169,68,68,.32);
}

/* ── Promo tiles → red / gold / green logo trio, softened ─── */
.tile-spices::before { background: linear-gradient(135deg, #9E3E3E, #BA6A5E); }
.tile-snacks::before { background: linear-gradient(135deg, #A87C3F, #C6A46B); }
.tile-fresh::before  { background: linear-gradient(135deg, #2F5D46, #4A7C64); }
.promo-tile { box-shadow: 0 8px 24px rgba(67,48,44,.14); }

/* ── Feature banner → deep muted maroon ───────────────────── */
.feature-banner {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(201,139,139,.28), transparent 55%),
    linear-gradient(120deg, #3A2523 0%, #6E3A38 55%, #A94444 100%);
  box-shadow: 0 14px 40px rgba(110,58,56,.24);
}
.feature-banner-eyebrow { color: #EFD5D0; }

/* ── Summer-specials promo banner → pastel terracotta ─────── */
.promo-banner {
  background: linear-gradient(120deg, #A94444 0%, #C0776B 55%, #E4B7A0 100%);
  box-shadow: 0 14px 40px rgba(169,68,68,.20);
}

/* ── Notify / amber accents → soft gold ───────────────────── */
.notify-btn { background: linear-gradient(135deg, #C6A46B, #A87C3F); }

/* ── Trust badges / misc greens follow the logo green ─────── */
.trust-badge-icon { background: var(--color-fresh-bg); }
.featured-badge { background: var(--color-fresh-dark); }

/* ── Footer → deep soft maroon ────────────────────────────── */
footer { background: #3A2523; }

/* ═══════════════════════════════════════════════════════════
   SV CLEAN v5 — Spice Village-style layout
   Two-row header (brand · big search · account/cart + category
   nav), contained rounded hero banner, pastel category circles.
═══════════════════════════════════════════════════════════ */

/* ── Header: override single-row navbar for .sv-header ────── */
.navbar.sv-header {
  display: block;
  height: auto;
  padding: 0;
  background: #FFFFFF;
}
.sv-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: .8rem 1.5rem .6rem;
}
.sv-search {
  flex: 1;
  max-width: 620px;
  margin: 0 auto;
}
.navbar.sv-header .search-wrap {
  display: flex;
  align-items: center;
  background: #F2EEE9;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: .6rem 1.1rem;
  gap: .5rem;
}
.navbar.sv-header .search-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: .9rem;
  color: var(--color-body);
  min-width: 0;
}
.navbar.sv-header .search-wrap input:focus { outline: none; }
.navbar.sv-header .search-wrap:focus-within {
  background: #fff;
  border-color: var(--color-fresh);
  box-shadow: 0 0 0 3px var(--color-fresh-bg);
}
.navbar.sv-header .nav-right { margin-left: auto; flex-shrink: 0; }

/* Category nav row */
.sv-catnav {
  display: flex;
  align-items: center;
  gap: .35rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: .15rem 1.5rem .55rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.sv-catnav::-webkit-scrollbar { display: none; }
.sv-catnav > a,
.sv-catnav .nav-dropdown-trigger {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-heading);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.sv-catnav > a:hover,
.sv-catnav .nav-dropdown-trigger:hover { background: var(--color-fresh-bg); color: var(--color-fresh-dark); }
.sv-catnav .nav-highlight { color: var(--color-primary); }
.sv-catnav .nav-link-item { position: relative; }
.sv-catnav .nav-dropdown { left: 0; top: 100%; }

/* ── Hero: contained rounded banner (SV style) ────────────── */
.hero-slider {
  max-width: var(--container);
  margin: 1rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(67,48,44,.12);
}
@media (min-width: 1281px) { .hero-slider { margin-left: auto; margin-right: auto; } }
@media (max-width: 1320px) { .hero-slider { margin-left: 1rem; margin-right: 1rem; } }
.hero-slide { min-height: 380px; }
.hero-slide-inner { padding-top: 2.75rem; padding-bottom: 2.75rem; }
/* Cleaner banner: hide the stats row */
.hero-stats, .hero-slider .hero-stats, .hero-slide .hero-stats { display: none !important; }
.hero-slider h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }

/* ── Our Top Categories: left-aligned head, pastel circles ── */
.sv-cats .section-head.sv-cats-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  text-align: left;
  margin-bottom: 1.25rem;
}
.sv-cats .sv-cats-head h2 { font-size: 1.35rem; }
.sv-cats .sv-cats-head h2::after { display: none; }

.sv-cats .cat-tile {
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .75rem .25rem;
}
.sv-cats .cat-tile:hover { transform: translateY(-3px); box-shadow: none; }
.sv-cats .cat-tile-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sv-cats .cat-tile:hover .cat-tile-icon { transform: scale(1.08); box-shadow: 0 8px 20px rgba(67,48,44,.18); }
/* Pastel circle palette, cycling like the reference site */
.sv-cats .cat-tile:nth-child(8n+1) .cat-tile-icon { background: #E8927C; }
.sv-cats .cat-tile:nth-child(8n+2) .cat-tile-icon { background: #8FBC5A; }
.sv-cats .cat-tile:nth-child(8n+3) .cat-tile-icon { background: #E9B96F; }
.sv-cats .cat-tile:nth-child(8n+4) .cat-tile-icon { background: #A3C4A8; }
.sv-cats .cat-tile:nth-child(8n+5) .cat-tile-icon { background: #E07856; }
.sv-cats .cat-tile:nth-child(8n+6) .cat-tile-icon { background: #4E97A8; }
.sv-cats .cat-tile:nth-child(8n+7) .cat-tile-icon { background: #D96C6C; }
.sv-cats .cat-tile:nth-child(8n+8) .cat-tile-icon { background: #7FB8A4; }
.sv-cats .cat-tile-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-heading);
  text-align: center;
  line-height: 1.25;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sv-top { flex-wrap: wrap; gap: .6rem; padding: .65rem 1rem .55rem; }
  .sv-top .nav-brand { order: 2; margin-right: auto; }
  .sv-top .hamburger { order: 1; display: flex; }
  .sv-top .nav-right { order: 3; margin-left: 0; display: flex; align-items: center; gap: .35rem; }
  .sv-search { order: 4; flex-basis: 100%; max-width: none; margin: 0; }
  .navbar.sv-header .search-wrap { padding: .55rem 1rem; }
  .sv-top .auth-btn .auth-label, .sv-top .cart-label { display: none; }
  .sv-top .lang-btn { padding: .3rem .5rem; }
  .sv-catnav { display: none; } /* categories live in the drawer + top-categories grid */

  /* Single-line announcement bar on small screens */
  .announcement-bar { flex-wrap: nowrap; }
  .announcement-bar .trust-item:nth-child(2) { display: none; }

  .hero-slider { margin: .75rem .75rem 0; border-radius: var(--radius-md); }
  .hero-slide { min-height: 300px; }
  .hero-slide-inner { padding-top: 1.75rem; padding-bottom: 2rem; }

  .sv-cats .cat-tile-icon { width: 60px; height: 60px; font-size: 1.6rem; }
  .sv-cats .cat-tile-label { font-size: .74rem; }
  .sv-cats .cat-tile-grid { grid-template-columns: repeat(4, 1fr); gap: .4rem; width: auto; margin: 0; padding: .5rem 0; }
}

/* ── v5.1: compact mobile promo tiles + tighter category grid ─ */
@media (max-width: 768px) {
  /* Promo tiles: swipeable compact row instead of tall stacked cards */
  .promo-tiles-section { padding-top: 1.25rem; padding-bottom: 0; }
  .promo-tiles {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: .7rem;
    padding-bottom: .5rem;
    scrollbar-width: none;
  }
  .promo-tiles::-webkit-scrollbar { display: none; }
  .promo-tile {
    flex: 0 0 72%;
    scroll-snap-align: start;
    min-height: 0;
  }
  .promo-tile-body { padding: .9rem 1rem; }
  .promo-tile-eyebrow { font-size: .58rem; }
  .promo-tile h3 { font-size: 1.05rem; margin-bottom: .1rem; }
  .promo-tile p { font-size: .74rem; margin-bottom: .4rem; }
  .promo-tile-cta { font-size: .74rem; }
  .promo-tile::after { font-size: 3rem; right: -8px; bottom: -8px; }

  /* Top categories: tighter SV-style icon grid, all categories visible */
  .sv-cats { padding-top: 1.25rem; padding-bottom: .5rem; }
  .sv-cats .sv-cats-head { margin-bottom: .5rem; }
  .sv-cats .sv-cats-head h2 { font-size: 1.1rem; }
  .sv-cats .cat-tile { padding: .4rem .1rem; gap: .4rem; }
  .sv-cats .cat-tile-icon { width: 52px; height: 52px; font-size: 1.4rem; }
  .sv-cats .cat-tile-label { font-size: .66rem; font-weight: 600; }
}

/* ── v5.2: SV top-categories is a real wrapping grid (no h-scroll) ── */
.sv-cats .cat-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: visible;
  gap: 1.25rem .75rem;
  width: auto;
  margin: 0;
  padding: .5rem 0 0;
}
@media (max-width: 1024px) and (min-width: 769px) {
  .sv-cats .cat-tile-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  .sv-cats .cat-tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem .4rem; }
}

/* ── v5.3: mobile drawer fixes ─────────────────────────────
   The legacy duplicated .mobile-nav block confuses the parser and
   the .open transform was being dropped — restate it decisively. */
.mobile-nav { transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0) !important; }
/* Deals pill was width:100% + side margins → 32px wider than the drawer */
.mobile-nav-links .mn-highlight { width: calc(100% - 2rem); }
/* Keep the wordmark tidy inside the 280px drawer */
.mobile-nav-head .brand-wordmark .bw-main { font-size: 1rem; }
.mobile-nav-head .brand-wordmark .bw-sub { font-size: .4rem; letter-spacing: .28em; text-indent: .28em; }
/* An old mobile rule hides .lang-btn globally — keep it visible in the drawer */
@media (max-width: 768px) {
  .mobile-nav-lang .lang-btn { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   v5.4 COMPACT MOBILE CARDS — lighter type, tighter rhythm.
   The refresh layer's bold weights (price 800 / name 600) and
   stacked micro-margins made mobile cards tall & heavy. Appended
   last so these win on small screens.
═══════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .card-brand { font-size: .72rem; letter-spacing: .8px; text-transform: uppercase; }
  .card-name { font-size: .95rem; }
  .card-price { font-size: 1.1rem; }
  .card-orig-price { font-size: .85rem; }
  .add-btn { border-radius: 8px; font-size: .82rem; padding: .5rem 1rem; }
}
@media (max-width: 768px) {
  /* Lighter, smaller type */
  .card-name { font-weight: 500; font-size: .78rem; line-height: 1.25; margin-top: .05rem; }
  .card-price { font-weight: 600; font-size: .84rem; letter-spacing: 0; }
  .card-orig-price { font-size: .64rem; }
  .card-brand { font-weight: 500; font-size: .56rem; margin-bottom: 0; }

  /* Collapse the vertical micro-gaps */
  .card-body { padding: .5rem .6rem .15rem; }
  .card-footer { padding: .25rem .6rem .5rem; gap: .3rem; }
  .card-specs-row { margin: .15rem 0 0; gap: .3rem; }
  .card-unit, .card-serving { font-size: .58rem; padding: .05rem .3rem; }
  .card-rating { font-size: .6rem; margin-top: 0; }
  .card-unit-price { font-size: .58rem; margin-top: 0; }
  .price-wrap { gap: .3rem; }
  .value-deal-badge { font-size: .52rem; padding: .1rem .3rem; }
  /* Shown in the product detail & checkout instead — saves a line per card */
  .card .vat-text { display: none; }

  /* Slimmer CTA */
  .add-btn { padding: .42rem .5rem; font-size: .74rem; font-weight: 600; min-height: 32px; }
  .qty-controls { height: 32px; }

  /* Tighter grid = more products per screen */
  .featured-grid { gap: .6rem; }
  .scrolling-slider { gap: .75rem; }
  .scrolling-slider > * { flex: 0 0 calc(50% - .375rem); }

  /* Cards hug their content: neighbouring tall cards no longer stretch
     shorter ones, which left a hole between the weight chip and the price */
  .featured-grid, .scrolling-slider, .cat-row-slider { align-items: start; }
  .card-body { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .card-name { font-size: .74rem; }
  .card-price { font-size: .8rem; }
  .featured-grid { gap: .5rem; }
}
