/* =====================================================================
   category-boutique — "Bloom"
   Bright, airy modern fashion shop. Products grouped by category.
   Display: Plus Jakarta Sans (bold).  Accent serif: Fraunces.
   Palette: white / soft grey / sage frame / black CTA / pastel cards.

   NOTE: --brand and --secondary are supplied by the theme _layout from the
   operator's site.brand_color / site.secondary_color (so ?brand= works), and
   the unbranded defaults (#141414 black CTA, #7fae8f sage) come from the
   theme-defaults layer below.
   ===================================================================== */

/* Unbranded defaults for the two operator colour slots.
   The layout injects ONLY the slots the operator actually set
   (storefront/_preview/palette.html.twig, driven by
   StorefrontContext::site() -> PreviewParams::colorsFromQuery, which returns []
   for an unbranded load). So on a plain storefront --brand / --secondary are
   UNDEFINED, and every bare `var(--brand)` here resolves to the property's
   initial value — which turned .btn-dark's background transparent and made the
   checkout's primary CTA invisible (white label on the white step card).
   These live in a CASCADE LAYER on purpose: unlayered declarations always beat
   layered ones regardless of source order, so the operator's inline <head>
   :root still wins, while a plain :root copy here would cascade AFTER it and
   clobber ?brand=. Values are the canonical unbranded palette from
   design/theme-previews/category-boutique/styles.css. */
@layer storegrid-theme-defaults {
  :root {
    --brand: #141414;
    --secondary: #7fae8f;
  }
}

:root {
  /* Editable palette (4 slots). brand/secondary are injected by _layout
     (BEFORE this sheet) and NOT redeclared here. surface/pop have no runtime
     injection yet — their var() fallbacks hold the Bloom defaults until
     edge-dev pushes them.

       brand     → --brand : the black CTA / active pills (used directly below)
       secondary → --accent : hot-red signal (ribbons / NEW / active nav / badge)
       surface   → --bg : the sage-tinted page frame the cards sit in
       pop       → --sage-soft : the signature soft pastel (focus halos, soft
                   fills, gallery backdrop, the 4th card tint)
  */
  --bg: var(--surface, #f3f5f1);   /* the sage-tinted page frame */
  --panel: #ffffff;
  --ink: #16181a;
  --ink-soft: #6c7178;
  --line: #e7e9e6;
  --line-soft: #eef0ec;
  /* hot-red signal accent (ribbons / NEW / active nav / cart badge) follows the
     operator's --secondary so an operator brand recolours it; #e2574c is the
     standalone fallback when --secondary is unset. NOTE: the _layout currently
     defaults --secondary to sage (#7fae8f), so on an UNBRANDED edge load this
     resolves to sage, not red — see designer report (edge-dev to align the
     _layout --secondary default if the red default must survive unbranded). */
  --accent: var(--secondary, #e2574c);
  --sage-soft: var(--pop, #e4efe6);   /* signature soft pastel */
  --blush: #f6e6e2;
  --butter: #f4ecd8;
  --sky: #e2ebf3;
  --r: 26px;
  --r-sm: 18px;
  --r-pill: 100px;
  --max: 1300px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.serif { font-family: "Fraunces", Georgia, serif; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 3.5vw, 44px); }

/* sage outer frame: the whole content sits on a white rounded canvas */
.shell {
  background: var(--panel);
  margin: clamp(10px, 1.6vw, 22px);
  border-radius: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  overflow: clip;
}

/* the storefront iframe preview ribbon */
.preview-ribbon {
  position: fixed; top: 14px; left: 14px; z-index: 300;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px;
  border-radius: var(--r-pill); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
  pointer-events: none;
}

/* one-shot flash toast (dismissed by app.js — timer + close control) */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 0);
  z-index: 280; background: var(--ink); color: #fff; font-size: 14px;
  font-weight: 600; padding: 13px 22px; border-radius: var(--r-pill);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.55); max-width: min(90vw, 460px);
  display: flex; align-items: center; gap: 14px;
  transition: opacity .28s ease, transform .28s ease;
}
.toast--error { background: var(--accent); }
.toast[hidden] { display: none; }            /* beats display:flex */
.toast.is-out { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }
.toast-msg { flex: 1; }
.toast-x {
  flex-shrink: 0; border: 0; background: transparent; cursor: pointer;
  color: inherit; opacity: .6; font-size: 13px; line-height: 1;
  padding: 4px; margin: -4px -10px -4px 0; border-radius: 50%;
  transition: opacity .18s ease;
}
.toast-x:hover, .toast-x:focus-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------------- header ---------------- */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.nav-top { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); height: 72px; }
.brand-mark { font-family: "Fraunces", serif; font-weight: 600; font-size: 25px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.brand-mark .leaf { width: 24px; height: 24px; color: var(--secondary); }
.brand-mark img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.searchbar {
  flex: 1; max-width: 460px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 11px 18px; color: var(--ink-soft); transition: border-color .2s, box-shadow .2s;
}
.searchbar:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--sage-soft); }
.searchbar svg { width: 18px; height: 18px; stroke: var(--ink-soft); flex: none; }
.searchbar input { border: 0; background: transparent; outline: none; font-size: 14.5px; font-family: inherit; width: 100%; color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; position: relative; transition: background .2s, transform .2s, border-color .2s; }
.iconbtn:hover { background: var(--bg); transform: translateY(-2px); border-color: var(--secondary); }
.iconbtn svg { width: 19px; height: 19px; stroke: var(--ink); }
.badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }

