/* ==========================================================================
   NUTRIVA — theme.css  ·  "Warm Natural" (2026 refresh) · MOBILE FIRST
   Loads after modern.css and before festive.css on every page.

   How this file is organised
   - Base rules are written for phones (≈360–640px).
   - Larger screens are layered on with min-width queries only:
       sm  ≥ 641px   large phones / small tablets
       md  ≥ 861px   tablets (bottom bar goes away)
       lg  ≥ 1025px  laptops (desktop menu appears)
       xl  ≥ 1201px  wide screens
   - Hover effects live inside (hover:hover) so touch screens never get
     "stuck" hover states.

   Direction: warm cream canvas, olive actions, amber only for offers,
   Fraunces headings, centred ornament titles, pill buttons, wooden-bowl art
   generated by tools/gen_art.py.
   Remove this file from a page to get the previous (modern.css) look back.
   ========================================================================== */

/* ================================================================ tokens */
:root{
  --primary:#3F5A2A;          /* olive: buttons, dark bands */
  --primary-deep:#2E4420;     /* footer, hover */
  --primary-soft:#EEF1E2;
  --secondary:#4E7A2C;        /* savings, success */
  --secondary-soft:#EAF0DD;
  --accent:#C8762C;           /* offers, highlights */
  --accent-ink:#9C5617;       /* accent at text sizes */
  --accent-soft:#F8EAD6;
  --background:#FBF6EC;       /* cream page */
  --surface:#FFFDF8;
  --text:#2A281E;
  --heading:#2B3A1E;
  --muted:#6C6655;
  --border:#ECE2CF;
  --border-strong:#D9C8A8;
  --sand:#F5EBDA;             /* card wells, alternate sections */
  --sage:#EDEFD8;             /* trust band, side cards */
  --star:#E4A033;
  --success:#4E7A2C;
  --eyebrow:#5B7A35;

  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --display:"Fraunces",Georgia,serif;

  --r-sm:10px; --r-md:16px; --r-lg:20px;
  --shadow-1:0 1px 2px rgba(64,45,20,.05);
  --shadow-2:0 10px 30px rgba(64,45,20,.08);
  --shadow-3:0 24px 60px rgba(64,45,20,.16);
  --ring:0 0 0 3px rgba(63,90,42,.28);

  --gutter:16px;
  --bottom-bar:64px;          /* height of the phone bottom menu */
  --hdr:60px;                 /* real header height, kept current by script.js */
}

/* Diwali: festive.css swaps --primary to maroon; keep the rest in step */
html[data-season="festive"]{--heading:#3A1219;--primary-deep:#35101A;--eyebrow:#9A5B12;--sage:#F7EAD5}
html[data-season="festive"] .header .logo .logo__mark,
html[data-season="festive"] .mobile-nav .logo .logo__mark{background:url("assets/img/logo-leaf.svg") center/contain no-repeat;box-shadow:none}
html[data-season="festive"] .footer__brand .logo__mark{background-color:transparent;box-shadow:none}
html[data-season="festive"] .hero__media-frame{box-shadow:none}

/* ================================================================ base */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--background);color:var(--text)}
a,button,summary,label{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
::selection{background:var(--primary);color:#fff}
:focus-visible{outline-color:var(--primary)}
/* 16px stops iOS Safari zooming into form fields */
.input,textarea.input,select.input,input[type="search"]{font-size:16px}

/* ------------------------------------------------------------------ type */
h1,h2,h3,h4,h5{font-family:var(--serif);font-weight:500;letter-spacing:-.01em;color:var(--heading);
  font-optical-sizing:auto;font-variation-settings:"SOFT" 30}
h1,.h1{font-size:clamp(2.1rem,6.4vw,4.3rem);font-weight:500;letter-spacing:-.02em;line-height:1.06}
h2,.h2{font-size:clamp(1.55rem,4.6vw,2.6rem);font-weight:500;letter-spacing:-.015em}
h3,.h3{font-size:clamp(1.05rem,1.4vw,1.32rem);font-weight:600;letter-spacing:-.005em}
h2 em,h3 em{font-style:italic;color:var(--primary)}
.hero h1 em,.corp-hero h1 em,.lp-hero h1 em{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--primary)}

.eyebrow{font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--eyebrow);margin-bottom:10px}
.section-head .eyebrow{color:var(--eyebrow)}
.section--ink .section-head .eyebrow,.flash .eyebrow{color:#D9C78E}

/* section heads: no hairline row */
.section-head{border-bottom:0;padding-bottom:0;margin-bottom:22px}
.section-head p:not(.eyebrow){color:var(--muted);font-size:.95rem}

/* centred ornament title: hairline — Title — hairline */
.section-head--center{display:block;text-align:center;max-width:760px;margin-inline:auto}
.section-head--center>.eyebrow{justify-content:center}
.section-head--center>p:not(.eyebrow){margin:10px auto 0;max-width:56ch}
.section-head--center>h2{position:relative;display:inline-block;padding-inline:4px}
.section-head--center>h2::before,.section-head--center>h2::after{content:"";position:absolute;top:56%;width:min(40px,8vw);height:1px}
.section-head--center>h2::before{right:calc(100% + 12px);background:linear-gradient(90deg,transparent,var(--border-strong))}
.section-head--center>h2::after{left:calc(100% + 12px);background:linear-gradient(90deg,var(--border-strong),transparent)}
.section--ink .section-head--center>h2::before,.section--ink .section-head--center>h2::after{background:rgba(255,255,255,.25)}
.section-foot{display:flex;justify-content:center;margin-top:24px}

.link-arrow{color:var(--primary);border-color:currentColor}

/* --------------------------------------------------------------- buttons */
.btn{border-radius:999px;font-weight:600;letter-spacing:0;padding:12px 22px;gap:8px;min-height:46px;
  --btn-bg:var(--primary);--btn-bd:var(--primary);--btn-fg:#FFFDF6;
  transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease),transform .15s var(--ease)}
