/* ==========================================================================
   LIT LAVENDER — STOREFRONT v4 "FIELD EDITION" (2026-07-26)
   A DTC editorial system for /shop, /shop/*, and the homepage shop strip.
   --------------------------------------------------------------------------
   Principles
     1. Paper, ink and one field violet. No gradients doing decoration's job.
     2. Type carries the brand: display serif at real editorial scale,
        micro-labels in wide-tracked caps, body set for reading not filling.
     3. Hairlines and whitespace instead of boxes and shadows.
     4. Motion is short, eased, and always optional (prefers-reduced-motion).
     5. No emoji in storefront chrome — a single stroked icon set instead.
   All storefront chrome keeps its sd-/qv-/gb-/pp- prefixes so nothing
   collides with the paused legacy cart styles still living in site.css.
   ========================================================================== */

:root {
  /* ---- ink & paper ---- */
  --sh-ink:        #17131C;
  --sh-ink-2:      #3B3346;
  --sh-ink-3:      #6A6076;
  --sh-plum:       #2E2340;
  --sh-plum-deep:  #1F1830;

  /* ---- the field ---- */
  --sh-violet:     #6B54A0;
  --sh-violet-d:   #4E3C7C;
  --sh-violet-l:   #8C74C4;
  --sh-dusty:      #A392C4;
  --sh-haze:       #EBE6F4;
  --sh-haze-2:     #F4F1FA;

  /* ---- harvest ---- */
  --sh-wheat:      #B08430;
  --sh-wheat-l:    #D8B25A;
  --sh-wheat-soft: #F5EDDC;
  --sh-sage:       #6F7E62;
  --sh-sage-soft:  #EAEEE4;
  --sh-clay:       #A96B50;

  /* ---- paper ---- */
  --sh-paper:      #FAF7F1;
  --sh-paper-2:    #F2ECE1;
  --sh-paper-3:    #E7DFD1;
  --sh-card:       #FFFFFF;

  /* ---- lines ---- */
  --sh-line:       rgba(46, 35, 64, 0.14);
  --sh-line-soft:  rgba(46, 35, 64, 0.075);
  --sh-line-hard:  rgba(46, 35, 64, 0.26);

  /* ---- elevation (restrained) ---- */
  --sh-lift-1: 0 1px 2px rgba(23, 19, 28, 0.04);
  --sh-lift-2: 0 2px 4px rgba(23, 19, 28, 0.05), 0 14px 34px -18px rgba(23, 19, 28, 0.22);
  --sh-lift-3: 0 4px 8px rgba(23, 19, 28, 0.06), 0 30px 70px -24px rgba(23, 19, 28, 0.34);
  --sh-lift-float: 0 12px 40px -10px rgba(31, 24, 48, 0.42);

  /* ---- type scale ---- */
  --t-display: clamp(2.55rem, 7.4vw, 5.4rem);
  --t-h1:      clamp(2rem, 5.2vw, 3.6rem);
  --t-h2:      clamp(1.6rem, 3.7vw, 2.6rem);
  --t-h3:      clamp(1.12rem, 2.1vw, 1.45rem);
  --t-lead:    clamp(1rem, 1.35vw, 1.2rem);
  --t-small:   0.875rem;
  --t-micro:   0.7rem;

  --trk-display: -0.032em;
  --trk-label:   0.2em;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 620ms;

  /* legacy aliases kept so nothing that still references them breaks */
  --sh-lav: var(--sh-violet);
  --sh-lav-soft: var(--sh-haze);
  --sh-gold: var(--sh-wheat);
  --sh-gold-soft: var(--sh-wheat-soft);
  --sh-cream: var(--sh-paper);
  --sh-hairline: var(--sh-line);
  --sh-shadow-card: var(--sh-lift-1);
  --sh-shadow-card-hover: var(--sh-lift-2);
  --sh-shadow-float: var(--sh-lift-float);
}

[data-theme="dark"] {
  --sh-ink:        #F3EFF8;
  --sh-ink-2:      #CFC7DC;
  --sh-ink-3:      #9C93AC;
  --sh-plum:       #E4DDF1;
  --sh-violet:     #A88FDC;
  --sh-violet-d:   #8C74C4;
  --sh-violet-l:   #C2AEF0;
  --sh-dusty:      #9483B6;
  --sh-haze:       rgba(139, 111, 184, 0.16);
  --sh-haze-2:     rgba(139, 111, 184, 0.09);
  --sh-wheat:      #D8B25A;
  --sh-wheat-l:    #EBCD86;
  --sh-wheat-soft: rgba(216, 178, 90, 0.15);
  --sh-sage-soft:  rgba(111, 126, 98, 0.18);
  --sh-paper:      var(--surface-alt);
  --sh-paper-2:    var(--surface-alt);
  --sh-paper-3:    rgba(255, 255, 255, 0.08);
  --sh-card:       var(--surface);
  --sh-line:       rgba(196, 178, 227, 0.2);
  --sh-line-soft:  rgba(196, 178, 227, 0.11);
  --sh-line-hard:  rgba(196, 178, 227, 0.34);
}

/* Storefront pages own the bottom edge (gift bar + dock). */
body.store-page .mobile-cta-bar { display: none !important; }
body.store-page .lavi-fab, body.store-page .lavi-panel { display: none !important; }
body.store-page { padding-bottom: 0; }
body.store-page.gb-active { padding-bottom: 84px; }

/* ==========================================================================
   0. EDITORIAL PRIMITIVES
   ========================================================================== */

.ll-label,
.store-page .section-label,
.store-home .section-label {
  display: inline-block;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--trk-label);
  text-transform: uppercase;
  color: var(--sh-violet);
  margin-bottom: 14px;
}
.ll-label.wheat { color: var(--sh-wheat); }
.ll-label.muted { color: var(--sh-ink-3); }
.ll-label::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  vertical-align: 4px;
  margin-right: 10px;
  opacity: 0.55;
}

.ll-display {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-display);
  line-height: 0.94;
  letter-spacing: var(--trk-display);
  font-weight: 700;
  color: var(--sh-ink);
  margin: 0 0 18px;
}
.ll-h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--sh-ink);
  margin: 0 0 14px;
}
.ll-lead {
  font-size: var(--t-lead);
  line-height: 1.68;
  color: var(--sh-ink-2);
  max-width: 62ch;
  font-weight: 400;
}
.ll-rule { height: 1px; background: var(--sh-line); border: 0; margin: 0; }

/* Paper texture — one tiny inline SVG, no network cost. */
.ll-paper {
  background-color: var(--sh-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
[data-theme="dark"] .ll-paper { background-image: none; }

/* Scroll reveal.
   SAFETY: the hidden state is scoped to html.ll-reveal, which store.js sets
   the instant it starts. If the module fails to parse, fails to load, or the
   browser is too old, every [data-reveal] block renders normally instead of
   sitting at opacity:0 forever. A storefront must never be able to hide its
   own products because of a decoration. */
html.ll-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
html.ll-reveal [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }
html.ll-reveal [data-reveal="fade"] { transform: none; }
html.ll-reveal [data-reveal="left"]  { transform: translateX(-26px); }
html.ll-reveal [data-reveal="right"] { transform: translateX(26px); }
html.ll-reveal [data-reveal="scale"] { transform: scale(0.965); }
html.ll-reveal [data-reveal].is-in[data-reveal] { transform: none; }

/* ==========================================================================
   1. HERO — editorial, asymmetric, full-bleed photography
   ========================================================================== */
.store-hero {
  position: relative;
  min-height: clamp(600px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #221B31;
}
.store-hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: 100%;
  object-fit: cover; object-position: center 60%;
  transform: scale(1.06);
  animation: ll-hero-drift 22s var(--ease-in-out) infinite alternate;
}
@keyframes ll-hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(0, -1.6%, 0); }
}
.store-hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(6deg, rgba(18, 13, 30, 0.9) 0%, rgba(18, 13, 30, 0.58) 30%, rgba(18, 13, 30, 0.10) 62%, rgba(18, 13, 30, 0.28) 100%),
    radial-gradient(120% 78% at 12% 92%, rgba(18, 13, 30, 0.72), transparent 62%);
}
.store-hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px clamp(52px, 8vh, 96px);
  color: #fff;
}
.store-hero-kicker {
  display: block;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 20px;
}
.store-hero-kicker::before {
  content: ""; display: inline-block; width: 30px; height: 1px;
  background: var(--sh-wheat-l); vertical-align: 5px; margin-right: 12px;
}
.store-hero h1 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-display);
  line-height: 0.93;
  letter-spacing: var(--trk-display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 22px;
  max-width: 15ch;
  text-wrap: balance;
}
.store-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sh-wheat-l);
}
.store-hero-sub {
  font-size: var(--t-lead);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 0 26px;
  font-weight: 300;
}
.store-hero-offer {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.store-hero-offer .tag {
  background: var(--sh-wheat-l);
  color: #2A2010;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
}
.store-hero-offer b { letter-spacing: 0.09em; }

.store-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn-hero, .btn-hero-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-1), color var(--dur-1), box-shadow var(--dur-1);
}
.btn-hero { background: #fff; color: var(--sh-plum-deep); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7); }
.btn-hero:hover { background: var(--sh-wheat-l); color: #241A08; transform: translateY(-2px); }
.btn-hero:active { transform: translateY(0) scale(0.985); }
.btn-hero-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: translateY(-2px); }
.btn-hero-ghost:active { transform: translateY(0) scale(0.985); }

.store-hero-proof {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}
.store-hero-proof .stars { color: var(--sh-wheat-l); letter-spacing: 0.12em; font-size: 0.82rem; }
.store-hero-proof .dot { opacity: 0.4; }
.store-hero-proof a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.store-hero-proof a:hover { color: #fff; }

/* Scroll cue */
.store-hero-cue {
  position: absolute; right: 26px; bottom: 30px;
  writing-mode: vertical-rl;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; gap: 12px;
}
.store-hero-cue::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: ll-cue 2.4s var(--ease-in-out) infinite;
}
@keyframes ll-cue { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ==========================================================================
   2. PROOF / TRUST STRIPS
   ========================================================================== */
.store-trust {
  background: var(--sh-plum-deep);
  color: rgba(255, 255, 255, 0.92);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.store-trust .container {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 40px;
  padding: 18px 24px;
}
.store-trust span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.store-trust svg { width: 17px; height: 17px; flex: none; color: var(--sh-wheat-l); }

/* Provenance proof band */
.proof-band { background: var(--sh-paper); border-block: 1px solid var(--sh-line-soft); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.proof-cell { padding: 34px 30px; border-left: 1px solid var(--sh-line-soft); }
.proof-cell:first-child { border-left: 0; }
.proof-cell .stars { color: var(--sh-wheat); letter-spacing: 0.16em; font-size: 0.9rem; display: block; margin-bottom: 12px; }
.proof-cell .ico { color: var(--sh-violet); display: block; margin-bottom: 12px; }
.proof-cell .ico svg { width: 26px; height: 26px; }
.proof-cell h4 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.12rem; line-height: 1.28; letter-spacing: -0.015em;
  color: var(--sh-ink); margin: 0 0 8px;
}
.proof-cell p { font-size: 0.9rem; line-height: 1.62; color: var(--sh-ink-2); margin: 0 0 12px; }
.proof-cell a.more {
  font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sh-violet); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.proof-cell a.more:hover { color: var(--sh-ink); }

/* legacy review-strip -> restyled to match */
.review-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--sh-line-soft); }
.review-card { padding: 32px 28px; border-left: 1px solid var(--sh-line-soft); background: transparent; }
.review-card:first-child { border-left: 0; }
.review-card .stars { color: var(--sh-wheat); letter-spacing: 0.16em; margin-bottom: 12px; font-size: 0.95rem; }
.review-card p { font-size: 0.92rem; line-height: 1.65; color: var(--sh-ink-2); }
.review-card .who a {
  font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.16em;
  color: var(--sh-violet); text-decoration: none; border-bottom: 1px solid currentColor;
}

/* ==========================================================================
   3. SHOP BY RITUAL
   ========================================================================== */
.ritual-nav { padding: clamp(48px, 7vw, 84px) 0 8px; }
.ritual-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; flex-wrap: wrap; }
.ritual-head p { margin: 0; max-width: 44ch; font-size: 0.95rem; line-height: 1.68; color: var(--sh-ink-2); }
.ritual-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ritual-card {
  position: relative; display: block;
  aspect-ratio: 3 / 4;
  border-radius: 3px; overflow: hidden; isolation: isolate;
  background: var(--sh-plum-deep);
  border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: none;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.ritual-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform 900ms var(--ease-out), filter var(--dur-2);
  filter: saturate(0.92);
}
.ritual-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 14, 32, 0.12) 30%, rgba(20, 14, 32, 0.86) 100%);
  transition: background var(--dur-2);
}
.ritual-card .rc-body { position: absolute; inset: auto 0 0 0; padding: 16px 14px; color: #fff; }
.ritual-card .rc-n { display: block; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sh-wheat-l); margin-bottom: 6px; }
.ritual-card .rc-t {
  display: block;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.02rem; line-height: 1.18; letter-spacing: -0.015em; font-weight: 700;
}
.ritual-card .rc-c { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.68); margin-top: 5px; letter-spacing: 0.04em; }
.ritual-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lift-3); }
.ritual-card:hover img { transform: scale(1.07); filter: saturate(1.05); }
.ritual-card:hover::after { background: linear-gradient(180deg, rgba(107, 84, 160, 0.18) 20%, rgba(20, 14, 32, 0.9) 100%); }
.ritual-card.active { outline: 2px solid var(--sh-violet); outline-offset: 3px; }