.nav-cats { display: flex; gap: clamp(14px, 1.8vw, 28px); height: 52px; align-items: center; border-top: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cats a { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; transition: color .2s; }
.nav-cats a:hover { color: var(--ink); }
.nav-cats a.active { color: var(--accent); }
.burger { display: none; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s, background .2s, color .2s; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(20,20,20,.5); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.btn .arr { transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px); }
.circle-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .25s; flex: none; border: 0; }
.circle-arrow:hover { transform: rotate(-12deg) scale(1.05); }
.circle-arrow svg { width: 22px; height: 22px; stroke: #fff; }

/* ---------------- section frame ---------------- */
.section { padding: clamp(34px, 5vw, 70px) clamp(16px, 3.5vw, 50px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.sec-head h2 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }
.toggle-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tpill { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: all .2s; color: var(--ink); text-decoration: none; }
.tpill:hover { border-color: var(--ink); }
.tpill.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------------- hero ---------------- */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; padding-top: clamp(20px, 3vw, 34px); }
.hero-main {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(380px, 52vh, 540px);
  display: flex; align-items: center;
  background: linear-gradient(120deg, var(--blush) 0%, var(--butter) 100%);
}
.hero-main img { position: absolute; right: 0; top: 0; height: 100%; width: 56%; object-fit: cover; object-position: center; z-index: 0; }
.hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,0) 100%); }
.hero-copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 54px); max-width: 50%; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: #fff; padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 20px; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.hero-copy h1 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; }
.hero-copy p { margin-top: 16px; color: var(--ink-soft); max-width: 32ch; font-size: 15.5px; }
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.off-badge { font-family: "Fraunces", serif; font-weight: 600; font-size: 15px; color: var(--ink); display: inline-flex; flex-direction: column; line-height: 1; }
.off-badge b { font-size: 30px; }
.hero-side { position: relative; border-radius: var(--r); overflow: hidden; min-height: 0; display: flex; align-items: flex-end; padding: 20px; }
.hero-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 60%); }
.hero-side .hs-row { position: relative; z-index: 2; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.hero-side .hs-row h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hero-side .hs-row span { font-size: 13px; opacity: .85; }

/* ---------------- promo pair ---------------- */
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
.promo-wide { position: relative; border-radius: var(--r); overflow: hidden; min-height: 220px; display: flex; align-items: center; padding: clamp(22px, 3vw, 38px); }
.promo-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s; }
.promo-wide:hover img { transform: scale(1.05); }
.promo-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%); }
.promo-wide .pw-body { position: relative; z-index: 2; color: #fff; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 14px; }
.promo-wide h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.01em; }
.promo-wide span { font-size: 13px; opacity: .85; display: block; margin-top: 4px; }

