/* =================================================================
   evermarket — design system
   Olive / cream eco-market theme. No dark mode variant by request.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:ital,opsz,wght@0,12..96,400..800;1,12..96,400..800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* --- brand olive scale --- */
  --olive-950:#1c2110;
  --olive-900:#262d15;
  --olive-800:#3c4a1c;
  --olive-700:#4f5f24;
  --olive-600:#66782d;
  --olive-500:#7f9139;
  --brand:#9ca038;          /* exact logo tone — decorative fills/badges only, not small text */
  --olive-300:#c7d08f;
  --olive-200:#e0e5bd;
  --olive-100:#eef1dc;
  --olive-50:#f5f7ea;

  /* --- neutrals / paper --- */
  --cream-50:#fdfbf5;
  --cream-100:#faf7ee;
  --cream-200:#f2ecdb;
  --cream-300:#e8e0c9;
  --ink-900:#232a17;
  --ink-700:#4a5240;
  --ink-500:#767c68;
  --ink-300:#a8ad9a;
  --white:#ffffff;

  /* --- accents --- */
  --gold-700:#8a5a1e;
  --gold-500:#e0972e;
  --gold-100:#fbead0;
  --terracotta-700:#7a3b23;
  --terracotta-500:#b5613f;
  --terracotta-100:#f3e0d6;
  --teal-700:#285c48;
  --teal-100:#dbe9e2;

  /* --- energy accent: sale/urgency/price-pop. The olive family alone reads
     calm/muted at CTA scale, so red carries the "look here" jobs (deal tags,
     ribbons, strikethrough price), same pattern real grocery sites use. --- */
  --red-700:#9c2b2b;
  --red-600:#d63d3d;
  --red-100:#fbe2e0;

  /* --- CTA green: more saturated than the muted olive-600 body/heading tone,
     used specifically for buttons/Add-to-cart so they pop against the page. --- */
  --cta:#3f7a1f;
  --cta-hover:#336318;

  /* --- semantic --- */
  --bg:var(--cream-100);
  --surface:var(--white);
  --surface-2:var(--cream-50);
  --text:var(--ink-900);
  --text-muted:var(--ink-700);
  --text-faint:var(--ink-500);
  --border:var(--cream-300);
  --link:var(--olive-700);
  --focus:#2b6cb0;

  /* --- type --- */
  --font-display:'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- shape / motion --- */
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:24px;
  --radius-full:999px;
  --shadow-sm:0 1px 2px rgba(38,45,21,.07), 0 1px 1px rgba(38,45,21,.04);
  --shadow-md:0 6px 20px -4px rgba(38,45,21,.14), 0 2px 6px rgba(38,45,21,.06);
  --shadow-lg:0 20px 50px -12px rgba(38,45,21,.22), 0 8px 16px -8px rgba(38,45,21,.1);
  --ease:cubic-bezier(.22,.9,.32,1);
  --fast:150ms var(--ease);
  --med:280ms var(--ease);
  --slow:520ms var(--ease);
  --header-h:76px;
  --announce-h:38px;
  --container:1360px;
}

/* =================================================================
   Reset
   ================================================================= */
*, *::before, *::after{ box-sizing:border-box; }
*{ margin:0; }
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + var(--announce-h) + 16px);
}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img, svg{ display:block; max-width:100%; }
img{ height:auto; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; background:none; border:none; }
ul, ol{ list-style:none; padding:0; }
h1,h2,h3,h4,h5{ font-family:var(--font-display); font-weight:600; line-height:1.15; letter-spacing:-0.01em; }
table{ border-collapse:collapse; }

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

::selection{ background:var(--olive-300); color:var(--olive-950); }

/* thin, quiet scrollbar (webkit) */
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:var(--olive-200); border-radius:99px; border:3px solid var(--cream-100); }
::-webkit-scrollbar-thumb:hover{ background:var(--olive-300); }

:focus-visible{ outline:2px solid var(--olive-600); outline-offset:2px; border-radius:4px; }

/* =================================================================
   Texture background — subtle paper grain + soft olive/cream glow.
   Kept very low-opacity so it reads as texture, not pattern.
   ================================================================= */
body{
  background-color:#f2ead6;
  background-image:
    radial-gradient(ellipse 900px 500px at 8% -5%, rgba(156,160,56,.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(214,61,61,.06), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.25  0 0 0 0 0.22  0 0 0 0 0.12  0 0 0 0.16 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat:no-repeat, no-repeat, repeat;
  background-size:auto, auto, 220px 220px;
  background-attachment:fixed, fixed, fixed;
}

.paper{
  background-color:var(--surface);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4'/><feColorMatrix type='matrix' values='0 0 0 0 0.25 0 0 0 0 0.22 0 0 0 0 0.12 0 0 0 0.1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat:repeat;
  background-size:160px 160px;
}

/* =================================================================
   Layout helpers
   ================================================================= */
.container{ width:100%; max-width:1360px; margin-inline:auto; padding-inline:24px; }
.section{ padding-block:clamp(30px, 3.5vw, 52px); }
.section-tight{ padding-block:clamp(18px, 2.5vw, 30px); }
.grid{ display:grid; }
.flex{ display:flex; }
.center{ display:flex; align-items:center; justify-content:center; }
.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:12px; top:-60px; background:var(--olive-800); color:var(--white);
  padding:10px 16px; border-radius:var(--radius-sm); z-index:1000; transition:top var(--fast);
}
.skip-link:focus{ top:12px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--olive-700);
}
.eyebrow::before{ content:''; width:22px; height:2px; background:var(--brand); border-radius:2px; }

.section-head{ max-width:640px; margin-bottom:clamp(28px,4vw,44px); }
.section-head.centered{ margin-inline:auto; text-align:center; }
.section-title{ font-size:clamp(1.7rem, 3vw, 2.5rem); margin-top:10px; color:var(--olive-950,var(--text)); }
.section-subtitle{ margin-top:12px; color:var(--text-muted); font-size:1.02rem; }

.link-arrow{
  display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--olive-700);
  border-bottom:1.5px solid var(--olive-300); padding-bottom:2px; transition:gap var(--fast), border-color var(--fast);
}
.link-arrow:hover{ gap:10px; border-color:var(--olive-600); }
.link-arrow svg{ width:16px; height:16px; }

/* =================================================================
   Buttons
   ================================================================= */
