/* Mustard Seed & Co. — storefront styles.
   Palette pulled from the brand art: powder-blue stripes, sage vines, cream ground. */
:root {
  --cream: #f8f5ee;
  --paper: #fffdf9;
  --white: #ffffff;
  --blue-50: #f0f5fc;
  --blue-100: #e1ebf8;
  --blue-200: #c9dbf2;
  --blue-300: #a9c6ec;
  --blue-500: #6c90c6;
  --blue-700: #3b5a8c;
  --blue-800: #2e4870;
  --navy: #24324a;
  --sage-100: #e9efe3;
  --sage-300: #b9cba9;
  --sage-600: #6a8a5e;
  --sage-700: #557049;
  --ink: #2a2f38;
  --muted: #5e6675;
  --line: #e4dfd3;
  --line-blue: #d3e0f1;
  --sale: #a2443a;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(36, 50, 74, .06), 0 2px 8px rgba(36, 50, 74, .05);
  --shadow: 0 2px 4px rgba(36, 50, 74, .05), 0 12px 32px -8px rgba(36, 50, 74, .16);
  --shadow-lg: 0 24px 60px -18px rgba(36, 50, 74, .28);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); }
h1, h2, h3 { text-wrap: balance; font-variant-numeric: lining-nums; font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.85rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline-width: 3px; outline-style: solid; outline-color: var(--blue-700); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.eyebrow {
  font: 800 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-700);
  margin: 0 0 .9em; display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.center .eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--blue-200); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 800 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 8px 22px -10px rgba(59, 90, 140, .8); }
