/* ==========================================================================
   Noomi Eats — Design Tokens
   Brand colours supplied by client (authoritative): #2F9CA5 teal, #E8342B red
   Fonts: Poppins (headings) / Nunito Sans (body)
   Drop this in first. Every section inherits from here, so a brand tweak is one edit.
   ========================================================================== */

:root{

  /* ---------- BRAND ---------- */
  --brand-teal:        #2F9CA5;   /* client brand teal */
  --brand-red:         #E8342B;   /* client brand red  */

  /* ---------- REDS ---------- */
  --red:               #E8342B;   /* brand red — accents, headline emphasis, icons */
  --red-deep:          #CF1F16;   /* button fills + hover. See CONTRAST RULES below */
  --red-tint:          #FDEEED;   /* soft backgrounds, alert panels */

  /* ---------- TEALS ---------- */
  --teal:              #2F9CA5;   /* brand teal — icons, links, decorative shapes */
  --teal-mid:          #2A8890;   /* mid step for gradients */
  --teal-deep:         #1D6065;   /* headings on light, dark panels w/ white text */
  --teal-surface:      #2F9CA5;   /* teal panels WITH WHITE TEXT — brand rule, exact
                                     brand teal. White on it is 3.27:1, which clears
                                     the 3.0 LARGE-text bar, so copy on a teal panel
                                     must be >=19px bold or >=24px regular. Never set
                                     small print on teal. */
  --teal-deeper:       #154A4E;   /* gradient end, footer-dark blocks */
  --teal-tint:         #E9F4F5;   /* section backgrounds, trust bars */
  --teal-pale:         #BFE4E7;   /* muted text on dark teal panels */

  /* ---------- NEUTRALS ---------- */
  --paper:             #FFFFFF;   /* page background */
  --surface:           #FDFCFA;   /* cards on tinted sections */
  --section:           #F8F6F2;   /* alternating section background */
  --line:              #E7E3DC;   /* borders, dividers */
  --ink:               #1E1E1C;   /* body + headings */
  --ink-soft:          #5E5C57;   /* secondary text, captions */

  /* ---------- STATUS ---------- */
  --success:           #1F7D51;
  --success-tint:      #E9F4EE;
  --warning:           #C8862E;
  --warning-tint:      #FBF1DE;

  /* ---------- TYPE ---------- */
  --font-head: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;

  /* fluid scale — min at 360px, max at 1440px */
  --fs-display: clamp(2.35rem, 5.1vw, 4.05rem);  /* hero h1 */
  --fs-h1:      clamp(2rem,   4vw,   3.1rem);
  --fs-h2:      clamp(1.6rem, 3vw,   2.4rem);
  --fs-h3:      clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-body:    1rem;      /* 16px — never smaller for body copy */
  --fs-body-lg: 1.1rem;
  --fs-small:   0.875rem;
  --fs-micro:   0.78rem;   /* labels, eyebrows only — never sentences */

  /* Poppins is geometric and reads tight at display sizes, loose at body sizes */
  --track-display: -0.03em;
  --track-head:    -0.02em;
  --track-body:     0;
  --track-eyebrow:  0.16em;

  --lh-display: 1.06;
  --lh-head:    1.18;
  --lh-body:    1.6;

  /* Poppins at 700 is heavy at large sizes — 600 is the display weight */
  --fw-display: 600;
  --fw-head:    600;
  --fw-body:    400;
  --fw-medium:  500;
  --fw-bold:    600;

  /* ---------- SPACING (8pt grid) ---------- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3rem, 7vw, 6rem);   /* vertical section rhythm */
  --gutter:    clamp(1.25rem, 4vw, 2rem);

  /* ---------- SHAPE ---------- */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 28px;  --r-pill: 999px;

  /* ---------- MOTION ---------- */
  --ease:      cubic-bezier(.19, 1, .22, 1);
  --ease-out:  cubic-bezier(.22, .61, .36, 1);
  --t-fast:    .18s;
  --t-mid:     .35s;
  --t-slow:    .9s;

  /* ---------- LAYOUT ---------- */
  --max-w:       1200px;
  --max-w-text:  68ch;
  --tap-min:     48px;   /* minimum touch target */
}


