/* Storefront: the owner-approved Royal Blue preview (scratchpad fpc-preview/src.html),
   edge to edge (no outer royal frame, no rounded outer corners), inner cards keep their radius.
   Newsreader (display serif) + Instrument Sans (UI/body), self-hosted (OFL, see fonts/). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin-wght.woff2") format("woff2"); }

:root {
  --royal: #1b46bd;
  --royal-600: #173ca5;
  --royal-700: #12317f;
  --royal-800: #0d2563;
  --sky-soft: #dcebfa;
  --mist: #eef3fb;
  --mist-2: #e2e9f7;
  --fog: #e9edf2;
  --hero-ink: #15233f;
  --paper: #ffffff;
  --warm: #f28521;
  --ink: #0f1a33;
  --ink-2: #33405c;
  --muted: #59647e;
  --faint: #8790a6;
  --ok: #1d7a4c;
  --ok-soft: #e4f4ec;
  --err: #b42318;
  --err-soft: #fdecea;
  --on-royal: #ffffff;
  --on-royal-2: rgba(255, 255, 255, .86);
  --on-royal-3: rgba(255, 255, 255, .72);
  --line: rgba(17, 40, 102, .11);
  --line-2: rgba(17, 40, 102, .19);
  --sel: #cfdcff;
  --gutter: clamp(16px, 3.4vw, 44px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --max: 1280px;
  --header-h: 76px;
  --header-h-stuck: 64px;
  --section: clamp(64px, 8vw, 120px);
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 30px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(15, 35, 90, .06), 0 1px 1px rgba(15, 35, 90, .04);
  --sh-2: 0 1px 2px rgba(15, 35, 90, .05), 0 12px 32px -14px rgba(15, 35, 90, .24);
  --sh-3: 0 30px 70px -24px rgba(10, 28, 78, .38), 0 6px 16px rgba(10, 28, 78, .08);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --t-press: 140ms; --t-fast: 180ms; --t-base: 260ms; --t-reveal: 640ms;
  --ff-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ff-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h2: clamp(1.9rem, 1.4rem + 1.7vw, 2.9rem);
  --fs-h3: clamp(1.3rem, 1.16rem + .5vw, 1.6rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.22rem);
  --fs-sm: .9rem;
  --fs-xs: .8125rem;
  color-scheme: light;
  accent-color: var(--royal);
  caret-color: var(--royal);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); scrollbar-color: rgba(17, 40, 102, .32) transparent; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ff-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-serif); font-weight: 500; color: var(--royal-700); letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.plain { list-style: none; }
::selection { background: var(--sel); color: var(--royal-800); }
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.on-royal :focus-visible { outline-color: var(--on-royal); }
[hidden] { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: calc(var(--safe-t) + 12px); z-index: 120; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill); transform: translateY(calc(-100% - 80px)); transition: transform var(--t-fast) var(--ease-out); }
.skip-link:focus-visible { transform: none; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg.i-sm { width: 16px; height: 16px; }

/* ---------- Shell ---------- */
.site { background: var(--paper); position: relative; isolation: isolate; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
.site > main { flex: 1 0 auto; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), var(--safe-l)); padding-right: max(var(--gutter), var(--safe-r)); }
.section { padding-block: var(--section); }
[id] { scroll-margin-top: calc(var(--safe-t) + var(--header-h) + 16px); }
main:focus { outline: none; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--mist); color: var(--ink-2); font-size: var(--fs-xs); }
.announce-in { display: flex; align-items: center; justify-content: center; min-height: 40px; text-align: center; }
.announce ul { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; justify-content: center; padding-block: 6px; }
.announce li { display: inline-flex; align-items: center; gap: 7px; }
.announce .i { width: 15px; height: 15px; color: var(--royal); }