.btn{
  --btn-bg:var(--cta);
  --btn-bg-hover:var(--cta-hover);
  --btn-fg:var(--white);
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  padding:13px 26px; border-radius:var(--radius-full);
  background:var(--btn-bg); color:var(--btn-fg);
  transition:transform var(--fast), box-shadow var(--fast), background-color var(--fast), opacity var(--fast);
  white-space:nowrap; user-select:none; position:relative;
}
.btn svg{ width:17px; height:17px; flex:none; }
.btn:hover{ background:var(--btn-bg-hover); transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn:active{ transform:translateY(0); }
.btn.btn-block{ width:100%; }
.btn.btn-lg{ padding:15px 32px; font-size:1rem; }
.btn.btn-sm{ padding:9px 18px; font-size:.85rem; }

.btn-secondary{ --btn-bg:transparent; --btn-fg:var(--olive-800); box-shadow:inset 0 0 0 1.5px var(--olive-300); }
.btn-secondary:hover{ --btn-bg:var(--olive-50); box-shadow:inset 0 0 0 1.5px var(--olive-500); }

.btn-ghost{ --btn-bg:transparent; --btn-fg:var(--olive-800); }
.btn-ghost:hover{ --btn-bg:var(--olive-100); box-shadow:none; }

.btn-dark{ --btn-bg:var(--olive-950); --btn-bg-hover:var(--olive-900); --btn-fg:var(--white); }

.btn-disabled, .btn:disabled, .btn[aria-disabled="true"]{
  --btn-bg:var(--ink-300); --btn-fg:var(--white);
  cursor:not-allowed;
}
.btn-disabled:hover, .btn:disabled:hover{ transform:none; box-shadow:none; background:var(--ink-300); }
.btn-disabled.shake{ animation:shake .45s var(--ease); }

.icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:var(--radius-full); color:var(--olive-900);
  transition:background-color var(--fast), color var(--fast), transform var(--fast);
  position:relative; flex:none;
}
.icon-btn svg{ width:21px; height:21px; }
.icon-btn:hover{ background:var(--olive-100); }
.icon-btn:active{ transform:scale(.92); }
.icon-btn .count{
  position:absolute; top:-2px; right:-2px; min-width:17px; height:17px; padding:0 4px;
  border-radius:99px; background:var(--olive-700); color:var(--white);
  font-size:.62rem; font-weight:800; display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 2px var(--surface); transition:transform var(--fast);
}
.icon-btn .count:empty, .icon-btn .count[data-zero="true"]{ display:none; }
.icon-btn .count.pop{ animation:pop .4s var(--ease); }

/* =================================================================
   Badges / chips
   ================================================================= */
.badge{
  display:inline-flex; align-items:center; gap:5px;
  font-size:.68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  padding:5px 10px; border-radius:var(--radius-full); line-height:1;
}
.badge-organic{ background:var(--olive-100); color:var(--olive-800); }
.badge-bestseller{ background:var(--gold-100); color:var(--gold-700); }
.badge-new{ background:var(--teal-100); color:var(--teal-700); }
.badge-limited{ background:var(--terracotta-100); color:var(--terracotta-700); }

.stars{ display:inline-flex; align-items:center; gap:2px; color:var(--gold-500); }
.stars svg{ width:14px; height:14px; }
.rating-line{ display:inline-flex; align-items:center; gap:7px; font-size:.86rem; color:var(--text-muted); }

.stock-note{ display:inline-flex; align-items:center; gap:6px; font-size:.83rem; font-weight:600; }
.stock-note.low{ color:var(--terracotta-700); }
.stock-note.ok{ color:var(--olive-700); }
.stock-note svg{ width:15px; height:15px; }

.sold-recently{
  display:inline-flex; align-items:center; gap:6px; font-size:.78rem; color:var(--text-muted);
  background:var(--cream-200); padding:5px 10px; border-radius:var(--radius-full);
}

/* =================================================================
   Forms
   ================================================================= */
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.field label{ font-size:.83rem; font-weight:600; color:var(--olive-900); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border-radius:var(--radius-sm);
  border:1.5px solid var(--border); background:var(--surface); color:var(--text);
  transition:border-color var(--fast), box-shadow var(--fast);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--olive-500); box-shadow:0 0 0 4px var(--olive-100); outline:none;
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-row.cols-3{ grid-template-columns:1.4fr 1fr 1fr; }
.radio-card{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border:1.5px solid var(--border);
  border-radius:var(--radius-md); cursor:pointer; transition:border-color var(--fast), background-color var(--fast);
  margin-bottom:10px;
}
.radio-card:hover{ border-color:var(--olive-400); }
.radio-card input{ accent-color:var(--olive-600); width:17px; height:17px; }
.radio-card.checked{ border-color:var(--olive-600); background:var(--olive-50); }
.radio-card .r-label{ font-weight:600; flex:1; }
.radio-card .r-price{ font-weight:700; color:var(--olive-800); }