/* ---------------- category cards ---------------- */
.cat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3/3.6; display: flex; align-items: flex-end; padding: 16px; transition: transform .35s; }
.cat-card:nth-child(1) { background: var(--sky); }
.cat-card:nth-child(2) { background: var(--blush); }
.cat-card:nth-child(3) { background: var(--butter); }
.cat-card:nth-child(4) { background: var(--sage-soft); }
.cat-card:hover { transform: translateY(-6px); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; z-index: 0; opacity: .92; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .label { position: relative; z-index: 2; background: #fff; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.3); }
.cat-card .label small { color: var(--ink-soft); font-weight: 600; }

/* ---------------- new collection mixed grid ---------------- */
.col-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(0,0,0,.35); border-color: var(--secondary); }
.pcard-media { position: relative; aspect-ratio: 1/1; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard .ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 5px 11px; border-radius: var(--r-pill); }
.pcard .ribbon.sold { background: var(--ink); }
.pcard-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); }
.pcard-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.pcard-price { font-size: 18px; font-weight: 800; }
.pcard-add { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s; border: 0; }
.pcard-add:hover { transform: rotate(90deg); }
.pcard-add svg { width: 18px; height: 18px; stroke: #fff; }
/* featured large card spanning 2x2 */
.pcard.feature { grid-column: span 2; grid-row: span 2; }
.pcard.feature .pcard-media { aspect-ratio: auto; height: 100%; min-height: 260px; }
.pcard.feature .pcard-name { font-size: 22px; }
.pcard.feature .pcard-price { font-size: 24px; }

/* ---------------- wide green banner ---------------- */
.banner { position: relative; border-radius: var(--r); overflow: hidden; background: linear-gradient(120deg, #2f5d43, var(--secondary)); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); }
.banner h2 { position: relative; z-index: 1; font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.banner h2 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; }
.banner .btn-light { background: #fff; }

/* ---------------- testimonial ---------------- */
.testi { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.testi-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi blockquote { font-family: "Fraunces", serif; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.18; font-weight: 500; letter-spacing: -.01em; }
.testi .stars { color: #e6a23c; font-size: 20px; letter-spacing: 3px; margin-bottom: 18px; }
.testi cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; }
.testi cite span { display: block; font-weight: 500; color: var(--ink-soft); font-size: 14px; }

/* ---------------- closing CTA ---------------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(28px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; margin: 0 auto 20px; }
.closing h2 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }

/* ---------------- footer ---------------- */
footer.foot { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) clamp(16px, 3.5vw, 50px) 0; }
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 30px; }
.foot h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { font-size: 14px; opacity: .82; transition: opacity .2s, padding-left .2s; }
.foot ul a:hover { opacity: 1; padding-left: 4px; }
.foot .blurb { color: var(--ink-soft); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.foot-bottom { display: flex; justify-content: space-between; padding: 24px 0; margin-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 10px; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { min-height: 220px; }
  .hero-copy { max-width: 70%; }
  .hero-main img { width: 50%; opacity: .9; }
  .cat-row { grid-template-columns: 1fr 1fr; }
  .col-grid { grid-template-columns: 1fr 1fr; }
  .pcard.feature { grid-column: span 2; grid-row: span 1; }
  .pcard.feature .pcard-media { aspect-ratio: 16/10; }
  .testi { grid-template-columns: 1fr; }
  .testi-photo { max-width: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 680px) {
  .searchbar { display: none; }
  .nav-actions .opt { display: none; }
  .promo-pair { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 1fr 1fr; }
  .col-grid { grid-template-columns: 1fr; }
  .pcard.feature { grid-column: span 1; }
  .hero-copy { max-width: 100%; }
  .hero-main img { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .burger { display: grid; }
  /* The category row is a scroller with its scrollbar hidden, so on a phone it
     just looked like a nav that had been cut off mid-word. Fade the trailing
     edge: the same affordance a visible scrollbar would have given. */
  .nav-cats {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
    padding-right: 44px;
  }
}

/* =====================================================================
   INNER PAGES — shared "Bloom" building blocks
   ===================================================================== */

/* page banner / breadcrumb -------------------------------------------- */
.page-head { padding: clamp(26px, 4vw, 52px) clamp(16px, 3.5vw, 50px) clamp(10px, 2vw, 22px); }
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-bottom: 14px; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { opacity: .5; }
.crumb .cur { color: var(--ink); }
.page-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.page-title em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }
.page-lead { margin-top: 12px; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--blush); padding: 7px 14px; border-radius: var(--r-pill); }

.surface { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.soft-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); }
.inp { font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 13px 18px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
textarea.inp, select.inp { border-radius: var(--r-sm); }
textarea.inp { min-height: 130px; resize: vertical; padding: 14px 18px; line-height: 1.5; }
.inp:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--sage-soft); background: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }
.linklike { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--secondary); cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; font-size: inherit; padding: 0 0 1px; }
.linklike:hover { color: var(--secondary); }

/* ---------- ABOUT ---------- */
.about-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.about-hero .ah-copy { padding: clamp(8px, 1.5vw, 22px) 0; align-self: center; }
.about-hero h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-top: 18px; }
.about-hero h1 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }
.about-hero p { margin-top: 18px; color: var(--ink-soft); font-size: 16px; max-width: 46ch; }
.about-figs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 14px; }
.about-figs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.about-figs .tall { grid-row: span 2; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 26px 22px; }
.stat:nth-child(2) { background: var(--blush); }
.stat:nth-child(3) { background: var(--sky); }
.stat:nth-child(4) { background: var(--sage-soft); }
.stat b { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(34px, 4vw, 48px); display: block; letter-spacing: -.02em; }
.stat span { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-grid .story-copy p { color: var(--ink-soft); margin-top: 16px; font-size: 15.5px; }
.story-grid .story-copy p:first-child { margin-top: 0; }
.story-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 5/4; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 26px 22px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-5px); border-color: var(--secondary); box-shadow: 0 22px 46px -30px rgba(0,0,0,.35); }
.value-card .vc-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); margin-bottom: 16px; }
.value-card:nth-child(2) .vc-ic { background: var(--blush); }
.value-card:nth-child(3) .vc-ic { background: var(--sky); }
.value-card:nth-child(4) .vc-ic { background: var(--butter); }
.value-card .vc-ic svg { width: 24px; height: 24px; stroke: var(--ink); }
.value-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.value-card p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