.btn-primary:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--blue-300); }
.btn-ghost:hover { background: var(--blue-50); color: var(--navy); border-color: var(--blue-500); }
.btn[disabled] { background: #c4cbd6; color: #4a5260; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; text-decoration: none; color: var(--blue-700); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .25s var(--ease); }

/* ----------------------------------------------------------- announcement */
.announce { background: var(--blue-700); color: #fff; text-align: center; font: 700 .86rem/1.4 var(--sans); letter-spacing: .03em; }
.announce p { margin: 0; padding: 9px var(--gutter); }

/* ----------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.site-head.is-scrolled { box-shadow: 0 6px 24px -14px rgba(36, 50, 74, .35); }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--blue-200); }
.brand-word { width: 210px; height: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 700 .95rem/1 var(--sans); color: var(--navy); text-decoration: none; transition: background .2s; }
.main-nav a:hover { background: var(--blue-50); }
.main-nav a[aria-current="page"] { background: var(--blue-100); }
.head-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: var(--blue-50); color: var(--navy); }
.icon-btn svg { width: 24px; height: 24px; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sage-700); color: #fff; font: 800 .72rem/20px var(--sans); text-align: center; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(36, 50, 74, .4); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 360px); background: var(--paper); padding: 18px 22px 28px; display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-top img { border-radius: 50%; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer-main a { display: block; padding: 13px 4px; font: 600 1.5rem/1.2 var(--serif); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-label { margin: 22px 0 6px; font: 800 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-700); }
.drawer-cats a { display: block; padding: 9px 4px; font-weight: 700; color: var(--ink); text-decoration: none; }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.drawer-foot a { display: flex; gap: 10px; align-items: center; color: var(--navy); text-decoration: none; font-weight: 700; min-height: 44px; }
.drawer-foot svg { width: 20px; height: 20px; color: var(--blue-700); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding-bottom: 8px; background: linear-gradient(var(--blue-50), var(--cream)); }
.hero-art { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-blue); }
.hero-art img { width: 100%; height: clamp(190px, 40vw, 640px); object-fit: cover; object-position: 50% 50%; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(240, 245, 252, .7)); pointer-events: none; }
.hero-card {
  position: relative; z-index: 2; margin: clamp(-120px, -8vw, -40px) auto 0; max-width: 820px; text-align: center;
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px) clamp(22px, 5vw, 64px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--blue-200); border-radius: 20px; pointer-events: none; }
.hero-card .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.hero-card .lede { margin-inline: auto; }
.hero-card .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- promise */
.promise { padding: clamp(36px, 5vw, 56px) 0 clamp(20px, 3vw, 30px); }
.promise-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise-row li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.promise-row svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.promise-row b { display: block; font: 700 1rem/1.3 var(--sans); color: var(--navy); }
.promise-row span { display: block; font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: 3px; }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-head h2 { margin: 0; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.empty { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--blue-300); border-radius: var(--r); background: var(--blue-50); }
.empty p { max-width: 52ch; margin: 0 auto 18px; color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-sm); background: var(--sage-100); color: var(--sage-700); font-weight: 700; margin-bottom: 26px; }
.notice svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--blue-50); box-shadow: var(--shadow-sm); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s var(--ease); }
.card-alt { opacity: 0; }
.card-link:hover .card-media img:first-child { transform: scale(1.04); }
.card-link:hover .card-alt { opacity: 1; }
.card-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-300); }
.card-empty svg { width: 40%; height: 40%; stroke-width: 1; }
.flag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: var(--paper); color: var(--navy); font: 800 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.flag-sale { background: var(--sale); color: #fff; }
.flag-out { background: var(--navy); color: #fff; }
.flag-soon { background: var(--sage-700); color: #fff; }
.card-body { padding: 14px 4px 0; }
.card-cat { margin: 0 0 3px; font: 800 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-700); }
.card-title { font: 700 1.04rem/1.35 var(--sans); color: var(--navy); margin: 0 0 4px; }
.card-link:hover .card-title { color: var(--blue-700); }
.card-price { margin: 0; font-weight: 700; color: var(--ink); }
.card-price s, .pdp-price s { color: var(--muted); font-weight: 400; margin-right: 4px; }

/* -------------------------------------------------------------- drop spot */
.drop-spot { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--cream), var(--blue-50)); }
.drop-spot-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.drop-spot-media { position: relative; }
.drop-spot-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stamp { position: absolute; right: -10px; top: 22px; transform: rotate(6deg); background: var(--sage-700); color: #fff; padding: 10px 18px; border-radius: 999px; font: 800 .82rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow); }
.when { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); }
.when svg { width: 20px; height: 20px; color: var(--blue-700); }
.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 26px; }
.cd-label { width: 100%; font: 800 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cd-unit { display: grid; place-items: center; min-width: 74px; padding: 12px 8px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line-blue); box-shadow: var(--shadow-sm); }
.cd-unit b { font: 600 2rem/1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.cd-unit small { font: 700 .75rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------------------------------------- categories */
.cats { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cats-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.cats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat-label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 253, 249, .95); box-shadow: var(--shadow-sm); }
.cat-label b { font: 600 1.35rem/1.1 var(--serif); color: var(--navy); }
.cat-label small { font: 700 .8rem/1 var(--sans); color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------- verse band */
.verse-band { position: relative; overflow: hidden; background: var(--blue-800); color: #fff; padding: clamp(64px, 8vw, 110px) 0; text-align: center; }
.verse-pattern { position: absolute; inset: 0; background: url("/brand/pattern-band.webp") center / 640px auto repeat; opacity: .09; mix-blend-mode: screen; }
.verse-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(30, 47, 74, .55)); pointer-events: none; }
.verse-in { position: relative; z-index: 1; max-width: 900px; }
.verse-in .sprig { width: 64px; height: 26px; color: var(--blue-300); margin: 0 auto 18px; }
.verse-band blockquote { margin: 0; }
.verse-band blockquote p { font: italic 500 clamp(1.7rem, 1.2rem + 2.4vw, 3rem)/1.25 var(--serif); color: #fff; margin: 0 0 18px; }
.verse-band cite { font: 800 .8rem/1 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-200); }
.verse-note { max-width: 56ch; margin: 26px auto 0; color: #dbe6f6; }

/* ------------------------------------------------------------ story tease */
.story-tease-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 84px); align-items: center; }
.arch { margin: 0; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow), 0 0 0 1px var(--line-blue); }
.arch { position: relative; }
.arch > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.arch-badge { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: 82%; padding: 12px 18px 12px 12px; border-radius: 999px; background: rgba(255, 253, 249, .96); box-shadow: var(--shadow); font: 700 .92rem/1.35 var(--sans); color: var(--navy); }
.arch-badge img { border-radius: 50%; flex: none; }
.arch-badge > span:last-child:not(:only-child) { max-width: 190px; }
.arch-badge span:only-child { padding: 6px 8px; text-align: center; font: italic 600 1.15rem/1.35 var(--serif); border-radius: 0; }
.arch-badge small { font: 800 .72rem/2 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-700); }
.arch-badge:has(span:only-child) { border-radius: var(--r); padding: 12px 16px; }
.arch-badge--low { top: auto; bottom: 22px; transform: translateX(-50%); }
.shed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.shed-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--blue-50); }
.shed-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .shed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: 1; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.collage-2 { grid-template-columns: 1fr 1fr; aspect-ratio: 8 / 5; }
.collage-3 img:first-child { grid-row: span 2; }
.story-tease-in > div p { color: var(--muted); }
.signed { font-style: italic; }
.signed span { font: italic 600 1.25rem/1 var(--serif); color: var(--navy); }