.qty-stepper{
  display:inline-flex; align-items:center; border:1.5px solid var(--border); border-radius:var(--radius-full);
  overflow:hidden;
}
.qty-stepper button{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center; color:var(--olive-800);
  transition:background-color var(--fast);
}
.qty-stepper button:hover{ background:var(--olive-100); }
.qty-stepper button svg{ width:15px; height:15px; }
.qty-stepper input{
  width:40px; text-align:center; border:none; background:transparent; font-weight:700; -moz-appearance:textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* =================================================================
   Motion — reveal on scroll, keyframes
   ================================================================= */
[data-reveal]{
  opacity:0; transform:translateY(22px); transition:opacity .25s var(--ease), transform .25s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }
[data-reveal-group] > *{ transition-delay:calc(var(--i, 0) * 70ms); }

@keyframes pop{ 0%{ transform:scale(1); } 35%{ transform:scale(1.35); } 100%{ transform:scale(1); } }
@keyframes shake{
  10%,90%{ transform:translateX(-1px); } 20%,80%{ transform:translateX(2px); }
  30%,50%,70%{ transform:translateX(-4px); } 40%,60%{ transform:translateX(4px); }
}
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:translateY(0); } }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes floatSlow{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@keyframes countGlow{ 0%{ text-shadow:0 0 0 rgba(156,160,56,0); } 40%{ text-shadow:0 0 22px rgba(156,160,56,.35); } 100%{ text-shadow:0 0 0 rgba(156,160,56,0); } }

/* =================================================================
   Announcement bar + Header
   ================================================================= */
.announce{
  height:var(--announce-h); background:var(--olive-900); color:var(--olive-100);
  overflow:hidden; position:relative; font-size:.8rem; font-weight:500;
}
.announce ul{ position:relative; height:100%; }
.announce li{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:8px;
  opacity:0; transform:translateY(6px); transition:opacity .5s var(--ease), transform .5s var(--ease);
  padding-inline:16px; text-align:center;
}
.announce li.active{ opacity:1; transform:translateY(0); }
.announce li svg{ width:14px; height:14px; color:var(--brand); flex:none; }

/* The header's own box height NEVER changes on scroll. It's a
   position:sticky element, and animating height right as it crosses
   from "in normal flow" to "pinned" (i.e. right around the announcement
   bar's height) causes a layout-thrash feedback loop — the browser keeps
   recomputing the sticky offset against a box that's still resizing,
   which reads as violent shaking. Only paint properties (shadow/background)
   transition here; the logo "shrinks" via transform (compositor-only,
   no layout impact) instead of a height change. */
header.site-header{
  position:sticky; top:0; z-index:400; height:var(--header-h);
  background:rgba(250,247,238,.92); backdrop-filter:blur(14px) saturate(1.4);
  -webkit-backdrop-filter:blur(14px) saturate(1.4);
  border-bottom:1px solid rgba(60,74,28,.08);
  transition:box-shadow var(--med), background-color var(--med);
}
header.site-header.scrolled{
  box-shadow:0 8px 30px -12px rgba(38,45,21,.18); background:rgba(250,247,238,.98);
}
.header-inner{
  height:100%; display:grid; grid-template-columns:auto 1fr auto; align-items:center; column-gap:20px;
  max-width:var(--container); margin-inline:auto; padding-inline:24px;
}
.brand-logo{ display:flex; align-items:center; flex:none; transition:transform var(--fast); }
.brand-logo:hover{ transform:scale(1.02); }
.brand-logo img{ height:34px; width:auto; transition:transform var(--med); transform-origin:left center; }
header.site-header.scrolled .brand-logo img{ transform:scale(.86); }

.header-inner > nav{ justify-self:center; min-width:0; }
.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav > li{ position:relative; }
.nav-link{
  display:flex; align-items:center; gap:5px; padding:10px 14px; border-radius:var(--radius-full);
  font-weight:600; font-size:.92rem; color:var(--olive-900); transition:background-color var(--fast), color var(--fast);
}
.nav-link:hover, .nav-link.active{ background:var(--olive-100); color:var(--olive-800); }
.nav-link svg{ width:14px; height:14px; transition:transform var(--fast); }
li.has-dropdown:hover .nav-link svg{ transform:rotate(180deg); }

/* top:100% with zero gap is deliberate: the hoverable region must be
   continuous from the trigger link down into the panel, or the mouse
   crosses dead space and :hover drops before it arrives. Visual breathing
   room comes from the panel's own padding-top, not from an outer gap. */
li.has-dropdown{ padding-bottom:14px; margin-bottom:-14px; }
.mega{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(4px);
  width:min(760px, 82vw); background:var(--surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:26px; opacity:0; visibility:hidden;
  transition:opacity var(--fast), transform var(--fast), visibility 0s linear var(--fast);
  border:1px solid var(--border);
}
li.has-dropdown:hover .mega, li.has-dropdown:focus-within .mega{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
  transition:opacity var(--fast), transform var(--fast), visibility 0s linear;
}
.mega-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:6px 18px; margin-bottom:16px; }
.mega-link{
  display:flex; align-items:center; gap:10px; padding:10px 10px; border-radius:var(--radius-sm);
  transition:background-color var(--fast), transform var(--fast);
}
.mega-link:hover{ background:var(--olive-50); transform:translateX(2px); }
.mega-link .mega-icon{
  width:36px; height:36px; border-radius:var(--radius-sm); background:var(--olive-100); color:var(--olive-700);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.mega-icon svg{ width:19px; height:19px; }
.mega-link .mega-text{ font-size:.86rem; font-weight:600; color:var(--ink-900); }
.mega-foot{ border-top:1px solid var(--border); padding-top:14px; display:flex; justify-content:space-between; align-items:center; }

.header-tools{ display:flex; align-items:center; gap:4px; flex:none; }

.search-wrap{ position:relative; display:flex; align-items:center; }
.search-form{
  display:flex; align-items:center; overflow:hidden; width:0; opacity:0;
  transition:width var(--med), opacity var(--med), margin var(--med);
  background:var(--olive-50); border-radius:var(--radius-full); border:1.5px solid transparent;
}
.search-wrap.open .search-form{ width:230px; opacity:1; margin-right:4px; border-color:var(--olive-200); }
.search-form input{
  border:none; background:transparent; padding:9px 6px 9px 16px; width:100%; font-size:.88rem;
}
.search-form input:focus{ outline:none; }
.search-form button{ padding:8px 12px; color:var(--olive-700); flex:none; }
.search-form button svg{ width:17px; height:17px; }

.lang-toggle{
  display:flex; align-items:center; background:var(--olive-100); border-radius:var(--radius-full);
  padding:3px; gap:2px; position:relative; flex:none;
}
.lang-toggle button{
  position:relative; z-index:1; padding:6px 12px; border-radius:var(--radius-full); font-weight:700; font-size:.72rem;
  letter-spacing:.03em; color:var(--olive-700); transition:color var(--fast);
}
.lang-toggle button.active{ color:var(--white); }
.lang-toggle .lang-pill{
  position:absolute; top:3px; bottom:3px; left:3px; width:calc(50% - 3px); background:var(--olive-700);
  border-radius:var(--radius-full); transition:transform var(--med); z-index:0;
}
.lang-toggle[data-lang="es"] .lang-pill{ transform:translateX(100%); }

.hamburger{ display:none; }
.hamburger span{ display:block; width:20px; height:2px; background:var(--olive-900); border-radius:2px; }
.hamburger span + span{ margin-top:5px; }

/* =================================================================
   Mobile nav drawer
   ================================================================= */
.mobile-nav-overlay{
  position:fixed; inset:0; background:rgba(28,33,16,.42); z-index:490; opacity:0; visibility:hidden;
  transition:opacity var(--med), visibility var(--med); backdrop-filter:blur(2px);
}
.mobile-nav-overlay.open{ opacity:1; visibility:visible; }
.mobile-nav{
  position:fixed; top:0; right:0; height:100%; width:min(340px, 86vw); background:var(--surface); z-index:500;
  transform:translateX(100%); transition:transform var(--med); display:flex; flex-direction:column; box-shadow:var(--shadow-lg);
}
.mobile-nav.open{ transform:translateX(0); }
.mobile-nav-head{ display:flex; justify-content:space-between; align-items:center; padding:18px 20px; border-bottom:1px solid var(--border); }
.mobile-nav-body{ padding:14px 10px; overflow-y:auto; flex:1; }
.mobile-search{
  display:flex; align-items:center; gap:6px; background:var(--olive-50); border:1.5px solid var(--olive-200);
  border-radius:var(--radius-full); padding:4px 4px 4px 16px; margin:4px 4px 14px;
}
.mobile-search input{ flex:1; border:none; background:transparent; padding:8px 0; font-size:.9rem; }
.mobile-search input:focus{ outline:none; }
.mobile-search button{
  width:36px; height:36px; border-radius:99px; background:var(--olive-700); color:var(--white);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.mobile-search button svg{ width:16px; height:16px; }
.mobile-nav a, .mobile-nav .mn-cat{
  display:flex; align-items:center; gap:12px; padding:13px 14px; border-radius:var(--radius-sm); font-weight:600; color:var(--ink-900);
}
.mobile-nav .mn-cat svg{ width:20px; height:20px; flex:none; color:var(--olive-600); }
.mobile-nav a:hover, .mobile-nav .mn-cat:hover{ background:var(--olive-50); }
.mobile-nav-foot{ padding:16px 20px; border-top:1px solid var(--border); display:flex; justify-content:center; }
.lang-toggle-lg{ font-size:1.05rem; }
.lang-toggle-lg button{ padding:9px 28px; font-size:.82rem; }

/* =================================================================
   Toasts
   ================================================================= */
.toast-region{ position:fixed; bottom:24px; right:24px; z-index:900; display:flex; flex-direction:column; gap:10px; align-items:flex-end; }
.toast{
  display:flex; align-items:center; gap:12px; background:var(--olive-950); color:var(--white); padding:14px 18px;
  border-radius:var(--radius-md); box-shadow:var(--shadow-lg); font-size:.88rem; font-weight:500; max-width:340px;
  transform:translateY(16px) scale(.96); opacity:0; transition:transform var(--med), opacity var(--med);
}
.toast.show{ transform:translateY(0) scale(1); opacity:1; }
.toast .t-icon{
  width:28px; height:28px; border-radius:99px; background:rgba(156,160,56,.25); color:var(--olive-300,#c7d08f);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.toast .t-icon svg{ width:15px; height:15px; }
.toast img{ width:36px; height:36px; border-radius:var(--radius-sm); object-fit:cover; flex:none; }
@media (max-width:640px){ .toast-region{ left:16px; right:16px; align-items:stretch; } .toast{ max-width:none; } }

/* =================================================================
   Slide-out drawer (cart)
   ================================================================= */
.drawer-overlay{
  position:fixed; inset:0; background:rgba(28,33,16,.42); z-index:590; opacity:0; visibility:hidden;
  transition:opacity var(--med), visibility var(--med);
}
.drawer-overlay.open{ opacity:1; visibility:visible; }
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(420px, 92vw); background:var(--surface); z-index:600;
  display:flex; flex-direction:column; transform:translateX(100%); transition:transform var(--med); box-shadow:var(--shadow-lg);
}
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:1px solid var(--border); }
.drawer-head h2{ font-size:1.15rem; }
.drawer-body{ flex:1; overflow-y:auto; padding:18px 22px; }
.drawer-foot{ padding:20px 22px; border-top:1px solid var(--border); }

.drawer-item{ display:flex; gap:14px; padding-block:16px; border-bottom:1px solid var(--cream-200); }
.drawer-item:first-child{ padding-top:0; }
.drawer-item img{ width:72px; height:72px; border-radius:var(--radius-sm); object-fit:cover; background:var(--cream-200); flex:none; }
.drawer-item .di-info{ flex:1; min-width:0; }
.drawer-item .di-name{ font-weight:600; font-size:.92rem; margin-bottom:2px; }
.drawer-item .di-unit{ font-size:.78rem; color:var(--text-faint); }
.drawer-item .di-row{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.drawer-item .di-price{ font-weight:700; color:var(--olive-800); }
.drawer-item .di-remove{ color:var(--text-faint); transition:color var(--fast); }
.drawer-item .di-remove:hover{ color:var(--terracotta-700); }
.drawer-item .di-remove svg{ width:16px; height:16px; }
.drawer-item .qty-stepper{ transform:scale(.85); transform-origin:left center; }
.drawer-item .qty-stepper button{ width:30px; height:30px; }
.drawer-item .qty-stepper input{ width:32px; }

.drawer-empty{ text-align:center; padding-block:60px 30px; color:var(--text-muted); }
.drawer-empty svg{ width:56px; height:56px; margin:0 auto 18px; color:var(--olive-200); }
.drawer-summary-row{ display:flex; justify-content:space-between; font-size:.92rem; padding-block:5px; }
.drawer-summary-row.total{ font-weight:700; font-size:1.05rem; color:var(--olive-900); padding-top:10px; margin-top:6px; border-top:1px dashed var(--border); }

/* =================================================================
   Hero — compact and product-forward: headline + search on the left,
   a live 2x2 grid of actual deal products on the right. No empty
   placeholder real estate above the fold.
   ================================================================= */
.hero{ position:relative; padding-block:20px clamp(24px,3vw,36px); overflow:hidden; }
.hero-blob{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.35; z-index:0; pointer-events:none; }
.hero-blob.b1{ width:460px; height:460px; background:var(--olive-300); top:-220px; right:-140px; animation:floatSlow 9s ease-in-out infinite; }
.hero-blob.b2{ width:340px; height:340px; background:var(--gold-100); bottom:-180px; left:-120px; animation:floatSlow 11s ease-in-out infinite reverse; }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1fr 1.05fr; gap:36px; align-items:start; padding-top:28px; }
.hero-grid > *{ min-width:0; }
.hero-eyebrow-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.hero-title{ font-size:clamp(2rem, 3.2vw, 3.1rem); margin-top:12px; color:var(--olive-950); line-height:1.06; }
.hero-title em{ font-style:italic; color:var(--cta); }
.hero-subtitle{ margin-top:12px; font-size:1rem; color:var(--text-muted); max-width:460px; }
.hero-search{
  display:flex; align-items:center; gap:8px; margin-top:20px; background:var(--surface); border-radius:var(--radius-full);
  box-shadow:var(--shadow-md); padding:6px 6px 6px 20px; max-width:460px; border:1.5px solid var(--border);
}
.hero-search input{ flex:1; min-width:0; border:none; background:transparent; font-size:.94rem; padding:8px 0; }
.hero-search input:focus{ outline:none; }
.hero-search button{
  background:var(--cta); color:var(--white); border-radius:var(--radius-full); padding:11px 20px; font-weight:700;
  font-size:.88rem; display:flex; align-items:center; gap:6px; flex:none; transition:background-color var(--fast);
}
.hero-search button:hover{ background:var(--cta-hover); }
.hero-search button svg{ width:15px; height:15px; }
.hero-chips-row{ display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; }
.hero-chip{
  display:flex; align-items:center; gap:6px; font-size:.78rem; font-weight:700; color:var(--olive-800);
  background:var(--olive-100); padding:7px 13px; border-radius:var(--radius-full);
}
.hero-chip svg{ width:14px; height:14px; }

.hero-trending{ display:flex; align-items:center; gap:9px; margin-top:26px; flex-wrap:wrap; }
.trending-label{ font-size:.78rem; font-weight:700; color:var(--text-faint); text-transform:uppercase; letter-spacing:.04em; }
.trending-tag{
  font-size:.82rem; font-weight:600; color:var(--olive-800); padding:6px 14px; border-radius:var(--radius-full);
  border:1.5px solid var(--olive-200); transition:background-color var(--fast), border-color var(--fast);
}
.trending-tag:hover{ background:var(--olive-100); border-color:var(--olive-400); }

/* Hero deal tiles use the shared product-card component but shorter —
   a full 1:1 product image here would make this column roughly 2x the
   height of the hero text, leaving a huge empty gap beside it. */
/* Horizontal rows with an explicitly-square thumbnail (not aspect-ratio
   on a variable-width box) so the placeholder image is never cropped
   into a mismatched shape — width and height are pinned equal, so a
   square source image maps onto it with zero cropping either way. */
.hero-deals{ position:relative; display:flex; flex-direction:column; gap:10px; }
.hero-deal-tile{
  display:flex; align-items:center; gap:14px; background:var(--surface); border-radius:var(--radius-md);
  padding:10px; box-shadow:var(--shadow-sm); transition:transform var(--fast), box-shadow var(--fast), opacity .25s var(--ease); cursor:pointer;
}
.hero-deal-tile:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.hdt-media{ position:relative; width:76px; height:76px; border-radius:var(--radius-sm); overflow:hidden; flex:none; background:var(--cream-200); }
.hdt-media img{ width:100%; height:100%; object-fit:cover; }
.hdt-media .badge{ position:absolute; top:3px; left:3px; font-size:.58rem; padding:3px 6px; }
.hdt-info{ flex:1; min-width:0; }
.hdt-name{ font-weight:700; font-size:.88rem; color:var(--ink-900); display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hdt-rating{ display:flex; align-items:center; gap:5px; font-size:.72rem; color:var(--text-muted); margin-top:3px; }
.hdt-rating .stars svg{ width:10px; height:10px; }
.hdt-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:5px; gap:8px; }
.hdt-price{ display:flex; align-items:baseline; gap:6px; }
.hdt-compare{ font-size:.72rem; color:var(--text-faint); text-decoration:line-through; }
.hdt-sale-price{ font-weight:800; color:var(--red-700); font-family:var(--font-display); font-size:1rem; }
.hdt-price-plain{ font-weight:800; color:var(--olive-900); font-family:var(--font-display); font-size:1rem; }
.hero-deal-tile .pc-add{ width:34px; height:34px; }
.hero-deal-tile .pc-add svg{ width:15px; height:15px; }

/* =================================================================
   Category chip strip — dense, colorful, one-line jump to any category.
   ================================================================= */
/* Horizontal scroll, but a normal vertical mouse-wheel scrolls it too (see
   initChipStrip in main.js), which eases toward the target itself via
   requestAnimationFrame rather than jumping instantly — scroll-behavior:
   smooth is deliberately NOT used here since it also applies to the
   animation loop's own per-frame scrollLeft writes and fights with them.
   The right-edge fade is a visual hint that there's more beyond the fold. */
.chip-strip{
  display:flex; gap:10px; overflow-x:auto; padding-bottom:10px;
  -webkit-mask-image:linear-gradient(to right, black calc(100% - 56px), transparent 100%);
  mask-image:linear-gradient(to right, black calc(100% - 56px), transparent 100%);
}
.chip-strip.at-end{ -webkit-mask-image:none; mask-image:none; }
.cat-chip{
  display:flex; align-items:center; gap:9px; flex:none; padding:10px 18px 10px 12px; border-radius:var(--radius-full);
  background:var(--surface); box-shadow:var(--shadow-sm); font-weight:700; font-size:.86rem; color:var(--ink-900);
  transition:transform var(--fast), box-shadow var(--fast);
}
.cat-chip:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.cat-chip .chip-icon{
  width:30px; height:30px; border-radius:99px; display:flex; align-items:center; justify-content:center; color:var(--white);
  flex:none;
}
.cat-chip .chip-icon svg{ width:15px; height:15px; }

/* =================================================================
   Stats strip — compact colorful icon row, not a big white slab.
   ================================================================= */
.stats-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stat-cell{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:var(--radius-md); background:var(--surface);
  box-shadow:var(--shadow-sm);
}
.stat-cell .stat-icon{
  width:38px; height:38px; border-radius:99px; display:flex; align-items:center; justify-content:center; color:var(--white); flex:none;
}
.stat-cell .stat-icon svg{ width:18px; height:18px; }
.stat-cell:nth-child(1) .stat-icon{ background:var(--cta); }
.stat-cell:nth-child(2) .stat-icon{ background:var(--teal-700); }
.stat-cell:nth-child(3) .stat-icon{ background:var(--gold-500); }
.stat-cell:nth-child(4) .stat-icon{ background:var(--red-600); }
.stat-num{ font-family:var(--font-display); font-size:1.3rem; font-weight:700; color:var(--olive-900); line-height:1.1; }
.stat-label{ font-size:.76rem; color:var(--text-muted); }

/* =================================================================
   Category cards — denser, each tinted a distinct brand color so the
   grid reads as 8 different departments, not 8 identical gray boxes.
   ================================================================= */
.cat-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; }
.cat-toggle-row{ text-align:center; margin-top:20px; }
.cat-toggle-row svg{ transition:transform var(--fast); }
.cat-toggle-row button.expanded svg{ transform:rotate(180deg); }
.cat-card{
  position:relative; border-radius:var(--radius-md); overflow:hidden; background:var(--surface);
  box-shadow:var(--shadow-sm); transition:transform var(--med), box-shadow var(--med), opacity .25s var(--ease); display:block;
}
.cat-card:hover{ transform:translateY(-5px) scale(1.01); box-shadow:var(--shadow-lg); }
.cat-card .cc-media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--olive-100); }
.cat-card .cc-media img{ width:100%; height:100%; object-fit:cover; mix-blend-mode:multiply; opacity:.85; transition:transform var(--slow); }
.cat-card:hover .cc-media img{ transform:scale(1.08); }
.cat-card .cc-media::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(155deg, var(--tint-soft), rgba(10,10,5,.65) 100%);
}
.cat-card .cc-icon{
  position:absolute; top:10px; left:10px; z-index:1; width:32px; height:32px; border-radius:99px;
  background:rgba(255,255,255,.92); color:var(--tint); display:flex; align-items:center; justify-content:center;
}
.cat-card .cc-icon svg{ width:16px; height:16px; }
.cat-card .cc-text{ position:absolute; left:12px; right:12px; bottom:10px; z-index:1; color:var(--white); }
.cat-card .cc-text h3{ font-size:.98rem; }
.cat-card .cc-text p{ font-size:.72rem; opacity:.92; margin-top:1px; }