/* ---------- PRODUCTS (listing) ---------- */
.filterbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; letter-spacing: .03em; cursor: pointer; transition: all .2s; color: var(--ink); text-decoration: none; display: inline-flex; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.filter-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-count { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.result-count b { color: var(--ink); }
.sort-wrap { position: relative; display: inline-flex; align-items: center; }
.sort-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.sort-wrap::after { content: ""; position: absolute; right: 16px; width: 9px; height: 9px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg) translateY(-2px); pointer-events: none; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard-price.row { display: flex; align-items: baseline; gap: 8px; }
.pcard-was { font-size: 14px; color: var(--ink-soft); text-decoration: line-through; font-weight: 600; }
.empty-note { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 36px; }
.pager .pg-info { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

/* ---------- PRODUCT (detail) ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gal-main { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--sage-soft); cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-zoom { position: absolute; bottom: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; pointer-events: none; }
.gal-zoom svg { width: 20px; height: 20px; stroke: var(--ink); }
.gal-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gal-thumbs button { flex: 1; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; background: var(--bg); padding: 0; transition: border-color .2s; }
.gal-thumbs button.on { border-color: var(--ink); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .pdp-cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.pdp-tag { color: var(--ink-soft); font-size: 15.5px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.pdp-price .now { font-size: 30px; font-weight: 800; }
.pdp-price .was { font-size: 18px; color: var(--ink-soft); text-decoration: line-through; }
.pdp-price .save { font-size: 12px; font-weight: 800; color: var(--accent); background: var(--blush); padding: 5px 11px; border-radius: var(--r-pill); }
.rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.rating .stars { color: #e6a23c; letter-spacing: 2px; }
.opt-group { margin-top: 22px; }
.opt-group .ol { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.opt-group .ol .lbl { font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.opt-group .ol .sel { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; position: relative; display: grid; place-items: center; transition: transform .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch.oos { cursor: not-allowed; opacity: .5; }
.swatch.oos::after { content: ""; position: absolute; width: 130%; height: 1.5px; background: var(--ink-soft); transform: rotate(-45deg); }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size-chip { min-width: 50px; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; color: var(--ink); }
.size-chip:hover { border-color: var(--ink); }
.size-chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.size-chip.oos { color: var(--ink-soft); text-decoration: line-through; cursor: not-allowed; opacity: .55; background: var(--bg); }
/* Editorial axis row for the dynamic picker — underline-led pills + a quiet
   combination-unavailable caption. */
.axis-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.axis-pills .size-chip { border-radius: 0; border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 8px 6px; color: var(--ink-soft); letter-spacing: .02em; }
.axis-pills .size-chip:hover { border-bottom-color: var(--ink); color: var(--ink); }
.axis-pills .size-chip.on { background: transparent; color: var(--ink); border-bottom-color: var(--brand); }
.axis-pills .size-chip:disabled { color: var(--ink-soft); text-decoration: line-through; cursor: not-allowed; opacity: .5; }
.combo-oos { margin: 14px 0 0; font-size: 13px; font-style: italic; color: var(--secondary); }
.qty-buy { display: flex; gap: 12px; align-items: stretch; margin-top: 26px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; overflow: hidden; }
.qty button { width: 46px; height: 50px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: background .15s; }
.qty button:hover { background: var(--bg); }
.qty input { width: 44px; text-align: center; border: 0; outline: none; font-family: inherit; font-weight: 800; font-size: 16px; background: none; }
/* One sentence, not a flex row. As a flex container each text run and the
   "Return policy" link became separate flex items, so at 390px the link was
   squeezed into its own two-line column and the sentence was left ending on a
   dangling "·". Inline flow lets the whole line wrap as prose. */
.pdp .meta-line { margin-top: 20px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }
.pdp .meta-line svg { width: 18px; height: 18px; stroke: var(--secondary); vertical-align: -4px; margin-right: 8px; }
.long-desc { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.long-desc p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.65; white-space: pre-line; }

/* accordion (details, faq) ------------------------------------------- */
.accordion { border-top: 1px solid var(--line); margin-top: 8px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-align: left; }
.acc-head .ic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background .2s, transform .3s; position: relative; }
.acc-head .ic::before, .acc-head .ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.acc-head .ic::before { width: 12px; height: 2px; }
.acc-head .ic::after { width: 2px; height: 12px; transition: transform .3s; }
.acc-item.open .acc-head .ic { background: var(--sage-soft); border-color: var(--secondary); }
.acc-item.open .acc-head .ic::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body .acc-inner { padding: 0 2px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.acc-body .detail-row { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.acc-body .detail-row:last-child { border-bottom: 0; }
.acc-body .detail-row b { min-width: 92px; color: var(--ink); font-weight: 700; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* fullscreen lightbox ------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,22,20,.92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.lightbox.open { display: flex; opacity: 1; }
.lb-stage { position: relative; width: min(92vw, 760px); aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: #000; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s; }
.lb-stage img.on { opacity: 1; }
.lb-close { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.14); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-close svg { width: 22px; height: 22px; stroke: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .2s, background .2s; z-index: 2; }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-nav svg { width: 24px; height: 24px; stroke: var(--ink); }
.lb-prev { left: max(16px, 4vw); }
.lb-next { right: max(16px, 4vw); }
.lb-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 2; }
.lb-dots b { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s, transform .2s; }
.lb-dots b.on { background: #fff; transform: scale(1.25); }

/* ---------- CART ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 38px); align-items: start; }
.cart-lines { display: flex; flex-direction: column; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:first-child { padding-top: 4px; }
.cart-thumb { width: 96px; height: 110px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); display: block; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.cl-variant { color: var(--ink-soft); font-size: 13.5px; margin-top: 4px; }
.cl-controls { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.qty.sm button { width: 36px; height: 38px; font-size: 17px; }
.qty.sm input { width: 36px; font-size: 14px; }
.cl-remove { background: none; border: 0; cursor: pointer; color: var(--ink-soft); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.cl-remove:hover { color: var(--accent); }
.cl-remove svg { width: 15px; height: 15px; stroke: currentColor; }
.cl-price { text-align: right; }
.cl-price .lt { font-size: 18px; font-weight: 800; }
.cl-price .ea { font-size: 12.5px; color: var(--ink-soft); }
.summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 30px); position: sticky; top: 96px; }
.summary h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--ink-soft); }
.sum-row span:last-child { color: var(--ink); font-weight: 700; }
.sum-row.discount span:last-child { color: var(--secondary); }
.sum-total { display: flex; justify-content: space-between; padding: 16px 0 4px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 800; }
.promo { display: flex; gap: 8px; margin: 16px 0; }
.promo .inp { flex: 1; }
.promo button { white-space: nowrap; }
.promo-msg { font-size: 12.5px; color: var(--secondary); font-weight: 700; margin: -6px 0 10px; }
.promo-msg.err { color: var(--accent); }
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.trust-row svg { width: 16px; height: 16px; stroke: var(--secondary); }
.cart-empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }
.cart-empty .ce-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.cart-empty .ce-ic svg { width: 36px; height: 36px; stroke: var(--secondary); }
.cart-empty h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cart-empty p { color: var(--ink-soft); margin: 10px 0 24px; }

/* ---------- CHECKOUT ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.step.active { border-color: var(--secondary); box-shadow: 0 24px 50px -34px rgba(0,0,0,.4); }
.step.done .step-head .num { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.step-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.step-head .num { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; background: #fff; }
.step.active .step-head .num { border-color: var(--ink); background: var(--ink); color: #fff; }
.step-head h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; flex: 1; }
/* The 44px tap target is STATED as a height rather than guessed at with a
   negative inset: this label's box is ~18px, so a symmetric inset would have to
   be -13px to reach 44 and any other value quietly misses (d-0dtwt4). */
.step-head .edit { position: relative; font-size: 13px; font-weight: 700; color: var(--secondary); cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; display: none; }
.step.done .step-head .edit { display: inline-block; }
.step-head .edit::after { content: ""; position: absolute; left: -10px; right: -10px; top: 50%; height: 44px; transform: translateY(-50%); }
.step-head .edit:hover { color: var(--ink); }
.step-head .edit:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.step.done .step-head .done-val { font-size: 13.5px; color: var(--ink-soft); }
.step-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.step.active .step-body { max-height: 1400px; }
.step-inner { padding: 4px 24px 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.delivery-opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; margin-bottom: 12px; transition: border-color .2s, background .2s; }
.delivery-opt:hover { border-color: var(--ink); }
.delivery-opt.on { border-color: var(--secondary); background: var(--sage-soft); }
.delivery-opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.delivery-opt.on .radio { border-color: var(--secondary); }
.delivery-opt.on .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--secondary); }
.delivery-opt .d-main { flex: 1; }
.delivery-opt .d-main b { font-weight: 800; font-size: 15px; }
.delivery-opt .d-main span { display: block; font-size: 13px; color: var(--ink-soft); }
.delivery-opt .d-price { font-weight: 800; }
.stripe-box { border: 1px dashed var(--line); border-radius: var(--r-sm); background: var(--bg); padding: 20px; }
.stripe-box .sb-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
/* Payment mount node — this checkout collects no card field, so the provider's
   iframe is what fills the box (PCI SAQ A-EP, d-0dssu6). */
.pay-mount { display: grid; gap: 5px; place-items: center; text-align: center; padding: 28px 18px; border: 1px dashed var(--line); border-radius: var(--r-sm); background: var(--sage-soft); }
.pay-mount .pm-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.pay-mount .pm-sub { font-size: 13px; color: var(--ink-soft); }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.review-item .rk { color: var(--ink-soft); }
.confirm { text-align: center; padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 50px); }
.confirm .ok { width: 92px; height: 92px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; margin: 0 auto 24px; animation: pop .5s cubic-bezier(.2,1.3,.4,1); }
.confirm .ok svg { width: 44px; height: 44px; stroke: var(--secondary); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.confirm h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.confirm h2 em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }
.confirm .order-no { display: inline-block; margin: 16px 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 20px; font-weight: 800; letter-spacing: .04em; }
.confirm p { color: var(--ink-soft); }
.confirm .confirm-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(22px, 3.5vw, 48px); align-items: start; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.5vw, 38px); }
.contact-form .fg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-aside .info-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-bottom: 16px; }
.info-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.info-line { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-line:last-child { border-bottom: 0; }
.info-line svg { width: 19px; height: 19px; stroke: var(--secondary); flex: none; margin-top: 2px; }
.info-line b { display: block; font-weight: 700; }
.info-line span { color: var(--ink-soft); }
.contact-success { display: flex; align-items: center; gap: 10px; background: var(--sage-soft); border-radius: var(--r-sm); padding: 13px 16px; font-size: 13.5px; color: #2f6b46; font-weight: 700; margin-bottom: 18px; }
.contact-success svg { width: 18px; height: 18px; stroke: #2f6b46; flex: none; }
.map-ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; background: var(--sage-soft); position: relative; }
.map-ph img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.map-ph .pin { position: absolute; top: 44%; left: 50%; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: translate(-50%,-50%) rotate(-45deg); box-shadow: 0 8px 20px -6px rgba(0,0,0,.4); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .2s, transform .2s, border-color .2s; }
.social-row a:hover { background: var(--sage-soft); transform: translateY(-3px); border-color: var(--secondary); }
.social-row svg { width: 18px; height: 18px; stroke: var(--ink); }

/* ---------- ORDER DETAIL ---------- */
.track-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.track-detail h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.addr-block { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.addr-block b { color: var(--ink); display: block; }
.carrier-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; font-size: 13px; font-weight: 700; margin-top: 12px; }

/* ---------- ORDER LINES (checkout / order) ---------- */
.ob-items { display: flex; flex-direction: column; gap: 14px; }
.ob-item { display: flex; gap: 14px; align-items: center; }
.ob-item img { width: 56px; height: 66px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg); }
.ob-item .obi-name { font-weight: 800; font-size: 14.5px; }
.ob-item .obi-var { font-size: 13px; color: var(--ink-soft); }
.ob-item .obi-price { margin-left: auto; font-weight: 800; }

/* section spacing helpers --------------------------------------------- */
.section.tight { padding-top: clamp(20px, 3vw, 34px); }
.sec-label { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.sec-label em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--secondary); }