.site-header { position: sticky; top: var(--safe-t); z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base); }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15, 35, 90, .35); }
.header-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: var(--header-h); gap: 16px; transition: height var(--t-base) var(--ease-out); }
.site-header.is-stuck .header-in { height: var(--header-h-stuck); }
.header-start { display: flex; align-items: center; gap: 4px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; border-radius: 10px; min-width: 0; }
.brand-mark { width: 34px; height: 34px; flex: none; border-radius: 10px; object-fit: cover; transition: transform var(--t-base) var(--ease-out); }
.site-header.is-stuck .brand-mark { transform: scale(.9); }
.brand-word { font-family: var(--ff-serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; color: var(--royal-700); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-word small { display: block; font-family: var(--ff-sans); font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { justify-self: center; min-width: 0; }
.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 13px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r-pill); white-space: nowrap; transition: color var(--t-fast), background-color var(--t-fast); }
.main-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out); }
.main-nav a:hover { color: var(--royal-700); background: var(--mist); }
.main-nav a[aria-current="page"] { color: var(--royal-700); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background-color var(--t-fast), transform var(--t-press) var(--ease-out), color var(--t-fast); }
.icon-btn:hover { background: var(--mist); color: var(--royal-700); }
.icon-btn:active { transform: scale(.94); }
.menu-btn { display: none; }
.bag-btn { background: var(--royal); color: var(--on-royal); }
.bag-btn:hover { background: var(--royal-600); color: var(--on-royal); }
.count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill); background: var(--warm); color: #1d1206; font-size: .6875rem; font-weight: 700; line-height: 19px; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--paper); }
.count.bump { animation: bump 360ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.28); } }

