/* Lipnu storefront, version 10 ("Gallery"). Calm white pages, navy text, powder blue for the brand and member perks.
   Earlier: version 9 ("Press").
   One typeface (Libre Franklin), black ink on white paper, one print red for actions only.
   Square-ish corners, thin rules, product photos on the same warm grey paper. */

@font-face { font-family: 'Libre Franklin'; src: url('/assets/librefranklin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
/* Typefaces offered for customers' own wordmarks (drawn in the preview canvas). */
@font-face { font-family: Manrope; src: url('/assets/manrope.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: Baskervville; src: url('/assets/baskervville-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #14234b;
  --muted: #5a6275;
  --faint: #8a90a0;
  --line: #e6e8ee;
  --tile: #eeede9;
  --paper: #f7f7f5;
  --brand: #14234b;
  --brand-press: #0b1633;
  --soft: #afcbff;
  --soft-tint: #eaf1ff;
  --display: 'Libre Franklin', system-ui, sans-serif;
  --r-s: 4px; --r-m: 8px; --r-l: 12px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --shadow: 0 1px 2px #00000012, 0 4px 14px -6px #0000001f;
  --shadow-pop: 0 30px 80px -24px #00000047, 0 2px 6px #00000012;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --max: 1280px;
  font: 400 15px/1.55 'Libre Franklin', system-ui, sans-serif;
  font-feature-settings: 'tnum' 0, 'kern' 1;
  color: var(--ink);
  background: #fff;
  accent-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.js .seo-content { display: none; }
.seo-content { padding: var(--s7) 0; width: min(100% - 48px, var(--max)); margin-inline: auto; }
.seo-products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s5); }
.seo-products img { width: 100%; height: auto; border-radius: var(--r-m); }
p { text-wrap: pretty; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.main { min-height: 60vh; }
.main.enter { animation: page-in .45s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
.muted, .specs { color: var(--muted); }
.icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset: 8px auto auto 8px; transform: translateY(-160%); z-index: 50; padding: 8px 14px; background: #fff; border-radius: var(--r-s); box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.topbar { display: flex; justify-content: center; gap: var(--s7); padding: 8px 16px; background: var(--soft); color: var(--ink); font-size: .8rem; font-weight: 500; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s var(--ease); }
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s6); height: 76px; }
.logo img { width: 118px; height: auto; margin: -6px 0 -8px -6px; transition: transform .35s var(--ease); }
.logo:hover img { transform: rotate(3deg) scale(1.04); }
.nav-list { display: flex; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 10px; border: 0; background: none; font-weight: 500; font-size: .9rem; }
.nav-item::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-item:hover::after, .nav-item[aria-current="true"]::after { transform: none; }
.header-actions { display: flex; align-items: center; gap: var(--s1); }
.header-link { padding: 0 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.search { position: relative; flex: 0 1 240px; margin-left: auto; }
.search input { min-height: 38px; padding: 8px 14px 8px 36px; border-radius: 999px; border: 0; background: var(--paper); font-size: .88rem; }
.search input:focus { box-shadow: 0 0 0 2px var(--soft); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.header-link:hover { color: var(--ink); }
.bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; transition: background .2s; }
.bag:hover { background: var(--tile); }
.bag b { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--soft); color: var(--ink); font-size: .68rem; animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.4); } }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-button span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-button span:first-child { top: 18px; }
.menu-button span:last-child { top: 25px; }
.menu-open .menu-button span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mobile-menu { border-top: 1px solid var(--line); padding: var(--s4) 24px var(--s6); display: grid; gap: var(--s5); max-height: calc(100vh - 110px); overflow-y: auto; background: #fff; }
.mobile-group { display: grid; gap: var(--s2); }
.mobile-group h2 { font-size: 1.1rem; margin-bottom: var(--s1); }
.mobile-group a { color: var(--muted); padding: 4px 0; }

/* ---------- Controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.button:hover { background: var(--ink); color: #fff; }
.button:active { transform: scale(.98); }
.button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-press); border-color: var(--brand-press); }
.button.light { background: #fff; border-color: #fff; color: var(--ink); }
.button.light:hover { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.button.large { height: 56px; padding: 0 30px; font-size: 1rem; }
.button.full { width: 100%; }
.button .icon { transition: transform .25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; transition: border-color .2s, background .2s; }
.round:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-weight: 600; cursor: pointer; }
.text-link:hover { color: var(--brand-press); }
.text-button { border: 0; background: none; padding: 0; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cfccc5; border-radius: var(--r-s); background: #fff; transition: border-color .2s, box-shadow .2s; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #1414140f; }
textarea { resize: vertical; }
input[type="color"] { width: 100%; height: 46px; padding: 4px; border: 1px solid #d5d2cb; border-radius: var(--r-s); background: #fff; }
input[type="range"] { width: 100%; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field-pair > div { min-width: 0; }
.form-status { font-size: .88rem; font-weight: 600; color: var(--brand-press); }
.form-status:not(:empty) { margin-top: var(--s2); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s5) 0 var(--s4); font-size: .84rem; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: center; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.eyebrow { font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: var(--s3); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); font-weight: 850; line-height: .98; letter-spacing: -.045em; }
.lede { margin-top: var(--s5); max-width: 44ch; font-size: 1.14rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--tile); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; padding: var(--s5) var(--s5) var(--s5) 0; }
.facts div + div { padding-left: var(--s5); border-left: 1px solid var(--line); }
.facts b { font-weight: 700; font-size: 1rem; }
.facts span { color: var(--muted); font-size: .9rem; }
.range { padding-top: var(--s7); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-top: var(--s4); margin-bottom: var(--s5); border-top: 1px solid var(--ink); }
.range-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.range-head a { font-size: .9rem; font-weight: 600; color: var(--muted); }
.range-head a:hover { color: var(--ink); }
.how { padding: var(--s9) 0 var(--s10); }
.how h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); padding-top: var(--s4); border-top: 1px solid var(--ink); margin-bottom: var(--s6); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
.how li { counter-increment: step; display: grid; gap: 4px; color: var(--muted); font-size: .92rem; }
.how li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-family: var(--display); font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s3); }
.how b { color: var(--ink); font-size: 1.08rem; font-weight: 700; }
#how { scroll-margin-top: 100px; }
.text-page { max-width: 760px; padding: var(--s7) 0 var(--s10); }
.text-page h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; margin-bottom: var(--s6); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary, .details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 18px 0; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker, .details summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .details summary::after { content: ''; flex: 0 0 auto; width: 9px; height: 9px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after, .details details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p, .details details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { font-size: .95rem; }

/* ---------- Product tiles: the photo, the name, the price ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
.card { display: grid; align-content: start; gap: 2px; }
.product-photo { overflow: hidden; aspect-ratio: 1; border-radius: var(--r-m); margin-bottom: var(--s3); background: var(--tile); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .product-photo img { transform: scale(1.03); }
.product-photo.is-empty { display: grid; place-items: center; color: var(--faint); font-size: .86rem; }
.card-name { font-weight: 700; font-size: 1rem; }
.card:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }
.card-price { font-size: .92rem; color: var(--muted); }

/* ---------- Shop ---------- */
.shop { padding: var(--s7) 0 var(--s10); }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s6); }
.shop-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.055em; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.filters a { padding: 8px 15px; border-radius: var(--r-s); border: 1px solid var(--line); font-weight: 500; font-size: .86rem; transition: border-color .2s, background .2s; }
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-note { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* ---------- Product page ---------- */
.product-page { padding-bottom: var(--s10); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: var(--s8); align-items: start; }
.pdp-photo { position: sticky; top: 96px; }
.pdp-photo .product-photo { aspect-ratio: 1; border-radius: var(--r-l); margin: 0; }
.buy-specs { margin-top: var(--s2); font-size: .86rem; color: var(--faint); }
.buy { display: grid; gap: var(--s6); padding-top: var(--s2); }
.buy-head h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 790; letter-spacing: -.05em; }
.buy-price { margin-top: var(--s3); font-size: 1.15rem; font-weight: 600; }
.buy-price span { font-weight: 400; font-size: .9rem; color: var(--muted); }
.buy-desc { margin-top: var(--s3); color: var(--muted); }
#design-form { display: grid; gap: var(--s6); }
.step-label { font-family: var(--display); font-weight: 720; font-size: 1.12rem; letter-spacing: -.02em; padding: 0; margin-bottom: var(--s3); }
.editor-quote { display: grid; gap: var(--s4); }
.editor-quote .step-label { margin-bottom: -4px; }
.qty { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: var(--s2); }
.qty-chip { position: relative; display: grid; gap: 1px; margin: 0; padding: 12px 12px 11px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; font-weight: 400; transition: border-color .2s, background .2s, transform .15s; }
.qty-chip:hover { border-color: #b9b5ac; }
.qty-chip:active { transform: scale(.98); }
.qty-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qty-chip:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qty-chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.qty-n { font-family: var(--display); font-weight: 720; font-size: 1.12rem; letter-spacing: -.02em; }
.qty-p { font-size: .86rem; }
.qty-u { font-size: .74rem; color: var(--faint); }
.estimate-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.estimate-total span { font-weight: 600; }
.estimate-total strong { font-family: var(--display); font-size: 1.85rem; font-weight: 760; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.estimate-detail { margin-top: 2px; font-size: .84rem; color: var(--muted); }
.art-controls { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s3); min-width: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; padding: 9px; border-radius: var(--r-s); font-weight: 500; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.dropzone { position: relative; display: grid; gap: 4px; place-items: center; text-align: center; margin: 0; padding: var(--s6) var(--s4); border: 1.5px dashed #c4c0b8; border-radius: var(--r-m); background: var(--paper); font-weight: 400; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--ink); background: #fff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone b { font-weight: 600; }
.dropzone span { font-size: .82rem; color: var(--muted); }
.flat-preview { margin: 0; display: grid; gap: var(--s2); }
.flat-frame { display: flex; height: 180px; overflow: hidden; padding: var(--s4); border-radius: var(--r-m); background: var(--tile); }
.flat-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px #0000001f); }
.flat-frame.is-sheet { height: 360px; }
.flat-preview figcaption { font-size: .82rem; color: var(--muted); }
.placement summary { font-weight: 600; cursor: pointer; margin-bottom: var(--s3); }
.details summary { font-size: .95rem; }
.related { padding-top: var(--s10); }
.related h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: var(--s6); }

/* ---------- Cart drawer, toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: #14141459; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(440px, 100%); display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: var(--shadow-pop); transform: translateX(104%); transition: transform .45s var(--ease); outline: none; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s5) var(--s5) var(--s4); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-head h2 span { font-family: var(--display); font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lines { list-style: none; margin: 0; padding: 0 var(--s5); overflow-y: auto; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: var(--s4); align-items: start; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.line-thumb { display: block; width: 68px; height: 68px; border-radius: var(--r-s); overflow: hidden; }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-body { display: grid; gap: 2px; font-size: .86rem; color: var(--muted); min-width: 0; }
.line-body b { color: var(--ink); font-size: .95rem; font-weight: 600; }
.line-actions { display: flex; gap: var(--s3); margin-top: 4px; }
.line-actions a, .line-actions button { border: 0; background: none; padding: 0; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.line-actions a:hover, .line-actions button:hover { color: var(--ink); }
.line-price { font-weight: 600; font-size: .92rem; }
.drawer-foot { display: grid; gap: var(--s3); padding: var(--s5); border-top: 1px solid var(--line); background: #fff; }
.drawer-empty { display: grid; align-content: center; justify-items: center; gap: var(--s4); padding: var(--s7); color: var(--muted); }
.nudge { padding: 10px 14px; border-radius: var(--r-s); background: #fdecee; color: var(--brand-press); font-size: .86rem; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; opacity: 0; visibility: hidden; transform: translate(-50%, 24px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-pop); transition: transform .45s var(--ease), opacity .3s, visibility .3s; pointer-events: none; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Cart page, checkout, requests ---------- */
.order-page { padding: var(--s5) 0 var(--s10); }
.order-page h1, .empty h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; margin: var(--s3) 0 var(--s6); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: var(--s7); align-items: start; }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.cart-art { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-s); font-weight: 800; font-size: .9rem; text-align: center; padding: 8px; overflow: hidden; word-break: break-word; }
.cart-art img { max-height: 100%; object-fit: contain; }
.cart-meta h2 { font-size: 1.15rem; }
.cart-meta p { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.cart-meta div { display: flex; gap: var(--s4); margin-top: var(--s2); font-size: .86rem; }
.cart-meta a, .cart-meta button { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.cart-row > strong { font-weight: 600; }
.order-summary, .checkout-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s6); display: grid; gap: var(--s4); }
.order-summary h2, .checkout-form h2 { font-size: 1.4rem; }
.checkout-form p { color: var(--muted); font-size: .92rem; }
.summary-body { display: grid; gap: var(--s4); }
.duty-note { margin-top: 12px; font-size: .82rem; color: var(--muted, #64625d); }
.bundle-nudge { padding: 10px 14px; background: #fff; border-radius: var(--r-s); font-size: .88rem; font-weight: 600; color: var(--brand-press); }
.shipment-count { font-size: .86rem; font-weight: 600; }
.parcel { padding: 8px 0; border-bottom: 1px solid #e3dfd8; }
.parcel div { display: grid; gap: 2px; font-size: .9rem; }
.parcel span { font-size: .84rem; color: var(--muted); }
.totals { margin: 0; display: grid; gap: 6px; font-size: .93rem; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: var(--s3); }
.totals dd { font-weight: 600; }
.totals .discount { color: #1d7a45; }
.totals .grand { margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid #d9d5ce; font-size: 1.08rem; font-weight: 700; }
.empty { padding: var(--s9) 0 var(--s10); display: grid; justify-items: start; gap: var(--s4); }
.empty p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d4d9e6; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s8) 0 var(--s7); border-bottom: 1px solid #2c2c2c; }
.footer-line { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; color: #fff; line-height: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: var(--s6); padding: var(--s7) 0 var(--s6); font-size: .9rem; }
.footer-grid h2 { font-family: var(--display); font-size: .86rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s3); color: #fff; }
.footer-grid a { display: block; margin-bottom: 8px; color: #b9b6af; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #9f9c95; max-width: 34ch; }
.footer-logo { width: 110px; height: auto; margin-bottom: var(--s3); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); border-top: 1px solid #2c2c2c; padding: var(--s4) 0 var(--s6); font-size: .8rem; color: #85827b; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: var(--s6); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .menu-button { display: block; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp, .order-layout { grid-template-columns: 1fr; }
  .pdp-photo { position: static; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .topbar span + span { display: none; }
  .header-inner { height: 64px; }
  .logo img { width: 84px; }
  .topbar { gap: var(--s4); }
  .facts div { padding: var(--s4) var(--s3) var(--s4) 0; }
  .facts div + div { padding-left: var(--s3); }
  .block-tools { width: 100%; justify-content: space-between; }
  .cards { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s3); }
  .how ol { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-row > strong { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Checkout and order confirmation */
.check { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 400; font-size: .92rem; margin-top: var(--s2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.checkout-form h2 + label { margin-top: 0; }
.checkout-form h2:not(:first-child) { margin-top: var(--s3); }
.pay-note { font-size: .84rem; }
.button:disabled { opacity: .6; cursor: progress; }
.next-steps { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: var(--s3); max-width: 560px; counter-reset: next; }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--s3); color: var(--muted); }
.next-steps li::before { content: counter(next); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-s); background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; }
.next-steps b { color: var(--ink); }

/* Customer proof page */
.proof-image { margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--tile); }
.proof-image img { width: 100%; }
.proof-images { display: grid; gap: var(--s4); align-content: start; }
.proof-images .proof-image img { display: block; width: auto; max-width: 100%; max-height: 70vh; margin: 0 auto; padding: var(--s5); box-sizing: border-box; }
.proof-image figcaption { padding: var(--s3) var(--s4); font-size: 14px; color: var(--muted); background: #fff; }
.proof-items { margin: 0; padding-left: 18px; }
.proof-form { display: grid; gap: var(--s3); }

/* Legal pages */
.legal { max-width: 760px; padding-bottom: var(--s10); }
.legal h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; }
.legal-updated { margin-top: var(--s2); color: var(--faint); font-size: .88rem; }
.legal-note { padding: var(--s2) var(--s3); border-radius: 12px; background: var(--tile); font-size: .92rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0 var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.legal-nav a { padding: 8px 14px; border-radius: var(--r-s); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.legal-nav a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.guide-answer { margin: var(--s5) 0 var(--s6); padding: var(--s4) var(--s5); border-left: 4px solid var(--ink); border-radius: 0 12px 12px 0; background: var(--tile); font-size: 1.08rem; line-height: 1.55; }
.guide > h2 { font-size: 1.3rem; margin: var(--s7) 0 0; letter-spacing: -.03em; }
.guide-links { display: grid; gap: var(--s2); margin-top: var(--s4); padding: 0; list-style: none; }
.guide-links a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 600; }
.guide-links a:hover { border-color: var(--ink); }
.legal-body h2 { font-size: 1.3rem; margin: var(--s6) 0 var(--s3); letter-spacing: -.03em; }
.legal-body p, .legal-body li { color: #3a3936; line-height: 1.65; }
.legal-body p + p { margin-top: var(--s3); }
.legal-body ul, .legal-body ol { padding-left: 20px; display: grid; gap: var(--s2); }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: var(--s3) 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--muted); font-weight: 600; font-size: .82rem; }
mark.todo { background: #fff1b8; padding: 0 4px; border-radius: 4px; }
.footer-legal { display: flex; gap: var(--s4); }
.footer-legal a:hover { color: #fff; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .legal-table thead { display: none; } .legal-table td { display: block; padding: 4px 0; } .legal-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } .legal-table td { border: 0; } }

/* ---------- Version 10: gallery home, product rows, collections, accounts ---------- */
.hero-card { position: relative; margin-top: var(--s4); border-radius: var(--r-l); overflow: hidden; background: var(--tile); aspect-ratio: 16 / 7; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .hero-text { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 52px); max-width: 520px; }
.hero-card h1 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 850; line-height: .98; letter-spacing: -.045em; }
.hero-card p { margin-top: var(--s3); color: var(--muted); font-size: 1.02rem; max-width: 40ch; }
.hero-card .hero-actions { margin-top: var(--s5); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; margin: var(--s8) 0 var(--s4); }
.row-head h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.row-head h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.row-arrows { display: flex; gap: var(--s2); }
.row-arrows button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.row-arrows button:hover { border-color: var(--ink); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.shelf::-webkit-scrollbar { display: none; }
.shelf .card { scroll-snap-align: start; }
@media (min-width: 1081px) { .shelf { grid-auto-columns: calc((100% - 4 * var(--s4)) / 5); } }
.card-name { font-weight: 500; font-size: .92rem; }
.card-price { font-size: .88rem; }
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.collection { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collection:hover img { transform: scale(1.03); }
.collection span { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.join { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s6); align-items: center; margin-top: var(--s9); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-l); background: var(--soft-tint); }
.join h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.join p { margin-top: var(--s3); color: var(--muted); max-width: 46ch; }
.join .tiers { grid-template-columns: repeat(2, 1fr); }
.how { padding: var(--s9) 0 var(--s10); }
.tier-badge, .member-price { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .8rem; font-weight: 600; }
.member-price { margin-top: var(--s3); }
.member-note { font-size: .85rem; color: var(--muted); margin-top: -4px; }
.member-note a, .bundle-nudge a { text-decoration: underline; text-underline-offset: 3px; }
.account-page { padding: var(--s7) 0 var(--s10); display: grid; gap: var(--s6); max-width: 920px; }
.account-page h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.account-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); }
.login-form { display: grid; gap: var(--s3); max-width: 440px; padding: var(--s6); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.sent-note { line-height: 1.6; }
.tier-card { padding: var(--s6); border-radius: var(--r-l); background: var(--soft-tint); display: grid; gap: var(--s4); }
.tier-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3); color: var(--muted); }
.tier-name { font-family: var(--display); font-size: 2rem; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.tier-bar { height: 10px; border-radius: 99px; background: #fff; overflow: hidden; }
.tier-bar span { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.tier-note { color: var(--muted); }
.tier-note b { color: var(--ink); }
.welcome-note { padding: 10px 14px; border-radius: var(--r-m); background: #fff; }
.account-sub { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--s3); }
.order-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order-list li { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.order-list li div { display: grid; gap: 2px; font-size: .9rem; color: var(--muted); }
.order-list li div b { color: var(--ink); font-size: 1rem; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.tiers div { display: grid; gap: 2px; padding: var(--s4); border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.tiers div b { color: var(--ink); font-size: 1rem; }
.tiers div strong { color: var(--ink); margin-top: var(--s2); }
.tiers div.is-current { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.small { font-size: .84rem; margin-top: var(--s3); }
@media (max-width: 1080px) {
  .search { display: none; }
  .collections { grid-template-columns: 1fr 1fr; }
  .join { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .hero-card { aspect-ratio: 4 / 5; }
  .hero-card img { object-position: 70% 50%; }
  .hero-card .hero-text { right: 20px; }
}
@media (max-width: 640px) {
  .collections { grid-template-columns: 1fr; }
  .collection { aspect-ratio: 4 / 3; }
  .order-list li { grid-template-columns: 1fr auto; }
  .order-list li .button { grid-column: 1 / -1; }
  .shelf { grid-auto-columns: 62%; }
}
.hero-card img { object-fit: contain; object-position: right center; }
@media (max-width: 1080px) { .hero-card img { object-position: center bottom; } .hero-card .hero-text { top: 28px; bottom: auto; } }
.nav-item, .header-link { white-space: nowrap; }
@media (max-width: 1240px) { .search { display: none; } .header-actions { margin-left: auto; } }

.lang-select { width: auto; min-height: 34px; padding: 4px 26px 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; background-color: #fff; }
@media (max-width: 640px) { .lang-select { max-width: 92px; } }

/* ---- Product page stage: the customer's own design (3D for stickers, labels, sheets) or the product photo ---- */
.stage { position: sticky; top: 96px; display: grid; gap: var(--s3); }
.stage-frame { position: relative; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: radial-gradient(110% 85% at 50% 38%, #e9e7e1 0%, #d6d3cb 100%); }
.stage-frame > div { position: absolute; inset: 0; transition: opacity .35s var(--ease); }
.stage-photo .product-photo { height: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; }
.stage-design { display: grid; place-items: center; padding: 9%; }
.stage-design img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px #1d243326) drop-shadow(0 2px 3px #1d24331f); }
.stage-design.is-3d { padding: 0; }
.stage-design.is-3d img { display: none; }
.sticker-3d { display: block; width: 100%; height: 100%; cursor: grab; }
.sticker-3d:active { cursor: grabbing; }
.stage-frame[data-view="photo"] .stage-design, .stage-frame[data-view="design"] .stage-photo { opacity: 0; pointer-events: none; }
.stage-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; background: #ffffffd9; font-size: .78rem; color: var(--muted); pointer-events: none; }
.stage-switch { display: flex; justify-content: center; gap: var(--s2); }
.stage-switch button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .84rem; color: var(--muted); }
.stage-switch button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }

.step-no { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; vertical-align: 2px; }
.dropzone { grid-template-columns: auto; padding: var(--s5) var(--s4); }
.dropzone.is-over { border-color: var(--ink); background: var(--soft-tint); }
.dropzone.is-active { border-style: solid; border-color: var(--ink); background: #fff; }
.dz-thumb { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-m); background: var(--tile); }
.dz-thumb img { max-width: 52px; max-height: 52px; object-fit: contain; }
.use-upload { justify-self: start; }
.or-line { display: flex; align-items: center; gap: var(--s3); margin: 2px 0; font-size: .84rem; color: var(--faint); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.text-controls { display: grid; gap: var(--s3); }
.text-controls textarea { resize: none; min-height: 48px; font-size: 1.05rem; }
.text-controls.is-active textarea { border-color: var(--ink); }

.trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--s4); font-size: .84rem; color: var(--muted); }
.trust-row li { display: flex; gap: 6px; align-items: flex-start; }
.trust-row .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #1f7a4d; }

.stars { letter-spacing: 1px; color: #d8d4cb; }
.stars .on { color: #e2a200; font-style: normal; }
.stars i { font-style: normal; }
.rating-line { display: inline-flex; gap: var(--s2); align-items: center; margin-top: var(--s3); font-size: .9rem; color: var(--muted); text-decoration: none; }
.reviews { margin-top: var(--s6); }
.reviews h2 { font-size: 1.3rem; letter-spacing: -.03em; }
.reviews ul { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s4); }
.reviews li { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.reviews li p { margin: 6px 0; }
.review-by { font-size: .84rem; color: var(--faint); }
.reviews-note { font-size: .84rem; }

.buy-bar { display: none; }
@media (max-width: 1080px) {
  .stage { position: static; }
  .stage-frame { aspect-ratio: 4 / 3.4; }
  /* Title first, then the live preview, then the logo step, so the preview stays in sight while typing. */
  .pdp { gap: var(--s5); }
  .pdp .buy { display: contents; }
  .pdp .buy-head { order: 1; }
  .pdp .stage { order: 2; }
  .pdp #design-form { order: 3; display: grid; gap: var(--s6); }
  .pdp .details { order: 4; }
  .pdp #product-reviews { order: 5; }
  .buy-desc, .buy-specs { display: none; }
  .stage-frame.is-sheet { aspect-ratio: 1; }
}
@media (max-width: 640px) {
  .product-page { padding-bottom: 96px; }
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: var(--s3); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px #0000003d; }
  .buy-bar div { display: grid; }
  .buy-bar b { font-family: var(--display); font-size: 1.2rem; }
  .buy-bar span { font-size: .78rem; color: var(--muted); }
  .trust-row { grid-template-columns: 1fr; }
}

/* ---- Marketing details: newsletter, promo codes, design thumbnails, confirmation, reviews ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-news { display: grid; grid-template-columns: 1fr minmax(280px, 440px); gap: var(--s3) var(--s6); align-items: center; padding: var(--s6) 0; border-bottom: 1px solid #2c3a5e; }
.footer-news h2 { font-family: var(--display); font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.footer-news p { color: #9f9c95; font-size: .9rem; max-width: 52ch; }
.footer-news a { color: #d4d9e6; text-decoration: underline; text-underline-offset: 3px; }
.news-field { display: flex; gap: var(--s2); }
.news-field input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid #3a4870; background: #0f1b3d; color: #fff; padding: 0 18px; }
.news-field input::placeholder { color: #7d869c; }
.footer-news .form-status { grid-column: 1 / -1; color: #d4d9e6; margin: 0; min-height: 0; }
.footer-news .form-status:empty { display: none; }
@media (max-width: 720px) { .footer-news { grid-template-columns: 1fr; } }

.promo-box { margin-top: var(--s4); border-top: 1px solid var(--line); padding-top: var(--s3); }
.promo-box summary { cursor: pointer; font-weight: 600; width: max-content; }
.promo-field { display: flex; gap: var(--s2); margin-top: var(--s3); }
.promo-field input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.promo-note { font-size: .85rem; color: var(--muted); margin-top: var(--s2); }

.cart-art.has-design, .line-thumb.has-design { background: var(--paper) !important; padding: 4px; }
.cart-art.has-design img, .line-thumb.has-design img { width: 100%; height: 100%; object-fit: contain; }

.confirm-page { padding: var(--s7) 0 var(--s8); }
.confirm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--soft-tint); font-size: .85rem; font-weight: 600; margin-bottom: var(--s3); }
.confirm-badge .icon { width: 16px; height: 16px; }
.confirm-lead { color: var(--muted); margin-bottom: var(--s5); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.confirm-items { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.confirm-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s3); align-items: center; }
.confirm-items li > span:nth-child(2) { display: grid; }
.confirm-items li > span:nth-child(2) span { color: var(--muted); font-size: .88rem; }
.confirm-thumb { width: 64px; height: 64px; border-radius: var(--r-s); background: var(--paper); overflow: hidden; }
.confirm-thumb img { width: 100%; height: 100%; object-fit: contain; }

.review-page { padding: var(--s7) 0 var(--s8); max-width: 680px; }
.review-form { max-width: none; }
.review-item { border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s4); margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.review-item img { width: 96px; height: 96px; object-fit: contain; background: var(--paper); border-radius: var(--r-s); }
.review-item legend { font-weight: 700; padding: 0 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: #d6d3cb; cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f2b01e; }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* Price-on-request pages: the 3D preview beside the request form (above it on phones). */
.request-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.request-layout .order-summary { position: sticky; top: 96px; }
.request-stage .stage-frame { aspect-ratio: 1 / 0.95; }
@media (max-width: 1080px) {
  .request-layout { grid-template-columns: 1fr; }
  .request-layout .order-summary { position: static; order: -1; }
}