/* ==========================================================================
   BRAND TEAL USAGE RULE — read before putting text on --brand-teal
   --------------------------------------------------------------------------
   #2F9CA5 is a mid-tone. It is a poor TEXT BACKGROUND in both directions:
     white on #2F9CA5  = 3.27:1  -> fails AA for normal text
     ink   on #2F9CA5  = 5.10:1  -> passes, but reads muddy and looks cheap

   So: never place body-sized text directly on --brand-teal.
     • Need a teal surface with text?  use --teal-deep (#1D6065) + white  (7.21:1)
     • Want a light teal surface?      use --teal-tint (#E9F4F5) + --teal-deep (6.43:1)
     • Want brand teal itself visible? use it for LARGE figures, icons, bars,
       borders and fills on a light surface — not as a text backdrop.
   ========================================================================== */

/* ==========================================================================
   CONTRAST RULES — read before using the brand colours on text
   --------------------------------------------------------------------------
   Measured against white (WCAG AA needs 4.5 for normal text, 3.0 for large):

     white on --red        #E8342B   4.24   LARGE TEXT ONLY
     white on --red-deep   #CF1F16   5.44   passes for all text
     white on --teal       #2F9CA5   3.27   LARGE TEXT ONLY
     white on --teal-deep  #1D6065   7.21   passes for all text
     --red on white                  4.24   LARGE TEXT ONLY
     --teal-deep on white            7.21   passes for all text

   Therefore:
     • Button fills carrying white label text  -> --red-deep (not --red)
       A 16px semibold button label is NOT "large text" under WCAG.
     • Dark panels with white body copy        -> --teal-deep / --teal-deeper
     • --red and --teal are safe for: large headlines (24px+), icons,
       borders, decorative shapes, and small areas of non-essential colour.
     • Never set body copy in --red or --teal on white.
   ========================================================================== */

/* ---------- BASE ---------- */
*,*::before,*::after{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100% }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:var(--fs-body);
  font-weight:var(--fw-body);
  line-height:var(--lh-body);
  letter-spacing:var(--track-body);
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;   /* long product names / technical strings can't overflow */
}
h1,h2,h3,h4,.display{
  font-family:var(--font-head);
  font-weight:var(--fw-head);
  letter-spacing:var(--track-head);
  line-height:var(--lh-head);
  margin:0;
}
h1{ font-size:var(--fs-h1) }
h2{ font-size:var(--fs-h2) }
h3{ font-size:var(--fs-h3) }
.display{
  font-size:var(--fs-display);
  font-weight:var(--fw-display);
  letter-spacing:var(--track-display);
  line-height:var(--lh-display);
}
img,video{ display:block; max-width:100% }

/* grid and flex children default to min-width:auto and refuse to shrink below
   their content width — this single line prevents a whole class of overflow bugs */
.grid > *, .flex > *{ min-width:0 }