/* =================================================================
   Product cards + grid — dense, always-visible Add button (works on
   touch, not just hover), ratings on every card, sale ribbons where
   a deal applies.
   ================================================================= */
.product-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.product-card{
  display:flex; flex-direction:column; background:var(--surface); border-radius:var(--radius-md);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:transform var(--med), box-shadow var(--med), opacity .25s var(--ease);
  position:relative; cursor:pointer;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.pc-media{ position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--cream-200); display:block; }
.pc-media img{ width:100%; height:100%; object-fit:cover; transition:transform var(--slow); }
.product-card:hover .pc-media img{ transform:scale(1.06); }
.pc-badges{ position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:5px; z-index:1; align-items:flex-start; }
.badge-sale{ background:var(--red-600); color:var(--white); }
.pc-body{ padding:10px 12px 12px; display:flex; flex-direction:column; gap:4px; flex:1; }
.pc-cat{ font-size:.66rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--text-faint); }
.pc-name{ font-size:.9rem; font-weight:700; color:var(--ink-900); line-height:1.25; }
.pc-rating{ display:flex; align-items:center; gap:5px; font-size:.72rem; color:var(--text-muted); }
.pc-rating .stars svg{ width:11px; height:11px; }
.pc-rating .pc-rcount{ color:var(--text-faint); }
.pc-foot{ margin-top:auto; padding-top:6px; display:flex; align-items:flex-end; justify-content:space-between; gap:6px; }
.pc-price-block{ display:flex; flex-direction:column; line-height:1.2; }
.pc-compare{ font-size:.7rem; color:var(--text-faint); text-decoration:line-through; }
.pc-price{ font-weight:800; color:var(--olive-900); font-family:var(--font-display); font-size:1.1rem; }
.pc-price.sale{ color:var(--red-700); }
.pc-price .unit{ font-family:var(--font-body); font-weight:500; font-size:.68rem; color:var(--text-faint); margin-left:3px; }
.pc-add{
  width:36px; height:36px; border-radius:99px; background:var(--cta); color:var(--white); flex:none;
  display:flex; align-items:center; justify-content:center; transition:background-color var(--fast), transform var(--fast);
  box-shadow:var(--shadow-sm);
}
.pc-add:hover{ background:var(--cta-hover); transform:scale(1.08); }
.pc-add svg{ width:16px; height:16px; }
.pc-add.added{ background:var(--olive-950); }