/* ==========================================================================
   4. FILTERS + GRID + PRODUCT CARDS
   ========================================================================== */
.store-toolbar {
  position: sticky; top: 62px; z-index: 30;
  background: color-mix(in srgb, var(--background, #fff) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-block: 1px solid var(--sh-line-soft);
  margin-bottom: 34px;
}
.store-toolbar-in { display: flex; align-items: center; gap: 18px; padding: 11px 0; overflow: hidden; position: relative; }
/* Fade the right edge so a scrollable pill row reads as scrollable, not clipped. */
.store-toolbar-in::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 44px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--background, #fff));
}
.store-count { font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-ink-3); white-space: nowrap; flex: none; }
/* Active-ritual chip — the only signal that the grid is filtered once the
   ritual rail has scrolled away. Tap to clear. */
.ritual-chip {
  flex: none; order: -1;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px 9px 15px; border-radius: 999px;
  border: 1px solid var(--sh-violet); background: var(--sh-violet); color: #fff;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-1), transform var(--dur-1);
}
.ritual-chip:hover { background: var(--sh-violet-d); }
.ritual-chip:active { transform: scale(0.96); }
.ritual-chip .x { font-size: 1rem; line-height: 1; opacity: 0.8; }
.ritual-chip[hidden] { display: none; }
@media (max-width: 880px) { .ritual-chip { min-height: 44px; } }
.store-filters {
  display: flex; gap: 7px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 0; flex: 1;
}
.store-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  flex: none;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--sh-line);
  background: transparent;
  color: var(--sh-ink-2);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.filter-pill:hover { border-color: var(--sh-violet); color: var(--sh-violet); }
.filter-pill:active { transform: scale(0.96); }
.filter-pill.active { background: var(--sh-ink); border-color: var(--sh-ink); color: var(--sh-paper); }
[data-theme="dark"] .filter-pill.active { background: var(--sh-violet); border-color: var(--sh-violet); color: #fff; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 4px;
  border-top: 1px solid var(--sh-line-soft);
  border-left: 1px solid var(--sh-line-soft);
  background: var(--sh-line-soft);
}
.store-grid .p-card.is-hidden { display: none; }
.store-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; background: var(--sh-card); }
.store-empty h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 8px; color: var(--sh-ink); }
.store-empty p { color: var(--sh-ink-3); font-size: 0.92rem; }

.p-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--sh-card);
  overflow: hidden;
  transition: box-shadow var(--dur-2) var(--ease-out);
}
.p-card:hover { box-shadow: var(--sh-lift-2); z-index: 2; }
.p-card-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sh-paper-2); }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 800ms var(--ease-out), opacity var(--dur-2); }
.p-card:hover .p-card-img img { transform: scale(1.045); }
.p-card-img .alt { position: absolute; inset: 0; opacity: 0; transition: opacity 450ms var(--ease-out); }
.p-card:hover .p-card-img .alt { opacity: 1; }

.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center;
  padding: 6px 11px; border-radius: 2px;
  background: var(--sh-ink); color: var(--sh-paper);
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.p-badge.gift   { background: var(--sh-wheat); color: #241A08; }
.p-badge.bundle { background: var(--sh-sage); color: #fff; }
.p-badge.soldout{ background: var(--sh-ink-3); color: #fff; }

.p-quick {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--sh-ink);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer; opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), background var(--dur-1);
  box-shadow: var(--sh-lift-1);
}
.p-card:hover .p-quick, .p-quick:focus-visible { opacity: 1; transform: none; }
.p-quick:hover { background: #fff; }
.p-quick svg { width: 14px; height: 14px; }

.p-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-card-body h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.04rem; line-height: 1.24; letter-spacing: -0.018em; font-weight: 700;
  margin: 0 0 5px;
}
.p-card-body h3 a { color: var(--sh-ink); text-decoration: none; }
.p-card-body h3 a:hover { color: var(--sh-violet); }
.p-tagline { font-size: 0.83rem; line-height: 1.5; color: var(--sh-ink-3); margin: 0 0 12px; font-weight: 300; }
.p-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.p-price { font-family: var(--font-serif, 'Playfair Display', Georgia, serif); font-size: 1.16rem; font-weight: 700; color: var(--sh-ink); letter-spacing: -0.01em; }
.p-from { font-size: var(--t-micro); letter-spacing: 0.13em; text-transform: uppercase; color: var(--sh-ink-3); }
.p-compare { font-size: 0.82rem; color: var(--sh-ink-3); text-decoration: line-through; }
.p-card-actions { margin-top: auto; }

.btn-add {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--sh-ink); border-radius: 2px;
  background: transparent; color: var(--sh-ink);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.73rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1), transform 90ms var(--ease-out), border-color var(--dur-1);
}
.btn-add:hover { background: var(--sh-ink); color: var(--sh-paper); }
.btn-add:active { transform: scale(0.975); }
.btn-add.added { background: var(--sh-sage); border-color: var(--sh-sage); color: #fff; }
[data-theme="dark"] .btn-add { border-color: var(--sh-violet); color: var(--sh-violet-l); }
[data-theme="dark"] .btn-add:hover { background: var(--sh-violet); color: #fff; }

.btn-add.solid { background: var(--sh-violet); border-color: var(--sh-violet); color: #fff; }
.btn-add.solid:hover { background: var(--sh-violet-d); border-color: var(--sh-violet-d); color: #fff; }

.p-reassure { margin: 9px 0 0; font-size: 0.66rem; line-height: 1.5; letter-spacing: 0.055em; text-transform: uppercase; color: var(--sh-ink-3); }
.farm-stand-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px 16px;
  border: 1px dashed var(--sh-line-hard); border-radius: 2px;
  background: var(--sh-paper-2); color: var(--sh-ink-2);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.soldout-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--sh-line); border-radius: 2px;
  background: var(--sh-paper-2); color: var(--sh-ink-3);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.p-card.is-soldout .p-card-img img { filter: grayscale(0.55) opacity(0.62); }

/* ==========================================================================
   5. EDITORIAL BANDS
   ========================================================================== */
.ed-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--sh-paper); }
.ed-split.reverse { direction: rtl; }
.ed-split.reverse > * { direction: ltr; }
.ed-split-media { position: relative; min-height: 440px; overflow: hidden; margin: 0; }
.ed-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-split-media figcaption {
  position: absolute; left: 0; bottom: 0; padding: 10px 16px;
  background: rgba(18, 13, 30, 0.72); color: rgba(255, 255, 255, 0.9);
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.ed-split-body { padding: clamp(38px, 6vw, 84px) clamp(24px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.ed-split-body p { font-size: 1rem; line-height: 1.78; color: var(--sh-ink-2); max-width: 52ch; }

.ed-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin-top: 26px; }
.ed-stat { display: flex; gap: 13px; align-items: flex-start; }
.ed-stat svg { width: 21px; height: 21px; flex: none; color: var(--sh-violet); margin-top: 2px; }
.ed-stat b { display: block; font-size: 0.9rem; color: var(--sh-ink); letter-spacing: -0.005em; margin-bottom: 3px; }
.ed-stat span { display: block; font-size: 0.82rem; line-height: 1.55; color: var(--sh-ink-3); }

.ed-quote {
  position: relative; padding: clamp(70px, 12vw, 150px) 24px; text-align: center;
  background: var(--sh-plum-deep); color: #fff; overflow: hidden; isolation: isolate;
}
.ed-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.34; }
.ed-quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 50% 50%, rgba(31,24,48,0.4), rgba(31,24,48,0.9)); }
.ed-quote blockquote {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.24; letter-spacing: -0.022em;
  max-width: 20ch; margin: 0 auto 20px; font-weight: 400; font-style: italic; color: #fff; text-wrap: balance;
  border: 0; padding: 0; background: none;
}
/* site.css hangs a decorative " glyph off every blockquote — not here. */
.ed-quote blockquote::before, .ed-quote blockquote::after { content: none !important; display: none !important; }
.ed-quote cite { display: block; font-style: normal; font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }

.visual-break { position: relative; }

/* ==========================================================================
   6. THE GIFT LADDER — designed, not a progress bar
   ========================================================================== */
.gift-ladder-card {
  position: relative; background: var(--sh-plum-deep); color: #fff;
  border-radius: 4px; padding: clamp(30px, 4.6vw, 56px) clamp(22px, 4vw, 54px);
  overflow: hidden; isolation: isolate;
}
.gift-ladder-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  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='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
.gift-ladder-card .section-label, .gift-ladder-card .ll-label { color: var(--sh-wheat-l); }
.gift-ladder-head { display: flex; gap: 30px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 40px; }
.gift-ladder-head h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.026em; color: #fff; margin: 0; max-width: 17ch;
}
.gift-ladder-head p { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 38ch; margin: 0; }