/* ----------------------------------------------------------- customs band */
.customs-band { position: relative; padding: clamp(60px, 8vw, 110px) 0; background: url("/brand/pattern-band-2.webp") center / cover; }
.customs-card { max-width: 720px; margin: 0 auto; text-align: center; background: rgba(255, 253, 249, .96); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.customs-card .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.customs-card p { color: var(--muted); }

/* ---------------------------------------------------------------- reviews */
.reviews { padding: clamp(48px, 6vw, 72px) 0; }
.reviews-in { text-align: center; }
.stars { display: inline-flex; gap: 4px; color: #c9a227; margin-bottom: 10px; }
.stars svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.reviews-stat { font: 500 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.3 var(--serif); color: var(--navy); max-width: 30ch; margin: 0 auto 14px; }
.reviews-stat b { font-weight: 700; color: var(--blue-700); }

/* -------------------------------------------------------------- page head */
.page-head { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-blue); }
.page-head--pattern { background: var(--blue-50); }
.page-head--pattern::before { content: ""; position: absolute; inset: 0; background: url("/brand/pattern-band.webp") center / 560px auto repeat; opacity: .35; }
.page-head--pattern::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at center, rgba(248, 245, 238, .97) 35%, rgba(248, 245, 238, .55)); }
.page-head--soft { background: linear-gradient(var(--blue-50), var(--cream)); }
.page-head--drop { background: linear-gradient(135deg, var(--blue-100), var(--cream) 70%); }
.page-head-in { position: relative; z-index: 1; text-align: center; }
.page-head-in .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.page-head-in .lede { margin-inline: auto; }
.page-head h1 { margin-bottom: .3em; }
.drop-head { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.drop-head-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------- shop */
.shop { padding-top: clamp(28px, 4vw, 44px); }
.shop-bar { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-blue); background: var(--paper); color: var(--navy); font-weight: 700; font-size: .93rem; text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--blue-500); color: var(--navy); }
.chip[aria-current="page"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.search input#q { padding-left: 42px; }
.search input { width: 220px; min-height: 44px; padding: 0 16px 0 40px; border-radius: 999px; border: 1.5px solid var(--line-blue); background: var(--paper); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-weight: 700; font-size: .9rem; color: var(--muted); }
.sort select { min-height: 44px; padding: 0 36px 0 14px; border-radius: 999px; border: 1.5px solid var(--line-blue); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324324a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; appearance: none; font-weight: 700; }
.count { color: var(--muted); font-size: .92rem; margin: 6px 0 22px; }

/* -------------------------------------------------------------------- pdp */
.crumbs { padding: 18px 0 0; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-block; min-height: 24px; line-height: 24px; }
.pdp { padding: 20px 0 clamp(56px, 7vw, 90px); }
.pdp-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.gallery-main:has(.card-empty) { aspect-ratio: 1; }
.gallery-main img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; transition: opacity .25s; }
.style-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.style-opt { position: relative; }
.style-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.style-opt span { display: grid; gap: 2px; padding: 11px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-blue); background: var(--paper); transition: all .15s; }
.style-opt b { font-size: .95rem; color: var(--navy); }
.style-opt small { color: var(--muted); font-weight: 700; }
.style-opt input:hover + span { border-color: var(--blue-500); }
.style-opt input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--blue-50); }
.style-opt input:focus-visible + span { outline: 3px solid var(--blue-700); outline-offset: 2px; }
.colors[hidden] { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(36, 50, 74, .18); border: 3px solid var(--paper); outline: 1.5px solid transparent; transition: outline-color .15s, transform .15s; }
.swatch input:hover + span { transform: scale(1.08); }
.swatch input:checked + span { outline: 2px solid var(--navy); }
.swatch input:focus-visible + span { outline: 3px solid var(--blue-700); }
.link-btn { margin-top: 12px; padding: 6px 0; border: 0; background: none; color: var(--blue-700); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chart-dialog { width: min(94vw, 900px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.chart-dialog::backdrop { background: rgba(36, 50, 74, .5); }
.chart-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 0 22px; }
.chart-head h2 { font-size: 1.6rem; margin: 0; }
.chart-dialog img { width: 100%; height: auto; padding: 10px 16px 18px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 6px; }
.thumb { flex: none; width: 76px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--blue-50); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--blue-700); }
.pdp-info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: .25em; }
.pdp-price { font: 700 1.5rem/1.2 var(--sans); color: var(--navy); margin-bottom: 8px; }
.pdp-drop { font-size: .95rem; color: var(--muted); }
.buy { margin: 26px 0 22px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.sizes { border: 0; padding: 0; margin: 0 0 20px; }
.sizes legend, .field label, .fulfil legend { font: 800 .82rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; padding: 0; }
.size-picked { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 56px; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-blue); background: var(--paper); font-weight: 800; color: var(--navy); transition: all .15s; }
.size input:hover + span { border-color: var(--blue-500); }
.size input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.size input:focus-visible + span { outline: 3px solid var(--blue-700); outline-offset: 2px; }
.size.is-out span { color: #8a919c; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(36,50,74,.06) 6px 7px), var(--paper); text-decoration: line-through; }
.size.is-out input { cursor: not-allowed; }
.stock-note { min-height: 1.4em; margin: 10px 0 0; font-weight: 700; font-size: .92rem; color: var(--sale); }
.field { display: grid; gap: 4px; margin-bottom: 18px; }
.field label { margin-bottom: 4px; }
.field small { color: var(--muted); font-size: .85rem; }
.opt-label { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-sm); border: 1.5px solid #cfd8e4; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(59, 90, 140, .15); }
input[type="file"] { padding: 10px 0; }
.buy-row { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; border: 1.5px solid #cfd8e4; border-radius: 999px; background: var(--white); overflow: hidden; flex: none; }
.qty button { width: 46px; height: 50px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--blue-50); }
.qty input { width: 44px !important; min-height: 0 !important; height: 50px; border: 0 !important; padding: 0 !important; text-align: center; font-weight: 800; background: transparent !important; box-shadow: none !important; -moz-appearance: textfield; }
.qty input:focus-visible, .qty button:focus-visible { outline: 3px solid var(--blue-700) !important; outline-offset: -3px; border-radius: 999px; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-buy { flex: 1; }
.form-msg { min-height: 1.3em; margin: 12px 0 0; font-weight: 700; color: var(--sale); }
.form-msg.ok { color: var(--sage-700); }
.pdp-perks { list-style: none; padding: 18px; margin: 0 0 26px; display: grid; gap: 12px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--line-blue); }
.pdp-perks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.pdp-perks svg { width: 22px; height: 22px; color: var(--blue-700); margin-top: 1px; }
.pdp-desc h2 { font-size: 1.5rem; }
.pdp-desc p { color: var(--muted); }
.acc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0; margin-top: 10px; }
.acc summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; }
.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.acc[open] summary::after { content: "−"; }
.acc summary::-webkit-details-marker { display: none; }
.acc p { color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------- cart */
.cart-section { padding-top: clamp(28px, 4vw, 44px); }
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-lines { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.line-img { width: 96px; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--blue-50); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font: 700 1.02rem/1.3 var(--sans); margin: 0 0 3px; }
.line h3 a { display: inline-block; padding: 3px 0; color: var(--navy); text-decoration: none; }
.line-meta { font-size: .9rem; color: var(--muted); margin: 0; }
.line-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.line-ctl .qty button { width: 38px; height: 40px; font-size: 1.1rem; }
.line-ctl .qty input { width: 34px !important; height: 40px; }
.line-remove { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .88rem; padding: 8px 4px; min-height: 40px; }
.line-price { font-weight: 800; color: var(--navy); text-align: right; align-self: start; }
.line-problem { grid-column: 1 / -1; margin: 0; color: var(--sale); font-weight: 700; font-size: .9rem; }
.summary { position: sticky; top: 96px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary h2 { font-size: 1.7rem; }
.fulfil { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-blue); cursor: pointer; transition: all .15s; }
.opt:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); }
.opt input { margin-top: 4px; accent-color: var(--blue-700); width: 18px; height: 18px; }
.opt b { display: block; font-size: .98rem; color: var(--navy); }
.opt small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.totals { margin: 0 0 12px; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.totals .grand { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.totals .grand dt, .totals .grand dd { color: var(--navy); font-weight: 800; }
.free-note { font-size: .9rem; color: var(--sage-700); font-weight: 700; }
.secure { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.cart-empty { text-align: center; padding: 48px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); grid-column: 1 / -1; }
.cart-empty img { margin: 0 auto 14px; border-radius: 50%; }

/* ---------------------------------------------------------------- success */
.success-logo { margin: 0 auto 18px; border-radius: 50%; box-shadow: var(--shadow); }
.success-verse { font: italic 500 1.3rem/1.4 var(--serif); color: var(--navy); margin-top: 26px; }
.success-verse span { display: block; font: 800 .75rem/2 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ story */
.story-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.prose p { font-size: 1.08rem; line-height: 1.8; color: #3c4350; }
.prose h2 { margin-top: 1.6em; }
.dropcap::first-letter { float: left; font: 600 4.4rem/.85 var(--serif); color: var(--blue-700); margin: 6px 10px 0 0; }
.pull { font: italic 500 1.55rem/1.45 var(--serif) !important; color: var(--navy) !important; border-left: 3px solid var(--blue-300); padding-left: 22px; margin: 30px 0; }
.signoff { margin-top: 34px; }
.signoff p { margin: 0 0 4px; }
.sig { font: italic 600 2rem/1.2 var(--serif) !important; color: var(--navy) !important; }
.tagline { margin-top: 30px; text-align: center; font: 800 .82rem/1.4 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-700) !important; }
.family { padding: clamp(56px, 7vw, 90px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { text-align: center; padding: 30px 24px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); }
.initial { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue-100); border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--blue-300); font: 600 2.2rem/1 var(--serif); color: var(--blue-700); }
.person p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------------------------------------------------------------- customs */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-700); color: #fff; font: 600 1.5rem/1 var(--serif); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 18px; }
.span2 { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.thanks { text-align: center; }
.thanks img { margin: 0 auto 14px; border-radius: 50%; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: block; text-align: center; padding: 34px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.contact-card svg { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); margin-bottom: 14px; }
.contact-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); font-weight: 700; }
.contact-more { margin-top: 36px; color: var(--muted); }
.contact-more svg { vertical-align: -3px; color: var(--blue-700); }