/* ---------- LAYOUT HELPERS ---------- */
.container{ max-width:var(--max-w); margin-inline:auto; padding-inline:var(--gutter) }
.section{ padding-block:var(--section-y) }
.section--tint{ background:var(--teal-tint) }
.section--soft{ background:var(--section) }

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:var(--sp-2);
  min-height:var(--tap-min);
  padding:0 var(--sp-5);
  border:none; border-radius:var(--r-pill);
  background:var(--red-deep);          /* contrast-safe fill for white label */
  color:#fff;
  font-family:var(--font-body);
  font-size:var(--fs-body); font-weight:var(--fw-bold);
  cursor:pointer;
  transition:background var(--t-fast) var(--ease-out);
}
.btn:hover{ background:#B81810 }
.btn:focus-visible{ outline:3px solid var(--teal); outline-offset:3px }
.btn--ghost{ background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--ink) }
.btn--ghost:hover{ background:var(--ink); color:#fff }
.btn--on-dark{ background:#fff; color:var(--teal-deep) }
.btn--on-dark:hover{ background:var(--red); color:#fff }
@media(max-width:600px){ .btn{ width:100% } }   /* full-width CTAs on phones */

/* ---------- BUTTON INTERACTION (LOCKED) ----------
   Settle + staggered letter rollover. Approved Sep 2026, site-wide standard.

   Markup:
     <button class="btn">
       <span class="roll" data-roll>
         <span class="a">Add to cart</span>
         <span class="b" aria-hidden="true">Add to cart</span>
       </span>
     </button>

   buttons.js splits both lines into letters and drives the stagger. Call
   Noomi.initRolls() again after changing a label (e.g. a live price).

   Timings are deliberate: the scale (800ms) and the roll (720ms) share one
   curve and land within 80ms, so it reads as a single movement. The PRESS is
   160ms — a slow arrival feels considered, a slow press feels like lag.
   -------------------------------------------------- */
:root{
  --glide:cubic-bezier(.19,1,.22,1);   /* long settle */
  --t-roll:.72s;                        /* label rollover */
  --t-scale:.8s;                        /* button settle */
  --t-press:.16s;                       /* must stay short */
  --roll-stagger:18ms;                  /* per letter */
}
.btn{
  transition:transform var(--t-scale) var(--glide),
             box-shadow var(--t-scale) var(--glide),
             background var(--t-scale) var(--glide),
             color var(--t-scale) var(--glide);
  will-change:transform;
}
.btn:hover{ transform:scale(1.035) }
.btn:active{ transform:scale(.978); transition-duration:var(--t-press) }

.roll{ position:relative; display:block; overflow:hidden; line-height:1.5; height:1.5em }
.roll > span{ display:flex; justify-content:center }
.roll .b{ position:absolute; left:0; right:0; top:0; transform:translateY(100%) }
.roll i{
  font-style:normal; display:inline-block;
  transition:transform var(--t-roll) var(--glide);
}
/* secondary buttons fill with BRAND TEAL on hover — never black */
.btn--ghost{ background:none; color:var(--teal-deep); box-shadow:inset 0 0 0 1.5px rgba(47,156,165,.6) }
.btn--ghost:hover{ background:var(--brand-teal); color:#fff;
  box-shadow:inset 0 0 0 1.5px var(--brand-teal), 0 16px 32px rgba(47,156,165,.26) }

/* ---------- HEADLINE CHIP (rule) ----------
   The pill around a word in a headline. Approved Sep 2026.

   USE IT ONLY ON A LABEL-WORD — a claim that already behaves like a badge:
   "gluten-free", "keto", "nothing baked", "no wheat".
   NEVER on a verb or a number. A pill around "Turn" or "Four" reads as a bug.

   In practice that is the hero, plus two section headlines. Everywhere else the
   headline is left plain. The device only means something while it stays rare —
   it is the hero's signature, and repeating it on every section makes it
   wallpaper.

   For ordinary emphasis on any other word, use .hl-mark (the teal highlight)
   below, which carries the brand colour without claiming to be a label.
   ------------------------------------------ */
.hl-chip{
  display:inline-flex; align-items:center;
  font-family:var(--font-head); font-weight:var(--fw-bold);
  font-size:.74em; padding:.1em .42em; border-radius:999px;
  line-height:1.2; white-space:nowrap;
}
.hl-chip--fill{ background:var(--brand-teal); color:#fff; transform:rotate(-2deg) }
.hl-chip--out { color:var(--ink); box-shadow:inset 0 0 0 .09em currentColor; transform:rotate(1.5deg) }

/* everyday emphasis — works on any word, including verbs */
.hl-mark{ background:linear-gradient(180deg,transparent 58%,rgba(47,156,165,.32) 58%); padding:0 .06em }

/* ---------- DARK SURFACES (rule) ----------
   There is NO black in this brand. When a section needs a dark ground, use
   --teal-deeper (#154A4E) — the palette's own dark. Never an invented
   near-black.

   Photo scrims are the one exception and follow their own rule: darken with
   --ink (#1E1E1C) at low alpha. A teal scrim tints the food green, and on a
   bakery site the product has to look like the product. A scrim darkens an
   image; it is not a brand surface.
   ------------------------------------------ */

/* ---------- UTILITY ---------- */
.eyebrow{
  font-family:var(--font-head); font-size:var(--fs-micro); font-weight:var(--fw-bold);
  letter-spacing:var(--track-eyebrow); text-transform:uppercase; color:var(--teal-deep);
}
.accent{ color:var(--red) }           /* large headline emphasis only */
.muted{ color:var(--ink-soft) }
.measure{ max-width:var(--max-w-text) }

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


  body{background:var(--sand,#F6F1E9);margin:0}
  .skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;color:var(--ink);padding:10px 16px;border-radius:8px}
  .skip:focus{left:8px}
  .nm-page{padding:48px 20px 24px}
  .nm-title{font-family:var(--font-head);font-weight:700;letter-spacing:-.02em}
  .admin-bar .drawer{top:32px}
  @media(max-width:782px){.admin-bar .drawer{top:46px}}

  .ann{background:var(--red);color:#fff;text-align:center;padding:9px 16px;
    font-family:var(--font-head);font-weight:500;font-size:.88rem}
  .ann a{color:#fff;text-decoration:underline;text-underline-offset:2px}
  .sec-tag{max-width:1200px;margin:0 auto;padding:10px 20px 0;
    font-family:var(--font-head);font-size:.68rem;font-weight:600;letter-spacing:.16em;
    text-transform:uppercase;color:rgba(30,30,28,.3)}

  /* ---- shared nav, mobile menu (site_nav.py) ----
     These carry the nav's own layout so a page needn't define it. Values match the
     product template, so pages that already style the nav look unchanged. */
  nav .nav-in{display:flex;align-items:center;justify-content:space-between;height:68px;gap:var(--sp-4,16px)}
  nav .logo{font-family:var(--font-head);font-weight:700;font-size:1.4rem;letter-spacing:-.02em;color:var(--red);text-decoration:none;margin:0;flex:0 0 auto}
  nav .nav-links{display:flex;gap:var(--sp-6,30px);font-weight:500;font-size:.95rem;min-width:0}
  nav .nav-links a{color:var(--ink);text-decoration:none;white-space:nowrap}
  nav .nav-links a:hover{color:var(--teal-deep)}
  @media(max-width:880px){nav .nav-links{display:none}}   /* same specificity as the rule above, or the links stay on phones */
  nav .cart-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1.5px solid var(--ink);
    border-radius:999px;color:var(--ink);text-decoration:none;font-family:var(--font-head);font-weight:500;font-size:.9rem;white-space:nowrap}
  nav .cart-btn:hover{background:var(--ink);color:#fff}
  .nav-end{display:flex;align-items:center;gap:10px}
  .nav-links a[aria-current="page"]{color:var(--teal-deep)}
  .burger{display:none;width:46px;height:46px;border-radius:50%;border:1.5px solid var(--line);background:#fff;cursor:pointer;
    flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0}
  .burger span{display:block;width:18px;height:2px;border-radius:2px;background:var(--ink);transition:transform .35s var(--ease-out),opacity .25s}
  .burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .burger[aria-expanded="true"] span:nth-child(2){opacity:0}
  .burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .burger:focus-visible,.dclose:focus-visible,.drawer a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
  @media(max-width:880px){.burger{display:flex}}
  @media(max-width:400px){nav .cart-btn .cart-lbl{display:none}nav .cart-btn{padding:0 13px}nav .logo{font-size:1.25rem}}
  @media(max-width:340px){nav .nav-in{gap:8px}nav .burger{width:42px;height:42px}}
  .drawer{position:fixed;inset:0;z-index:90}
  .drawer[hidden]{display:none}
  .dscrim{position:absolute;inset:0;background:rgba(30,30,28,.45);opacity:0;transition:opacity .35s var(--ease-out)}
  .drawer.on .dscrim{opacity:1}
  .dpanel{position:absolute;top:0;right:0;bottom:0;width:min(340px,86vw);background:var(--sand,#F6F1E9);padding:18px 22px calc(24px + env(safe-area-inset-bottom,0px));
    overflow-y:auto;transform:translateX(100%);transition:transform .4s var(--ease-out);display:flex;flex-direction:column;gap:6px}
  .drawer.on .dpanel{transform:none}
  .dhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
  .dhead .logo{font-family:var(--font-head);font-weight:700;font-size:1.3rem;letter-spacing:-.02em;color:var(--red)}
  .dclose{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);background:#fff;font-size:1.5rem;line-height:1;cursor:pointer;color:var(--ink)}
  .dgrp{padding:10px 0 4px;border-top:1px solid var(--line)}
  .dgrp h2{font-family:var(--font-head);font-weight:600;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 6px}
  .dgrp a{display:block;padding:11px 0;font-family:var(--font-head);font-weight:500;font-size:1.05rem;color:var(--ink);text-decoration:none}
  .dgrp a:hover,.dgrp a[aria-current="page"]{color:var(--teal-deep)}
  .dcart{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;border-radius:99px;
    background:var(--teal-deep);color:#fff;font-family:var(--font-head);font-weight:600;text-decoration:none}
  body.locked{overflow:hidden}
  @media(prefers-reduced-motion:reduce){.dscrim,.dpanel,.burger span{transition:none}}

  /* ---- shared footer C (site_nav.py) ---- */
  footer.ft{background:#154A4E;color:#BFE4E7;padding:56px 0 0;margin-top:var(--sp-8,64px);overflow:hidden}
  .ft .fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr .8fr;gap:32px}
  .ft .fgrid > *{min-width:0}
  @media(max-width:900px){.ft .fgrid{grid-template-columns:1fr 1fr}.ft .fbrand{grid-column:1/-1}}
  @media(max-width:420px){.ft .fgrid{grid-template-columns:1fr}}
  .ft .flogo{font-family:var(--font-head);font-weight:800;font-size:1.6rem;letter-spacing:-.03em;color:#fff;text-decoration:none}
  .ft .fbrand p{margin:10px 0 16px;max-width:36ch;line-height:1.6;font-size:.95rem;color:#BFE4E7}
  .ft h4{font-family:var(--font-head);font-weight:600;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin:4px 0 12px}
  .ft ul{list-style:none;margin:0;padding:0}.ft li{margin:0 0 4px}
  .ft ul a{display:inline-block;padding:6px 0;color:#BFE4E7;text-decoration:none}
  .ft ul a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
  .ft .frt{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:.92rem;margin-bottom:10px;flex-wrap:wrap}
  .ft .frt:hover{text-decoration:underline;text-underline-offset:3px}
  .ft .fstars{display:inline-flex;gap:1px}.ft .fst{width:15px;height:15px;fill:#E9B44C}
  .ft .fph{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-family:var(--font-head);font-weight:600;min-height:44px}
  .ft .fph svg{width:18px;height:18px;fill:none;stroke:#BFE4E7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ft .fph:hover{text-decoration:underline;text-underline-offset:3px}
  .ft a:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:4px}
  .ft .fslots{display:flex;gap:8px;flex-wrap:wrap;margin:34px 0 0;padding-top:20px;border-top:1px solid rgba(191,228,231,.2)}
  .ft .fslot{font-size:.82rem;font-style:italic;color:#DDF1F3;border:1.5px dashed rgba(191,228,231,.55);border-radius:8px;padding:3px 9px}
  .ft .fbot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:.86rem}
  .ft .wordmark{font-family:var(--font-head);font-weight:800;letter-spacing:-.06em;line-height:.78;color:rgba(191,228,231,.14);
    font-size:var(--wm,10rem);text-align:center;margin:28px 0 -1.5%;white-space:nowrap;user-select:none}

  .nm-toast{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);opacity:0;pointer-events:none;
    background:var(--ink,#1E1E1C);color:#fff;padding:12px 18px;border-radius:12px;font-family:var(--font-head);font-weight:500;font-size:.92rem;
    z-index:95;transition:opacity .25s,transform .25s;max-width:calc(100vw - 32px)}
  .nm-toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
  .nm-toast a{color:#fff;text-decoration:underline;text-underline-offset:2px;margin-left:6px}

  .offer{background:var(--red-deep);color:#fff;text-align:center;font-size:var(--fs-small);font-weight:var(--fw-medium);padding:10px 16px}
  .offer .short{display:none}
  @media(max-width:620px){ .offer .full{display:none} .offer .short{display:inline} .offer{padding:8px 14px} }

  /* ---- header: floating pill + photo menu (theme_header.py) ---- */
  .nh-strip{margin:0;background:var(--teal-deep);color:#fff;text-align:center;font-size:.84rem;font-weight:600;padding:8px 16px;line-height:1.4}
  .nh-strip b{color:#FFD27A;font-weight:700}
  .nh{position:sticky;top:0;z-index:60;padding:12px 0;pointer-events:none}
  .admin-bar .nh{top:32px}
  @media(max-width:782px){.admin-bar .nh{top:46px}}
  @media(max-width:600px){.admin-bar .nh{top:0}}
  .nh-pill{pointer-events:auto;display:flex;align-items:center;gap:24px;max-width:1000px;margin:0 auto;height:64px;padding:0 9px 0 26px;
    background:rgba(255,255,255,.96);border-radius:99px;box-shadow:0 10px 30px rgba(60,40,20,.12),0 0 0 1px rgba(60,40,20,.04);
    -webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
  .nh-logo{font-family:var(--font-head);font-weight:800;font-size:1.55rem;letter-spacing:-.045em;color:var(--red);text-decoration:none;white-space:nowrap;line-height:1}
  .nh-links{display:flex;gap:24px;flex:1;justify-content:center;min-width:0}
  .nh-links a{font-family:var(--font-head);font-weight:600;font-size:.94rem;color:var(--ink);text-decoration:none;white-space:nowrap;position:relative;padding:6px 0}
  .nh-links a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--red);transform:scaleX(0);transition:transform .25s var(--ease-out)}
  .nh-links a:hover{color:var(--red)}.nh-links a:hover:after{transform:none}
  .nh-cart{position:relative;width:46px;height:46px;border-radius:50%;background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none;
    text-decoration:none;box-shadow:0 6px 16px rgba(232,52,43,.3);transition:transform .2s}
  .nh-cart:hover{transform:scale(1.06)}
  .nh-cart svg,.nh-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .nh-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--ink);color:#fff;
    font-family:var(--font-head);font-weight:700;font-size:.7rem;line-height:20px;text-align:center;border:2px solid #fff}
  .nh-badge[data-n="0"]{display:none}
  .nh-menu{display:none;width:46px;height:46px;border-radius:50%;border:0;background:var(--section,#F8F6F2);color:var(--ink);align-items:center;justify-content:center;cursor:pointer;flex:none}
  .nh a:focus-visible,.nh button:focus-visible,.nmv a:focus-visible,.nmv button:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
  @media(max-width:1080px){.nh-links{display:none}.nh-menu{display:inline-flex}.nh-cart{margin-left:auto}.nh-pill{gap:10px}}
  @media(max-width:600px){
    .nh{padding:10px 0}.nh-strip{font-size:.78rem;padding:7px 12px}
    .nh-pill{height:58px;padding:0 7px 0 20px}.nh-logo{font-size:1.38rem}
    .nh-cart,.nh-menu{width:44px;height:44px}
  }
  @media(max-width:420px){.nh-strip .lg{display:none}}
  .nmv{position:fixed;inset:0;z-index:95;background:#FBF5EC;overflow-y:auto;opacity:0;transform:translateY(-12px);transition:opacity .28s var(--ease-out),transform .32s var(--ease-out)}
  .nmv[hidden]{display:none}
  .nmv.on{opacity:1;transform:none}
  .admin-bar .nmv{top:32px}
  @media(max-width:782px){.admin-bar .nmv{top:46px}}
  .nmv-in{padding-top:16px;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
  .nmv-top{display:flex;align-items:center;justify-content:space-between;height:56px;margin-bottom:18px}
  .nmv-x{width:48px;height:48px;border-radius:50%;border:0;background:var(--ink);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
  .nmv-x svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
  .nmv-in{max-width:600px}
  .nmv-list{display:block;background:#fff;border-radius:22px;padding:4px 16px;box-shadow:0 1px 2px rgba(60,40,20,.05)}
  .nmv-r{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #F1EBE1;color:var(--ink);text-decoration:none}
  .nmv-r:last-child{border-bottom:0}
  .nmv-r img{width:52px;height:52px;border-radius:14px;object-fit:cover;flex:none;background:#F2ECE2}
  .nmv-r span{min-width:0;flex:1}
  .nmv-r b{display:block;font-family:var(--font-head);font-weight:600;font-size:1.02rem;line-height:1.25}
  .nmv-r small{display:block;font-size:.82rem;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nmv-r svg{width:18px;height:18px;flex:none;fill:none;stroke:#B9B2A6;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s,stroke .2s}
  .nmv-r:hover b{color:var(--teal-deep)}.nmv-r:hover svg{stroke:var(--teal-deep);transform:translateX(3px)}
  .nmv-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
  .nmv-pills a{background:#fff;border:1px solid #EADFCD;border-radius:99px;padding:9px 15px;font-family:var(--font-head);font-weight:600;font-size:.88rem;color:var(--ink);text-decoration:none}
  .nmv-pills a:hover{border-color:var(--teal);color:var(--teal-deep)}
  .nmv-cart{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;margin-top:16px;border-radius:99px;background:var(--teal-deep);color:#fff;
    font-family:var(--font-head);font-weight:600;text-decoration:none}
  .nmv-cart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  @media(max-width:760px){.nmv-top{height:48px;margin-bottom:12px}}
  body.locked{overflow:hidden}
  @media(prefers-reduced-motion:reduce){.nmv,.nmv-r svg,.nh-links a:after{transition:none}}

  /* ---- cart bar + bottom sheet (theme_minicart.py) ---- */
  .nmb{position:fixed;left:50%;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:72;transform:translate(-50%,140%);visibility:hidden;
    width:min(720px,calc(100% - 24px));display:flex;align-items:center;gap:14px;background:var(--teal-deep);color:#fff;border-radius:18px;
    padding:12px 12px 12px 18px;box-shadow:0 18px 40px rgba(20,60,64,.28);transition:transform .45s var(--ease-out),visibility 0s .45s,border-radius .2s}
  .nmb.on{transform:translate(-50%,0);visibility:visible;transition:transform .45s var(--ease-out),visibility 0s,border-radius .2s}
  .nmb .ci{flex:1;min-width:0}
  .nmb .nmb-t{display:block;font-family:var(--font-head);font-weight:700;font-size:1.12rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  @media(max-width:400px){.nmb{gap:10px;padding:10px 10px 10px 14px}.nmb .nmb-t{font-size:1rem}.nmb-go{padding:0 14px}}
  .nmb .nmb-s{display:block;font-size:.8rem;font-weight:600;color:#fff;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nmb.flash .nmb-s{opacity:1}
  .nmb-go{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 18px;border:none;border-radius:99px;background:#fff;
    color:var(--teal-deep);font-family:var(--font-head);font-weight:700;font-size:.95rem;cursor:pointer}
  .nmb-go svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.4}
  .nmb-go:focus-visible{outline:3px solid #fff;outline-offset:2px}
  /* phone product page: one unit with the sticky Add bar */
  .nmb.att{left:0;right:0;width:auto;transform:none;border-radius:16px 16px 0 0;padding:8px 10px 8px 16px;box-shadow:0 -6px 18px rgba(20,60,64,.14)}
  .nmb.att .nmb-t{font-size:1rem}
  .nmb.att .nmb-s{display:none}
  .nmb.att.flash .nmb-s{display:block}
  .nmb.att .nmb-go{min-height:40px;padding:0 14px;font-size:.88rem}
  body.nm-has-bar{padding-bottom:96px}
  @media(max-width:920px){body.nm-has-bar.single-product{padding-bottom:140px}}

  .nms-wrap{position:fixed;inset:0;z-index:100}
  .nms-wrap[hidden]{display:none}
  .nms-scrim{position:absolute;inset:0;background:rgba(30,30,28,.45);opacity:0;transition:opacity .3s var(--ease-out)}
  .nms{position:absolute;left:50%;bottom:0;width:min(720px,100%);max-height:min(86vh,760px);background:#fff;border-radius:22px 22px 0 0;
    display:flex;flex-direction:column;transform:translate(-50%,100%);transition:transform .38s var(--ease-out);box-shadow:0 -12px 40px rgba(0,0,0,.18)}
  .nms-wrap.on .nms-scrim{opacity:1}
  .nms-wrap.on .nms{transform:translate(-50%,0)}
  .nms-grab{width:44px;height:5px;border-radius:9px;background:#D9D4CB;margin:10px auto 0;flex:0 0 auto}
  .nms-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px 12px;border-bottom:1px solid var(--line)}
  .nms-h h2{font-family:var(--font-head);font-weight:700;font-size:1.2rem;margin:0;letter-spacing:-.01em}
  .nms-x{width:44px;height:44px;flex:0 0 44px;border-radius:50%;border:1.5px solid var(--line);background:#fff;font-size:1.5rem;line-height:1;cursor:pointer;color:var(--ink)}
  .nms-x:focus-visible,.nms a:focus-visible,.nms button:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
  .nms-items{flex:1 1 auto;min-height:0;overflow-y:auto;padding:2px 20px;overscroll-behavior:contain}
  .nms-load{color:var(--ink-soft);padding:24px 0;margin:0}
  .nms-load a{color:var(--teal-deep);font-weight:700}
  .nms-r{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
  .nms-r:last-child{border-bottom:none}
  .nms-r img{width:60px;height:60px;border-radius:12px;object-fit:cover;display:block}
  .nms-r .b{flex:1;min-width:0}
  .nms-r h3{margin:0;font-family:var(--font-head);font-weight:600;font-size:.98rem;line-height:1.3}
  .nms-r h3 a{color:var(--ink);text-decoration:none}
  .nms-r small{display:block;color:var(--ink-soft);font-size:.8rem;margin:1px 0 7px}
  .nms-q{display:inline-flex;align-items:center;background:var(--t-sand,#F6F1E9);border-radius:99px;padding:2px}
  .nms-q button{width:40px;height:40px;border:none;background:none;border-radius:50%;cursor:pointer;color:var(--ink);font-size:1.05rem;display:flex;align-items:center;justify-content:center}
  .nms-q button:hover{background:#fff}
  .nms-q button.trash{color:var(--red-deep)}
  .nms-q span{min-width:22px;text-align:center;font-family:var(--font-head);font-weight:700;font-size:.92rem}
  .nms-r .p{font-family:var(--font-head);font-weight:700;white-space:nowrap}
  .nms-empty{text-align:center;padding:36px 8px}
  .nms-empty p{color:var(--ink-soft);margin:0 0 18px}
  .nms-empty b{display:block;color:var(--ink);font-family:var(--font-head);font-size:1.1rem;margin-bottom:4px}
  .nms-empty a{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:99px;background:var(--teal-deep);color:#fff;text-decoration:none;font-family:var(--font-head);font-weight:700}
  .nms-f{border-top:1px solid var(--line);padding:12px 20px calc(14px + env(safe-area-inset-bottom,0px));flex:0 0 auto}
  .nms-f[hidden]{display:none}
  .nms-row{display:flex;justify-content:space-between;gap:12px;font-size:.95rem;padding:3px 0}
  .nms-row.save span:last-child{display:inline-flex;align-items:center;gap:5px;color:#1B7A4B;font-weight:700}
  .nms-row.save svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2}
  .nms-row.tot{font-family:var(--font-head);font-weight:700;font-size:1.12rem;padding-top:6px}
  .nms-go{display:flex;align-items:center;justify-content:center;min-height:54px;margin-top:10px;border-radius:99px;color:#fff;text-decoration:none;
    font-family:var(--font-head);font-weight:700;background:linear-gradient(180deg,#DD2E22 0%,#CE1E14 100%);box-shadow:0 2px 8px rgba(184,24,16,.16)}
  .nms-go:hover{box-shadow:0 4px 14px rgba(184,24,16,.26)}
  .nms-view{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:2px;color:var(--teal-deep);font-weight:700;font-size:.92rem;text-decoration:none}
  .nms-view:hover{text-decoration:underline}
  @media(prefers-reduced-motion:reduce){.nmb,.nms,.nms-scrim{transition:none}}