.gift-rail { position: relative; padding: 4px 0 0; }
.gift-rail-track { position: absolute; left: 6%; right: 6%; top: 21px; height: 1px; background: rgba(255, 255, 255, 0.18); }
.gift-rail-track::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: var(--ladder-pct, 0%);
  background: linear-gradient(90deg, var(--sh-violet-l), var(--sh-wheat-l));
  transition: width 900ms var(--ease-out);
}
.gift-rail-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.gift-rail-step { text-align: center; }
.gift-rail-step .node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sh-plum-deep); border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.7); margin-bottom: 14px;
  transition: transform var(--dur-2) var(--ease-out), background var(--dur-2), border-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.gift-rail-step .node svg { width: 18px; height: 18px; }
.gift-rail-step .amt {
  display: block; font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.18rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 4px;
}
.gift-rail-step .what { display: block; font-size: 0.74rem; line-height: 1.45; color: rgba(255,255,255,0.62); }
.gift-rail-step.hit .node { background: var(--sh-wheat-l); border-color: var(--sh-wheat-l); color: #2A2010; box-shadow: 0 0 0 6px rgba(216, 178, 90, 0.16); }
.gift-rail-step.hit .what { color: rgba(255,255,255,0.86); }
.gift-rail-step.just-hit .node { animation: ll-pop 620ms var(--ease-out); }
@keyframes ll-pop { 0% { transform: scale(1); } 38% { transform: scale(1.28); } 100% { transform: scale(1); } }
.gift-ladder-fine {
  margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.7;
}
.gift-ladder-fine b { color: var(--sh-wheat-l); }

/* ==========================================================================
   7. CART FAB + HEADER CART
   ========================================================================== */
.store-cart-fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 19px; border: 0; border-radius: 999px;
  background: var(--sh-ink); color: var(--sh-paper);
  box-shadow: var(--sh-lift-float); cursor: pointer;
  font-family: 'Lato', system-ui, sans-serif; font-size: 0.82rem; font-weight: 700;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2);
}
.store-cart-fab svg { width: 19px; height: 19px; }
.store-cart-fab .fab-count {
  min-width: 21px; height: 21px; border-radius: 999px;
  background: var(--sh-wheat-l); color: #241A08;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
}
.store-cart-fab.empty { opacity: 0; pointer-events: none; transform: translateY(14px) scale(0.9); }
.store-cart-fab.bump { animation: ll-bump 460ms var(--ease-out); }
@keyframes ll-bump { 0%,100% { transform: none; } 40% { transform: scale(1.09); } }

.store-header-cart {
  position: relative; background: transparent; border: 0; cursor: pointer;
  color: var(--text, #17131C); padding: 9px 8px;
  display: inline-flex; align-items: center;
}
.store-header-cart svg { width: 21px; height: 21px; }
.store-header-cart .hc-count {
  position: absolute; top: 1px; right: 0;
  min-width: 17px; height: 17px; border-radius: 999px;
  background: var(--sh-violet); color: #fff;
  font-size: 0.62rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.store-header-cart .hc-count[data-n="0"] { display: none; }

/* ==========================================================================
   8. CART DRAWER
   ========================================================================== */
.sd-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(17, 12, 26, 0.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out);
}
.sd-backdrop.open { opacity: 1; pointer-events: auto; }

.sd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(430px, 100vw);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  background: var(--sh-card);
  box-shadow: -30px 0 70px -30px rgba(17, 12, 26, 0.5);
  transform: translateX(102%);
  transition: transform 460ms var(--ease-out);
}
.sd-drawer.open { transform: none; }

.sd-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--sh-line-soft); }
.sd-head h2 { font-family: var(--font-serif, 'Playfair Display', Georgia, serif); font-size: 1.22rem; letter-spacing: -0.02em; color: var(--sh-ink); margin: 0; }
.sd-head .n { font-family: 'Lato', sans-serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-ink-3); margin-left: 8px; }
.sd-close {
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--sh-ink-3);
  width: 38px; height: 38px; border-radius: 50%;
  transition: background var(--dur-1), color var(--dur-1);
}
.sd-close:hover { background: var(--sh-paper-2); color: var(--sh-ink); }

.sd-items { overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.sd-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--sh-line-soft); }
.sd-item:last-child { border-bottom: 0; }
.sd-item img { width: 66px; height: 66px; object-fit: cover; border-radius: 2px; background: var(--sh-paper-2); }
.sd-item .nm { display: block; font-family: var(--font-serif, 'Playfair Display', Georgia, serif); font-size: 0.96rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--sh-ink); text-decoration: none; }
.sd-item .nm:hover { color: var(--sh-violet); }
.sd-item .vr { font-size: 0.72rem; color: var(--sh-ink-3); margin-top: 3px; letter-spacing: 0.04em; }
.sd-item .pr { font-size: 0.9rem; font-weight: 700; color: var(--sh-ink); margin-top: 5px; }
.sd-item.gift { background: var(--sh-wheat-soft); border-radius: 3px; padding: 12px; border-bottom: 0; }
.sd-item.gift .gift-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sh-wheat); margin-bottom: 5px; }
.sd-item.gift .gift-tag svg { width: 12px; height: 12px; }
.sd-item.gift .pr { color: var(--sh-wheat); letter-spacing: 0.1em; font-size: 0.76rem; }
.sd-item.oos { opacity: 0.62; }

.sd-qty { display: inline-flex; align-items: center; border: 1px solid var(--sh-line); border-radius: 2px; margin-top: 9px; }
.sd-qty button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; color: var(--sh-ink-2); font-size: 1rem; line-height: 1; transition: background var(--dur-1), color var(--dur-1); }
.sd-qty button:hover:not(:disabled) { background: var(--sh-paper-2); color: var(--sh-ink); }
.sd-qty button:disabled { opacity: 0.32; cursor: not-allowed; }
.sd-qty .q { min-width: 34px; text-align: center; font-size: 0.86rem; font-weight: 700; color: var(--sh-ink); }
.sd-rm { background: transparent; border: 0; cursor: pointer; font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sh-ink-3); padding: 4px; transition: color var(--dur-1); }
.sd-rm:hover { color: var(--sh-clay); }

.sd-empty { text-align: center; padding: 46px 18px; }
.sd-empty .big { display: block; color: var(--sh-dusty); margin-bottom: 18px; }
.sd-empty .big svg { width: 46px; height: 46px; }
.sd-empty h4 { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: -0.02em; color: var(--sh-ink); margin: 0 0 8px; }
.sd-empty p { font-size: 0.9rem; line-height: 1.65; color: var(--sh-ink-3); margin: 0 auto 20px; max-width: 30ch; }
.sd-empty-links { display: flex; flex-direction: column; gap: 8px; max-width: 250px; margin: 0 auto; }

.sd-addons { padding: 4px 22px 12px; }
.sd-addons h4 { font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-ink-3); margin: 0 0 10px; }
.sd-addon-row { display: flex; flex-direction: column; gap: 8px; }
.sd-addon {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 11px; border: 1px solid var(--sh-line-soft); border-radius: 2px;
  background: var(--sh-paper); cursor: pointer; text-align: left;
  transition: border-color var(--dur-1), background var(--dur-1), transform 90ms var(--ease-out);
}
.sd-addon:hover { border-color: var(--sh-violet); background: var(--sh-haze-2); }
.sd-addon:active { transform: scale(0.99); }
.sd-addon img { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; flex: none; }
.sd-addon > span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sd-addon .a-name { font-size: 0.83rem; font-weight: 600; color: var(--sh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-addon .a-price { font-size: 0.74rem; color: var(--sh-violet); font-weight: 700; }
.sd-addon .a-why { font-size: 0.68rem; color: var(--sh-ink-3); }
.sd-addon .a-plus { flex: none; color: var(--sh-violet); font-size: 1.2rem; line-height: 1; }
.sd-drawer.has-stock-error .sd-addons { display: none; }

.sd-milestone { padding: 10px 22px 4px; }
.sd-milestone .msg { font-size: 0.83rem; color: var(--sh-ink-2); margin-bottom: 10px; line-height: 1.5; }
.sd-milestone .msg .hl { color: var(--sh-violet); font-weight: 800; }
.sd-milestone .msg.done { color: var(--sh-wheat); font-weight: 700; }
.sd-track { position: relative; height: 3px; border-radius: 999px; background: var(--sh-paper-3); }
.sd-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--sh-violet), var(--sh-wheat)); transition: width 700ms var(--ease-out); }
.sd-dot {
  position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--sh-paper-3);
  box-shadow: 0 0 0 2px var(--sh-card);
  transition: background var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.sd-dot.hit { background: var(--sh-wheat); transform: scale(1.25); }

.sd-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sh-line-soft); background: var(--sh-card); }
.sd-sums { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.sd-sums .row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--sh-ink-2); }
.sd-sums .row.gifts { color: var(--sh-wheat); font-weight: 700; }
.sd-sums .row.total {
  padding-top: 10px; border-top: 1px solid var(--sh-line-soft);
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.06rem; font-weight: 700; color: var(--sh-ink);
}
.sd-sums .row.fine { font-size: 0.7rem; color: var(--sh-ink-3); line-height: 1.5; }

.sd-checkout {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 22px; border: 0; border-radius: 2px;
  background: var(--sh-ink); color: var(--sh-paper);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.79rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background var(--dur-1), transform 90ms var(--ease-out);
}
.sd-checkout:hover { background: var(--sh-violet); }
.sd-checkout:active { transform: scale(0.985); }
.sd-checkout:disabled { opacity: 0.6; cursor: wait; }
.sd-checkout svg { width: 15px; height: 15px; }
.sd-secure {
  margin: 11px 0 0; text-align: center;
  font-size: 0.68rem; line-height: 1.6; letter-spacing: 0.05em; color: var(--sh-ink-3);
  display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap;
}
.sd-secure svg { width: 13px; height: 13px; color: var(--sh-sage); }