/* ----------------------------------------------------------------- footer */
.site-foot { position: relative; overflow: hidden; background: var(--navy); color: #d5deeb; padding: clamp(56px, 7vw, 84px) 0 0; }
.foot-pattern { position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 34px, var(--paper) 34px 68px); opacity: .9; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 44px; }
.foot-word { width: 240px; margin-bottom: 18px; }
.foot-brand p { max-width: 38ch; font-size: .95rem; color: #c3cfe0; }
.foot-verse { font: italic 500 1.2rem/1.4 var(--serif) !important; color: #fff !important; }
.foot-verse span { display: block; font: 800 .72rem/2 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); }
.foot-h { font: 800 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-200); margin: 6px 0 16px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-foot li a, .foot-city { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: #e6ecf5; text-decoration: none; font-size: .95rem; }
.site-foot li a:hover { color: #fff; text-decoration: underline; }
.foot-contact svg { width: 18px; height: 18px; color: var(--blue-300); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #aebbd0; }
.foot-base p { margin: 0; }
.foot-base-r { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.motion-toggle { background: none; border: 1px solid rgba(255, 255, 255, .28); color: #dbe4f0; border-radius: 999px; padding: 6px 14px; min-height: 34px; font-size: .82rem; cursor: pointer; }
.motion-toggle:hover { border-color: #fff; color: #fff; }
.powered { display: inline-flex; align-items: center; min-height: 34px; color: #dbe4f0; font-weight: 700; text-decoration: none; }
.powered:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); font-weight: 700; max-width: calc(100vw - 32px); animation: toastIn .4s var(--ease); }
.toast[hidden] { display: none; }
.toast a { color: #fff; background: var(--blue-700); padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ----------------------------------------------------------------- motion */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: .9rem; }
  .brand-word { width: 170px; }
  .promise-row { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .brand { margin: 0 auto; }
  .head-row { gap: 6px; min-height: 66px; }
  .head-actions .icon-btn:first-child { display: none; }
  .head-actions { min-width: 46px; justify-content: flex-end; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-word { width: 160px; }
  .drop-spot-in, .story-tease-in, .pdp-grid, .cart-grid, .story-grid, .drop-head { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
  .cats, .cats-3, .cats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-tease .arch { max-width: 320px; margin: 0 auto; width: 100%; }
  .story-side { max-width: 320px; margin: 0 auto; }
  .family-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .drop-head-img { max-width: 380px; }
  .stamp { right: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-word { display: none; }
  .brand-mark { width: 50px; height: 50px; }
  .promise-row { grid-template-columns: 1fr; }
  .promise-row li { padding: 14px 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .card-title { font-size: .95rem; }
  .flag { top: 8px; left: 8px; padding: 5px 8px; font-size: .72rem; letter-spacing: .03em; }
  .hero-card { margin-top: -26px; }
  .hero-card .eyebrow { letter-spacing: .12em; }
  .hero-card .eyebrow::before, .hero-card .eyebrow::after { display: none; }
  .hero-card .btn-row .btn { width: 100%; }
  .shop-tools, .search, .search input { width: 100%; }
  .sort { width: 100%; }
  .sort select { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line-img { width: 72px; }
  .line-price { grid-column: 2; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .cd-unit { min-width: 64px; }
  .cat-label { padding: 10px 12px; flex-direction: column; gap: 4px; }
  .cat-label b { font-size: 1.15rem; }
  .toast { left: 16px; right: 16px; transform: none; justify-content: space-between; border-radius: var(--r); }
  @keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
}
@media print {
  .site-head, .site-foot, .announce, .toast, .drawer { display: none !important; }
}

/* Cormorant defaults to old-style figures; the font shorthand resets this, so restate it. */
.reviews-stat, .cat-label b, .drawer-main a, .verse-band blockquote p, .steps span, .initial, .sig, .pull, .foot-verse, .success-verse, .cd-unit b { font-variant-numeric: lining-nums; }

@media (max-width: 640px) { .crumbs [aria-current="page"], .crumbs [aria-current="page"] + span, .crumbs span[aria-hidden]:last-of-type { display: none; } }

/* ============================================= order page, pay-later checkout, preorders, groups */
.order-page { display: grid; gap: 20px; }
.order-page .panel h2 { font: 600 1.5rem/1.2 var(--serif); color: var(--navy); margin: 0 0 10px; font-variant-numeric: lining-nums; }
.panel.slim { padding: 18px 22px; }
.tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: s; }
.tracker li { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--muted); font-size: .9rem; position: relative; }
.tracker li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-blue); font-weight: 800; color: var(--muted); font-variant-numeric: lining-nums; }
.tracker li.done span { background: var(--sage-600); border-color: var(--sage-600); color: #fff; }
.tracker li.done b { color: var(--sage-700); }
.tracker li.now span { background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 0 0 5px var(--blue-100); }
.tracker li.now b { color: var(--navy); }
.tracker li b { font-weight: 800; }
.pay-box { border: 2px solid var(--blue-300); background: var(--blue-50); }
.pay-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.pay-btns .btn small { font-weight: 600; opacity: .85; margin-left: 4px; }
.paid-note { text-align: center; font-weight: 800; color: var(--sage-700); margin: 0; }
.track-no { font-weight: 800; letter-spacing: .03em; margin: 0; overflow-wrap: anywhere; }
.order-lines { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.order-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; }
.order-lines img, .order-lines .ph { width: 64px; height: 80px; object-fit: cover; border-radius: var(--r-sm); background: var(--blue-50); display: block; }
.order-lines b { color: var(--navy); } .order-lines small { display: block; color: var(--muted); }
.order-lines .q { color: var(--muted); font-weight: 700; }
.small { font-size: .9rem; }
.goal-bar { margin: 14px 0 6px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line-blue); max-width: 520px; }
.goal-bar .goal-name { margin: 0 0 6px; font-weight: 800; color: var(--navy); }
.goal-bar .goal-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; font-size: .95rem; }
.goal-bar .goal-top span { color: var(--muted); font-weight: 700; }
.goal-bar .bar { display: block; height: 12px; border-radius: 99px; background: var(--blue-100); overflow: hidden; }
.goal-bar .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-300), var(--blue-700)); }
.goal-ships { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; color: var(--sage-700); font-weight: 700; font-size: .92rem; }
.goal-ships svg { width: 20px; height: 20px; flex: none; }
.paywith { margin-top: 14px; }
.offline-form { margin: 4px 0 14px; padding: 14px; border-radius: var(--r-sm); background: var(--blue-50); }
.offline-form .field { margin-bottom: 12px; }
.addr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, .9fr); gap: 10px; }
[data-offline-form][hidden], [data-ship-fields][hidden], [data-place-btn][hidden], [data-checkout-btn][hidden], [data-card-note][hidden] { display: none; }
.group-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 14px 0; }
.gdesign { position: relative; display: grid; gap: 6px; padding: 10px; border-radius: var(--r); border: 2px solid var(--line-blue); background: var(--paper); cursor: pointer; text-align: center; font-weight: 700; color: var(--navy); }
.gdesign input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gdesign img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.gdesign:has(input:checked) { border-color: var(--blue-700); box-shadow: 0 0 0 3px var(--blue-100); }
.gdesign:has(input:focus-visible) { outline: 3px solid var(--blue-700); outline-offset: 2px; }
.group-note p { margin: 0; }
.field[hidden] { display: none; }
@media (max-width: 640px) {
  .tracker { gap: 4px; } .tracker li { font-size: .78rem; }
  .order-lines li { grid-template-columns: 56px minmax(0, 1fr) auto; } .order-lines li > b { grid-column: 3; } .order-lines .q { grid-row: 1; grid-column: 3; }
  .order-lines img, .order-lines .ph { width: 56px; height: 70px; }
  .pay-btns .btn { width: 100%; }
}

.preview-band { position: sticky; top: 0; z-index: 60; padding: 10px 16px; text-align: center; background: #fbf1dc; color: #6b4c0e; font-weight: 700; border-bottom: 1px solid #efdcae; }

/* ============================================= any number of designs */
/* long names stop at two lines; the price line never wraps under them */
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { white-space: nowrap; }
.card-alt:not([src]) { display: none; }

/* page links under a grid */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.pager ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; justify-content: center; flex-wrap: wrap; }
.pager .pg-n { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line-blue); background: var(--paper); color: var(--navy); font-weight: 800; text-decoration: none; font-variant-numeric: lining-nums; }
.pager a.pg-n:hover { border-color: var(--blue-500); }
.pager .pg-n[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .gap { display: inline-grid; place-items: center; min-width: 24px; height: 44px; color: var(--muted); }
.pager .pg-step:last-child { justify-self: end; }
.pager .flip { transform: scaleX(-1); }

/* categories: nine chips, the rest under More (desktop); a scrolling row on phones */
.chip-extra { display: none; }
.chip-more { position: relative; }
.chip-more summary { list-style: none; cursor: pointer; }
.chip-more summary::-webkit-details-marker { display: none; }
.chip-more[open] summary { background: var(--blue-50); }
.chip-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; display: grid; min-width: 240px; max-height: 360px; overflow-y: auto; padding: 8px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--navy); text-decoration: none; font-weight: 700; }
.chip-menu a:hover { background: var(--blue-50); }
.chip-menu small { color: var(--muted); font-weight: 600; }

