/* ============================================================
   Salt & Fern — Coastal homewares boutique (B5 / Custom tier)
   Single stylesheet, CSS custom properties.
   ============================================================ */

/* ---- Tokens ---------------------------------------------- */
:root {
  --bg:      #f4f1e9;   /* warm sand off-white — never #fff */
  --ink:     #23271f;
  --ink-60:  #5b6056;
  --ink-40:  #898d82;
  --brand:   #2f5e52;   /* deep eucalyptus teal */
  --brand-d: #244a41;
  --brand-l: #3a7264;
  --brand-2: #e4b65c;   /* warm ochre */
  --brand-2d:#c79a45;
  --card:    #fffdf8;
  --rule:    #e2dccd;
  --rule-d:  #d2cbb8;
  --clay:    #c08a6e;
  --oat:     #d8cbb0;

  --ease-brand: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1280px;
  --pad:  clamp(20px, 5vw, 64px);
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --shadow-1: 0 1px 2px rgba(35,39,31,.05), 0 4px 14px -8px rgba(35,39,31,.12);
  --shadow-2: 0 10px 40px -16px rgba(35,39,31,.28);

  --ff-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --ff-disp: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

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

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.display {
  font-family: var(--ff-disp);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
}
.eyebrow.on-brand { color: var(--brand-2); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-60); font-weight: 300; }
.h-xl { font-size: clamp(2.6rem, 6vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-sm { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.muted { color: var(--ink-60); }
.price { font-variant-numeric: tabular-nums; font-weight: 500; }

/* ---- Layout ---------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.stack > * + * { margin-top: 1rem; }

/* Re-themeable section band — flip palette with .band--brand (KB §16a) */
.band { background: var(--bg); color: var(--ink); }
.band--card { background: var(--card); }
.band--brand {
  background: var(--brand);
  color: #f3efe4;
  --ink: #f3efe4; --ink-60: #c3d2cb; --ink-40: #9fb4ab; --rule: #3c6e60;
}
.band--brand .eyebrow { color: var(--brand-2); }
.band--ink {
  background: var(--ink); color: #ece8dd;
  --ink: #ece8dd; --ink-60: #aeb1a6; --rule: #3a3e35;
}

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  transition: transform .4s var(--ease-brand), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
/* 3D pushable (KB §15d) */
.btn--push {
  background: var(--brand); color: #f3efe4;
  box-shadow: 0 4px 0 var(--brand-d);
  transform: translateY(0);
}
.btn--push:hover { background: var(--brand-l); }
.btn--push:active { transform: translateY(4px); box-shadow: 0 0 0 var(--brand-d); }
.btn--gold { background: var(--brand-2); color: #2a2410; box-shadow: 0 4px 0 var(--brand-2d); }
.btn--gold:hover { background: #eec374; }
.btn--gold:active { transform: translateY(4px); box-shadow: 0 0 0 var(--brand-2d); }
.btn--ghost { border: 1.5px solid currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.band--brand .btn--ghost { color: #f3efe4; }
.band--brand .btn--ghost:hover { background: #f3efe4; color: var(--brand); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn--sm { padding: .6em 1.05em; font-size: .85rem; }
.link-underline {
  position: relative; font-weight: 500; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease-brand);
}
.link-underline:hover { background-size: 100% 1.5px; }
.text-link { color: var(--brand); font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Header ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--brand) 96%, black);
  color: #f3efe4;
  border-bottom: 1px solid var(--brand-d);
}
.shipping-bar {
  background: var(--brand-d); color: #cfe0d8;
  font-size: .76rem; letter-spacing: .04em;
  padding: 7px 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px; position: relative;
}
.shipping-bar strong { color: var(--brand-2); font-weight: 600; }
.shipping-bar__msg { text-align: center; }
.demo-link {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--brand-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .25s, gap .25s var(--ease-brand);
}
.demo-link em { border-bottom: 1px dotted currentColor; padding-bottom: 1px; font-style: italic; }
.demo-link:hover { color: #f4d894; gap: 9px; }
@media (max-width: 920px) {
  .shipping-bar { flex-direction: column; gap: 3px; }
  .demo-link { position: static; transform: none; }
  .demo-link em { font-size: .74rem; }
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.brand-logo {
  font-family: var(--ff-disp); font-style: italic; font-size: 1.5rem;
  color: #f3efe4; letter-spacing: -.01em; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: .35rem;
}
.brand-logo .amp { color: var(--brand-2); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; margin-left: 1rem; }
.nav-links a {
  font-size: .92rem; font-weight: 400; color: #e6ede9;
  position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--brand-2); transition: width .35s var(--ease-brand);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-grid; place-items: center; color: #e6ede9;
  transition: background .25s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--brand-2); color: #2a2410; border-radius: 999px;
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
  line-height: 1; transition: transform .4s var(--ease-brand);
  font-variant-numeric: tabular-nums;
}
.cart-count[data-empty="true"] { transform: scale(0); }
.cart-count.bump { animation: countBump .5s var(--ease-brand); }
@keyframes countBump { 0%{transform:scale(1)} 35%{transform:scale(1.45)} 100%{transform:scale(1)} }

/* Shop dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  background: var(--card); color: var(--ink); border: 1px solid var(--rule);
  border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px;
  min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .3s var(--ease-brand), visibility .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); font-size: .92rem;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--bg); color: var(--brand); }
.dropdown a small { color: var(--ink-40); font-size: .78rem; }

/* mobile nav toggle */
.nav-toggle { display: none; }

/* ---- Footer ---------------------------------------------- */
.site-footer { background: var(--brand-d); color: #cfe0d8; padding-block: clamp(48px,7vw,80px) 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
}
.footer-col h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; padding: 5px 0; color: #cfe0d8; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-logo { font-size: 1.9rem; margin-bottom: .8rem; }
.footer-brand p { color: #aec4ba; font-size: .92rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #356054;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: #9fb6ac;
}
.footer-news { display: flex; gap: 8px; margin-top: 14px; max-width: 340px; }
.footer-news input {
  flex: 1; background: rgba(255,255,255,.08); border: 1px solid #3c6e60;
  border-radius: 999px; padding: .7em 1.1em; color: #fff; font-size: .9rem;
}
.footer-news input::placeholder { color: #9fb6ac; }
.footer-news button { padding: .7em 1.2em; }

/* ---- Product art (gradient/SVG placeholder) -------------- */
.art {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r);
  overflow: hidden; background: var(--oat); isolation: isolate;
}
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art--photo { background: var(--oat); }
.art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.art .art-label {
  position: absolute; left: 12px; bottom: 11px; z-index: 3;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(35,39,31,.45); background: rgba(255,253,248,.6);
  padding: 3px 7px; border-radius: 4px; backdrop-filter: blur(2px);
}
.art--dark .art-label { color: rgba(255,255,255,.7); background: rgba(0,0,0,.2); }
.art .grain { position: absolute; inset: 0; z-index: 2; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }

/* Film-develop lazyload (KB §19b) — animation-based */
.develop { filter: blur(14px) saturate(.4) brightness(1.05); transform: scale(1.04); }
.develop.developed { animation: sf-develop 1.1s var(--ease-brand) both; }
@keyframes sf-develop { from { filter: blur(14px) saturate(.4) brightness(1.05); transform: scale(1.04); } to { filter: none; transform: none; } }

/* ---- Product card ---------------------------------------- */
.product-grid {
  display: grid; gap: clamp(18px, 2.5vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: transparent;
}
.pcard__media {
  position: relative; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-1); transition: transform .5s var(--ease-brand), box-shadow .5s var(--ease-brand);
}
.pcard:hover .pcard__media { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.pcard__tags { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard__tag {
  white-space: nowrap;
  background: var(--brand-2); color: #2a2410; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.pcard__tag.tag--soldout { background: var(--ink); color: var(--bg); }
.pcard__tag.tag--sale { background: #b4402f; color: #fff; }
.pcard__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease-brand), transform .4s var(--ease-brand);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .pcard__quick { opacity: 1; transform: none; } }
.pcard__quick .btn { width: 100%; background: var(--card); color: var(--ink); box-shadow: var(--shadow-2); }
.pcard__quick .btn:hover { background: var(--brand); color: #f3efe4; }
.pcard__body { padding: 14px 2px 4px; display: flex; flex-direction: column; gap: 2px; }
.pcard__coll { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
.pcard__name { font-size: 1.02rem; font-weight: 500; line-height: 1.25; }
.pcard__name a:hover { color: var(--brand); }
.pcard__price { margin-top: 3px; display: flex; align-items: baseline; gap: .5rem; }
.pcard__price .was { color: var(--ink-40); text-decoration: line-through; font-weight: 400; font-size: .9rem; }
.pcard__price .now { color: #b4402f; }

/* ---- Collection tiles ------------------------------------ */
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,2vw,22px); }
.coll-tile {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-1);
}
.coll-tile .art { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.coll-tile__label {
  position: relative; z-index: 3; padding: 22px; width: 100%;
  background: linear-gradient(transparent, rgba(35,52,46,.72));
  color: #fff; transition: padding-bottom .4s var(--ease-brand);
}
.coll-tile:hover .coll-tile__label { padding-bottom: 30px; }
.coll-tile__label .name { font-family: var(--ff-disp); font-style: italic; font-size: 1.5rem; }
.coll-tile__label .count { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* ---- Hero ------------------------------------------------ */
.hero {
  position: relative; min-height: min(86vh, 760px); display: flex; align-items: center;
  color: #f3efe4; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: #20392f; }
.hero__bg svg { width: 100%; height: 100%; }
/* layered hero: blurred fill behind a slightly pulled-back sharp image (zoom-out) */
.hero__img-blur, .hero__img { position: absolute; inset: 0; background-position: center 42%; background-repeat: no-repeat; }
.hero__img-blur { background-size: cover; filter: blur(26px) brightness(.8) saturate(1.08); transform: scale(1.14); }
.hero__img { background-size: 94%; }
@media (max-width: 860px) { .hero__img { background-size: cover; } }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(22,38,32,.9) 0%, rgba(22,38,32,.62) 44%, rgba(22,38,32,.2) 100%),
    linear-gradient(0deg, rgba(22,38,32,.45) 0%, rgba(22,38,32,0) 38%); }
.hero__inner { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; text-shadow: 0 2px 24px rgba(18,30,25,.45); }
.hero h1 em { font-family: var(--ff-disp); font-style: italic; font-weight: 400; color: var(--brand-2); }
.hero p { margin-top: 1.2rem; font-size: clamp(1.08rem,1.6vw,1.28rem); color: #eef3ef; font-weight: 400; max-width: 46ch;
  text-shadow: 0 1px 14px rgba(18,30,25,.7), 0 1px 3px rgba(18,30,25,.5); }
.hero__cta { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* hero title: line 1 fades/drops in and line 2 types out — both driven by JS */
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; }
.hero-l1 { display: block; }
.hero-l2 { display: block; min-height: 1.04em; }
.hero-l2 em { font-family: var(--ff-disp); font-style: italic; font-weight: 400; color: var(--brand-2); }
.hero-sub { margin-top: 1.2rem; }

/* ---- Story strip ----------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--img-right { direction: ltr; }
.story-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 5/4; }
.story-media .art { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }

/* ---- Newsletter / IG ------------------------------------- */
.news-form { display: flex; gap: 8px; max-width: 460px; margin-top: 1.4rem; }
.news-form input {
  flex: 1; background: var(--card); border: 1.5px solid var(--rule);
  border-radius: 999px; padding: .9em 1.3em; font-size: .98rem;
}
.band--brand .news-form input { background: rgba(255,255,255,.1); border-color: #3c6e60; color: #fff; }
.band--brand .news-form input::placeholder { color: #a9c0b6; }
.ig-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; }
.ig-grid .art { aspect-ratio: 1; border-radius: var(--r-sm); cursor: pointer; }
.ig-grid .art:hover { filter: brightness(1.05); }
@media (max-width: 780px){ .ig-grid { grid-template-columns: repeat(3,1fr); } }

/* ---- Featured product rotator (newsletter section) ------- */
.featured-rotator { position: relative; }
.fr-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.fr-badge { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #b4402f; padding: 4px 10px; border-radius: 999px; }
.fr-sub { font-size: .82rem; color: var(--ink-60); }
.fr-viewport { overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-2); }
.fr-track { display: flex; transition: transform .8s var(--ease-brand); will-change: transform; }
.fr-slide { position: relative; flex: 0 0 100%; display: block; color: #fff; }
.fr-slide .art { aspect-ratio: 4/5; border-radius: 0; }
.fr-tag { position: absolute; top: 14px; left: 14px; z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #b4402f; padding: 4px 10px; border-radius: 999px; }
.fr-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 24px;
  background: linear-gradient(transparent, rgba(22,38,32,.85)); }
.fr-coll { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.fr-name { font-family: var(--ff-disp); font-style: italic; font-size: 1.5rem; margin-top: 3px; line-height: 1.1; }
.fr-price { margin-top: 6px; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.fr-now { font-size: 1.1rem; font-weight: 600; }
.fr-was { font-size: .92rem; text-decoration: line-through; opacity: .7; font-weight: 400; }
.fr-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.fr-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--rule-d); transition: width .35s var(--ease-brand), background .3s; }
.fr-dot.on { background: var(--brand); width: 22px; }
.fr-dot:hover { background: var(--brand-l); }

/* ---- Reveal (IO fade-up KB §15b) — transform-only (robust) -- */
/* Base is fully visible; we animate a slide so content is never stuck hidden. */
.reveal { opacity: 1; }
.reveal.in { animation: sf-reveal .8s var(--ease-brand) both; }
.reveal-stagger.in > * { animation: sf-reveal .7s var(--ease-brand) both; }
@keyframes sf-reveal { from { transform: translateY(24px); } to { transform: translateY(0); } }

/* Directional reveals — slide in from a chosen edge (transform-only so content
   is never stuck hidden in any engine). Pair with .reveal on the element. */
.reveal.dir-left.in  { animation: sf-in-left  .85s var(--ease-brand) both; }
.reveal.dir-right.in { animation: sf-in-right .85s var(--ease-brand) both; }
.reveal.dir-up.in    { animation: sf-in-up    .85s var(--ease-brand) both; }
.reveal.dir-down.in  { animation: sf-in-down  .85s var(--ease-brand) both; }
@keyframes sf-in-left  { from { transform: translateX(-48px); } to { transform: none; } }
@keyframes sf-in-right { from { transform: translateX(48px); }  to { transform: none; } }
@keyframes sf-in-up    { from { transform: translateY(48px); }  to { transform: none; } }
@keyframes sf-in-down  { from { transform: translateY(-48px); } to { transform: none; } }
/* Collection tiles slide in slower for a calmer, more deliberate reveal */
.coll-tile.reveal.dir-left.in  { animation: sf-in-left  1.5s var(--ease-brand) both; }
.coll-tile.reveal.dir-right.in { animation: sf-in-right 1.5s var(--ease-brand) both; }
.coll-tile.reveal.dir-up.in    { animation: sf-in-up    1.5s var(--ease-brand) both; }
.coll-tile.reveal.dir-down.in  { animation: sf-in-down  1.5s var(--ease-brand) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal.dir-left, .reveal.dir-right, .reveal.dir-up, .reveal.dir-down { animation: none !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { animation: none !important; transform: none !important; }
  .develop { filter: none !important; transform: none !important; }
}

/* ---- Cart drawer ----------------------------------------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(28,40,34,.4);
  backdrop-filter: blur(2px); visibility: hidden; transition: visibility .4s;
}
.drawer-overlay.open { visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(440px, 92vw);
  background: var(--bg); box-shadow: var(--shadow-2); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease-brand);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--rule); }
.drawer__head h3 { font-size: 1.1rem; }
.drawer__head .count-pill { font-size: .78rem; color: var(--ink-60); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { border-top: 1px solid var(--rule); padding: 18px 22px 22px; background: var(--card); }
.drawer__ship-meter { font-size: .82rem; color: var(--ink-60); margin-bottom: 14px; }
.meter { height: 6px; background: var(--rule); border-radius: 999px; overflow: hidden; margin-top: 7px; }
.meter > span { display: block; height: 100%; background: var(--brand-2); border-radius: 999px; transition: width .6s var(--ease-brand); }
.drawer__sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer__sub .price { font-size: 1.3rem; }
.drawer-empty { text-align: center; color: var(--ink-60); padding: 60px 20px; }
.drawer-empty svg { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--ink-40); }

/* Line item (shared with cart page) */
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.line-item__media { width: 72px; height: 90px; border-radius: var(--r-sm); overflow: hidden; }
.line-item__media .art { aspect-ratio: auto; height: 100%; border-radius: 0; }
.line-item__name { font-weight: 500; font-size: .96rem; line-height: 1.2; }
.line-item__var { font-size: .8rem; color: var(--ink-60); margin-top: 2px; }
.line-item__price { font-weight: 500; text-align: right; white-space: nowrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule-d); border-radius: 999px; margin-top: 8px; background: var(--card); }
.qty-stepper button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-60); border-radius: 999px; }
.qty-stepper button:hover { color: var(--brand); }
.qty-stepper span { min-width: 26px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.line-item__remove { font-size: .76rem; color: var(--ink-40); margin-top: 8px; }
.line-item__remove:hover { color: #b4402f; text-decoration: underline; }

/* ---- Toast ----------------------------------------------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: #f1ede2; padding: 12px 18px; border-radius: 999px;
  box-shadow: var(--shadow-2); font-size: .9rem; display: flex; align-items: center; gap: 10px;
  transform: translateY(120%); transition: transform .5s var(--ease-brand);
}
.toast.show { transform: translateY(0); }
.toast svg { width: 17px; height: 17px; color: var(--brand-2); }

/* ---- Filter bar (shop) ----------------------------------- */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter-bar {
  position: sticky; top: 100px; z-index: 30;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px; background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(10px); border: 1px solid var(--rule); border-radius: 999px;
  margin-bottom: 32px;
}
.chip {
  padding: .5em 1.05em; border-radius: 999px; font-size: .86rem; font-weight: 500;
  border: 1.5px solid var(--rule-d); color: var(--ink-60); transition: all .25s var(--ease-brand);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #f3efe4; }
.chip--sale { color: #b4402f; border-color: #e3b8af; }
.chip--sale:hover { border-color: #b4402f; color: #b4402f; }
.chip--sale[aria-pressed="true"] { background: #b4402f; border-color: #b4402f; color: #fff; }
.filter-bar__spacer { flex: 1; }
.filter-bar select { background: transparent; border: 1.5px solid var(--rule-d); border-radius: 999px; padding: .5em 2em .5em 1em; font-size: .86rem; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235b6056' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; }

/* ---- Breadcrumb ------------------------------------------ */
.crumbs { font-size: .82rem; color: var(--ink-60); display: flex; gap: .5rem; align-items: center; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--ink-40); }

/* ---- Product detail -------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.pdp__main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.pdp__main .art { aspect-ratio: 1; border-radius: 0; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.pdp__thumbs .art { aspect-ratio: 1; border-radius: var(--r-sm); cursor: pointer; box-shadow: var(--shadow-1); }
.pdp__thumbs .art[aria-current="true"] { outline: 2px solid var(--brand); outline-offset: 2px; }
.pdp__info { padding-top: 6px; }
.pdp__price { font-size: 1.6rem; font-weight: 500; margin: 10px 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__price .pdp-now { color: #b4402f; }
.pdp__price .pdp-was { color: var(--ink-40); text-decoration: line-through; font-weight: 400; font-size: 1.1rem; }
.sale-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #b4402f; padding: 4px 10px; border-radius: 999px; align-self: center; }
.variant-group { margin-top: 22px; }
.variant-group__label { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 10px; display: flex; justify-content: space-between; }
.variant-group__label b { color: var(--ink); font-weight: 500; text-transform: none; letter-spacing: 0; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  padding: .6em 1.05em; border-radius: 999px; border: 1.5px solid var(--rule-d);
  font-size: .9rem; transition: all .25s var(--ease-brand); background: var(--card);
}
.swatch:hover { border-color: var(--brand); }
.swatch[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #f3efe4; }
.swatch--color { padding-left: 2.2em; position: relative; }
.swatch--color::before { content: ''; position: absolute; left: .7em; top: 50%; translate: 0 -50%; width: 16px; height: 16px; border-radius: 999px; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pdp__buy { display: flex; gap: 12px; margin-top: 28px; align-items: stretch; }
.pdp__buy .qty-stepper { margin: 0; height: auto; border-color: var(--rule-d); }
.pdp__buy .qty-stepper button { width: 44px; height: 100%; }
.pdp__meta { margin-top: 28px; border-top: 1px solid var(--rule); }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 500; text-align: left; }
.accordion__head svg { width: 18px; height: 18px; transition: transform .4s var(--ease-brand); color: var(--ink-60); }
.accordion__item.open .accordion__head svg { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-brand); }
.accordion__panel-inner { padding: 0 2px 18px; color: var(--ink-60); font-size: .94rem; }
.stock-line { font-size: .86rem; color: var(--brand); margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.stock-line .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); }
.stock-line.low { color: var(--brand-2d); } .stock-line.low .dot { background: var(--brand-2); }
.stock-line.out { color: #b4402f; } .stock-line.out .dot { background: #b4402f; }

/* ---- Cart page ------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(28px,4vw,56px); align-items: start; }
.summary-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 26px; position: sticky; top: 100px; }
.summary-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 16px; font-size: 1.2rem; font-weight: 500; }
.summary-note { font-size: .8rem; color: var(--ink-60); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; }
.summary-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--brand); }

/* ---- Stripe-style checkout ------------------------------- */
.stripe-page { min-height: 100vh; background: #fff; color: #30313d; display: grid; grid-template-columns: 1fr 1fr; }
.stripe-left { background: linear-gradient(180deg,#2f5e52,#244a41); color: #e9f0ec; padding: clamp(28px,5vw,64px) clamp(28px,6vw,84px); }
.stripe-right { padding: clamp(28px,5vw,64px) clamp(24px,6vw,96px); display: flex; flex-direction: column; }
.stripe-brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-disp); font-style: italic; font-size: 1.3rem; margin-bottom: 40px; }
.stripe-amt { font-size: 2.6rem; font-weight: 600; letter-spacing: -.02em; }
.stripe-amt small { display: block; font-size: .85rem; font-weight: 500; opacity: .8; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; font-family: var(--ff-body); font-style: normal; }
.stripe-lines { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.18); }
.stripe-line { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.stripe-line .sl-media { width: 46px; height: 56px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.stripe-line .sl-media .art { aspect-ratio: auto; height: 100%; border-radius: 0; }
.stripe-test { margin-top: auto; padding-top: 30px; font-size: .78rem; color: #b9cdc5; }
.stripe-test code { background: rgba(255,255,255,.12); padding: 2px 6px; border-radius: 4px; }
.sform label { display: block; font-size: .82rem; font-weight: 500; margin: 16px 0 6px; color: #30313d; }
.sform .field { width: 100%; border: 1px solid #d5d8de; border-radius: 8px; padding: 11px 13px; font-size: .95rem; background: #fff; transition: border .2s, box-shadow .2s; }
.sform .field:focus { outline: none; border-color: #2f5e52; box-shadow: 0 0 0 3px rgba(47,94,82,.15); }
.sform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sform .card-row { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid #d5d8de; border-radius: 8px; overflow: hidden; }
.sform .card-row .field { border: none; border-radius: 0; }
.sform .card-row .split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d5d8de; }
.sform .card-row .split .field:first-child { border-right: 1px solid #d5d8de; }
.stripe-pay { margin-top: 26px; width: 100%; background: #2f5e52; color: #fff; padding: 14px; border-radius: 8px; font-weight: 600; font-size: 1rem; transition: background .2s, transform .1s; }
.stripe-pay:hover { background: #28534a; }
.stripe-pay:active { transform: translateY(1px); }
.stripe-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; font-size: .78rem; color: #6b7280; }
.stripe-secure svg { width: 14px; height: 14px; }
.stripe-autofill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #2f5e52; margin-top: 8px; cursor: pointer; font-weight: 500; }

/* ---- Confirmation ---------------------------------------- */
.confirm { max-width: 620px; margin-inline: auto; text-align: center; }
.confirm__check { width: 72px; height: 72px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 8px 24px -8px rgba(47,94,82,.6); }
.confirm__check svg { width: 36px; height: 36px; }
.order-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 26px; text-align: left; margin-top: 30px; }

/* ---- Generic page header --------------------------------- */
.page-head { padding-block: clamp(40px,6vw,72px) clamp(24px,3vw,36px); }
.prose { max-width: 68ch; }
.prose p { margin-top: 1.1rem; color: var(--ink-60); }
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.15rem; }
.prose ul.bullets { margin-top: 1rem; }
.prose ul.bullets li { position: relative; padding-left: 22px; margin-top: .6rem; color: var(--ink-60); }
.prose ul.bullets li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 999px; background: var(--brand-2); }

/* feature row of value props */
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,3vw,40px); }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature__ic { width: 40px; height: 40px; color: var(--brand-2); }
.band--brand .feature__ic { color: var(--brand-2); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-60); font-size: .94rem; }
.band--brand .feature p { color: #c3d2cb; }

/* faq / stockists list */
.stockist-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 18px; }
.stockist { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; }
.stockist h3 { font-size: 1.05rem; }
.stockist p { color: var(--ink-60); font-size: .9rem; margin-top: 4px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px,4vw,48px); flex-wrap: wrap; }
.section-head .h-lg { max-width: 18ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); }
.field-label { display: block; font-size: .82rem; font-weight: 500; margin: 18px 0 6px; }
.input { width: 100%; border: 1.5px solid var(--rule); border-radius: var(--r-sm); padding: .8em 1em; font-size: .96rem; background: var(--card); transition: border .25s; }
.input:focus { outline: none; border-color: var(--brand); }
textarea.input { min-height: 130px; resize: vertical; }

/* ============================================================
   ADMIN dashboard
   ============================================================ */
.admin { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: var(--bg); }
.admin-aside { background: var(--brand-d); color: #cfe0d8; padding: 22px 16px; display: flex; flex-direction: column; }
.admin-aside .brand-logo { font-size: 1.3rem; margin-bottom: 4px; }
.admin-aside .sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 28px; padding-left: 2px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav button { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: var(--r-sm); color: #cfe0d8; font-size: .92rem; text-align: left; transition: background .2s; }
.admin-nav button svg { width: 18px; height: 18px; opacity: .85; }
.admin-nav button:hover { background: rgba(255,255,255,.07); }
.admin-nav button.active { background: var(--brand); color: #fff; }
.admin-aside .aside-foot { margin-top: auto; font-size: .76rem; color: #8fa89e; padding-top: 20px; border-top: 1px solid #356054; }
.admin-aside .aside-foot a { color: var(--brand-2); }
.admin-main { padding: clamp(20px,3vw,40px); overflow-x: auto; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.6rem; }
.admin-topbar .who { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-60); }
.avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 30px; }
.stat { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px; }
.stat .k { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.stat .v { font-size: 1.7rem; font-weight: 600; margin-top: 6px; letter-spacing: -.02em; }
.stat .d { font-size: .8rem; margin-top: 4px; }
.stat .d.up { color: var(--brand); } .stat .d.down { color: #b4402f; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 24px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--rule); gap: 12px; flex-wrap: wrap; }
.panel__head h2 { font-size: 1.1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); font-weight: 600; padding: 12px 20px; border-bottom: 1px solid var(--rule); }
.table td { padding: 13px 20px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg); }
.t-prod { display: flex; align-items: center; gap: 12px; }
.t-prod .art { width: 42px; height: 52px; aspect-ratio: auto; border-radius: 6px; flex-shrink: 0; }
.t-prod .nm { font-weight: 500; }
.t-prod .sk { font-size: .76rem; color: var(--ink-40); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.badge--in { background: #e3efe9; color: var(--brand); }
.badge--low { background: #f7ecd4; color: var(--brand-2d); }
.badge--out { background: #f4ddd6; color: #b4402f; }
.badge--paid { background: #e3efe9; color: var(--brand); }
.badge--pending { background: #f7ecd4; color: var(--brand-2d); }
.badge--fulfilled { background: #e6e9f0; color: #4a5680; }
.row-actions { display: flex; gap: 6px; }
.row-actions button { width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; color: var(--ink-60); border: 1px solid var(--rule); background: var(--card); transition: all .2s; }
.row-actions button:hover { border-color: var(--brand); color: var(--brand); }
.row-actions button.del:hover { border-color: #b4402f; color: #b4402f; }

/* admin modal */
.modal-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(28,40,34,.45); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility .3s; }
.modal-overlay.open { visibility: visible; }
.modal { background: var(--bg); border-radius: var(--r-lg); width: min(640px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-2); transform: translateY(16px) scale(.98); transition: transform .4s var(--ease-brand); }
.modal-overlay.open .modal { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.modal__head h2 { font-size: 1.2rem; }
.modal__body { padding: 22px 24px; }
.modal__foot { padding: 16px 24px; border-top: 1px solid var(--rule); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; background: var(--bg); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.flabel { font-size: .82rem; font-weight: 500; margin-bottom: 6px; display: block; }
.admin-banner { background: #f7ecd4; border: 1px solid #ead9ab; color: #7a5e1e; border-radius: var(--r); padding: 12px 16px; font-size: .85rem; margin-bottom: 24px; display: flex; gap: 10px; align-items: flex-start; }
.admin-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.admin-banner code { background: rgba(122,94,30,.12); padding: 1px 5px; border-radius: 4px; font-size: .92em; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .coll-grid { grid-template-columns: repeat(2,1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-links, .has-dropdown { display: none; }
  .nav-toggle { display: inline-grid; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery, .summary-card, .pdp__info { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .stripe-page { grid-template-columns: 1fr; }
  .stripe-left { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .filter-bar { top: 92px; }
  .admin { grid-template-columns: 1fr; }
  .admin-aside { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .admin-aside .sub, .admin-aside .aside-foot { display: none; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .coll-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .stat-row { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .pdp__buy { flex-wrap: wrap; }
}

/* mobile slide-nav */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(320px,86vw); background: var(--brand); color: #f3efe4; z-index: 92; transform: translateX(100%); transition: transform .5s var(--ease-brand); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav.open { transform: none; }
.mobile-nav a { padding: 13px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--brand-l); }
.mobile-nav .close-x { align-self: flex-end; margin-bottom: 14px; }