.sd-error { display: none; }
.sd-error.show {
  display: block; background: #FBF0EC; border: 1px solid #E4C3B6; border-radius: 3px;
  padding: 13px 15px; margin-bottom: 13px; font-size: 0.84rem; color: #7A3A22; line-height: 1.55;
}
[data-theme="dark"] .sd-error.show { background: rgba(169, 107, 80, 0.16); border-color: rgba(169, 107, 80, 0.4); color: #E9B9A5; }
.sd-err-title { font-weight: 800; margin: 0 0 7px; }
.sd-err-list { margin: 0 0 7px; padding-left: 17px; }
.sd-err-list li { margin-bottom: 6px; }
.sd-err-fine { margin: 0; font-size: 0.76rem; opacity: 0.8; }
.sd-fix {
  border: 0; background: var(--sh-ink); color: var(--sh-paper);
  border-radius: 2px; padding: 5px 10px; margin-left: 6px; cursor: pointer;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.sd-oos, .sd-low { font-size: 0.72rem; font-weight: 700; margin-top: 6px; letter-spacing: 0.04em; }
.sd-oos { color: var(--sh-clay); }
.sd-low { color: var(--sh-wheat); }

/* ==========================================================================
   9. QUICK VIEW
   ========================================================================== */
.qv-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(17, 12, 26, 0.58);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out);
}
.qv-backdrop.open { opacity: 1; pointer-events: auto; }
.qv-modal {
  display: grid; grid-template-columns: 44% 1fr;
  width: min(920px, 100%); max-height: 88vh;
  background: var(--sh-card); border-radius: 4px; overflow: hidden;
  box-shadow: var(--sh-lift-3);
  transform: translateY(18px) scale(0.985);
  transition: transform 420ms var(--ease-out);
}
.qv-backdrop.open .qv-modal { transform: none; }
.qv-media { position: relative; background: var(--sh-paper-2); }
.qv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-body { padding: 34px 34px 30px; overflow-y: auto; position: relative; }
.qv-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--sh-paper-2); color: var(--sh-ink-2);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1);
}
.qv-close:hover { background: var(--sh-ink); color: var(--sh-paper); }
.qv-body h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.6rem; line-height: 1.14; letter-spacing: -0.025em; color: var(--sh-ink);
  margin: 0 0 6px; padding-right: 44px;
}
.qv-tagline { font-size: 0.9rem; color: var(--sh-ink-3); font-style: italic; margin: 0 0 14px; }
.qv-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--sh-line-soft); }
.qv-price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--sh-ink); }
.qv-desc { font-size: 0.9rem; line-height: 1.72; color: var(--sh-ink-2); margin: 0 0 16px; }
.qv-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.qv-note-chip { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--sh-haze); color: var(--sh-violet-d); font-weight: 700; }
[data-theme="dark"] .qv-note-chip { color: var(--sh-violet-l); }
.qv-variants, .pp-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.qv-variant, .pp-variant {
  padding: 10px 16px; border: 1px solid var(--sh-line); border-radius: 2px;
  background: transparent; color: var(--sh-ink-2); cursor: pointer;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}
.qv-variant:hover, .pp-variant:hover { border-color: var(--sh-violet); color: var(--sh-violet); }
.qv-variant.sel, .pp-variant.sel { border-color: var(--sh-ink); background: var(--sh-ink); color: var(--sh-paper); }
[data-theme="dark"] .qv-variant.sel, [data-theme="dark"] .pp-variant.sel { background: var(--sh-violet); border-color: var(--sh-violet); color: #fff; }

.qv-buy, .pp-buy-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 12px; }
.qv-qty, .pp-qty { display: inline-flex; align-items: center; border: 1px solid var(--sh-line); border-radius: 2px; flex: none; }
.qv-qty button, .pp-qty button {
  width: 40px; min-height: 44px; border: 0; background: transparent; cursor: pointer;
  color: var(--sh-ink-2); font-size: 1.05rem;
  transition: background var(--dur-1), color var(--dur-1);
}
.qv-qty button:hover, .pp-qty button:hover { background: var(--sh-paper-2); color: var(--sh-ink); }
.qv-qty .q, .pp-qty .q { min-width: 34px; text-align: center; font-weight: 700; color: var(--sh-ink); font-size: 0.9rem; }
.qv-link {
  display: inline-block; margin-bottom: 10px;
  font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sh-violet); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.qv-link:hover { color: var(--sh-ink); }
.qv-gift-hint { margin: 0; padding: 11px 13px; border-radius: 2px; background: var(--sh-wheat-soft); color: var(--sh-ink-2); font-size: 0.76rem; line-height: 1.55; }

/* ==========================================================================
   10. GIFT BAR (bottom dock)
   ========================================================================== */
.gift-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 890;
  background: var(--sh-ink); color: #fff;
  padding: 12px 20px calc(13px + env(safe-area-inset-bottom));
  transform: translateY(115%);
  transition: transform 460ms var(--ease-out), opacity var(--dur-2);
  box-shadow: 0 -18px 44px -22px rgba(0, 0, 0, 0.6);
}
.gift-bar.on { transform: none; }
.gift-bar.hidden-by-drawer { opacity: 0; pointer-events: none; }
.gb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.gb-copy { flex: 1; min-width: 0; }
.gb-msg { font-size: 0.83rem; margin-bottom: 8px; color: rgba(255,255,255,0.9); letter-spacing: 0.01em; }
.gb-msg .hl { color: var(--sh-wheat-l); font-weight: 800; }
.gb-msg.celebrate { color: var(--sh-wheat-l); font-weight: 700; }
.gb-track { position: relative; height: 2px; background: rgba(255,255,255,0.18); border-radius: 999px; }
.gb-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--sh-violet-l), var(--sh-wheat-l)); border-radius: 999px; transition: width 700ms var(--ease-out); }
.gb-dot { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background var(--dur-2), transform var(--dur-2) var(--ease-out); }
.gb-dot.hit { background: var(--sh-wheat-l); transform: scale(1.4); }
.gb-open {
  flex: none; padding: 11px 20px; border: 1px solid rgba(255,255,255,0.32); border-radius: 999px;
  background: transparent; color: #fff; cursor: pointer;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}
.gb-open:hover { background: #fff; color: var(--sh-ink); border-color: #fff; }

/* Celebration burst when a milestone unlocks */
.gb-burst {
  position: fixed; left: 50%; bottom: 96px; z-index: 895;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 11px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--sh-wheat-l); color: #241A08;
  font-size: 0.84rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: var(--sh-lift-float);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  max-width: calc(100vw - 28px);
}
.gb-burst svg { width: 18px; height: 18px; flex: none; }
.gb-burst.show { opacity: 1; transform: translateX(-50%) translateY(-8px); }

/* ==========================================================================
   11. WELCOME OFFER (editorial, not a generic popup)
   ========================================================================== */
.welcome-pop-backdrop {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(17, 12, 26, 0.6);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 26px;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.welcome-pop-backdrop.open { opacity: 1; }
.welcome-pop {
  display: grid; grid-template-columns: 42% 1fr;
  width: min(760px, 100%);
  background: var(--sh-card); border-radius: 4px; overflow: hidden;
  box-shadow: var(--sh-lift-3);
  transform: translateY(20px) scale(0.98);
  transition: transform 480ms var(--ease-out);
}
.welcome-pop-backdrop.open .welcome-pop { transform: none; }
.welcome-pop-img { background-size: cover; background-position: center; min-height: 340px; position: relative; }
.welcome-pop-img::after {
  content: attr(data-cap);
  position: absolute; left: 0; bottom: 0; padding: 9px 14px;
  background: rgba(18, 13, 30, 0.7); color: rgba(255,255,255,0.9);
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.welcome-pop-body { padding: 38px 36px 32px; position: relative; }
.welcome-pop-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: transparent; color: var(--sh-ink-3); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1);
}
.welcome-pop-close:hover { background: var(--sh-paper-2); color: var(--sh-ink); }
.wp-label { display: block; font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sh-violet); margin-bottom: 12px; }
.welcome-pop h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.08; letter-spacing: -0.028em;
  color: var(--sh-ink); margin: 0 0 12px;
}
.welcome-pop p { font-size: 0.9rem; line-height: 1.7; color: var(--sh-ink-2); margin: 0 0 16px; }
.wp-code {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; margin-bottom: 16px;
  border: 1px dashed var(--sh-line-hard); border-radius: 2px; background: var(--sh-wheat-soft);
}
.wp-code b { font-size: 1.02rem; letter-spacing: 0.2em; color: var(--sh-ink); }
.wp-code button {
  border: 0; background: var(--sh-ink); color: var(--sh-paper); cursor: pointer;
  padding: 8px 14px; border-radius: 2px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
}
.wp-form { display: flex; gap: 8px; margin-bottom: 12px; }
.wp-form input {
  flex: 1; min-width: 0; padding: 13px 15px;
  border: 1px solid var(--sh-line); border-radius: 2px;
  background: var(--sh-paper); color: var(--sh-ink); font-family: 'Lato', sans-serif; font-size: 0.9rem;
}
.wp-form input:focus { outline: 0; border-color: var(--sh-violet); }
.wp-form button {
  padding: 13px 22px; border: 0; border-radius: 2px;
  background: var(--sh-violet); color: #fff; cursor: pointer;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background var(--dur-1);
}
.wp-form button:hover { background: var(--sh-violet-d); }
.wp-skip { display: block; width: 100%; background: transparent; border: 0; cursor: pointer; font-size: 0.76rem; color: var(--sh-ink-3); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.wp-fine { font-size: 0.7rem !important; color: var(--sh-ink-3) !important; margin: 4px 0 0 !important; text-align: center; }

/* ==========================================================================
   12. TOAST + POST-ADD AFFIRMATION
   ========================================================================== */
.store-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 1300;
  transform: translateX(-50%) translateY(16px);
  background: var(--sh-ink); color: var(--sh-paper);
  padding: 13px 22px; border-radius: 999px;
  font-size: 0.83rem; letter-spacing: 0.01em;
  box-shadow: var(--sh-lift-float);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  max-width: calc(100vw - 32px);
}
.store-toast.show { opacity: 1; transform: translateX(-50%); }