.btn:hover{filter:none;transform:none;box-shadow:none}
.btn:active{transform:scale(.98)}
.btn--lg{padding:13px 24px;font-size:1rem;min-height:50px}
.btn--sm{padding:8px 14px;min-height:38px}
.btn svg{width:17px;height:17px}
.btn--accent{--btn-bg:var(--accent);--btn-bd:var(--accent)}
.btn--outline{--btn-bg:transparent;--btn-bd:var(--primary);--btn-fg:var(--primary)}
.btn--light{--btn-bg:var(--surface);--btn-fg:var(--primary);--btn-bd:var(--border-strong)}
.btn--ghost{--btn-fg:#FFFDF6;--btn-bd:rgba(255,253,246,.45);--btn-bg:transparent}

.badge{border-radius:999px;padding:3px 9px;background:var(--primary);font-weight:600;font-size:.68rem}
.badge--accent{background:var(--accent)}
.badge--green{background:var(--secondary)}
.badge--soft{background:var(--surface);color:var(--secondary);border:1px solid var(--border)}
.chip.is-active{background:var(--primary);border-color:var(--primary)}
.input,textarea.input,select.input{border-radius:12px;background:var(--surface);border-color:var(--border-strong)}
.input:focus{border-color:var(--primary);box-shadow:var(--ring)}

/* ---------------------------------------------------------- announcement */
.announce{background:var(--primary);color:#F3EEDC;height:34px}
.announce>.container{position:relative;height:100%;align-self:stretch}
.announce__viewport{height:100%}
.announce__item{font-size:.72rem;font-weight:500;letter-spacing:.01em;white-space:nowrap}
.announce__item b{color:#fff}
.announce__link{display:none}

/* ---------------------------------------------------------------- header */
.header{background:rgba(251,246,236,.96);border-bottom:1px solid var(--border)}
.header.is-scrolled{box-shadow:0 6px 20px rgba(64,45,20,.07)}
.header .header__inner,.header.is-scrolled .header__inner{height:auto;min-height:58px;flex-wrap:wrap;column-gap:4px;row-gap:0}
.logo{gap:8px;margin-right:auto}
.burger{margin-left:-8px}
.logo__mark{width:30px;height:24px;border-radius:0;background:url("assets/img/logo-leaf.svg") center/contain no-repeat;
  color:transparent;font-size:0;overflow:hidden}
.header.is-scrolled .logo__mark{transform:none}
.logo__name{font-family:var(--serif);font-weight:600;font-size:1.32rem;letter-spacing:.08em;color:var(--heading);line-height:1}
.logo__tag{display:none;font-size:.54rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin-top:4px}
.header__actions{gap:0}
.icon-btn{width:44px;height:44px;color:var(--heading);border-radius:999px}
.icon-btn__count{background:var(--primary);border-color:var(--background)}

/* search field in the header: phones and tablets, on browsing pages */
.header__search{order:10;flex:1 1 100%;display:none;align-items:center;gap:10px;height:44px;margin:2px 0 10px;padding:0 16px;
  border-radius:999px;background:var(--surface);border:1px solid var(--border-strong);color:var(--muted);font-size:.9rem;text-align:left}
.header__search svg{width:19px;height:19px;flex:none;color:var(--heading)}
.header__search span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-page="home"] .header__search,body[data-page="shop"] .header__search{display:flex}
/* the bottom bar already has search; on browsing pages so does the header */
body[data-page="home"] .header__actions [data-open-search],body[data-page="shop"] .header__actions [data-open-search]{display:none}

.nav__link{font-size:.93rem;font-weight:500;color:var(--text);padding:10px 12px}
.nav__link::after{background:var(--primary);left:12px;right:12px}
.nav__link.is-current,.nav__item.is-open>.nav__link{color:var(--primary)}
.mega{background:var(--surface);border-color:var(--border);border-radius:var(--r-lg)}
.mega__col h4{color:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;font-size:.7rem;font-family:var(--sans)}
.mega__feature{background:var(--sand)}
.mega__feature img{object-fit:cover}
.mega__feature h5{font-family:var(--serif);font-weight:500;color:var(--heading)}
.mega--sm{width:min(780px,calc(100vw - 48px))}
.mega--sm .mega__grid{grid-template-columns:repeat(2,minmax(0,1fr)) 280px}

/* phone menu */
.mobile-nav{background:var(--background)}
.macc__btn{min-height:52px;font-family:var(--sans);font-weight:600}
.mobile-nav__help{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 20px 0}
.mobile-nav__help a{display:flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;border-radius:12px;background:var(--surface);
  border:1px solid var(--border);font-size:.86rem;font-weight:600;color:var(--heading)}
.mobile-nav__help svg{width:18px;height:18px;color:var(--primary)}
.mobile-nav__help a:first-child svg{color:#1FAF55}

/* ------------------------------------------------------------------ hero */
.hero{background:
  radial-gradient(70% 60% at 70% 20%,rgba(232,190,130,.5),transparent 70%),
  linear-gradient(170deg,#FBF3E5 0%,#F6E6CC 60%,#F1DDBE 100%);
  border-bottom:1px solid var(--border)}
.hero__grid{display:grid;grid-template-columns:1fr;gap:4px;padding-block:6px 28px;text-align:left}
.hero__content,.hero h1,.hero__sub{max-width:none;margin-inline:0;text-align:left}
.hero__media{order:-1;margin-inline:calc(var(--gutter) * -1);width:calc(100% + var(--gutter) * 2);max-width:none}
.hero__media-frame{background:none;border-radius:0;aspect-ratio:2/1;overflow:hidden}
.hero__media-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.hero__pill,.hero__float--a{display:none}
.hero__float--b{right:12px;top:auto;bottom:8px;padding:8px 12px;background:rgba(255,253,246,.94);border:1px solid var(--border);
  border-radius:14px;box-shadow:var(--shadow-2)}
.hero__float--b img{width:34px;height:34px}
.hero__diyas{display:none}
.hero .eyebrow{display:flex;align-items:center;gap:10px;color:#4A4433;letter-spacing:.24em;font-size:.66rem;margin-bottom:8px}
.hero h1{color:var(--heading);margin-bottom:10px;font-size:clamp(2rem,8.6vw,2.6rem)}
.hero__sub{color:#4E4838;font-size:.95rem;line-height:1.5;margin:0 0 16px;max-width:42ch}
.hero__cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.hero__cta .btn{width:100%;padding-inline:12px;font-size:.92rem}
.hero__trust,.hero__cta{justify-content:flex-start}
.hero__trust{border-top:1px solid rgba(120,95,55,.18);padding-top:12px;gap:6px 16px}
.hero__trust li{color:#4E4838;font-weight:500;font-size:.8rem}
.hero__trust svg{color:var(--primary);width:14px;height:14px}
.hero__rating{flex-basis:100%;gap:8px!important}
.hero__rating .stars{display:inline-flex;flex-direction:row;gap:1px}
.hero__rating .stars svg{width:14px;height:14px;color:var(--star)}
.hero__rating b{color:var(--heading)}

.strip{background:var(--primary)}

/* -------------------------------------------------------------- sections */
.section{padding-block:44px}
.section--tight{padding-block:28px}
.section--sand{background:var(--sand)}
.section--ink{background:var(--primary-deep)}
.section--cats{padding-block:26px 14px}
.section--cats .section-head{margin-bottom:16px}
.section--bestsellers{padding-top:26px}
.section--trust{padding-block:4px 12px}
.section--testi{padding-block:44px}

/* ------------------------------------------------- categories: icon rail */
.cat-grid--home{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78px;gap:14px;
  overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  margin-inline:calc(var(--gutter) * -1);padding:2px var(--gutter) 6px}
.cat-grid--home::-webkit-scrollbar{display:none}
.cat-grid--home .cat-card{scroll-snap-align:start;background:none;border:0;box-shadow:none;border-radius:0;overflow:visible}
.cat-grid--home .cat-card__img{width:78px;height:78px;aspect-ratio:auto;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 50% 40%,#FFF8EA,#F0DFC2);box-shadow:inset 0 0 0 1px rgba(160,120,60,.14)}
.cat-grid--home .cat-card__img img{width:100%;height:100%;object-fit:cover}
.cat-grid--home .cat-card__body{padding:8px 0 0;text-align:center}
.cat-grid--home .cat-card__name{font-family:var(--sans);font-size:.76rem;font-weight:600;line-height:1.25;color:var(--heading)}
.cat-grid--home .cat-card__count{display:none}
/* other pages' category cards */
.cat-card{border:0;border-radius:var(--r-md);background:linear-gradient(180deg,#F8EFDF 0%,#F2E4CC 100%);
  box-shadow:inset 0 0 0 1px rgba(160,120,60,.08)}
.cat-card__img{background:none}
.cat-card__img img{object-fit:contain}
.cat-card__name{font-family:var(--serif);font-weight:500;color:var(--heading)}

/* ---------------------------------------------------------- product card */
.product-grid{gap:12px}
.product-card{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}
.product-card__media{background:radial-gradient(75% 70% at 50% 42%,#FFF8EA 0%,#F5E8D0 70%,#EEDDBF 100%)}
.product-card__media img.main{object-fit:contain;padding:4% 4% 0}
.product-card__media img.main[src*="/photo/"]{object-fit:cover;padding:0}
.product-card__media img.alt{object-fit:cover}
.product-card__badges{top:8px;left:8px}
.product-card__badges .badge:nth-child(n+2){display:none}   /* one badge on phones */
.wish-btn{width:34px;height:34px;top:6px;right:6px;background:rgba(255,253,246,.92);border:1px solid var(--border);color:var(--heading)}
.wish-btn[aria-pressed="true"]{color:#B4432F}
.quick-btn{display:none}
.product-card__body{padding:10px 12px 12px;gap:4px}
.product-card__cat{color:var(--eyebrow);font-size:.62rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.product-card__name{font-family:var(--sans);font-weight:600;font-size:.9rem;line-height:1.3;color:var(--heading);min-height:2.6em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rating-line{font-size:.74rem;gap:5px}
.rating-line .stars{color:var(--star)}
.rating-line .stars svg{width:11px;height:11px}
.product-card__weight{font-size:.74rem}
.price{gap:2px 7px}
.price__now{color:var(--heading);font-size:1.02rem}
.price__was{font-size:.78rem}
.product-card .price__off{display:none}
.price__off{color:var(--secondary)}
.product-card__foot{gap:8px}
.atc{width:100%;background:var(--primary);color:#FFFDF6;border:1px solid var(--primary);border-radius:999px;font-weight:600;
  padding:9px 8px;min-height:40px;font-size:.84rem}
.atc:active{transform:scale(.98)}
.stock-low{color:var(--accent-ink);font-size:.72rem}
.badge--festive{border-radius:999px}

/* ------------------------------------------------------------ trust band */
.trust-band{position:relative;display:grid;grid-template-columns:1fr 1fr;row-gap:14px;
  padding:18px 10px;border-radius:var(--r-lg);background:var(--sage);overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(90,110,50,.1)}
.trust-band li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:2px 8px;
  font-size:.8rem;line-height:1.3;color:var(--heading)}
.trust-band li:nth-child(even){border-left:1px solid rgba(63,90,42,.2)}
.trust-band b{display:block;font-weight:600}
.trust-band__icon{flex:none;color:var(--primary)}
.trust-band__icon svg{width:30px;height:30px}

/* ----------------------------------------------------------- gift banner */
.gift-banner{display:grid;grid-template-columns:1fr;border-radius:var(--r-lg);overflow:hidden;
  background:radial-gradient(60% 90% at 70% 50%,rgba(255,255,255,.55),transparent 70%),linear-gradient(160deg,#F7EBD7 0%,#F1DEBF 100%);
  box-shadow:inset 0 0 0 1px rgba(160,120,60,.1)}
.gift-banner__media{order:-1}
.gift-banner__media img{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;display:block}
.gift-banner__body{padding:20px 20px 24px}
.gift-banner h2{margin-bottom:8px;line-height:1.1}
.gift-banner__body>p:not(.eyebrow){color:#4E4838;margin-bottom:18px;font-size:.95rem}
.gift-banner .row{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}
.gift-banner .btn{width:100%;padding-inline:10px;font-size:.88rem}

/* home: compact "build your own box" card on phones */
.builder-cta{display:flex;align-items:center;gap:14px;padding:14px;border-radius:var(--r-lg);background:var(--surface);
  border:1px solid var(--border);color:var(--heading)}
.builder-cta img{width:96px;height:auto;flex:none}
.builder-cta b{display:block;font-family:var(--serif);font-weight:500;font-size:1.15rem;margin-bottom:2px}
.builder-cta span{font-size:.86rem;color:var(--muted)}
.builder-cta svg{width:20px;height:20px;flex:none;margin-left:auto;color:var(--primary)}
body[data-page="home"] #builder .builder{display:none}

/* --------------------------------------------------- testimonial carousel */
.testi{display:grid;grid-template-columns:1fr;gap:14px}
.testi__main{position:relative;display:block;padding:20px 14px 44px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border)}
.testi__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:12px}
.testi__track::-webkit-scrollbar{display:none}
.testi__track:focus-visible{outline-offset:4px}
.testi__slide{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:12px;margin:0;padding:4px 6px}
.testi__avatar{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#E9D3AE,#C99B62);color:#fff;font-family:var(--serif);font-size:1.6rem;font-weight:500;
  box-shadow:0 0 0 4px var(--surface),0 0 0 5px var(--border)}
.testi__stars .stars svg{width:16px;height:16px}
.testi__slide blockquote{margin:8px 0 10px;font-family:var(--serif);font-size:1.05rem;line-height:1.45;color:var(--heading)}
.testi__slide figcaption{font-size:.84rem;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}
.testi__slide figcaption b{color:var(--heading)}
.testi__dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:2px}
.testi__dots button{width:24px;height:24px;display:grid;place-items:center;background:none}
.testi__dots button::before{content:"";width:8px;height:8px;border-radius:999px;background:var(--border-strong);transition:width .25s var(--ease),background .25s}
.testi__dots button[aria-selected="true"]::before{width:22px;background:var(--primary)}
.testi__arrow{display:none;width:44px;height:44px;border-radius:50%;place-items:center;border:1px solid var(--border-strong);
  background:var(--surface);color:var(--heading)}
.testi__arrow svg{width:18px;height:18px}
.testi__side{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:22px 20px;border-radius:var(--r-lg);background:var(--sage);box-shadow:inset 0 0 0 1px rgba(90,110,50,.12)}
.testi__side::before,.testi__side::after{content:"";position:absolute;bottom:-14px;width:80px;height:80px;
  background:url("assets/img/leaf-corner.svg") center/contain no-repeat;pointer-events:none}
.testi__side::before{left:-16px}
.testi__side::after{right:-16px;transform:scaleX(-1)}
.testi__score{display:flex;align-items:center;gap:10px;margin:0}
.testi__score b{font-family:var(--serif);font-size:2rem;font-weight:500;color:var(--heading);line-height:1}
.testi__score .stars svg{width:16px;height:16px}
.testi__count{font-size:.82rem;color:var(--muted);margin:4px 0 12px}
.testi__side h3{font-size:1.3rem;font-weight:500;line-height:1.2;margin-bottom:12px}
.testi__side .link-arrow{position:relative;z-index:1}

/* --------------------------------- home: journal + photos swipe on phones */
body[data-page="home"] #blogGrid,body[data-page="home"] #photoGrid{display:grid;grid-template-columns:none;grid-auto-flow:column;
  grid-auto-columns:78%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  margin-inline:calc(var(--gutter) * -1);padding:0 var(--gutter) 6px}
body[data-page="home"] #photoGrid{grid-auto-columns:46%}
body[data-page="home"] #blogGrid::-webkit-scrollbar,body[data-page="home"] #photoGrid::-webkit-scrollbar{display:none}
body[data-page="home"] #blogGrid>*,body[data-page="home"] #photoGrid>*{scroll-snap-align:start}

/* ------------------------------------------------------- other components */
.goal-grid{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding:0 var(--gutter) 4px}
.goal-grid::-webkit-scrollbar{display:none}
.goal-card{flex:none;background:var(--surface);border-color:var(--border);padding:9px 14px;min-height:42px}
.goal-card__icon{color:var(--primary)}
.goal-card.is-active{background:var(--primary);border-color:var(--primary)}
.goal-card h3{font-family:var(--sans);font-weight:600;font-size:.86rem;white-space:nowrap}
.split{gap:24px}
.split__media{border-radius:var(--r-lg);background:var(--sand)}
.split__stat b{font-family:var(--serif);font-weight:500}
.mini-list svg{color:var(--primary)}
.flash{background:var(--primary-deep);background-image:radial-gradient(60% 120% at 100% 0%,rgba(201,212,143,.18),transparent 60%);padding:26px 20px}
.flash h2{color:#FFFDF6}
.flash .eyebrow{color:#D9C78E!important}
.count-box b{font-family:var(--serif);font-weight:500}
.offer-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;overflow-x:auto;scrollbar-width:none;
  margin-inline:calc(var(--gutter) * -1);padding:0 var(--gutter) 4px;gap:10px}
.offer-grid::-webkit-scrollbar{display:none}
.offer-card{background:var(--surface);border-color:var(--border-strong)}
.offer-card b{font-family:var(--serif);font-weight:600}
.offer-card code{background:var(--sand);border-color:var(--border)}
.trust-card,.bstep,.gift-preview,.editorial-card,.review-item{background:var(--surface);border-color:var(--border)}
.trust-card__icon,.benefit-card__icon,.corp-custom__icon{background:var(--sage);color:var(--primary)}
.bstep__n{background:var(--primary);border-radius:999px}
.tl-step__num,.step__n{font-family:var(--serif)}
.editorial-card{border:1px solid var(--border);overflow:hidden}
.editorial-card h3{font-weight:500}
.photo-tile{border-radius:var(--r-md)}
.page-head{background:linear-gradient(100deg,#FBF3E5 0%,#F3E3C9 100%);border-bottom:1px solid var(--border);padding-block:16px 18px}
.page-head h1{font-weight:500;font-size:clamp(1.7rem,7vw,3.2rem);margin-bottom:4px}
.page-head p{font-size:.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.breadcrumb{font-size:.74rem}
.share{background:var(--surface);border-color:var(--border)}
.tier,.corp-form,.corp-custom>div{background:var(--surface)}
.tier--pop{border-color:var(--primary)}
.corp-hero__media,.lp-hero__media{background:var(--sand)}
.lp-hero{background:linear-gradient(100deg,#FBF3E5 0%,#F3E3C9 100%)}
.lp-final{background:var(--primary-deep)}
.offer__head{background:var(--primary)}
.offer__kicker{color:#D9C78E}
.cart-remind{background:var(--primary-deep)}
.cart-remind>svg{color:#D9C78E}

.pdp__buy{display:grid;grid-template-columns:1fr 1fr 50px;gap:8px}
.pdp__buy .btn{min-width:0;padding-inline:10px;font-size:.92rem}
.pdp__buy .wish-inline{width:50px;height:50px}

/* shop: filter + sort bar sticks under the header while you scroll */
.shop-toolbar{position:sticky;top:var(--hdr);z-index:30;background:rgba(251,246,236,.97);
  margin-inline:calc(var(--gutter) * -1);padding:10px var(--gutter);border-bottom:1px solid var(--border);flex-wrap:nowrap;gap:10px}
.shop-toolbar .shop-count{order:0;width:auto;font-size:.78rem;white-space:nowrap}
.shop-toolbar .filter-toggle{order:-1;min-height:40px}
.shop-toolbar .select-wrap{min-width:0}
.shop-toolbar select{min-height:40px;font-size:16px;max-width:42vw}

/* ---------------------------------------- phone chrome: bottom bar, floats */
.bottom-nav{background:rgba(251,246,236,.97);border-top-color:var(--border);min-height:var(--bottom-bar)}
.bottom-nav a,.bottom-nav button{font-size:.66rem;letter-spacing:.02em;min-height:56px}
.bottom-nav .is-current{color:var(--primary)}
.bottom-nav .is-current::before{background:var(--primary)}
.bottom-nav__count{background:var(--primary)}
.to-top{display:none}
.whatsapp{width:48px;height:48px;right:14px;bottom:calc(var(--bottom-bar) + 14px + env(safe-area-inset-bottom));
  transition:bottom .3s var(--ease),transform .2s}
.whatsapp svg{width:24px;height:24px}
.whatsapp__label{display:none}
body[data-page="home"] .whatsapp,body[data-page="shop"] .whatsapp,body[data-page="wishlist"] .whatsapp,
body[data-page="blog"] .whatsapp,body[data-page="about"] .whatsapp{display:none}
/* product page: lift WhatsApp above the sticky buy bar */
body:has(.sticky-buy.is-on) .whatsapp{bottom:calc(var(--bottom-bar) + 86px + env(safe-area-inset-bottom))}
.sticky-buy{background:rgba(255,253,246,.98);padding:10px 14px;gap:12px}
.sticky-buy img{border-radius:10px}
.sticky-buy .btn{min-height:44px;padding-inline:20px;--btn-bg:var(--primary);--btn-bd:var(--primary)}
.sticky-buy__i b{color:var(--heading)}

/* ----------------------------------------------------------------- footer */
.footer{background:var(--primary-deep);color:rgba(246,240,224,.72);padding-bottom:calc(var(--bottom-bar) + env(safe-area-inset-bottom))}
.footer::before,.footer::after{content:"";position:absolute;width:130px;height:130px;pointer-events:none;opacity:.45;
  background:url("assets/img/leaf-corner.svg") center/contain no-repeat}
.footer::before{left:-30px;bottom:30px;transform:rotate(-20deg)}
.footer::after{right:-30px;bottom:30px;transform:scaleX(-1) rotate(-20deg)}
.footer>.container{position:relative;z-index:1}
.footer__perks{grid-template-columns:1fr 1fr;border-color:rgba(255,255,255,.12)}
.footer__perks li,.footer__perks li+li{padding:16px 10px 16px 0;border-left:0;border-top:0;font-size:.76rem;gap:8px}
.footer__perks li:nth-child(even){padding-left:12px;border-left:1px solid rgba(255,255,255,.12)}
.footer__perks li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.12)}
.footer__perks b{font-size:.84rem}
.footer__perk-icon{color:#C9D48F}
.footer__signup{grid-template-columns:1fr;gap:14px;padding:26px 0;margin-bottom:24px;border-color:rgba(255,255,255,.12)}
.footer__signup h3{font-family:var(--serif);font-weight:500;color:#FFFDF6}
.footer__signup form{flex-wrap:nowrap}
.footer__signup .input{min-width:0;background:#FFFDF6;border-color:#FFFDF6;color:var(--text);border-radius:999px;padding-inline:18px}
.footer__signup .input::placeholder{color:#8A836F}
.footer__signup .input:focus{background:#fff;border-color:#C9D48F;box-shadow:0 0 0 3px rgba(201,212,143,.4)}
.footer__signup .btn{flex:none;--btn-bg:#6E8B3D;--btn-bd:#6E8B3D;--btn-fg:#fff}
.footer__grid{grid-template-columns:1fr;gap:0;padding-bottom:20px}
.footer__grid>*{grid-column:auto!important}
.footer__brand{padding-bottom:22px}
.footer h4{font-family:var(--serif);font-weight:500;font-size:1.02rem;color:#FFFDF6;margin:0}
/* link columns fold into accordions on phones (script.js adds .js-fold) */
.footer__grid nav{border-top:1px solid rgba(255,255,255,.12)}
.footer__grid nav h4{padding:14px 0}
.footer__grid nav ul{padding-bottom:14px}
.footer.js-fold .footer__grid nav h4 button{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:24px}
.footer.js-fold .footer__grid nav h4 button::after{content:"+";font-family:var(--sans);font-size:1.3rem;font-weight:300;line-height:1;color:#C9D48F}
.footer.js-fold .footer__grid nav.is-open h4 button::after{content:"\2212"}
.footer.js-fold .footer__grid nav:not(.is-open) ul{display:none}
.footer.js-fold .footer__grid nav h4 button:focus-visible{outline:2px solid #C9D48F;outline-offset:4px;border-radius:4px}
.footer a{color:rgba(246,240,224,.72)}
.footer__grid nav li a{display:inline-block;padding:6px 0}
.footer__brand .logo__mark{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath d='M31 44C30 30 22 20 6 16c2 15 11 25 25 28z' fill='%23C9D48F'/%3E%3Cpath d='M33 44c1-14 9-24 25-28-2 15-11 25-25 28z' fill='%2398AD5E'/%3E%3Cpath d='M32 30C27 22 27 12 32 4c5 8 5 18 0 26z' fill='%23DCE4A8'/%3E%3C/svg%3E")}
.footer__brand .logo__name{color:#FFFDF6}
.footer__brand .logo__tag{display:block;color:rgba(246,240,224,.6)}
.socials a{width:44px;height:44px;border-radius:50%;border-color:rgba(255,255,255,.4);color:#FFFDF6}
.footer__bottom{color:rgba(246,240,224,.55);border-color:rgba(255,255,255,.12);flex-direction:column;align-items:flex-start;gap:12px}
.pay span{border-color:rgba(255,255,255,.2);color:rgba(246,240,224,.7)}
.footer__wordmark{font-family:var(--serif);font-weight:500;letter-spacing:.04em;color:rgba(255,255,255,.04)}

/* ======================================================= sm ≥ 641px */
@media (min-width:641px){
  :root{--gutter:24px}
  .announce__item::before{content:"";width:15px;height:15px;flex:none;background:#C9D48F;
    -webkit-mask:url("assets/img/logo-leaf.svg") center/contain no-repeat;mask:url("assets/img/logo-leaf.svg") center/contain no-repeat}
  .announce__item{font-size:.8rem}
  .announce__link{display:inline-flex;align-items:center;gap:8px;flex:none;font-size:.8rem;font-weight:500;color:#F3EEDC;
    padding-left:14px;margin-left:6px;border-left:1px solid rgba(255,255,255,.18)}
  .announce__link svg{width:18px;height:18px}
  .logo__name{font-size:1.5rem}
  .logo__mark{width:36px;height:28px}
  .logo__tag{display:block}

  .hero__media{margin-inline:0;max-width:none;width:100%}
  .hero__media-frame{aspect-ratio:16/8;border-radius:var(--r-lg)}
  .hero h1{font-size:clamp(2.4rem,6vw,3.2rem)}
  .hero__sub{font-size:1.05rem}
  .hero__cta{display:flex;flex-wrap:wrap}
  .hero__cta .btn{width:auto;padding-inline:26px}
  .hero__rating{flex-basis:auto}

  .cat-grid--home{grid-auto-columns:96px;gap:18px}
  .cat-grid--home .cat-card__img{width:96px;height:96px}

  .product-grid{gap:18px}
  .product-card__badges .badge:nth-child(n+2){display:inline-flex}
  .product-card__body{padding:14px 16px 16px}
  .product-card__name{font-size:.98rem}
  .product-card .price__off{display:inline}
  .atc{font-size:.9rem;min-height:44px}

  .trust-band{grid-template-columns:repeat(4,1fr);padding:22px 12px}
  .trust-band li+li{border-left:1px solid rgba(63,90,42,.2)}

  .gift-banner__body{padding:26px 32px 32px}
  .gift-banner .row{display:flex!important;flex-wrap:wrap}
  .gift-banner .btn{width:auto;padding-inline:24px}

  .testi__slide{grid-template-columns:80px 1fr;justify-items:start;text-align:left;gap:20px}
  .testi__slide figcaption{justify-content:flex-start}
  .testi__avatar{width:80px;height:80px;font-size:2rem}

  body[data-page="home"] #blogGrid{grid-auto-columns:46%}
  body[data-page="home"] #photoGrid{grid-auto-columns:30%}
  .offer-grid{grid-auto-columns:44%}

  .footer__perks li,.footer__perks li+li{font-size:.84rem;padding:22px 14px 22px 0}
  .footer__perks li:nth-child(even){padding-left:14px}
  .footer__signup form{flex-wrap:wrap}
  .footer__bottom{flex-direction:row;align-items:center}
}

/* tablets in portrait: three products a row instead of two oversized ones */
@media (min-width:641px) and (max-width:860px){
  .product-grid:not(.product-grid--rail):not(.product-grid--list){grid-template-columns:repeat(3,1fr)}
}

/* ======================================================= md ≥ 861px */
@media (min-width:861px){
  :root{--bottom-bar:0px}
  .section{padding-block:72px}
  .section--tight{padding-block:44px}
  .section--cats{padding-block:56px 32px}
  .section--bestsellers{padding-top:40px}
  .section--trust{padding-block:8px 24px}
  .section--testi{padding-block:72px}
  .section-head{margin-bottom:34px}
  .section-head--center>h2::before,.section-head--center>h2::after{width:min(200px,16vw)}
  .section-head--center>h2::before{right:calc(100% + 24px)}
  .section-head--center>h2::after{left:calc(100% + 24px)}
  .section-foot{margin-top:36px}
  .eyebrow{font-size:.74rem;letter-spacing:.22em;margin-bottom:14px}

  /* categories become cards */
  .cat-grid--home{grid-auto-flow:row;grid-template-columns:repeat(6,1fr);grid-auto-columns:auto;gap:16px;overflow:visible;
    margin-inline:0;padding:0}
  .cat-grid--home .cat-card{background:linear-gradient(180deg,#F8EFDF 0%,#F2E4CC 100%);border-radius:var(--r-md);
    box-shadow:inset 0 0 0 1px rgba(160,120,60,.08);overflow:hidden}
  .cat-grid--home .cat-card__img{width:auto;height:auto;aspect-ratio:1/1;border-radius:0;background:none;box-shadow:none}
  .cat-grid--home .cat-card__body{padding:12px 10px 14px}
  .cat-grid--home .cat-card__name{font-family:var(--serif);font-weight:500;font-size:1.08rem}
  .cat-grid--home .cat-card__count{display:block;font-size:.76rem;color:var(--muted)}

  .product-card{border-radius:var(--r-md)}
  .product-card__media img.main{padding:6% 6% 2%}
  .product-card__media img.main[src*="/photo/"]{padding:0}
  .product-card__cat{font-size:.72rem;letter-spacing:.12em}
  .product-grid{gap:22px}

  .testi__main{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:14px;padding:28px 22px 46px}
  .testi__arrow{display:grid}
  .testi__slide blockquote{font-size:clamp(1.05rem,1.5vw,1.28rem)}

  .goal-grid{flex-wrap:wrap;overflow:visible;margin-inline:0;padding:0}
  .flash{padding:44px 52px}
  .offer-grid{grid-auto-flow:row;grid-template-columns:repeat(4,1fr);grid-auto-columns:auto;overflow:visible;margin-inline:0;padding:0;gap:14px}

  body[data-page="home"] #blogGrid,body[data-page="home"] #photoGrid{grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;
    margin-inline:0;padding:0}
  body[data-page="home"] #blogGrid{grid-template-columns:repeat(2,1fr);gap:24px}
  body[data-page="home"] #photoGrid{grid-template-columns:repeat(4,1fr);gap:14px}

  .builder-cta{display:none}
  body[data-page="home"] #builder .builder{display:grid}

  .page-head{padding-block:36px 40px}
  .page-head p{font-size:1rem;-webkit-line-clamp:unset;display:block}
  .shop-toolbar{position:static;margin-inline:0;padding:0 0 20px;background:none;flex-wrap:wrap}
  .pdp__buy{display:flex}
  .pdp__buy .btn{min-width:170px}

  .whatsapp,body[data-page] .whatsapp{display:grid;width:56px;height:56px;right:24px;bottom:24px}
  .whatsapp svg{width:28px;height:28px}
  .whatsapp__label{display:block}
  .to-top{display:grid}

  .footer{padding-bottom:0}
  .footer::before,.footer::after{width:190px;height:190px;opacity:.55;bottom:-30px}
  .footer__perks{grid-template-columns:repeat(4,1fr)}
  .footer__perks li:nth-child(n+3){border-top:0}
  .footer__perks li+li{padding-left:20px;border-left:1px solid rgba(255,255,255,.12)}
  .footer__signup{grid-template-columns:1fr 1fr;gap:40px;padding:44px 0;margin-bottom:48px}
  .footer__grid{grid-template-columns:1.5fr repeat(4,1fr);gap:40px;padding-bottom:52px}
  .footer__brand{padding-bottom:0}
  .footer__grid nav{border-top:0}
  .footer__grid nav h4{padding:0 0 14px}
  .footer__grid nav ul{padding-bottom:0}
  .footer.js-fold .footer__grid nav:not(.is-open) ul{display:block}
  .footer.js-fold .footer__grid nav h4 button{cursor:default}
  .footer.js-fold .footer__grid nav h4 button::after{display:none}
  .footer__grid nav li a{padding:0}
}

/* ======================================================= lg ≥ 1025px */
@media (min-width:1025px){
  .header .header__inner{height:var(--header-h);flex-wrap:nowrap;column-gap:26px}
  .header.is-scrolled .header__inner{height:64px}
  .logo{margin-right:0}
  .header__search,body[data-page="home"] .header__search,body[data-page="shop"] .header__search{display:none}
  body[data-page="home"] .header__actions [data-open-search],body[data-page="shop"] .header__actions [data-open-search]{display:grid}
  .header__actions{gap:4px}
  .logo__name{font-size:1.6rem}
  .logo__mark{width:38px;height:30px}

  .hero{background:
    radial-gradient(60% 80% at 82% 45%,rgba(232,190,130,.55),transparent 70%),
    radial-gradient(40% 60% at 8% 20%,rgba(255,255,255,.7),transparent 70%),
    linear-gradient(100deg,#FBF3E5 0%,#F7E9D3 48%,#F1DDBE 100%)}
  .hero__grid{grid-template-columns:.92fr 1.08fr;gap:24px;padding-block:56px 48px;align-items:center}
  .hero__media{order:0}
  .hero__media{position:relative}
  .hero__media-frame{aspect-ratio:5/4.4;height:auto;border-radius:28px;box-shadow:0 30px 60px rgba(90,55,20,.18)}
  .hero__media::after{content:"";position:absolute;right:-34px;top:-40px;width:170px;height:170px;pointer-events:none;
    background:url("assets/img/leaf-corner.svg") center/contain no-repeat;transform:scaleX(-1) rotate(-30deg)}
  .hero__float--b{right:4%;bottom:10%;padding:12px 16px}
  .hero__float--b img{width:46px;height:46px}
  .hero__diyas{display:block}
  .hero .eyebrow{gap:14px;letter-spacing:.3em;font-size:.74rem;margin-bottom:14px}
  .hero .eyebrow::after{content:"";display:block;width:44px;height:1px;background:currentColor;opacity:.5}
  .hero h1{font-size:clamp(2.8rem,4.6vw,4.3rem);margin-bottom:20px}
  .hero__sub{font-size:1.12rem;margin-bottom:30px}
  .hero__cta{margin-bottom:30px;gap:14px}
  .hero__trust{gap:10px 26px;padding-top:22px}
  .hero__trust li{font-size:.88rem}

  .trust-band{padding:26px 110px}
  .trust-band::before,.trust-band::after{content:"";position:absolute;top:50%;width:120px;height:120px;
    background:url("assets/img/leaf-corner.svg") center/contain no-repeat;opacity:.95;pointer-events:none}
  .trust-band::before{left:-18px;transform:translateY(-40%) rotate(10deg)}
  .trust-band::after{right:-18px;transform:translateY(-40%) scaleX(-1) rotate(10deg)}
  .trust-band li{font-size:.92rem;gap:8px}
  .trust-band__icon svg{width:40px;height:40px}

  .gift-banner{grid-template-columns:.85fr 1.15fr;align-items:center;gap:12px;
    background:radial-gradient(60% 90% at 70% 50%,rgba(255,255,255,.55),transparent 70%),linear-gradient(100deg,#F7EBD7 0%,#F1DEBF 100%)}
  .gift-banner__media{order:0;margin:0;align-self:stretch}
  .gift-banner__media img{height:100%;min-height:360px;aspect-ratio:auto}
  .gift-banner{gap:0}
  .gift-banner__body{padding:48px 40px 48px 56px}
  .gift-banner__body>p:not(.eyebrow){font-size:1rem;margin-bottom:24px;max-width:40ch}

  .testi{grid-template-columns:1.6fr 1fr;gap:24px;align-items:stretch}
  .testi__slide{grid-template-columns:92px 1fr;gap:24px}
  .testi__avatar{width:92px;height:92px;font-size:2.2rem}
  .testi__side{padding:34px 28px}
  .testi__side::before,.testi__side::after{width:110px;height:110px}
  .testi__score b{font-size:2.4rem}
  .testi__side h3{font-size:clamp(1.35rem,2vw,1.7rem);margin-bottom:18px}

  body[data-page="home"] #blogGrid{grid-template-columns:repeat(4,1fr)}
}

/* ======================================================= xl ≥ 1201px */
@media (min-width:1201px){
  .trust-band li{flex-direction:row;text-align:left;gap:14px}
}

/* ============================================ hover (mouse / trackpad) */
@media (hover:hover){
  .btn:hover{--btn-bg:var(--primary-deep);--btn-bd:var(--primary-deep)}
  .btn--accent:hover{--btn-bg:#AE6220;--btn-bd:#AE6220}
  .btn--outline:hover{--btn-bg:var(--primary);--btn-bd:var(--primary);--btn-fg:#FFFDF6}
  .btn--ghost:hover{--btn-bg:#FFFDF6;--btn-bd:#FFFDF6;--btn-fg:var(--primary)}
  .btn--wa:hover{--btn-bg:#178F45;--btn-bd:#178F45}
  .link-arrow:hover{color:var(--primary-deep);border-color:currentColor}
  .chip:hover{background:var(--primary);border-color:var(--primary)}
  .nav__link:hover{color:var(--primary)}
  .icon-btn:hover{background:var(--sand)}
  .mega__col a:hover{background:var(--sand);color:var(--primary)}
  .cat-card{transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
  .cat-card:hover{transform:translateY(-4px)}
  .product-card{transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease)}
  .product-card:hover{transform:translateY(-4px);border-color:var(--border-strong);box-shadow:var(--shadow-2)}
  .product-card__name:hover{color:var(--primary)}
  .quick-btn{display:block;background:rgba(255,253,246,.95);border-radius:999px;border-color:var(--border)}
  .quick-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
  .atc:hover{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff}
  .goal-card:hover{border-color:var(--primary)}
  .offer-card:hover{background:var(--surface);border-color:var(--primary)}
  .testi__arrow:hover{background:var(--primary);border-color:var(--primary);color:#fff}
  .footer a:hover{color:#fff}
  .footer__signup .btn:hover{--btn-bg:#7F9C4B;--btn-bd:#7F9C4B}
  .socials a:hover{background:#FFFDF6;border-color:#FFFDF6;color:var(--primary-deep)}
  .announce__link:hover{color:#fff}
  .builder-cta:hover{border-color:var(--primary)}
}

/* ---------------------------------------------------------- photo credits */
.credits{overflow-x:auto;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
.credits table{width:100%;min-width:560px;border-collapse:collapse;font-size:.86rem}
.credits th{text-align:left;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--eyebrow);padding:0 12px 10px 0;border-bottom:1px solid var(--border-strong)}
.credits td{padding:10px 12px 10px 0;border-bottom:1px solid var(--border);vertical-align:middle}
.credits td:first-child{width:76px}
.credits img{width:64px;height:64px;border-radius:10px;object-fit:cover;display:block}
.credits a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.credits small{color:var(--muted)}
.credits__note{margin-top:18px;font-size:.84rem;color:var(--muted)}