/* ---------- responsive for inner pages ---------- */
@media (max-width: 1040px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .products-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 680px) {
  .products-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .track-detail { grid-template-columns: 1fr; }
  .form-grid, .contact-form .fg { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .cl-price { grid-column: 2; text-align: left; }
  .cart-thumb { width: 72px; height: 86px; }
  .about-figs { grid-template-columns: 1fr 1fr; }
  .filterbar { flex-direction: column; align-items: stretch; }
}

/* =====================================================================
   Long-form content page (privacy / terms / returns) — friendly boutique
   Soft white cards on the sage frame, pastel-tinted TOC + definition block.
   ===================================================================== */
.legal-updated {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  padding: 8px 16px; background: var(--sage-soft); border-radius: var(--r-pill);
}
.legal-updated .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.legal-intro-lede { color: var(--ink-soft); max-width: 58ch; margin-top: 16px; font-size: clamp(15px, 1.8vw, 17px); }

.legal-layout {
  display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(20px, 3vw, 32px); align-items: start;
}
.legal-toc {
  position: sticky; top: 24px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: 0 24px 44px -32px rgba(20,20,20,.22);
}
.legal-toc .toc-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.legal-toc .toc-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.legal-toc ol { list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.legal-toc a:hover { background: var(--sage-soft); color: var(--ink); }
.legal-toc a.active { background: var(--brand); color: #fff; }

.legal-body { display: grid; gap: 18px; max-width: 760px; }
.legal-body section {
  scroll-margin-top: 24px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(22px, 3vw, 34px);
}
.legal-body h2 {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800;
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.12; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 12px;
}
.legal-body h2 .h2-num {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--secondary); border-radius: 50%;
  font-size: 13px; font-weight: 800;
}
.legal-body h3 { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 19px; margin-top: 22px; color: var(--ink); }
.legal-body p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: #44494e; max-width: 64ch; }
.legal-body ul, .legal-body ol.legal-list { margin: 14px 0 2px; padding: 0; list-style: none; max-width: 64ch; }
.legal-body ul li, .legal-body ol.legal-list li {
  position: relative; padding-left: 30px; margin-top: 10px; font-size: 15px; line-height: 1.6; color: #44494e;
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--secondary);
}
.legal-body ol.legal-list { counter-reset: ll; }
.legal-body ol.legal-list li { counter-increment: ll; }
.legal-body ol.legal-list li::before {
  content: counter(ll); position: absolute; left: 0; top: 0; width: 21px; height: 21px;
  background: var(--blush); color: var(--accent); border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.legal-def {
  margin: 16px 0 2px; padding: 18px 20px; background: var(--sky);
  border-radius: var(--r-sm);
}
.legal-def dt { font-weight: 800; font-size: 15px; margin-top: 14px; color: var(--ink); }
.legal-def dt:first-child { margin-top: 0; }
.legal-def dd { font-size: 14.5px; line-height: 1.55; color: #4a5560; margin-top: 3px; }
.legal-contact-card { margin-top: 16px; padding: 20px; background: var(--butter); border-radius: var(--r-sm); }
.legal-contact-card .rows { display: grid; gap: 6px; }
.legal-contact-card .rows div { font-size: 14.5px; color: #4a4636; }
.legal-contact-card .rows strong { color: var(--ink); }
.legal-contact-card a { color: var(--ink); font-weight: 700; border-bottom: 2px solid rgba(0,0,0,.18); }

.to-top {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px) scale(.9);
  pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: 0 18px 34px -16px rgba(20,20,20,.55);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.toc-inline-toggle { display: none; }

@media (max-width: 920px) {
  .legal-layout { grid-template-columns: 1fr; gap: 16px; }
  .legal-toc { position: static; padding: 0; }
  .legal-toc .toc-label { display: none; }
  .toc-inline-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 16px 22px; background: none; border: 0; cursor: pointer;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  }
  .toc-inline-toggle svg { width: 16px; height: 16px; transition: transform .25s; }
  .legal-toc.open .toc-inline-toggle svg { transform: rotate(180deg); }
  .legal-toc ol { padding: 0 14px 16px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .legal-toc.open ol { max-height: 660px; }
}