.atc-affirm {
  position: fixed; right: 20px; top: 84px; z-index: 1250;
  width: min(340px, calc(100vw - 32px));
  background: var(--sh-card); border: 1px solid var(--sh-line-soft); border-radius: 3px;
  box-shadow: var(--sh-lift-3); padding: 15px;
  display: grid; grid-template-columns: 62px 1fr; gap: 13px;
  opacity: 0; transform: translateX(24px); pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.atc-affirm.show { opacity: 1; transform: none; pointer-events: auto; }
.atc-affirm img { width: 62px; height: 62px; object-fit: cover; border-radius: 2px; }
.atc-affirm .aa-top { display: flex; align-items: center; gap: 7px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-sage); margin-bottom: 4px; }
[data-theme="dark"] .atc-affirm .aa-top { color: #B4C6A4; }
.atc-affirm .aa-top svg { width: 14px; height: 14px; }
.atc-affirm .aa-name { font-family: var(--font-serif); font-size: 0.98rem; line-height: 1.2; letter-spacing: -0.015em; color: var(--sh-ink); margin-bottom: 3px; }
.atc-affirm .aa-meta { font-size: 0.76rem; color: var(--sh-ink-3); }
.atc-affirm .aa-next { grid-column: 1 / -1; font-size: 0.75rem; color: var(--sh-violet); font-weight: 700; margin-top: 4px; line-height: 1.45; }
.atc-affirm.unlocked { border-color: var(--sh-wheat); box-shadow: var(--sh-lift-3), 0 0 0 3px var(--sh-wheat-soft); }
.atc-affirm.unlocked .aa-top { color: var(--sh-wheat); }
.atc-affirm .aa-won {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 9px; padding: 9px 11px; border-radius: 2px;
  background: var(--sh-wheat-soft); color: var(--sh-ink);
  font-size: 0.78rem; font-weight: 700; line-height: 1.45;
  animation: ll-pop 620ms var(--ease-out);
}
.atc-affirm .aa-won svg { width: 15px; height: 15px; color: var(--sh-wheat); flex: none; margin-top: 1px; }
.atc-affirm .aa-actions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 10px; }
.atc-affirm .aa-actions button {
  flex: 1; padding: 10px; border-radius: 2px; cursor: pointer;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase;
  border: 1px solid var(--sh-line); background: transparent; color: var(--sh-ink-2);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.atc-affirm .aa-actions button.primary { background: var(--sh-ink); border-color: var(--sh-ink); color: var(--sh-paper); }
.atc-affirm .aa-actions button:hover { border-color: var(--sh-violet); color: var(--sh-violet); }
.atc-affirm .aa-actions button.primary:hover { background: var(--sh-violet); border-color: var(--sh-violet); color: #fff; }

/* ==========================================================================
   13. PRODUCT PAGE
   ========================================================================== */
.pp-wrap { padding: 26px 0 0; }
.pp-breadcrumb { font-size: var(--t-micro); letter-spacing: 0.11em; text-transform: uppercase; color: var(--sh-ink-3); margin-bottom: 26px; }
.pp-breadcrumb a { color: var(--sh-ink-3); text-decoration: none; }
.pp-breadcrumb a:hover { color: var(--sh-violet); }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 68px); align-items: start; }
.pp-gallery { position: sticky; top: 90px; }
.pp-img-main {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--sh-paper-2); border-radius: 3px; cursor: zoom-in;
}
.pp-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.pp-img-main .zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--sh-ink);
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  pointer-events: none; opacity: 0; transition: opacity var(--dur-2);
}
.pp-img-main:hover .zoom-hint { opacity: 1; }
.pp-img-main .zoom-hint svg { width: 13px; height: 13px; }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pp-thumbs button {
  width: 72px; height: 72px; padding: 0; border: 1px solid var(--sh-line-soft); border-radius: 2px;
  background: var(--sh-paper-2); cursor: pointer; overflow: hidden;
  transition: border-color var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.pp-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumbs button:hover { transform: translateY(-2px); }
.pp-thumbs button.sel { border-color: var(--sh-ink); }

.pp-lightbox {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(12, 9, 18, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out);
  cursor: zoom-out; padding: 24px;
}
.pp-lightbox.open { opacity: 1; pointer-events: auto; }
.pp-lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 3px; }
.pp-lightbox .lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 0; color: #fff; font-size: 1.5rem; cursor: pointer;
}
.pp-lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 0; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pp-lightbox .lb-nav.prev { left: 18px; }
.pp-lightbox .lb-nav.next { right: 18px; }
.pp-lightbox .lb-nav svg { width: 20px; height: 20px; }

.pp-info > .p-badge { position: static; margin-bottom: 14px; }
.pp-info h1 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.032em; font-weight: 700;
  color: var(--sh-ink); margin: 0 0 10px; text-wrap: balance;
}
.pp-info .p-tagline { font-size: 1.04rem; font-style: italic; color: var(--sh-ink-3); margin-bottom: 20px; }
.pp-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pp-price { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--sh-ink); letter-spacing: -0.02em; }
.pp-proof {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 10px 0 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--sh-line-soft);
  font-size: 0.78rem; color: var(--sh-ink-3);
}
.pp-proof .stars { color: var(--sh-wheat); letter-spacing: 0.13em; }
.pp-proof a { color: var(--sh-ink-3); text-decoration: underline; text-underline-offset: 3px; }
.pp-proof a:hover { color: var(--sh-violet); }
.pp-desc { font-size: 1rem; line-height: 1.78; color: var(--sh-ink-2); margin-bottom: 22px; max-width: 54ch; }
.pp-hook { font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.5; color: var(--sh-ink); font-style: italic; margin: 0 0 18px; max-width: 40ch; }

.pp-benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-bottom: 24px;
  border: 1px solid var(--sh-line-soft); border-radius: 3px; overflow: hidden;
  background: var(--sh-line-soft);
}
.pp-benefit { background: var(--sh-card); padding: 16px 10px; text-align: center; }
.pp-benefit svg { width: 22px; height: 22px; color: var(--sh-violet); margin-bottom: 8px; }
.pp-benefit span { display: block; font-size: 0.7rem; line-height: 1.35; color: var(--sh-ink-2); font-weight: 600; letter-spacing: 0.02em; }

.pp-buy-row { margin-bottom: 12px; }
.pp-buy-row .btn-add { flex: 1; }
.pp-welcome-hint {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; margin-bottom: 16px;
  border: 1px dashed var(--sh-line-hard); border-radius: 2px;
  background: var(--sh-wheat-soft); font-size: 0.78rem; color: var(--sh-ink-2);
}
.pp-welcome-hint svg { width: 15px; height: 15px; color: var(--sh-wheat); flex: none; }
.pp-welcome-hint b { letter-spacing: 0.13em; color: var(--sh-ink); }

.pp-gift-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 17px; margin-bottom: 20px;
  border-radius: 3px; background: var(--sh-haze);
  font-size: 0.83rem; line-height: 1.6; color: var(--sh-ink-2);
}
.pp-gift-note svg { width: 19px; height: 19px; color: var(--sh-violet); flex: none; margin-top: 1px; }
.pp-gift-note strong { color: var(--sh-ink); }

.pp-meta { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 12px; }
.pp-meta li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; line-height: 1.6; color: var(--sh-ink-2); }
.pp-meta li svg { width: 17px; height: 17px; color: var(--sh-sage); flex: none; margin-top: 2px; }
[data-theme="dark"] .pp-meta li svg { color: #B4C6A4; }
.pp-meta b { color: var(--sh-ink); }

.pp-contents { margin-bottom: 20px; padding: 18px 20px; border: 1px solid var(--sh-line-soft); border-radius: 3px; background: var(--sh-paper); }
.pp-contents h4 { font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-ink-3); margin: 0 0 12px; }
.pp-contents ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pp-contents li { font-size: 0.87rem; color: var(--sh-ink-2); display: flex; gap: 9px; }
.pp-contents li::before { content: "—"; color: var(--sh-dusty); }
.pp-contents a { color: var(--sh-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sh-line); }
.pp-contents a:hover { color: var(--sh-violet); }

/* ==========================================================================
   VALUE MATH — the "what this set is worth" system
   Ochre is the reward colour on this storefront (milestone gifts), so a real,
   recomputed saving borrows the same vocabulary. Never used decoratively.
   ========================================================================== */
.pp-value {
  margin-bottom: 20px; padding: 18px 20px;
  border: 1px solid var(--sh-line-soft); border-radius: 3px;
  background: var(--sh-paper);
}
.pp-value h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sh-ink-3); margin: 0 0 13px;
}
.pp-value h4 svg { width: 16px; height: 16px; color: var(--sh-wheat); flex: none; }
.pp-value ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-value li {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 0.87rem; color: var(--sh-ink-2);
}
.pp-value li a { color: var(--sh-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sh-line); }
.pp-value li a:hover { color: var(--sh-violet); }
.pp-value li .pv-p {
  margin-left: auto; flex: none;
  font-variant-numeric: tabular-nums; color: var(--sh-ink-3); font-size: 0.82rem;
}
.pv-sum { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sh-line-soft); }
.pv-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 0.85rem; color: var(--sh-ink-2); padding: 3px 0;
}
.pv-row b { font-variant-numeric: tabular-nums; color: var(--sh-ink); font-weight: 700; }
.pv-strike { text-decoration: line-through; color: var(--sh-ink-3) !important; font-weight: 400 !important; }
.pv-save {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 13px; padding: 11px 14px; border-radius: 2px;
  background: var(--sh-wheat-soft);
  border-left: 3px solid var(--sh-wheat);
}
.pv-save svg { width: 17px; height: 17px; color: var(--sh-wheat); flex: none; }
.pv-save span {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.012em; color: var(--sh-ink);
}
.pv-save em {
  font-style: normal; margin-left: auto;
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--sh-wheat);
}
[data-theme="dark"] .pv-save { background: var(--sh-wheat-soft); }
[data-theme="dark"] .pv-save span { color: var(--sh-ink); }

/* The "Save $X" chip — card grid, quick view, PDP price row. */
.p-save {
  display: inline-flex; align-items: center; flex: none;
  padding: 4px 8px; border-radius: 2px;
  background: var(--sh-wheat-soft); color: #6B4E12;
  border: 1px solid rgba(176, 132, 48, 0.34);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap; line-height: 1.25;
}
.p-save.lg { padding: 5px 11px; font-size: 0.66rem; letter-spacing: 0.11em; }
[data-theme="dark"] .p-save { color: var(--sh-wheat-l); border-color: rgba(216, 178, 90, 0.4); }
.p-badge.save { background: var(--sh-wheat); color: #241A08; }

/* Quick-view value breakdown */
.qv-value {
  margin: 0 0 16px; padding: 13px 15px;
  border: 1px solid var(--sh-line-soft); border-radius: 3px; background: var(--sh-paper);
}
.qv-value ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.qv-value li { display: flex; align-items: baseline; gap: 10px; font-size: 0.82rem; color: var(--sh-ink-2); }
.qv-value li b { margin-left: auto; flex: none; font-weight: 400; color: var(--sh-ink-3); font-variant-numeric: tabular-nums; }
.qv-value-sum {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--sh-line-soft);
  font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sh-ink-3);
}
.qv-value-sum b { color: var(--sh-ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Savings flag on the "Sets & Gifts" ritual card */
.ritual-card .rc-save {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 5px 9px; border-radius: 2px;
  background: var(--sh-wheat); color: #241A08;
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   SETS & GIFTS BAND — the bundles moment on /shop and the homepage
   ========================================================================== */
.sets-band { padding: clamp(34px, 5vw, 58px) 0 clamp(30px, 4vw, 46px); }
.sets-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  margin-bottom: clamp(20px, 3vw, 30px);
}
.sets-head .ll-label { display: block; margin-bottom: 8px; }
.sets-head p { font-size: 0.94rem; line-height: 1.7; color: var(--sh-ink-2); max-width: 46ch; margin: 0; }
.sets-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.set-card {
  display: flex; flex-direction: column;
  background: var(--sh-card);
  border: 1px solid var(--sh-line-soft); border-radius: 3px;
  overflow: hidden;
  transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.set-card:hover { box-shadow: var(--sh-lift-2); transform: translateY(-3px); }
.sc-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sh-paper-2); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 800ms var(--ease-out); }
.set-card:hover .sc-img img { transform: scale(1.045); }
.sc-img .p-save { position: absolute; top: 12px; left: 12px; background: var(--sh-wheat); color: #241A08; border-color: var(--sh-wheat); }
.sc-body { padding: 17px 18px 19px; display: flex; flex-direction: column; flex: 1; }
.sc-body h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.1rem; line-height: 1.22; letter-spacing: -0.018em; font-weight: 700; margin: 0 0 5px;
}
.sc-body h3 a { color: var(--sh-ink); text-decoration: none; }
.sc-body h3 a:hover { color: var(--sh-violet); }
.sc-sub { font-size: 0.8rem; line-height: 1.5; color: var(--sh-ink-3); margin: 0 0 13px; font-weight: 300; }
.sc-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 5px; }
.sc-list li { display: flex; align-items: baseline; gap: 10px; font-size: 0.8rem; color: var(--sh-ink-2); }
.sc-list li b { margin-left: auto; flex: none; font-weight: 400; color: var(--sh-ink-3); font-variant-numeric: tabular-nums; }
.sc-math { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--sh-line-soft); margin-bottom: 14px; }
.sc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 0.8rem; color: var(--sh-ink-3); padding: 2px 0;
}
.sc-row b { font-variant-numeric: tabular-nums; color: var(--sh-ink); font-weight: 700; }
.sc-row.now { font-size: 0.86rem; color: var(--sh-ink-2); }
.sc-row.now b { font-family: var(--font-serif, 'Playfair Display', Georgia, serif); font-size: 1.14rem; }