/* ---------- Buttons ---------- */
.btn { --bh: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--bh); padding: 0 24px; border-radius: var(--r-pill); font-weight: 600; font-size: .9688rem; letter-spacing: -.005em; white-space: nowrap; border: 1px solid transparent; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-press) var(--ease-out), opacity var(--t-fast); user-select: none; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .i { transition: transform var(--t-base) var(--ease-out); }
.btn:hover .i-go { transform: translate(2px, -2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--royal); color: var(--on-royal); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px -8px rgba(27, 70, 189, .7); }
.btn-primary:hover:not([disabled]) { background: var(--royal-600); }
.btn-secondary { background: var(--paper); color: var(--royal-700); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--mist); }
.btn-white { background: var(--paper); color: var(--royal-700); }
.btn-white:hover { background: var(--sky-soft); }
.btn-outline-light { color: var(--on-royal); border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--on-royal); }
.btn-line { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn-line:hover { background: rgba(255, 255, 255, .7); color: var(--royal-700); }
.btn-sm { --bh: 42px; padding: 0 18px; font-size: .9063rem; }
.btn-block { width: 100%; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--royal-700); border-radius: 6px; }
.link .i { transition: transform var(--t-base) var(--ease-out); }
.link:hover .i { transform: translateX(3px); }
.text-link { color: var(--royal-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 49, 127, .35); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: currentColor; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font-size: .9063rem; font-weight: 500; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.chip:hover { border-color: var(--royal); color: var(--royal-700); }
.chip:active { transform: scale(.97); }
.chip[aria-checked="true"] { background: var(--royal-700); border-color: var(--royal-700); color: var(--on-royal); }

/* ---------- Section heads, page heads ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec-head h2 { max-width: 20ch; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; max-width: 58ch; }
.sec-head .lead { margin-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8438rem; color: var(--muted); padding-top: 26px; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { border-radius: 6px; transition: color var(--t-fast); }
.crumbs a:hover { color: var(--royal); }
.crumbs .i { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); }
.page-head { padding-block: clamp(22px, 3vw, 40px) clamp(24px, 3.2vw, 40px); display: grid; gap: 14px; }
.page-head.split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 60ch; }

/* ---------- Hero ---------- */
.store-hero { padding-top: 4px; }
.hero-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); height: clamp(360px, 32vw, 440px); border-radius: var(--r-md); overflow: hidden; background: var(--fog); }
.hero-copy { align-self: center; min-width: 0; padding: 32px 24px 32px 40px; }
.hero-eyebrow { display: inline-block; padding: 5px 11px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .78); color: var(--royal); font-size: .6875rem; font-weight: 600; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.store-hero h1 { margin-top: 18px; font-size: clamp(36px, 3.9vw, 56px); font-weight: 450; line-height: 1.06; letter-spacing: -.022em; color: var(--hero-ink); }
.hero-sub { margin-top: 20px; font-size: .9375rem; line-height: 1.55; color: var(--muted); max-width: 25em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cta .btn { --bh: 44px; padding: 0 20px; font-size: .8438rem; gap: 8px; }
.hero-cta .btn .i { width: 16px; height: 16px; }
.hero-media { min-width: 0; height: 100%; background: var(--royal-800); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 55%; }
.js .hero-in { animation: rise 620ms var(--ease-out) both; }
.js .hero-in:nth-child(2) { animation-delay: 60ms; }
.js .hero-in:nth-child(3) { animation-delay: 120ms; }
.js .hero-in:nth-child(4) { animation-delay: 180ms; }
.js .hero-media img { animation: settle 760ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

.assure { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--r-md); list-style: none; }
.assure li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; font-size: .8438rem; color: var(--ink-2); text-align: left; }
.assure .i { width: 19px; height: 19px; color: var(--royal); }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; }
.cat-tile { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); background: var(--mist); padding: 10px 10px 16px; transition: background-color var(--t-base), transform var(--t-press) var(--ease-out); }
.cat-tile:hover { background: var(--mist-2); }
.cat-tile:active { transform: scale(.98); }
.cat-tile .media { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.cat-tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.cat-tile:hover .media img { transform: scale(1.05); }
.mock { width: 74%; transition: transform 700ms var(--ease-out); }
.cat-tile:hover .mock { transform: scale(1.06) rotate(-1deg); }
.cat-tile .name { margin: 12px 8px 0; font-family: var(--ff-serif); font-size: 1.2rem; color: var(--royal-700); letter-spacing: -.015em; line-height: 1.15; }
.cat-tile .meta { margin: auto 8px 0; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; color: var(--muted); }
.cat-tile .meta .i { width: 16px; height: 16px; color: var(--royal); transition: transform var(--t-base) var(--ease-out); }
.cat-tile:hover .meta .i { transform: translate(2px, -2px); }
.material { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: .9063rem; color: var(--ink-2); }
.material .i { color: var(--royal); }

/* ---------- Royal feature banner ---------- */
.spring { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(180deg, #1a48c4 0%, #1847be 55%, #1d50cb 100%); color: var(--on-royal); min-height: clamp(440px, 40vw, 560px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.spring .copy { position: relative; z-index: 1; padding: clamp(32px, 5vw, 72px); max-width: 580px; }
.spring .tag { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.spring h2 { color: var(--on-royal); margin-top: 22px; max-width: 13ch; }
.spring p { margin-top: 18px; color: var(--on-royal-2); font-size: var(--fs-lead); max-width: 42ch; }
.spring .facts { display: flex; margin-top: 26px; font-size: .875rem; color: var(--on-royal-3); list-style: none; }
.spring .facts li { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .25); }
.spring .facts li:first-child { padding-left: 0; border-left: 0; }
.spring .facts b { display: block; color: var(--on-royal); font-weight: 600; font-size: 1rem; }
.spring .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.spring-art { position: relative; padding: clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) 0; margin: 0; }
.hung { position: relative; margin: 0; padding: 10px; background: var(--paper); border-radius: 6px; box-shadow: 0 40px 60px -30px rgba(6, 18, 60, .65), 0 4px 10px rgba(6, 18, 60, .18); transform: rotate(-1.5deg); }
.hung img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.hung .grom { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 2.5px, #aeb6c6 3px 5px, #7a8396 5.5px); }
.hung .g1 { left: -1px; top: -1px; } .hung .g2 { right: -1px; top: -1px; } .hung .g3 { left: -1px; bottom: -1px; } .hung .g4 { right: -1px; bottom: -1px; }
.hung figcaption { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-size: .8125rem; color: var(--on-royal-3); transform: rotate(1.5deg); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); list-style: none; }
.p-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; }
.p-card .stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-md); background: var(--mist); overflow: hidden; }
.p-card .stage a.cover { position: absolute; inset: 0; z-index: 3; border-radius: var(--r-md); }
.p-card .stage img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.p-card .stage.royal { background: var(--royal); display: grid; place-items: center; }
.p-card .stage.royal .mock { width: 66%; transition: transform 800ms var(--ease-out); }
.p-card:hover .stage img, .p-card:hover .stage .mock { transform: scale(1.045); }
.p-card .badge { position: absolute; left: 12px; top: 12px; z-index: 2; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--paper); color: var(--royal-700); font-size: .75rem; font-weight: 600; box-shadow: var(--sh-1); pointer-events: none; }
.go-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--royal-700); box-shadow: var(--sh-2); pointer-events: none; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-base) var(--ease-out); }
.p-card:hover .go-btn { background: var(--royal-700); color: var(--on-royal); transform: translate(1px, -1px); }
.p-card .info { padding: 14px 4px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 12px; align-items: baseline; }
.p-card .name { font-family: var(--ff-serif); font-size: 1.28rem; letter-spacing: -.015em; color: var(--royal-700); line-height: 1.2; border-radius: 6px; }
.p-card .name:hover { text-decoration: underline; text-decoration-color: rgba(18, 49, 127, .35); text-underline-offset: 3px; }
.p-card .price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.p-card .price small { font-weight: 500; color: var(--muted); font-size: .8125rem; margin-right: 3px; }
.p-card .price.soft { font-weight: 500; font-size: .875rem; color: var(--royal-700); white-space: normal; }
.p-card .desc { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); margin-top: 2px; }