/* =================================================================
   Promise banner — one dense colored strip, not a half-empty 2-column
   section.
   ================================================================= */
.promise-banner{
  background:linear-gradient(120deg, var(--olive-100), var(--gold-100));
  border-radius:var(--radius-lg); padding:26px clamp(20px,4vw,40px);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.promise-banner-text{ max-width:460px; }
.promise-banner-text h2{ font-size:clamp(1.2rem,2vw,1.6rem); color:var(--olive-950); }
.promise-banner-text p{ margin-top:6px; color:var(--text-muted); font-size:.92rem; }
.promise-points{ display:flex; gap:20px; flex-wrap:wrap; }
.promise-point{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:.86rem; color:var(--olive-900); }
.promise-point .pp-icon{
  width:36px; height:36px; border-radius:99px; background:var(--surface); color:var(--olive-700); box-shadow:var(--shadow-sm);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.promise-point .pp-icon svg{ width:17px; height:17px; }
.promise-demo-note{ margin-top:16px; text-align:center; font-size:.82rem; color:var(--text-faint); }
.promise-demo-note a{ color:var(--brand); font-weight:600; }
.promise-demo-note a:hover{ text-decoration:underline; }

/* =================================================================
   Testimonials
   ================================================================= */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.testimonial-card{
  background:var(--surface); border-radius:var(--radius-md); padding:20px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px; transition:transform var(--med), box-shadow var(--med), opacity .25s var(--ease);
}
.testimonial-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.testimonial-quote{ font-family:var(--font-display); font-size:1rem; color:var(--olive-950); line-height:1.4; }
.testimonial-who{ display:flex; align-items:center; gap:10px; margin-top:auto; }
.testimonial-avatar{ width:38px; height:38px; border-radius:99px; object-fit:cover; background:var(--olive-100); flex:none; }
.testimonial-name{ font-weight:700; font-size:.86rem; }
.testimonial-role{ font-size:.74rem; color:var(--text-faint); }

/* =================================================================
   Newsletter
   ================================================================= */
.newsletter{
  background:linear-gradient(135deg, var(--olive-800), var(--olive-950));
  border-radius:var(--radius-lg); padding:clamp(24px,4vw,36px); color:var(--white);
  display:grid; grid-template-columns:1.1fr 1fr; gap:24px; align-items:center; position:relative; overflow:hidden;
}
.newsletter::before{
  content:''; position:absolute; width:360px; height:360px; border-radius:50%; background:rgba(214,61,61,.22);
  filter:blur(50px); top:-140px; right:-80px;
}
.newsletter h2{ font-size:clamp(1.25rem,2.4vw,1.7rem); position:relative; }
.newsletter p{ margin-top:8px; color:var(--olive-100); position:relative; max-width:420px; font-size:.92rem; }
.newsletter-form{ display:flex; gap:10px; position:relative; }
.newsletter-form input{
  flex:1; padding:12px 18px; border-radius:var(--radius-full); border:none; background:rgba(255,255,255,.12);
  color:var(--white);
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.6); }
.newsletter-form input:focus{ outline:2px solid var(--brand); background:rgba(255,255,255,.18); }
.newsletter-success{ display:none; align-items:center; gap:10px; font-weight:600; color:var(--olive-200); }
.newsletter-success.show{ display:flex; animation:fadeUp .5s var(--ease); }
.newsletter-success svg{ width:20px; height:20px; }
.newsletter.submitted .newsletter-form{ display:none; }

/* =================================================================
   Footer — short and utilitarian, not a fourth scroll of the page.
   ================================================================= */
footer.site-footer{ background:var(--olive-950); color:var(--olive-200); margin-top:36px; }
.footer-top{ padding-block:32px; display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:28px; }
.footer-brand img{ height:26px; filter:brightness(0) invert(1); opacity:.95; }
.footer-brand p{ margin-top:10px; font-size:.8rem; line-height:1.5; color:var(--olive-300,#9aa583); max-width:320px; }
.footer-social{ display:flex; gap:8px; margin-top:12px; }
.footer-social a{
  width:30px; height:30px; border-radius:99px; background:rgba(255,255,255,.06); display:flex;
  align-items:center; justify-content:center; transition:background-color var(--fast), transform var(--fast);
}
.footer-social a:hover{ background:var(--brand); color:var(--olive-950); transform:translateY(-2px); }
.footer-social svg{ width:14px; height:14px; }
.footer-col summary{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--white); margin-bottom:10px;
  cursor:default; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.footer-col summary::-webkit-details-marker{ display:none; }
.footer-col summary::marker{ content:""; }
.footer-col .footer-chev{ display:none; }
.footer-col.no-toggle summary{ pointer-events:none; }
.footer-col ul{ display:flex; flex-direction:column; gap:8px; }
.footer-col a{ font-size:.82rem; color:var(--olive-300,#9aa583); transition:color var(--fast); }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.09); padding-block:14px; display:flex; justify-content:space-between;
  align-items:center; gap:16px; flex-wrap:wrap; font-size:.74rem; color:var(--olive-300,#8b9678);
}
.footer-disclaimer{ max-width:640px; line-height:1.5; }
.footer-disclaimer a{ color:var(--brand); font-weight:600; }
.footer-disclaimer a:hover{ text-decoration:underline; }
.footer-payments{ display:flex; gap:6px; }
.footer-payments span{
  padding:4px 8px; border-radius:5px; background:rgba(255,255,255,.08); font-size:.64rem; font-weight:700;
  letter-spacing:.03em;
}

/* =================================================================
   Breadcrumbs + page banner
   ================================================================= */
.breadcrumbs{ display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--text-faint); flex-wrap:wrap; }
.breadcrumbs a:hover{ color:var(--olive-700); }
.breadcrumbs svg{ width:13px; height:13px; }

.page-banner{
  padding-block:40px; text-align:center; position:relative; overflow:hidden;
}
.page-banner .eyebrow{ justify-content:center; }
.page-banner h1{ font-size:clamp(1.8rem,4vw,2.6rem); margin-top:10px; }
.page-banner p{ margin-top:12px; color:var(--text-muted); max-width:560px; margin-inline:auto; }

.category-banner-media{
  border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:2.4/1; box-shadow:var(--shadow-md); margin-bottom:8px;
}
.category-banner-media img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:640px){ .category-banner-media{ aspect-ratio:4/3; } }

/* =================================================================
   Product detail page
   ================================================================= */
.product-layout{ display:grid; grid-template-columns:1fr 1fr; gap:52px; }
.gallery-main{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--cream-200);
  aspect-ratio:1/1; box-shadow:var(--shadow-sm);
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:10px; margin-top:12px; }
.gallery-thumbs button{
  width:74px; height:74px; border-radius:var(--radius-sm); overflow:hidden; border:2px solid transparent;
  transition:border-color var(--fast); flex:none; background:var(--cream-200);
}
.gallery-thumbs button.active{ border-color:var(--olive-600); }
.gallery-thumbs img{ width:100%; height:100%; object-fit:cover; }

.pd-info{ display:flex; flex-direction:column; }
.pd-badges{ display:flex; gap:8px; margin-bottom:12px; }
.pd-title{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
.pd-rating-row{ display:flex; align-items:center; gap:12px; margin-top:10px; }
.pd-rating-row a{ color:var(--text-faint); text-decoration:underline; text-underline-offset:2px; }
.pd-price-row{ display:flex; align-items:baseline; gap:10px; margin-top:18px; }
.pd-price{ font-family:var(--font-display); font-size:2rem; font-weight:700; color:var(--olive-800); }
.pd-unit{ color:var(--text-faint); font-size:.9rem; }
.pd-tagline{ margin-top:10px; color:var(--text-muted); font-size:1.02rem; }
.pd-stock-row{ margin-top:14px; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.pd-sold{ margin-top:8px; }

.pd-buybox{
  margin-top:26px; padding-top:24px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:16px;
}
.pd-qty-row{ display:flex; align-items:center; gap:16px; }
.pd-qty-row .label{ font-weight:600; font-size:.88rem; }
.pd-actions{ display:flex; gap:12px; }
.pd-actions .btn{ flex:1; }

.trust-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; }
.trust-item{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:14px 8px;
  background:var(--cream-50); border-radius:var(--radius-md); font-size:.74rem; color:var(--text-muted);
}
.trust-item svg{ width:22px; height:22px; color:var(--olive-600); }

.sticky-add{
  position:fixed; left:0; right:0; bottom:0; z-index:300; background:var(--surface); border-top:1px solid var(--border);
  box-shadow:0 -8px 24px rgba(38,45,21,.1); padding:12px 0; transform:translateY(110%); transition:transform var(--med);
}
.sticky-add.show{ transform:translateY(0); }
.sticky-add .container{ display:flex; align-items:center; gap:18px; }
.sticky-add img{ width:46px; height:46px; border-radius:var(--radius-sm); object-fit:cover; }
.sticky-add .sa-name{ font-weight:600; font-size:.9rem; flex:1; }
.sticky-add .sa-price{ font-weight:700; color:var(--olive-800); }

.pd-tabs{ margin-top:64px; }
.tab-list{ display:flex; gap:8px; border-bottom:1px solid var(--border); }
.tab-btn{
  padding:12px 6px; margin-right:22px; font-weight:600; color:var(--text-faint); border-bottom:2px solid transparent;
  transition:color var(--fast), border-color var(--fast);
}
.tab-btn.active{ color:var(--olive-800); border-color:var(--olive-600); }
.tab-panel{ display:none; padding-block:28px; max-width:760px; }
.tab-panel.active{ display:block; animation:fadeUp .4s var(--ease); }
.tab-panel p{ color:var(--text-muted); }
.tab-panel p + p{ margin-top:12px; }

.review-item{ padding-block:20px; border-bottom:1px solid var(--cream-200); }
.review-item:first-child{ padding-top:0; }
.review-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.review-name{ font-weight:700; font-size:.9rem; }
.review-date{ font-size:.78rem; color:var(--text-faint); }
.review-text{ color:var(--text-muted); }

.related-section{ margin-top:70px; }

/* =================================================================
   Back to top
   ================================================================= */
.back-to-top{
  position:fixed; right:22px; bottom:22px; z-index:250; width:46px; height:46px; border-radius:99px;
  background:var(--olive-900); color:var(--white); display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px); box-shadow:var(--shadow-md);
  transition:opacity var(--fast), transform var(--fast), visibility var(--fast), background-color var(--fast);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--olive-700); }
.back-to-top svg{ width:19px; height:19px; }

/* =================================================================
   Shop page (filters / sort / grid)
   ================================================================= */
.shop-layout{ display:grid; grid-template-columns:240px 1fr; gap:36px; align-items:start; }
.filter-panel{
  position:sticky; top:calc(var(--header-h) + 20px); background:var(--surface); border-radius:var(--radius-lg);
  padding:22px; box-shadow:var(--shadow-sm);
}
.filter-panel h3{ font-size:.95rem; margin-bottom:14px; }
.filter-option{ display:flex; align-items:center; gap:10px; padding:8px 0; font-size:.88rem; cursor:pointer; }
.filter-option input{ accent-color:var(--olive-600); width:16px; height:16px; }
.filter-option .fo-count{ margin-left:auto; color:var(--text-faint); font-size:.78rem; }

.shop-toolbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; gap:16px; flex-wrap:wrap; }
.shop-toolbar .results-count{ font-size:.9rem; color:var(--text-muted); }
.sort-select{
  display:flex; align-items:center; gap:8px; font-size:.86rem; font-weight:600;
}
.sort-select select{
  padding:9px 14px; border-radius:var(--radius-full); border:1.5px solid var(--border); background:var(--surface);
}
.mobile-filter-toggle{ display:none; }
.empty-state{ text-align:center; padding-block:70px; color:var(--text-muted); }
.empty-state svg{ width:60px; height:60px; margin:0 auto 18px; color:var(--olive-200); }