.sets-total {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 46px);
  margin-top: 20px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 34px);
  border-radius: 3px;
  background: var(--sh-plum-deep); color: #fff;
}
.sets-total .ll-label { display: block; color: var(--sh-wheat-l); margin-bottom: 9px; }
.sets-total h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.2rem, 2.4vw, 1.68rem); line-height: 1.14; letter-spacing: -0.024em;
  font-weight: 700; color: #fff; margin: 0 0 10px; max-width: 24ch;
}
.sets-total p { font-size: 0.88rem; line-height: 1.7; color: rgba(255, 255, 255, 0.76); margin: 0; max-width: 62ch; }
.sets-total p b { color: #fff; font-weight: 700; }
.st-act { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 236px; }
.st-nums { display: flex; align-items: baseline; gap: 10px; justify-content: center; }
.st-was {
  font-size: 0.94rem; color: rgba(255, 255, 255, 0.5); text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.st-now {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.9rem; font-weight: 700; letter-spacing: -0.028em; color: var(--sh-wheat-l);
  font-variant-numeric: tabular-nums;
}
.st-act .btn-add.solid { background: var(--sh-wheat); border-color: var(--sh-wheat); color: #241A08; }
.st-act .btn-add.solid:hover { background: var(--sh-wheat-l); border-color: var(--sh-wheat-l); color: #241A08; }
.st-fine { font-size: 0.68rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); text-align: center; line-height: 1.5; }

@media (max-width: 980px) {
  .sets-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sets-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .sets-total { flex-direction: column; align-items: stretch; }
  .st-act { min-width: 0; }
}
@media (max-width: 640px) {
  .sets-band { padding: 26px 0 22px; }
  .sets-rail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sc-img { aspect-ratio: 16 / 10; }
  .sets-total { padding: 20px 17px; gap: 16px; }
  .sets-total h3 { max-width: none; }
  .st-nums { justify-content: flex-start; }
  .p-save { font-size: 0.55rem; padding: 3px 6px; letter-spacing: 0.08em; }
  .p-save.lg { font-size: 0.6rem; padding: 4px 9px; }
  .pv-save { padding: 10px 12px; }
  .pv-save span { font-size: 0.94rem; }
  .pv-save em { margin-left: 0; flex-basis: 100%; }
  .ritual-card .rc-save { font-size: 0.5rem; padding: 4px 7px; top: 8px; left: 8px; }
}

/* ---- PDP long-form sections ---- */
.pp-section { padding: clamp(44px, 6vw, 78px) 0; border-top: 1px solid var(--sh-line-soft); }
.pp-section.first { margin-top: clamp(44px, 6vw, 76px); }
.pp-section-head { margin-bottom: 30px; max-width: 60ch; }
.pp-section-head h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.026em; color: var(--sh-ink); margin: 0 0 10px;
}
.pp-section-head p { font-size: 0.98rem; line-height: 1.72; color: var(--sh-ink-2); margin: 0; }

.scent-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.scent-notes { display: flex; flex-direction: column; gap: 15px; }
.scent-note .sn-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.scent-note .sn-label { font-size: 0.82rem; font-weight: 600; color: var(--sh-ink); letter-spacing: 0.01em; }
.scent-note .sn-val { font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sh-ink-3); }
.scent-note .sn-bar { height: 4px; border-radius: 999px; background: var(--sh-paper-3); overflow: hidden; }
/* Default to the real level so a dead/blocked module never shows empty bars;
   only animate from zero once store.js has confirmed it is alive. */
.scent-note .sn-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sh-dusty), var(--sh-violet)); width: var(--lvl); transition: width 1s var(--ease-out); }
html.ll-reveal .scent-note .sn-fill { width: 0; }
html.ll-reveal .scent-note.is-in .sn-fill { width: var(--lvl); }
.scent-summary { padding: 24px; border-radius: 3px; background: var(--sh-paper); border-left: 2px solid var(--sh-violet); }
.scent-summary p { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.52; font-style: italic; color: var(--sh-ink); margin: 0 0 14px; }
.scent-summary .sn-who { font-size: var(--t-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--sh-ink-3); }

.inside-lead { font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.5; color: var(--sh-ink); margin-bottom: 26px; max-width: 40ch; }
.inside-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 34px; border-top: 1px solid var(--sh-line-soft); }
.inside-item { padding: 20px 0; border-bottom: 1px solid var(--sh-line-soft); }
.inside-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--sh-ink); margin: 0 0 6px; letter-spacing: -0.005em; }
.inside-item p { font-size: 0.86rem; line-height: 1.62; color: var(--sh-ink-3); margin: 0; }
.inside-free { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.inside-free span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--sh-sage-soft); color: var(--sh-sage);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
[data-theme="dark"] .inside-free span { color: #B4C6A4; }
.inside-free svg { width: 12px; height: 12px; }

.ritual-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--sh-line-soft); border: 1px solid var(--sh-line-soft); border-radius: 3px; overflow: hidden; }
.ritual-step { background: var(--sh-card); padding: 24px 22px; }
.ritual-step .rs-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--sh-line); color: var(--sh-violet);
  font-size: 0.72rem; font-weight: 800; margin-bottom: 14px;
}
.ritual-step h4 { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: -0.015em; color: var(--sh-ink); margin: 0 0 7px; }
.ritual-step p { font-size: 0.86rem; line-height: 1.65; color: var(--sh-ink-3); margin: 0; }

.cultivar-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--sh-line-soft); border: 1px solid var(--sh-line-soft); border-radius: 3px; overflow: hidden; }
.cultivar-col { background: var(--sh-card); padding: 30px 26px; position: relative; }
.cultivar-col.is-this { background: var(--sh-haze-2); }
.cultivar-col .cc-tag {
  position: absolute; top: 0; right: 0; padding: 6px 12px;
  background: var(--sh-violet); color: #fff;
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.cultivar-col .cc-fam { font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-violet); margin-bottom: 9px; display: block; }
.cultivar-col h4 { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: -0.026em; color: var(--sh-ink); margin: 0 0 3px; }
.cultivar-col .cc-latin { font-style: italic; font-size: 0.82rem; color: var(--sh-ink-3); margin-bottom: 15px; display: block; }
.cultivar-col .cc-one { font-size: 0.94rem; line-height: 1.6; color: var(--sh-ink); margin: 0 0 16px; font-weight: 600; }
.cultivar-col ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.cultivar-col li { display: flex; gap: 9px; font-size: 0.85rem; color: var(--sh-ink-2); line-height: 1.5; }
.cultivar-col li svg { width: 14px; height: 14px; color: var(--sh-sage); flex: none; margin-top: 3px; }
[data-theme="dark"] .cultivar-col li svg { color: #B4C6A4; }
.cultivar-col .cc-notes { font-size: 0.84rem; line-height: 1.65; color: var(--sh-ink-3); margin: 0 0 16px; }
.cultivar-col .cc-link { font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-violet); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cultivar-col .cc-link:hover { color: var(--sh-ink); }

.faq-list { border-top: 1px solid var(--sh-line-soft); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--sh-line-soft); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 21px 0; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.04rem; line-height: 1.38; letter-spacing: -0.015em; color: var(--sh-ink);
  transition: color var(--dur-1);
}
.faq-q:hover { color: var(--sh-violet); }
.faq-q .fq-ic { flex: none; width: 20px; height: 20px; position: relative; margin-top: 3px; }
.faq-q .fq-ic::before, .faq-q .fq-ic::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2);
}
.faq-q .fq-ic::before { left: 0; right: 0; top: 9px; height: 1.5px; }
.faq-q .fq-ic::after { top: 0; bottom: 0; left: 9px; width: 1.5px; }
.faq-item.open .faq-q .fq-ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height var(--dur-2) var(--ease-out); }
.faq-a > div { padding: 0 0 22px; font-size: 0.93rem; line-height: 1.75; color: var(--sh-ink-2); max-width: 66ch; }
.faq-a a { color: var(--sh-violet); }

.guarantee-block {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: clamp(28px, 4vw, 44px);
  background: var(--sh-paper); border-radius: 3px; border: 1px solid var(--sh-line-soft);
}
.guarantee-seal {
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid var(--sh-wheat);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--sh-wheat); flex: none;
}
.guarantee-seal svg { width: 26px; height: 26px; }
.guarantee-seal span { font-size: 0.48rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; }
.guarantee-block h3 { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: -0.025em; color: var(--sh-ink); margin: 0 0 10px; }
.guarantee-block p { font-size: 0.94rem; line-height: 1.75; color: var(--sh-ink-2); margin: 0 0 14px; max-width: 58ch; }
.guarantee-sig { font-family: var(--font-serif); font-style: italic; font-size: 0.94rem; color: var(--sh-ink-3); }

.ship-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sh-line-soft); border: 1px solid var(--sh-line-soft); border-radius: 3px; overflow: hidden; }
.ship-cell { background: var(--sh-card); padding: 24px 22px; }
.ship-cell svg { width: 22px; height: 22px; color: var(--sh-violet); margin-bottom: 12px; }
.ship-cell h4 { font-size: 0.9rem; font-weight: 700; color: var(--sh-ink); margin: 0 0 6px; letter-spacing: 0.01em; }
.ship-cell p { font-size: 0.84rem; line-height: 1.62; color: var(--sh-ink-3); margin: 0; }

.fbt {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid var(--sh-line-soft); border-radius: 3px; background: var(--sh-paper);
}
.fbt-items { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fbt-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 108px; text-align: center; text-decoration: none; }
.fbt-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 2px; background: var(--sh-paper-2); }
.fbt-item .fi-n { font-size: 0.72rem; line-height: 1.34; color: var(--sh-ink-2); }
.fbt-item .fi-p { font-size: 0.76rem; font-weight: 700; color: var(--sh-ink); }
.fbt-plus { color: var(--sh-dusty); font-size: 1.2rem; }
.fbt-side { text-align: right; }
.fbt-side .fs-label { font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-ink-3); display: block; margin-bottom: 6px; }
.fbt-side .fs-total { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--sh-ink); display: block; margin-bottom: 12px; }
.fbt-side .btn-add { width: auto; padding-inline: 26px; }

.recent-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.recent-card { text-decoration: none; display: block; }
.recent-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 2px; background: var(--sh-paper-2); margin-bottom: 9px; transition: transform var(--dur-2) var(--ease-out); }
.recent-card:hover img { transform: translateY(-3px); }
.recent-card .rv-n { font-size: 0.8rem; line-height: 1.32; color: var(--sh-ink); display: block; margin-bottom: 3px; }
.recent-card .rv-p { font-size: 0.78rem; font-weight: 700; color: var(--sh-ink-3); }