@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chips .chip { flex: none; }
  .chip-extra { display: inline-flex; }
  .chip-more { display: none; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager ol { grid-column: 1 / -1; grid-row: 1; }
  .pager .pg-step { justify-self: stretch; }
  .pager .pg-step.btn { justify-content: center; }
  .pager .pg-step:last-child { justify-self: stretch; }
}
.see-all { margin: 10px 0 0; }
/* a row of many thumbnails scrolls inside the gallery instead of widening the page */
.pdp-grid > * { min-width: 0; }
.pdp-info h1 { overflow-wrap: anywhere; }

/* ---------------------------------------------------------- cookie choice */
.consent {
  position: fixed; z-index: 90; right: 20px; bottom: 20px; max-width: 400px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-blue); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 18px 20px; font: 14px/1.55 var(--sans);
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.consent.is-in { opacity: 1; transform: none; }
.no-motion .consent { transition: none; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--blue-700); text-decoration: underline; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btns button {
  min-height: 44px; border-radius: 999px; font: 700 14px/1 var(--sans); cursor: pointer;
  border: 1.5px solid var(--blue-700); background: var(--blue-700); color: #fff;
}
.consent-btns button[data-c="no"] { background: var(--paper); color: var(--blue-700); }
.consent-btns button:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.consent-btns button:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
@media (max-width: 520px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media print { .consent { display: none !important; } }