/* =================================================================
   Cart page
   ================================================================= */
.cart-layout{ display:grid; grid-template-columns:1.7fr 1fr; gap:40px; align-items:start; }
.cart-layout > *{ min-width:0; }
.cart-table-head{
  display:grid; grid-template-columns:3fr 1fr 1fr 1fr auto; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--border);
  font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); font-weight:700;
}
.cart-row{
  display:grid; grid-template-columns:3fr 1fr 1fr 1fr auto; gap:12px; align-items:center; padding-block:20px;
  border-bottom:1px solid var(--cream-200);
}
.cart-row .cr-product{ display:flex; gap:14px; align-items:center; }
.cart-row img{ width:80px; height:80px; border-radius:var(--radius-sm); object-fit:cover; background:var(--cream-200); }
.cart-row .cr-name{ font-weight:600; }
.cart-row .cr-unit{ font-size:.8rem; color:var(--text-faint); margin-top:2px; }
.cart-row .cr-remove{ color:var(--text-faint); transition:color var(--fast); }
.cart-row .cr-remove:hover{ color:var(--terracotta-700); }
.cart-row .cr-remove svg{ width:18px; height:18px; }
.cart-row .cr-total{ font-weight:700; color:var(--olive-800); }

.summary-card{
  background:var(--surface); border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow-sm); position:sticky;
  top:calc(var(--header-h) + 20px);
}
.summary-row{ display:flex; justify-content:space-between; padding-block:8px; font-size:.92rem; color:var(--text-muted); }
.summary-row.total{ font-weight:700; font-size:1.15rem; color:var(--olive-900); border-top:1px dashed var(--border); margin-top:8px; padding-top:16px; }
.promo-row{ display:flex; gap:8px; margin-block:16px; }
.promo-row input{ flex:1; min-width:0; padding:11px 14px; border-radius:var(--radius-sm); border:1.5px solid var(--border); }