.pp-related { padding: clamp(44px, 6vw, 78px) 0; border-top: 1px solid var(--sh-line-soft); }
.pp-related h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.026em; color: var(--sh-ink); margin: 0 0 28px;
}

.pp-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
  background: var(--sh-card);
  border-top: 1px solid var(--sh-line-soft);
  transform: translateY(115%);
  transition: transform 440ms var(--ease-out);
  box-shadow: 0 -18px 44px -26px rgba(0,0,0,0.4);
}
.pp-sticky-atc.on { transform: none; }
.sa-in { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 16px; }
.pp-sticky-atc img { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; flex: none; }
.pp-sticky-atc .sp { flex: 1; min-width: 0; }
.pp-sticky-atc .nm { font-family: var(--font-serif); font-size: 0.95rem; letter-spacing: -0.015em; color: var(--sh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sticky-atc .pr { font-size: 0.8rem; color: var(--sh-ink-3); }
.pp-sticky-atc .btn-add { width: auto; flex: none; padding-inline: 30px; }
.pp-sticky-atc.sold-out .btn-add { display: none; }

/* ==========================================================================
   14. STOCK STATES
   ========================================================================== */
.p-stock-note, .stock-line, .pp-stock-line {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin: -6px 0 12px;
  display: flex; align-items: center; gap: 7px;
}
.p-stock-note::before, .stock-line.low::before, .pp-stock-line.low::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sh-wheat); flex: none;
  animation: ll-pulse 2s ease-in-out infinite;
}
@keyframes ll-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
.p-stock-note, .stock-line.low, .pp-stock-line.low { color: var(--sh-wheat); }
.stock-line.out, .pp-stock-line.out { color: var(--sh-ink-3); text-transform: none; letter-spacing: 0.01em; font-weight: 400; line-height: 1.6; display: block; font-size: 0.85rem; }
.pp-stock-line.out a { color: var(--sh-violet); }

/* ==========================================================================
   15. HOMEPAGE SHOP STRIP
   ========================================================================== */
.home-shop-strip { padding: clamp(56px, 8vw, 96px) 0; }
.home-shop-strip .store-grid { border: 0; background: transparent; gap: 22px; }
.home-shop-strip .p-card { border: 1px solid var(--sh-line-soft); border-radius: 3px; }

/* ==========================================================================
   15b. "EVERY ORDER FEEDS THE FARM" (shop.html)
   ========================================================================== */
.feeds-farm { overflow: hidden; }
.feeds-farm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.feeds-farm-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  aspect-ratio: 1 / 1;
}
.feeds-farm-photos img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 3px; display: block;
  background: var(--sh-paper-2);
}
.feeds-farm-photos img:first-child { grid-row: span 2; }
.feeds-farm-grid h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.026em;
  color: var(--sh-ink); margin: 0 0 14px;
}
.feeds-list { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 16px; }
.feeds-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; line-height: 1.68; color: var(--sh-ink-2); }
.feeds-list .ico { flex: none; color: var(--sh-violet); margin-top: 2px; }
.feeds-list .ico svg { width: 20px; height: 20px; }
.feeds-list strong { color: var(--sh-ink); }

/* ==========================================================================
   15c. HOMEPAGE "FROM THE FARM SHOP"
   ========================================================================== */