/* ---------- Why us, steps ---------- */
.why { border-radius: var(--r-lg); background: var(--mist); padding: clamp(28px, 4.4vw, 64px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.why .lead { margin-top: 16px; }
.why-list { display: grid; gap: 14px; list-style: none; }
.why-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 24px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.why-item .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--royal); color: var(--on-royal); display: grid; place-items: center; }
.why-item .ic .i { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.32rem; }
.why-item p { margin-top: 6px; color: var(--ink-2); font-size: .9688rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); list-style: none; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--royal); }
.step .num { display: flex; align-items: center; justify-content: space-between; }
.step .num b { font-family: var(--ff-serif); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--royal-700); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.step .num .i { width: 26px; height: 26px; color: var(--royal); }
.step h3 { margin-top: 18px; font-size: 1.3rem; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.steps-note { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.steps-note p { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .9375rem; max-width: 72ch; }
.steps-note .i { color: var(--royal); margin-top: 2px; }

/* ---------- Size helper ---------- */
.comfort { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: stretch; }
.comfort .photo { border-radius: var(--r-lg); overflow: hidden; min-height: 460px; position: relative; background: var(--royal-800); display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); }
.size-svg { width: 100%; height: auto; max-height: 420px; }
.size-svg .banner { transform-box: fill-box; transform-origin: 50% 100%; }
.size-svg .swap { animation: pop-in 380ms var(--ease-out); }
.comfort .panel { border-radius: var(--r-lg); background: var(--mist); padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; }
.comfort .panel .lead { margin-top: 14px; font-size: 1.0625rem; }
.size-q { margin-top: 28px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.size-result { margin-top: 18px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--sh-1); }
.size-result .ph { aspect-ratio: 1; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--royal); }
.size-result .ph .i { width: 26px; height: 26px; }
.size-result h3 { font-size: 1.2rem; }
.size-result p { font-size: .875rem; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.size-result.swap { animation: pop-in 380ms var(--ease-out); }
.comfort .panel .foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.comfort .panel .foot p { font-size: .875rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(40px, 5vw, 72px); }
.news { border-radius: var(--r-lg); background: var(--royal-800); color: var(--on-royal); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; position: relative; overflow: hidden; }
.news::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(84, 132, 255, .35), transparent); pointer-events: none; }
.news h2 { color: var(--on-royal); }
.news p { color: var(--on-royal-3); margin-top: 12px; max-width: 46ch; }
.news .act { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.news .act .row { display: flex; flex-wrap: wrap; gap: 10px; }
.news .act small { display: flex; gap: 8px; align-items: center; color: var(--on-royal-3); font-size: .875rem; }
.news .act small a { color: var(--on-royal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.news .act small .i { color: var(--on-royal); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(44px, 5vw, 72px) 36px; }
.foot-grid h2 { font-family: var(--ff-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 4px; }
.foot-grid ul a { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; color: var(--ink-2); font-size: .9375rem; border-radius: 6px; transition: color var(--t-fast); }
.foot-grid ul a:hover { color: var(--royal); }
.foot-about p { color: var(--ink-2); font-size: .9375rem; margin-top: 16px; max-width: 34ch; }
.foot-about .contact { font-style: normal; color: var(--muted); font-size: .875rem; margin-top: 16px; line-height: 1.7; display: grid; gap: 4px; }
.foot-about .contact a { display: inline-flex; gap: 8px; align-items: center; border-radius: 6px; }
.foot-about .contact a:hover { color: var(--royal); }
.foot-about .contact .i { color: var(--royal); width: 16px; height: 16px; }
.foot-bottom { display: grid; gap: 10px; padding-block: 22px 30px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.foot-bottom .row { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.foot-bottom .etsy-note { font-size: .75rem; color: var(--muted); max-width: 90ch; }

/* ---------- Overlays: scrim, menu sheet, cart drawer, toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(9, 22, 60, .42); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease-out); }
.sheet, .drawer { position: fixed; z-index: 90; background: var(--paper); box-shadow: var(--sh-3); display: flex; flex-direction: column; visibility: hidden; transition: transform 460ms var(--ease-drawer), visibility 0s linear 460ms; overscroll-behavior: contain; }
.sheet { top: calc(var(--safe-t) + 10px); bottom: 10px; left: max(10px, var(--safe-l)); width: min(360px, calc(100vw - 20px)); border-radius: var(--r-xl); padding: 18px 20px 24px; gap: 18px; transform: translateX(calc(-100% - 40px)); overflow-y: auto; }
.drawer { top: 10px; bottom: 10px; right: max(10px, var(--safe-r)); width: min(440px, calc(100vw - 20px)); border-radius: var(--r-xl); transform: translateX(calc(100% + 40px)); }
.sheet.is-open, .drawer.is-open { transform: none; visibility: visible; transition: transform 460ms var(--ease-drawer), visibility 0s; }
.sheet .top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav ul { list-style: none; display: grid; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); font-family: var(--ff-serif); font-size: 1.4rem; color: var(--royal-700); }
.sheet nav a .i { color: var(--royal); }
.sheet .note { margin-top: auto; font-size: .875rem; color: var(--muted); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 14px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-note { display: flex; gap: 10px; align-items: center; margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-size: .9063rem; font-weight: 500; }
.drawer-note .i { width: 18px; height: 18px; }
.drawer-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 8px; }
.drawer-empty .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--mist); color: var(--royal); display: grid; place-items: center; }
.drawer-empty .ic .i { width: 26px; height: 26px; }
.drawer-empty p { color: var(--muted); }
.drawer-loading { padding: 40px 0; text-align: center; color: var(--muted); }
.toasts { position: fixed; z-index: 95; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(440px, calc(100vw - 32px)); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: .9063rem; box-shadow: var(--sh-3); animation: pop-in 320ms var(--ease-out); }
.toast.is-err { background: var(--err); }

/* ---------- Lines (drawer + cart page) ---------- */
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; list-style: none; }
.line:last-child { border-bottom: 0; }
.line .ph { aspect-ratio: 1; border-radius: 12px; background: var(--mist); overflow: hidden; display: grid; place-items: center; color: var(--royal); }
.line .ph img { width: 100%; height: 100%; object-fit: cover; }
.line .ph .mock { width: 78%; }
.line .t { font-family: var(--ff-serif); font-size: 1.15rem; color: var(--royal-700); line-height: 1.2; border-radius: 4px; }
.line a.t:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 49, 127, .35); }
.line .v { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.line .warn { margin-top: 8px; font-size: .8125rem; color: var(--err); font-weight: 500; }
.line .ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.line .rm { font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; padding: 0 4px; border-radius: 6px; }
.line .rm:hover { color: var(--err); }
.line .amt { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.line .amt small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.line.is-busy { opacity: .55; pointer-events: none; transition: opacity var(--t-fast); }
.totals { display: grid; gap: 8px; font-size: .9375rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.totals div span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.totals .grand { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.0625rem; }
.totals .fine { font-size: .8125rem; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field > label, .field .label, .field > legend { font-size: .875rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input, .select, .textarea { width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { height: auto; min-height: 118px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312317f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }
.input::placeholder, .textarea::placeholder { color: #6f7a94; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(17, 40, 102, .32); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(27, 70, 189, .16); }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: var(--err); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.field-msg { font-size: .8125rem; color: var(--muted); }
.field.is-invalid .field-msg, .field-err { color: var(--err); font-size: .8125rem; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--royal-700); transition: background-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.stepper button:hover:not([disabled]) { background: var(--mist); }
.stepper button:active:not([disabled]) { transform: scale(.92); }
.stepper button[disabled] { color: var(--faint); cursor: not-allowed; }
.stepper input { width: 46px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 2px solid var(--royal); outline-offset: -2px; border-radius: 8px; }
.stepper.sm { height: 40px; }
.stepper.sm button { width: 38px; height: 38px; }
.stepper.sm input { width: 38px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.size-opt { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.size-opt:hover { border-color: var(--royal); }
.size-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-opt b { font-weight: 600; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.size-opt span { font-size: .8438rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.size-opt:has(input:checked) { border-color: var(--royal); background: #f6f8fe; box-shadow: inset 0 0 0 1px var(--royal); }
.size-opt:has(input:checked) span { color: var(--royal-700); font-weight: 600; }
.size-opt:has(input:focus-visible) { outline: 2.5px solid var(--royal); outline-offset: 2px; }
.radio-cards { display: grid; gap: 8px; }
.radio-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.radio-card:hover { border-color: var(--royal); }
.radio-card input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--royal); grid-row: span 2; }
.radio-card b { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.radio-card span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.radio-card:has(input:checked) { border-color: var(--royal); background: #f6f8fe; box-shadow: inset 0 0 0 1px var(--royal); }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--err-soft); color: var(--err); font-size: .9063rem; font-weight: 500; }
.form-alert.ok { background: var(--ok-soft); color: var(--ok); }
.form-alert .i { margin-top: 2px; }

/* ---------- Category page ---------- */
.cat-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; border-radius: var(--r-lg); background: var(--mist); padding: clamp(24px, 3.6vw, 52px); margin-top: 18px; }
.cat-hero .lead { margin-top: 14px; }
.cat-hero .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.cat-hero .facts li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: #fff; font-size: .875rem; color: var(--ink-2); }
.cat-hero .facts .i { width: 16px; height: 16px; color: var(--royal); }
.cat-hero .art { aspect-ratio: 4 / 3; max-height: 300px; justify-self: center; width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--royal); display: grid; place-items: center; }
.cat-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero .art .mock { width: 62%; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: clamp(28px, 3vw, 40px) 0 22px; }
.shop-bar .count-line { font-size: .9375rem; color: var(--muted); }
.shop-bar .count-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.shop-bar form { display: flex; gap: 10px; align-items: center; }
.shop-bar label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.shop-bar .select { height: 44px; width: auto; min-width: 200px; font-size: .9375rem; border-radius: var(--r-pill); padding-left: 18px; }
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(40px, 6vw, 80px) 16px; border-radius: var(--r-lg); background: var(--mist); }
.empty .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--royal); display: grid; place-items: center; }
.empty .ic .i { width: 28px; height: 28px; }
.empty h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.empty p { color: var(--muted); max-width: 44ch; }
.empty .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.more-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 16px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4.6vw, 72px); align-items: start; padding-top: 20px; padding-bottom: clamp(48px, 6vw, 88px); }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--safe-t) + var(--header-h-stuck) + 16px); align-self: start; }
.gallery.single { grid-template-columns: minmax(0, 1fr); }
.thumbs { display: grid; gap: 10px; align-content: start; list-style: none; }
.thumbs button { width: 84px; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: var(--mist); border: 1.5px solid transparent; transition: border-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.thumbs button:hover { border-color: var(--line-2); }
.thumbs button:active { transform: scale(.96); }
.thumbs button[aria-pressed="true"] { border-color: var(--royal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage-lg { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.stage-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 320ms var(--ease-out); }
.stage-lg img.is-swapping { opacity: 0; }
.stage-lg.royal { background: var(--royal); }
.stage-lg .mock { width: 62%; }
.buy { display: grid; gap: 22px; align-content: start; }
.buy .cat-link { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); border-radius: 6px; justify-self: start; }
.buy .tagline { color: var(--ink-2); font-size: 1.0625rem; margin-top: -8px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-row .now { font-family: var(--ff-serif); font-size: 2.1rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.price-row .per { font-size: .875rem; color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: center; }
.buy-row .btn-primary { flex: 1; }
.unavailable { display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: var(--mist); }
.unavailable p { color: var(--ink-2); }
.unavailable .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.perks { display: grid; border: 1px solid var(--line); border-radius: var(--r-md); list-style: none; }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; font-size: .9063rem; color: var(--ink-2); }
.perks li + li { border-top: 1px solid var(--line); }
.perks .i { color: var(--royal); margin-top: 2px; }
.perks b { color: var(--ink); font-weight: 600; }
.details { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.6vw, 72px); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.prose { color: var(--ink-2); max-width: 68ch; }
.prose > * + * { margin-top: 14px; }
.prose h3, .prose h4 { font-size: 1.3rem; margin-top: 26px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose strong, .prose b { color: var(--ink); }
.specs { margin: 18px 0 0; display: grid; border-top: 1px solid var(--line-2); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.faq { margin-top: 32px; display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 600; color: var(--ink); border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--royal); transition: transform var(--t-base) var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--ink-2); font-size: .9375rem; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: var(--section); }
.cart-lines { list-style: none; border-top: 1px solid var(--line-2); }
.cart-lines .line { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; }
.cart-lines .line .t { font-size: 1.35rem; }
.cart-lines .qty-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.cart-lines .qty-form .btn { --bh: 40px; padding: 0 14px; font-size: .8438rem; }
.summary { position: sticky; top: calc(var(--header-h-stuck) + 20px); border-radius: var(--r-lg); background: var(--mist); padding: 28px; display: grid; gap: 18px; }
.summary h2 { font-size: 1.6rem; }
.summary .secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8125rem; color: var(--muted); }
.summary .secure .i { width: 15px; height: 15px; color: var(--royal); }

/* ---------- Order received ---------- */
.done { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vw, 72px) var(--section); }
.done .badge-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: var(--on-royal); margin-bottom: 22px; }
.done .badge-ic .i { width: 28px; height: 28px; }
.done .badge-ic.wait { background: var(--mist); color: var(--royal); }
.done .badge-ic.wait .i { animation: spin 2.4s linear infinite; }
.done .lead { margin-top: 16px; }
.done .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.artwork-cta { margin-top: 28px; padding: 22px 24px; border: 1.5px solid var(--royal); border-radius: var(--r-md); background: var(--mist); display: grid; gap: 12px; justify-items: start; }
.artwork-cta h2 { font-size: 1.45rem; }
.artwork-cta p { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.artwork-cta .fine { font-size: .8125rem; color: var(--muted); }
.order-card { border-radius: var(--r-lg); background: var(--mist); padding: 28px; display: grid; gap: 14px; }
.order-card h2 { font-size: 1.5rem; }
.order-card dl { margin: 0; display: grid; gap: 10px; }
.order-card dl div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font-size: .9375rem; }
.order-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.order-card dt { color: var(--muted); }
.order-card dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.next-steps { list-style: none; display: grid; gap: 12px; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: .9375rem; color: var(--ink-2); }
.next-steps li::before { counter-increment: next; content: counter(next); width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--royal-700); font-weight: 700; font-size: .8125rem; display: grid; place-items: center; }

/* ---------- Not found ---------- */
.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 96px) var(--section); }
.nf .big { font-family: var(--ff-serif); font-size: clamp(6rem, 4rem + 9vw, 12rem); line-height: .85; color: var(--royal); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.nf .lead { margin-top: 16px; }
.nf .links { list-style: none; display: grid; gap: 8px; margin-top: 22px; }
.nf .links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--mist); font-weight: 600; color: var(--royal-700); transition: background-color var(--t-fast), transform var(--t-press) var(--ease-out); }
.nf .links a:hover { background: var(--mist-2); }
.nf .links a:active { transform: scale(.985); }

/* ---------- Scroll reveal (visible by default) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 0 10px; }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid, .p-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; --header-h-stuck: 58px; }
  .menu-btn { display: inline-grid; }
  .main-nav { display: none; }
  .header-in { gap: 8px; }
  .hero-copy { padding: 28px 20px 28px 28px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { padding: 0 14px; font-size: .78rem; }
  .hero-cta .btn .i { display: none; }
  .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 18px 20px; }
  .assure li { justify-content: flex-start; min-height: 0; }
  .spring { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .spring-art { padding: 8px 40px 64px; max-width: 620px; justify-self: center; width: 100%; }
  .why, .comfort, .news, .cat-hero, .details, .done, .nf { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .comfort .photo { min-height: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 72px; justify-content: start; overflow-x: auto; padding: 2px; }
  .thumbs button { width: 72px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .cat-hero .art { max-height: 220px; }
}
@media (max-width: 767px) {
  :root { --r-xl: 22px; --r-lg: 20px; --header-h: 62px; --header-h-stuck: 56px; }
  .announce-in { min-height: 32px; font-size: .75rem; }
  .announce li + li { display: none; }
  .brand-word { font-size: 1.32rem; }
  .brand-word small { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .header-actions { gap: 2px; }
  .store-hero { padding-top: 0; }
  .hero-panel { grid-template-columns: minmax(0, 1fr); height: auto; }
  .hero-copy { padding: 22px 20px; }
  .hero-eyebrow { font-size: .65rem; }
  .store-hero h1 { margin-top: 14px; font-size: 33px; }
  .hero-sub { margin-top: 14px; font-size: .9063rem; }
  .hero-cta { margin-top: 20px; }
  .hero-media { height: 240px; }
  .hero-media img { object-position: 64% 60%; }
  .assure { gap: 14px 8px; padding: 16px 12px; }
  .assure li { gap: 7px; font-size: .75rem; line-height: 1.3; }
  .assure .i { width: 17px; height: 17px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat-tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(max(var(--gutter), var(--safe-l)) * -1); padding-inline: max(var(--gutter), var(--safe-l)); scroll-padding-inline: max(var(--gutter), var(--safe-l)); gap: 10px; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tiles > li { scroll-snap-align: start; }
  .material { align-items: flex-start; font-size: .875rem; }
  .spring .copy { padding: 30px 22px 0; }
  .spring .facts { flex-wrap: wrap; row-gap: 10px; }
  .spring .facts li { padding: 0 12px; }
  .spring .btns .btn { flex: 1 1 auto; }
  .spring-art { padding: 8px 26px 60px; }
  .p-grid, .p-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .p-card .name { font-size: 1.08rem; }
  .p-card .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .go-btn { width: 36px; height: 36px; right: 8px; bottom: 8px; }
  .why-item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .why-item .ic { width: 44px; height: 44px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .size-chips .chip { flex: 1 1 auto; justify-content: center; }
  .news .act .row .btn { flex: 1 1 auto; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .page-head.split { grid-template-columns: minmax(0, 1fr); }
  .shop-bar { align-items: stretch; }
  .shop-bar form { width: 100%; }
  .shop-bar .select { min-width: 0; flex: 1; }
  .size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn-primary { flex: 1 1 100%; }
  .cart-lines .line { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .cart-lines .line .amt { grid-column: 2; text-align: left; }
  .drawer { top: auto; bottom: 0; right: 0; left: 0; width: 100%; height: min(88svh, 100svh); border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(calc(100% + 40px)); }
  .drawer-head { padding-left: 20px; }
  .drawer-body, .drawer-foot { padding-left: 20px; padding-right: 20px; }
  .specs dd { text-align: left; }
  .specs div { flex-direction: column; gap: 2px; }
}
@media (pointer: coarse) {
  .btn-sm { --bh: 44px; }
  .chip { height: 44px; }
  .stepper.sm { height: 44px; }
  .stepper.sm button { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn .spin { animation: spin 900ms linear infinite !important; }
}