.cart-empty{ text-align:center; padding-block:90px; }
.cart-empty svg{ width:70px; height:70px; margin:0 auto 22px; color:var(--olive-200); }
.cart-empty h2{ font-size:1.4rem; margin-bottom:10px; }
.cart-empty p{ color:var(--text-muted); margin-bottom:24px; }

/* =================================================================
   Checkout
   ================================================================= */
.checkout-layout{ display:grid; grid-template-columns:1.5fr 1fr; gap:44px; align-items:start; }
.checkout-layout > *{ min-width:0; }
.checkout-section{ background:var(--surface); border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow-sm); margin-bottom:20px; }
.checkout-section h2{ font-size:1.05rem; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.checkout-section h2 .step-num{
  width:26px; height:26px; border-radius:99px; background:var(--olive-100); color:var(--olive-700); font-size:.8rem;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-body); font-weight:700;
}
.summary-line-item{ display:flex; gap:12px; padding-block:12px; border-bottom:1px solid var(--cream-200); font-size:.86rem; }
.summary-line-item img{ width:52px; height:52px; border-radius:var(--radius-sm); object-fit:cover; background:var(--cream-200); }
.summary-line-item .sli-name{ font-weight:600; }
.summary-line-item .sli-qty{ color:var(--text-faint); }
.summary-line-item .sli-price{ margin-left:auto; font-weight:700; align-self:center; }
.checkout-note{
  display:flex; gap:10px; align-items:flex-start; background:var(--olive-50); color:var(--olive-800);
  padding:14px 16px; border-radius:var(--radius-md); font-size:.83rem; margin-top:14px;
}
.checkout-note svg{ width:17px; height:17px; flex:none; margin-top:1px; }