.home-shop-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 30px;
}
.home-shop-head h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.026em;
  color: var(--sh-ink); margin: 0 0 10px;
}
.home-shop-head p { font-size: 0.98rem; line-height: 1.7; color: var(--sh-ink-2); max-width: 52ch; margin: 0; }
.home-shop-link {
  flex: none;
  font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sh-violet); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color var(--dur-1);
}
.home-shop-link:hover { color: var(--sh-ink); }
.home-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 4px;
  border-top: 1px solid var(--sh-line-soft);
  border-left: 1px solid var(--sh-line-soft);
  background: var(--sh-line-soft);
  margin-bottom: 26px;
}
.home-shop-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3.4vw, 34px);
  background: var(--sh-plum-deep); color: #fff; border-radius: 4px;
}
.home-shop-strip .l1 { font-family: var(--font-serif); font-size: 1.06rem; letter-spacing: -0.012em; margin-bottom: 6px; color: #fff; }
.home-shop-strip .l2 { font-size: 0.84rem; color: rgba(255,255,255,0.72); line-height: 1.6; }
.home-shop-strip .code {
  display: inline-block; padding: 3px 9px; border-radius: 2px;
  background: var(--sh-wheat-l); color: #241A08;
  font-weight: 800; letter-spacing: 0.12em; font-size: 0.76rem;
}
.home-shop-strip .btn-hero { flex: none; }

/* ==========================================================================
   15d. ORDER CONFIRMED (order pipeline page — class names are load-bearing)
   ========================================================================== */
.oc-wrap {
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 7vw, 90px) 20px;
  background: var(--sh-paper);
}
.oc-card {
  width: min(660px, 100%);
  background: var(--sh-card);
  border: 1px solid var(--sh-line-soft);
  border-radius: 4px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
  box-shadow: var(--sh-lift-2);
}
.oc-emoji { font-size: 2rem; line-height: 1; margin-bottom: 16px; }
.oc-card h1 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.06; letter-spacing: -0.03em;
  color: var(--sh-ink); margin: 0 0 14px;
}
.oc-sub { font-size: 0.98rem; line-height: 1.75; color: var(--sh-ink-2); margin: 0 0 26px; }
.oc-sub a { color: var(--sh-violet); }
.oc-summary {
  text-align: left;
  border: 1px solid var(--sh-line-soft); border-radius: 3px;
  padding: 18px 20px; margin: 0 0 20px;
  background: var(--sh-paper);
}
.oc-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.88rem; color: var(--sh-ink-2); padding: 7px 0; }
.oc-row.gift { color: var(--sh-wheat); font-weight: 700; }
.oc-row.total {
  margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--sh-line-soft);
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 700; color: var(--sh-ink);
}
.oc-ship { text-align: left; font-size: 0.88rem; line-height: 1.7; color: var(--sh-ink-2); margin: 0 0 14px; }
.oc-ship strong { color: var(--sh-ink); }
.oc-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 880px) {
  .feeds-farm-grid { grid-template-columns: 1fr; gap: 26px; }
  .feeds-farm-photos { aspect-ratio: 4 / 3; }
  .home-shop-head { margin-bottom: 20px; gap: 14px; }
  .home-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .home-shop-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .home-shop-strip .btn-hero { width: 100%; }
  .oc-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   16. FOCUS + MOTION PREFERENCES
   ========================================================================== */
.btn-add:focus-visible, .filter-pill:focus-visible, .sd-checkout:focus-visible,
.p-quick:focus-visible, .qv-variant:focus-visible, .pp-variant:focus-visible,
.wp-form button:focus-visible, .btn-hero:focus-visible, .btn-hero-ghost:focus-visible,
.faq-q:focus-visible, .ritual-card:focus-visible, .sd-addon:focus-visible, .gb-open:focus-visible {
  outline: 2px solid var(--sh-violet);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.ll-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .store-hero-img { animation: none; transform: scale(1.02); }
  html.ll-reveal .scent-note .sn-fill { width: var(--lvl) !important; }
}

/* ==========================================================================
   17. RESPONSIVE — desktop down to tablet
   ========================================================================== */
@media (max-width: 1080px) {
  .ritual-rail { grid-template-columns: repeat(3, 1fr); }
  .proof-grid, .review-strip { grid-template-columns: 1fr; }
  .proof-cell, .review-card { border-left: 0; border-top: 1px solid var(--sh-line-soft); }
  .proof-cell:first-child, .review-card:first-child { border-top: 0; }
}
@media (max-width: 980px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp-gallery { position: static; }
  .ed-split { grid-template-columns: 1fr; }
  .ed-split.reverse { direction: ltr; }
  .ed-split-media { min-height: 300px; }
  .scent-wrap, .cultivar-wrap { grid-template-columns: 1fr; }
  .fbt { grid-template-columns: 1fr; }
  .fbt-side { text-align: left; }
  .ship-trio { grid-template-columns: 1fr; }
  .guarantee-block { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   18. MOBILE-FIRST PASS
   Carried forward from the 2026-07-26 mobile audit — the storefront's traffic
   and revenue is a phone held in one hand.
     1. nothing blocks a purchase
     2. thumb-reachable primary actions (44px floor)
     3. no overlap / no overflow — ONE bottom dock, not three
     4. cellular speed
     5. polish
   ========================================================================== */

/* ---------- 1. PURCHASE BLOCKERS ---------- */
/* Quick view is a bottom sheet whose body can actually shrink (and so scroll),
   with the buy row pinned to the bottom so the CTA is never below the fold on
   a tall product. minmax(0,1fr) + min-height:0 are the load-bearing lines. */
@media (max-width: 880px) {
  .qv-backdrop { padding: 0; align-items: flex-end; }
  .qv-modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 92vh; max-height: 92dvh;
    border-radius: 18px 18px 0 0;
    transform: translateY(40px);
  }
  .qv-media { min-height: 0; height: 186px; position: relative; flex: none; }
  .qv-body {
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px 18px 0;
  }
  .qv-body h3 { font-size: 1.35rem; }
  .qv-buy {
    position: sticky; bottom: 0; z-index: 3;
    margin-top: 18px;
    padding: 12px 0 calc(14px + env(safe-area-inset-bottom));
    background: var(--sh-card);
    box-shadow: 0 -14px 16px -10px var(--sh-card);
  }
  .qv-link, .qv-gift-hint { padding-bottom: 2px; }
  .qv-media::after {
    content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.75); z-index: 3;
  }
}

/* ---------- 2. THUMB-REACHABLE TARGETS (44px floor) ---------- */
@media (max-width: 880px) {
  .btn-add { min-height: 48px; }
  .pp-buy-row .btn-add, .qv-buy .btn-add { min-height: 52px; }
  .sd-checkout { min-height: 54px; }
  .filter-pill { min-height: 44px; padding: 11px 17px; }
  .pp-variant, .qv-variant { min-height: 44px; }
  .gb-open { min-height: 44px; padding: 11px 18px; }
  .sd-close, .qv-close { min-width: 44px; min-height: 44px; }
  .qv-close { width: 44px; height: 44px; border-radius: 50%; }
  .store-header-cart { padding: 11px 10px; }
  .welcome-pop-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .wp-skip { padding: 13px 6px; font-size: 0.85rem; }
  .wp-form button { min-height: 48px; }
  .sd-qty button { width: 44px; height: 44px; font-size: 1.15rem; }
  .sd-qty .q { width: 46px; font-size: 0.95rem; }
  .sd-rm { padding: 12px 6px; font-size: 0.72rem; }
  .sd-item { grid-template-columns: 58px 1fr auto; }
  .sd-item img { width: 58px; height: 58px; }
  .faq-q { padding: 19px 0; font-size: 0.98rem; }
  .pp-thumbs button { width: 60px; height: 60px; }
  .p-quick {
    width: 44px; height: 44px; padding: 0; gap: 0;
    border-radius: 50%; justify-content: center;
    font-size: 0; line-height: 0;
  }
  .p-quick svg { width: 18px; height: 18px; }
}
@media (hover: none) {
  .p-quick { opacity: 1; transform: none; }
  .pp-img-main .zoom-hint { opacity: 1; }
}

/* iOS zooms the whole page when a focused field is under 16px. !important is
   load-bearing: the newsletter field carries an INLINE font-size from
   components.js, and .lavi-input's class selector outranks `body textarea`. */
@media (max-width: 880px) {
  body input[type="email"], body input[type="text"], body input[type="search"],
  body input[type="tel"], body input[type="number"], body input[type="url"],
  body input[type="password"], body input:not([type]), body textarea, body select {
    font-size: 16px !important;
  }
}

/* ---------- 3. ONE BOTTOM DOCK ---------- */
@media (max-width: 880px) {
  body.store-page .store-cart-fab { display: none !important; }

  .gift-bar { padding: 10px 14px calc(11px + env(safe-area-inset-bottom)); }
  .gb-inner { gap: 12px; }
  .gb-msg {
    white-space: normal; text-overflow: clip;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.32; font-size: 0.78rem; margin-bottom: 7px;
  }
  .gb-open { font-size: 0.64rem; padding: 11px 14px; letter-spacing: 0.1em; }

  /* Product pages: the buy bar sits flush on top of the gift bar so the two
     read as one dock. --ll-gb-h is published by store.js. */
  body.gb-active .pp-sticky-atc { bottom: var(--ll-gb-h, 62px); }
  body:has(.pp-sticky-atc.on) .gift-bar { box-shadow: none; }
  .pp-sticky-atc { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  body.gb-active .pp-sticky-atc { padding-bottom: 10px; }
  .sa-in { gap: 11px; }
  .pp-sticky-atc .btn-add { min-height: 48px; padding: 12px 18px; }
  .pp-sticky-atc img { display: none; }

  body.store-page.gb-active { padding-bottom: calc(var(--ll-gb-h, 84px) + 26px); }
  body.store-page.gb-active:has(.pp-sticky-atc) { padding-bottom: calc(var(--ll-gb-h, 84px) + 104px); }

  body.gb-active .store-toast { bottom: calc(var(--ll-gb-h, 76px) + 14px); }
  body.gb-active .gb-burst { bottom: calc(var(--ll-gb-h, 76px) + 16px); }
  .store-toast { max-width: calc(100vw - 32px); }
  .atc-affirm { right: 12px; left: 12px; top: auto; bottom: calc(var(--ll-gb-h, 84px) + 14px); width: auto; transform: translateY(20px); }
  .atc-affirm.show { transform: none; }
  /* Clear the product-page buy bar too, when it's docked. */
  body.store-page:has(.pp-sticky-atc.on) .atc-affirm { bottom: calc(var(--ll-gb-h, 84px) + 88px); }
}

/* Homepage keeps the cart FAB, so lift the chat bee clear of it. */
@media (max-width: 768px) {
  body.store-home .lavi-fab {
    right: auto; left: 14px;
    bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

/* CART DRAWER on phones: the item list needs a real floor. */
@media (max-width: 880px) {
  .sd-drawer { width: 100vw; }
  .sd-head { padding: 14px 16px; }
  .sd-items { min-height: 32vh; padding: 12px 14px; gap: 10px; }
  .sd-addons { padding: 4px 14px 8px; }
  .sd-addons h4 { margin-bottom: 7px; }
  .sd-addon { padding: 7px 9px; }
  .sd-addon img { width: 34px; height: 34px; }
  .sd-milestone { padding: 8px 14px 2px; }
  .sd-milestone .msg { margin-bottom: 7px; }
  .sd-foot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
  .sd-sums { gap: 4px; margin-bottom: 10px; }
  .sd-sums .row.fine { display: none; }
  .sd-secure { font-size: 0.64rem; margin-top: 8px; line-height: 1.45; }
  /* Once the basket is genuinely full, seeing it beats one more upsell. */
  .sd-drawer:has(.sd-items .sd-item:nth-child(3)) .sd-addons { display: none; }
}

/* ---------- 4. SPEED ON CELLULAR ---------- */
.store-hero-img { max-width: 100%; }

/* ---------- 5. LAYOUT AT PHONE WIDTHS ---------- */
@media (max-width: 880px) {
  .store-hero { min-height: clamp(520px, 78vh, 660px); }
  .store-hero-inner { padding-bottom: 40px; }
  .store-hero h1 { max-width: 100%; }
  .store-hero-sub { font-size: 0.94rem; margin-bottom: 20px; }
  .store-hero-offer { font-size: 0.78rem; padding: 8px 16px 8px 8px; gap: 9px; margin-bottom: 20px; }
  .store-hero-offer .tag { font-size: 0.62rem; padding: 5px 9px; }
  .store-hero-cue { display: none; }
  .btn-hero, .btn-hero-ghost { padding: 15px 22px; font-size: 0.72rem; flex: 1 1 100%; }
  .store-trust .container { gap: 9px 22px; padding: 14px 20px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .store-trust .container::-webkit-scrollbar { display: none; }
  .store-trust span { font-size: 0.62rem; letter-spacing: 0.1em; }

  .store-toolbar { top: 56px; }
  .store-toolbar-in { gap: 12px; padding: 9px 0; }
  .store-count { display: none; }

  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .p-card-body { padding: 13px 12px 15px; }
  .p-card-body h3 { font-size: 0.9rem; }
  .p-tagline { font-size: 0.74rem; margin-bottom: 9px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .p-price { font-size: 1.02rem; }
  .btn-add { font-size: 0.63rem; letter-spacing: 0.09em; padding: 13px 8px; }
  .p-badge { font-size: 0.52rem; padding: 5px 8px; top: 8px; left: 8px; letter-spacing: 0.1em; }
  .p-quick { top: 8px; right: 8px; }

  .ritual-rail { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ritual-card { aspect-ratio: 4 / 5; }
  .ritual-head { margin-bottom: 20px; }

  .gift-rail-steps { grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .gift-rail-step .node { width: 34px; height: 34px; margin-bottom: 10px; }
  .gift-rail-step .node svg { width: 15px; height: 15px; }
  .gift-rail-track { top: 17px; left: 9%; right: 9%; }
  .gift-rail-step .amt { font-size: 0.9rem; }
  .gift-rail-step .what { font-size: 0.58rem; line-height: 1.3; }
  .gift-ladder-head { margin-bottom: 28px; gap: 14px; }

  .pp-wrap { padding-top: 16px; }
  .pp-breadcrumb { margin-bottom: 16px; font-size: 0.6rem; }
  .pp-benefits { grid-template-columns: repeat(2, 1fr); }
  .pp-benefit { padding: 13px 8px; }
  .pp-benefit span { font-size: 0.66rem; }
  .ritual-steps { grid-template-columns: 1fr; }
  .ritual-step { padding: 18px; }
  .inside-list { grid-template-columns: 1fr; gap: 0; }
  .inside-item { padding: 16px 0; }
  .pp-section { padding: 34px 0; }
  .pp-section.first { margin-top: 34px; }
  .pp-section-head { margin-bottom: 22px; }
  .recent-rail { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fbt { padding: 20px 16px; gap: 18px; }
  .fbt-item { width: 84px; }
  .fbt-item img { width: 76px; height: 76px; }
  .guarantee-block { padding: 24px 20px; }
  .guarantee-seal { width: 66px; height: 66px; }
  .ed-split-body { padding: 32px 20px 40px; }
  .ed-stats { grid-template-columns: 1fr; gap: 16px; }
  .scent-summary { padding: 20px; }
  .scent-summary p { font-size: 1rem; }
  .cultivar-col { padding: 22px 18px; }
  .cultivar-col h4 { font-size: 1.28rem; }

  .welcome-pop { grid-template-columns: 1fr; }
  .welcome-pop-img { min-height: 150px; }
  .welcome-pop-body { padding: 22px 18px 18px; }
  .welcome-pop-backdrop { padding: 16px; align-items: center; }
  .welcome-pop { max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .welcome-pop-close { top: 8px; right: 8px; background: var(--sh-paper-2); border-radius: 50%; color: var(--sh-ink); }
  .wp-form { flex-wrap: wrap; }
  .wp-form input, .wp-form button { flex: 1 1 100%; }
  .wp-fine { font-size: 0.68rem !important; }
}

@media (max-width: 560px) {
  .p-reassure { font-size: 0.58rem; line-height: 1.42; letter-spacing: 0.04em; }
  .store-filters { padding-bottom: 1px; }
  .pp-buy-row { flex-wrap: nowrap; }
  .pp-qty button { width: 38px; }
  .fbt-items { gap: 8px; }
  .fbt-item { width: 72px; }
  .fbt-item img { width: 66px; height: 66px; }
  .fbt-item .fi-n { font-size: 0.64rem; }
}

/* Very narrow phones (360px and below): keep two columns but tighten. */
@media (max-width: 380px) {
  .store-hero h1 { font-size: clamp(2rem, 11vw, 2.6rem); }
  .p-card-body { padding: 11px 10px 13px; }
  .btn-add { font-size: 0.58rem; letter-spacing: 0.06em; padding: 13px 4px; }
  .gift-rail-step .what { font-size: 0.53rem; }
  .gift-rail-step .amt { font-size: 0.8rem; }
  .fbt-item { width: 64px; }
  .fbt-item img { width: 60px; height: 60px; }
  .recent-rail { grid-template-columns: repeat(2, 1fr); }
}

/* Second pass — targets still under 44px measured on a real 360px viewport. */
@media (max-width: 880px) {
  .site-header .mobile-toggle,
  .site-header .theme-toggle,
  .store-header-cart {
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .sd-rm { min-height: 44px; display: inline-flex; align-items: center; }
  .sd-item .nm { padding: 4px 0; }
  .p-card-body h3 a { display: block; padding: 3px 0; }
  .footer-col a { display: inline-block; padding: 5px 0; }
  .a11y-toggle input[type="checkbox"] { width: 22px; height: 22px; }

  /* Toast sits above the dock, but with the drawer open that put it over the
     order total. Move it to the top in that state. */
  body.sd-open .store-toast { bottom: auto; top: 78px; }
  body.sd-open .atc-affirm { display: none; }

}

/* site.css's back-to-top ring sat on top of the gift-bar dock and the product
   buy bar. Lift it clear of whichever dock is currently showing. */
body.store-page .back-to-top { bottom: calc(22px + env(safe-area-inset-bottom)); }
body.store-page:has(.pp-sticky-atc.on) .back-to-top { bottom: calc(92px + env(safe-area-inset-bottom)); }
body.store-page.gb-active .back-to-top { bottom: calc(var(--ll-gb-h, 76px) + 16px); }
body.store-page.gb-active:has(.pp-sticky-atc.on) .back-to-top { bottom: calc(var(--ll-gb-h, 76px) + 88px); }

/* Nothing may ever cause a horizontal scrollbar on a phone. */
@media (max-width: 880px) {
  html, body { overflow-x: hidden; }
  .store-grid, .ritual-rail, .pp-grid, .ed-split, .proof-grid { max-width: 100%; }
  .store-hero-inner img, .pp-wrap img, .p-card img { max-width: 100%; }
}