/* =================================================================
   Info page (FAQ / shipping / returns / contact)
   ================================================================= */
.info-nav{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.info-nav a{
  padding:9px 18px; border-radius:var(--radius-full); background:var(--olive-50); font-weight:600; font-size:.85rem;
  transition:background-color var(--fast);
}
.info-nav a:hover{ background:var(--olive-100); }
.info-block{ margin-bottom:56px; scroll-margin-top:calc(var(--header-h) + 30px); }
.info-block h2{ font-size:1.4rem; margin-bottom:18px; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; padding:18px 4px; text-align:left;
  font-weight:600; font-size:1rem;
}
.faq-q svg{ width:18px; height:18px; transition:transform var(--fast); flex:none; color:var(--olive-600); }
.faq-item.open .faq-q svg{ transform:rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height var(--med); color:var(--text-muted); }
.faq-a p{ padding:0 4px 18px; }

/* =================================================================
   404
   ================================================================= */
.notfound{ text-align:center; padding-block:100px; }
.notfound .nf-num{ font-family:var(--font-display); font-size:clamp(4rem,12vw,7rem); color:var(--olive-500); font-weight:700; }
.notfound h1{ font-size:1.7rem; margin-top:6px; }
.notfound p{ color:var(--text-muted); margin-top:12px; margin-bottom:28px; }

/* =================================================================
   Misc small sections referenced across pages
   ================================================================= */
.recently-viewed{ margin-top:70px; }
.newsletter-wrap{ margin-top:0; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width:1180px){
  .cat-grid{ grid-template-columns:repeat(3,1fr); }
  .product-grid{ grid-template-columns:repeat(3,1fr); }
  .mega{ width:min(640px,86vw); }
  .mega-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:960px){
  :root{ --header-h:66px; }
  .main-nav, .header-tools .search-wrap, .header-tools #lang-toggle{ display:none; }
  .hamburger{ display:flex; flex-direction:column; }
  .header-inner{ grid-template-columns:auto 1fr auto; justify-content:space-between; gap:12px; padding-inline:18px; }
  .header-tools{ gap:2px; }
  .hero-grid{ grid-template-columns:1fr; gap:22px; }
  .stats-strip{ grid-template-columns:repeat(2,1fr); }
  .promise-banner{ flex-direction:column; align-items:flex-start; }
  .testimonial-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:32px; }
  .newsletter{ grid-template-columns:1fr; }
  .product-layout{ grid-template-columns:1fr; gap:30px; }
  .shop-layout{ grid-template-columns:1fr; }
  .filter-panel{
    position:fixed; inset:0 0 0 auto; height:100%; width:min(320px,88vw); z-index:520; border-radius:0;
    transform:translateX(100%); transition:transform var(--med); overflow-y:auto;
  }
  .filter-panel.open{ transform:translateX(0); box-shadow:var(--shadow-lg); }
  .mobile-filter-toggle{ display:inline-flex; }
  .cart-layout, .checkout-layout{ grid-template-columns:1fr; }
  .summary-card{ position:static; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .trust-row{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:640px){
  .container{ padding-inline:18px; }
  .announce{ font-size:.74rem; }
  .hdt-media{ width:60px; height:60px; }
  .hero-title{ font-size:1.7rem; }
  .hero-search{ max-width:none; }
  .hero-search button{ padding:11px 14px; }
  .hero-search button span{ display:none; }
  .hero-chips-row, .hero-trending{
    flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none;
    -webkit-mask-image:linear-gradient(to right, black calc(100% - 32px), transparent 100%);
    mask-image:linear-gradient(to right, black calc(100% - 32px), transparent 100%);
  }
  .hero-chips-row::-webkit-scrollbar, .hero-trending::-webkit-scrollbar{ display:none; }
  .hero-chip, .trending-label, .trending-tag{ flex:none; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .pc-body{ padding:9px 10px 11px; }
  .pc-name{ font-size:.84rem; }
  .pc-price{ font-size:.98rem; }
  .footer-top{ grid-template-columns:1fr; gap:20px; padding-block:24px; text-align:left; }
  .footer-col{ border-top:1px solid rgba(255,255,255,.1); padding-block:14px; }
  .footer-col summary{ cursor:pointer; margin-bottom:0; padding-block:2px; }
  .footer-col .footer-chev{ display:block; flex:none; transition:transform var(--fast); }
  .footer-col .footer-chev svg{ width:16px; height:16px; display:block; }
  .footer-col[open] .footer-chev{ transform:rotate(180deg); }
  .footer-col ul{ margin-top:14px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .newsletter-form{ flex-direction:column; }
  .stats-strip{ grid-template-columns:1fr 1fr; }
  .promise-banner{ padding:20px; }
  .promise-points{ gap:14px; }
  .trust-row{ grid-template-columns:1fr 1fr; }
  .trust-item:nth-child(3){ grid-column:span 2; }
  .cart-table-head{ display:none; }
  .cart-row{ grid-template-columns:1fr; gap:10px; position:relative; }
  .cart-row .cr-qty, .cart-row .cr-price{ display:flex; justify-content:space-between; }
  .cart-row .cr-qty::before{ content:'Qty'; color:var(--text-faint); font-size:.78rem; }
  .cart-row .cr-price::before{ content:'Price'; color:var(--text-faint); font-size:.78rem; }
  .cart-row .cr-total{ display:flex; justify-content:space-between; }
  .cart-row .cr-remove{ position:absolute; top:0; right:0; }
  .field-row, .field-row.cols-3{ grid-template-columns:1fr; }
  .pd-actions{ flex-direction:column; }
  .gallery-thumbs button{ width:60px; height:60px; }
  .mega{ width:92vw; left:4vw; transform:translateX(0) translateY(6px); }
  li.has-dropdown:hover .mega, li.has-dropdown:focus-within .mega{ transform:translateX(0) translateY(0); }
  .mega-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:420px){
  .cat-grid, .product-grid{ grid-template-columns:1fr 1fr; }
}

