/* Hallmark · shape: Bento Grid (swapped from Narrative Workflow: the brief centres the products) · genre: editorial · theme: Atelier (deal 1/3, seed online-shop-3d-printed-objects-fc88·f5455d4c·2026-11-21·r0) · job: buy · draw: 2daf9a
 * hero: Stage (swapped from Counter: the brief asks for product pictures at the centre) · nav: masthead in a glass bar (by request) · footer: statement · imagery: stand-ins in 10 slots, the user's product photos to come; coaster built · signature: type a name and watch it pressed into the Snowy Coaster, the price moving 149k to 199k
 * axes: light/roman-serif/cool · posture: restrained · contrast: pass · fold: pass · glass: nav, dock and cart only (by request, overrides the theme's no-glass rule) · fonts: Newsreader for Sentient (Vietnamese diacritics) · seasons: four token blocks · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, without photos the tiles could be any shop; the coaster you name yourself and the real prices carry it until the photos land */
/* Hallmark · waive 68 · ten data-slot stand-ins named per product · the owner asked for stand-ins now and sends the product photos later */
/* Hallmark · waive 81 · each slot shows the product name on fibre stock until assets/products/<slot>.jpg lands · the owner's own photos replace every one */
/* Hallmark · dismissed 77 · chim-canh-cut.html is a product detail page with gallery, buy box, specs and the set rail, not a landing strip */
/* Hallmark · waive 83 · four product photographs in the shop grid below the hero · each tile is a Mun Leo Studio product with its own photo, the catalogue a buyer came for */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --font-display: "Newsreader", Georgia, serif;
  --radius-glass: 18px;
  --glass: color-mix(in oklab, var(--color-card) 58%, transparent);
  --glass-edge: color-mix(in oklab, var(--lit) 70%, transparent);
  --glass-shadow: 0 1px 0 var(--lit) inset, 0 10px 30px -12px oklch(30% 0.03 55 / 0.28);
  --frame-line: oklch(30% 0.03 55 / 0.08); --press-shade: oklch(30% 0.03 55 / 0.14); --scrim: oklch(19% 0.024 52 / 0.24);
  --sw-black: oklch(22% 0.01 250); --sw-white: oklch(96% 0.005 90); --sw-red: oklch(52% 0.17 27); --sw-moss: oklch(48% 0.07 130); --sw-brown: oklch(45% 0.07 55);
  --air-1: oklch(96% 0.020 80); --air-2: oklch(90% 0.045 70); --air-3: oklch(93% 0.025 240);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.12' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
/* Seasons: one token block each; the layout never changes */
:root[data-theme="winter"] {
  --color-paper: oklch(95% 0.008 230); --color-paper-2: oklch(92% 0.011 232); --color-paper-3: oklch(88.5% 0.013 234);
  --color-rule: oklch(81% 0.012 236);
  --air-1: oklch(97% 0.012 230); --air-2: oklch(91% 0.030 240); --air-3: oklch(94% 0.030 75);
}
:root[data-theme="spring"] {
  --color-paper: oklch(95% 0.012 120); --color-paper-2: oklch(92% 0.016 122); --color-paper-3: oklch(88.5% 0.019 124);
  --color-rule: oklch(81% 0.014 124);
  --color-accent: oklch(42% 0.075 150); --color-focus: oklch(50% 0.095 150);
  --air-1: oklch(96.5% 0.020 110); --air-2: oklch(91% 0.045 140); --air-3: oklch(94% 0.035 20);
}
:root[data-theme="summer"] {
  --color-paper: oklch(95.5% 0.014 88); --color-paper-2: oklch(92.5% 0.018 86); --color-paper-3: oklch(89% 0.021 84);
  --color-accent: oklch(43% 0.080 215); --color-focus: oklch(51% 0.095 215);
  --air-1: oklch(97% 0.025 90); --air-2: oklch(91% 0.055 80); --air-3: oklch(93% 0.040 210);
}
:root[data-theme="autumn"] {
  --color-paper: oklch(94.5% 0.014 66); --color-paper-2: oklch(91.5% 0.018 64); --color-paper-3: oklch(88% 0.021 62);
  --color-accent: oklch(42% 0.080 35); --color-focus: oklch(50% 0.095 35);
  --air-1: oklch(96% 0.025 70); --air-2: oklch(89% 0.060 55); --air-3: oklch(92% 0.040 30);
}

body { color: var(--color-ink-2); line-height: 1.6; background: var(--color-paper); transition: background-color var(--dur-long) var(--ease-in-out); }
h1, h2 { color: var(--color-ink); } h3 { font-weight: var(--serif-small); color: var(--color-ink); letter-spacing: 0; }
h1 { letter-spacing: var(--tracking-display); line-height: 1.04; }

/* the air: a fixed field behind the hero and the coaster */
.air { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 30% 20%, var(--air-1), var(--air-2) 60%, var(--air-3)); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: 0.16; mix-blend-mode: multiply; }

.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* glass bar: masthead, sticky */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); padding-top: var(--space-sm); }
.bar__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: 64px; padding-block: var(--space-2xs); background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-glass); box-shadow: var(--glass-shadow); max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }
.bar__links { display: flex; gap: var(--space-lg); font-size: var(--text-sm); }
.bar__links a, .foot__links a { text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.bar__links a:hover, .foot__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.mark { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--display-weight); letter-spacing: -0.01em; white-space: nowrap; }
.mark img { width: 36px; height: 36px; border-radius: 50%; }
.bar__end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-lg); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.24em; font-size: var(--text-sm); white-space: nowrap; }
.link:hover { text-decoration-thickness: 2px; }
.cartbtn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-glass); background: transparent; color: var(--color-ink); font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.cartbtn svg, .icon svg, .add svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cartbtn:hover { background: var(--color-ink); color: var(--color-paper); }
.cartbtn:active { transform: translateY(1px); }
.cartbtn__n { min-width: 1.5em; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding-inline: var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--fill { background: var(--color-ink); color: var(--color-paper); }
.btn--fill:hover { background: var(--color-ink-2); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-lg); }

/* hero: Stage, text on five, the print on seven */
.hero { display: grid; align-items: center; min-height: calc(100svh - 80px); padding-block: var(--space-xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__text .actions { margin-top: var(--space-md); }
.print { margin: 0; display: grid; gap: var(--space-sm); }
.print__mat { position: relative; padding: var(--space-lg); }
.print__frame { aspect-ratio: 1 / 1; max-height: 68svh; width: 100%; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.print__cap { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-ink-2); }
.pencil { display: inline-flex; align-items: baseline; gap: var(--space-xs); color: var(--color-pencil); }
.pencil__line { display: inline-block; width: 48px; border-bottom: var(--rule-hair) solid var(--color-pencil); }

/* card stock */
.stock { border-radius: 2px; background: var(--fibre) 0 0 / 220px, linear-gradient(160deg, var(--card-lit), var(--color-card) 55%, var(--card-shade)); box-shadow: var(--shadow-card), inset 1px 1px 0 var(--lit); text-shadow: 0 1px 0 var(--lit); }

/* stand-ins: the product's name on fibre until its photo lands */
[data-slot] { background: var(--fibre) 0 0 / 220px, linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }
.standin { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-lg); text-align: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); color: var(--color-muted); text-shadow: 0 1px 0 var(--lit); }

/* sections */
.sec { position: relative; padding-block: var(--section-gap); background: var(--color-paper); transition: background-color var(--dur-long) var(--ease-in-out); }
.sec--offer { background: transparent; padding-block: var(--section-gap-l); }
.band { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head--split { grid-template-columns: 5fr 7fr; align-items: end; gap: var(--gap-columns); }
.head--split .lead { justify-self: end; }

/* bento: the seven */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.tile { grid-column: span 3; display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.tile--lead { grid-column: span 6; grid-row: span 2; }
.tile--wide { grid-column: span 6; }
.tile__pic { aspect-ratio: 1 / 1; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.tile--lead .tile__pic { aspect-ratio: auto; flex: 1; min-height: 440px; }
.tile--wide .tile__pic { aspect-ratio: 16 / 9; }
.tile__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.sub { font-size: var(--text-sm); color: var(--color-muted); }
.price { font-size: var(--text-lg); color: var(--color-ink); }
.add { display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--rule-hair) solid var(--color-ink); border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.add:hover { background: var(--color-ink); color: var(--color-paper); }
.add:active { transform: scale(0.94); }
.add.is-added { background: var(--color-ink); color: var(--color-paper); }

/* the coaster offer */
.offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.coaster { display: grid; place-items: center; min-height: 480px; }
.coaster__disc { position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.coaster__disc::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: var(--rule-hair) solid var(--color-card-edge); }
.coaster__name { position: relative; max-width: 70%; overflow-wrap: break-word; text-align: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.05; color: var(--color-ink); text-shadow: 0 1px 0 var(--lit), 0 -1px 0 var(--press-shade); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.coaster__name.is-blank { opacity: 0; transform: scale(0.96); }
.coaster__name.is-press { transform: scale(0.97); }
.offer__box { display: grid; gap: var(--space-lg); padding: var(--space-xl); background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-glass); box-shadow: var(--glass-shadow); }
.offer__box .btn { justify-self: start; }
.choice { border: 0; margin: 0; padding: 0; display: grid; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); min-height: 56px; border-top: var(--rule-hair) solid var(--color-rule); cursor: pointer; }
.opt:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-ink); }
.opt input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: var(--text-sm); color: var(--color-ink-2); }
.field input { min-height: 52px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font-size: var(--text-md); }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.field input::placeholder { color: var(--color-muted); }
.field[hidden] { display: none; }

/* botanica showcase */
.show { aspect-ratio: 21 / 9; min-height: 420px; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.show .standin { font-size: var(--text-section); }
.show__foot { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap-columns); align-items: center; margin-top: var(--space-xl); }
.show__foot .actions { justify-content: flex-end; }

/* how to buy: rows beside the head */
.buy { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap-columns); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: var(--rule-head) solid var(--color-ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); color: var(--color-accent); line-height: 1; }
.fill { display: inline-block; padding-inline: var(--space-xs); border: 1px dashed var(--color-muted); border-radius: var(--radius-pill); color: var(--color-muted); }

/* footer: statement */
.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-long) var(--ease-in-out); }
.foot__line { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-section); line-height: 1.08; letter-spacing: var(--tracking-statement); color: var(--color-ink); max-width: 22ch; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.season { display: flex; align-items: center; gap: var(--space-2xs); }
.season__label { font-size: var(--text-sm); color: var(--color-muted); margin-right: var(--space-xs); }
.season button { min-height: 44px; min-width: 52px; padding-inline: var(--space-sm); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.season button:hover { color: var(--color-ink); border-color: var(--color-rule); }
.season button[aria-checked="true"] { border-color: var(--color-ink); color: var(--color-ink); }
.season button:active { transform: translateY(1px); }
.foot__legal { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }

/* dock: the cart, always one tap away */
.dock { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-sticky); display: flex; gap: var(--space-xs); transition: transform var(--dur-short) var(--ease-out); }
.dock__chat, .dock__cart { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding-inline: var(--space-lg); background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-glass); box-shadow: var(--glass-shadow); color: var(--color-ink); text-decoration: none; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.dock__chat:hover, .dock__cart:hover { transform: translateY(-1px); }
.dock__chat:active, .dock__cart:active { transform: translateY(1px); }
.dock__cart[hidden] { display: none; }


.dock__sum { padding-left: var(--space-sm); margin-left: var(--space-2xs); border-left: var(--rule-hair) solid var(--color-rule); }
.dock.is-bump { transform: translateY(-3px); }
@starting-style { .dock { opacity: 0; transform: translateY(8px); } }

/* cart drawer */
.cart { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100%); padding: var(--space-xl); border: 0; border-left: var(--rule-hair) solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); color: var(--color-ink-2); box-shadow: var(--glass-shadow); }
.cart[open] { display: flex; flex-direction: column; gap: var(--space-lg); animation: cart-in var(--dur-long) var(--ease-out); }
.cart::backdrop { background: var(--scrim); }
@keyframes cart-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart__head { display: flex; justify-content: space-between; align-items: center; }
.cart__head h2 { font-size: var(--text-2xl); }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; }
.icon:hover { background: color-mix(in oklab, var(--color-ink) 8%, transparent); }
.icon:active { transform: scale(0.94); }
.cart__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: var(--rule-head) solid var(--color-ink); }
.cart__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.cart__list small { display: block; color: var(--color-muted); }
.qty { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.qty button { width: 44px; height: 44px; border: var(--rule-hair) solid var(--color-rule); border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; }
.qty button:hover { border-color: var(--color-ink); }
.qty button:active { transform: scale(0.94); }
.cart__empty { color: var(--color-muted); }
.cart__sum { display: flex; justify-content: space-between; font-size: var(--text-lg); color: var(--color-ink); }
.cart__form { display: grid; gap: var(--space-md); margin-top: auto; }
.cart__note { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* one reveal: the seven tiles, visible without script */
.js .tile.is-waiting { opacity: 0; transform: translateY(8px); }
.js .tile { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }

@media (max-width: 60rem) {
  .bar__links, .bar__end .link { display: none; }
  .bar__in { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__grid, .offer, .buy, .head--split, .show__foot { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { min-height: 0; gap: var(--space-xl); }
  .head--split .lead { justify-self: start; }
  .show__foot .actions { justify-content: flex-start; }
  .tile { grid-column: span 6; }
  .tile--lead, .tile--wide { grid-column: span 12; grid-row: auto; }
  .tile--lead .tile__pic { aspect-ratio: 4 / 5; min-height: 0; flex: none; }
  .print__frame { max-height: none; }
  .hero { min-height: 0; }
  .show { aspect-ratio: 4 / 3; min-height: 0; }
  .coaster { min-height: 0; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
}
@media (max-width: 40rem) {
  .tile { grid-column: span 6; }
  .tile__meta { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs); }
  .tile__meta > div { grid-column: 1 / -1; }
  .standin { font-size: var(--text-lg); }
  .mark { font-size: var(--text-lg); }
  .mark img { width: 28px; height: 28px; }
  .dock { right: var(--space-md); bottom: var(--space-md); }
  .season__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .tile.is-waiting { opacity: 1; transform: none; }
  .cart[open] { animation: none; }
}

/* links inside tiles */
.tile__link { color: inherit; text-decoration: none; }
.tile__link:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
a.tile__pic { display: block; }
.link--btn { border: 0; background: none; padding: 0; cursor: pointer; justify-self: start; }

/* checkout */
.cart__step { display: flex; flex-direction: column; gap: var(--space-lg); flex: 1; }
.cart__step[hidden] { display: none; }
.cart__ship { font-size: var(--text-sm); color: var(--color-muted); margin-top: calc(-1 * var(--space-sm)); }
.cart__code { font-size: var(--text-lg); color: var(--color-ink); }
.qr { display: grid; place-items: center; min-height: 240px; padding: var(--space-md); background: var(--color-card); border-radius: var(--radius-glass); }
.qr img { width: min(320px, 100%); height: auto; }
.qr__wait { max-width: 28ch; text-align: center; color: var(--color-muted); }

/* product page */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-block: var(--space-xl) 0; font-size: var(--text-sm); color: var(--color-muted); }
.crumbs a { color: var(--color-ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pd { padding-block: var(--space-xl) var(--space-2xl); }
.pd__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.gallery { display: grid; gap: var(--space-md); min-width: 0; }
.gallery__main { margin: 0; height: min(58svh, 560px); overflow: hidden; border-radius: 2px; outline: 1px solid var(--frame-line); outline-offset: -1px; background: var(--color-paper-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-sm); }
.thumbs button { aspect-ratio: 1; padding: 0; border: var(--rule-hair) solid transparent; border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--color-paper-2); transition: border-color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); opacity: 0.7; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--color-ink); opacity: 1; }
.thumbs button:active { transform: scale(0.97); }
.buybox { position: sticky; top: 104px; display: grid; gap: var(--space-md); padding: var(--space-xl); background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: var(--rule-hair) solid var(--glass-edge); border-radius: var(--radius-glass); box-shadow: var(--glass-shadow); }
.buybox h1 { font-size: var(--text-display-s); }
.buybox__kind { color: var(--color-muted); }
.buybox__price { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-section); line-height: 1; color: var(--color-ink); }
.buybox__ship { font-size: var(--text-sm); color: var(--color-ink-2); }
.buybox__legend { font-size: var(--text-sm); color: var(--color-ink-2); padding-bottom: var(--space-xs); }
.buybox__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xs); }
.buybox__note { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.swatches { display: inline-flex; gap: var(--space-2xs); }
.sw { width: 16px; height: 16px; border-radius: 50%; outline: 1px solid var(--frame-line); }
.sw--black { background: var(--sw-black); } .sw--white { background: var(--sw-white); } .sw--red { background: var(--sw-red); }
.custom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); }
.custom[hidden] { display: none; }
.pd__about { padding-block: var(--section-gap-s); }
.about { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-columns); align-items: start; }
.about__body { display: grid; gap: var(--space-xl); }
.specs { margin: 0; display: grid; border-top: var(--rule-head) solid var(--color-ink); }
.specs div { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.specs dt { color: var(--color-ink); }
.specs dd { margin: 0; }
.rail { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: var(--gap-columns); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-md); }
.rail li { scroll-snap-align: start; }
.rail a { display: grid; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; }
.rail a:hover .rail__name { text-decoration: underline; text-decoration-color: var(--color-accent); }
.rail__pic { aspect-ratio: 1; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.rail .standin { font-size: var(--text-xl); }
.rail .num { color: var(--color-muted); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .pd__grid, .about { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .buybox { position: static; }
  .gallery__main { height: auto; aspect-ratio: 4 / 3; }
  .thumbs { grid-template-columns: repeat(6, 64px); overflow-x: auto; }
  .rail { grid-auto-columns: 62%; }
}
@media (max-width: 40rem) {
  .custom { grid-template-columns: minmax(0, 1fr); }
}

/* Gnome vol.1 pack builder */
.thumbs--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.picks { border: 0; margin: 0; padding: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-sm); min-height: 48px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.pick__name { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; cursor: pointer; }
.pick__name input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-ink); flex-shrink: 0; }
.pick__name input:disabled + span { color: var(--color-muted); }
.pick__name input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pick__color { min-height: 40px; padding-inline: var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); }
.pick__color:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.pick__color[hidden] { display: none; }
.pick__extra { font-size: var(--text-sm); color: var(--color-ink-2); padding-top: var(--space-xs); }
.qtyrow { display: flex; justify-content: space-between; align-items: center; }
.qtyrow .buybox__legend { padding: 0; }
@media (max-width: 40rem) { .pick { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-xs); } }

/* home: the two real products */
.duo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.duo .tile { grid-column: auto; }
.duo .tile__pic { aspect-ratio: 4 / 3; overflow: hidden; }
.duo .tile__pic img, .print__frame img { width: 100%; height: 100%; object-fit: cover; }
.print__frame { position: relative; overflow: hidden; }
/* one more product */
.more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.more__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.more__item img { grid-column: 1 / -1; aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; outline: 1px solid var(--frame-line); outline-offset: -1px; }
.more__name { font-family: var(--font-display); font-size: var(--text-title); }
.more__item:hover .more__name { text-decoration: underline; text-decoration-color: var(--color-accent); }
/* gnome picks with their photo */
.pick { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); }
.pick__see { width: 40px; height: 40px; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--color-paper-2); }
.pick__see img { width: 100%; height: 100%; object-fit: cover; }
.pick__see:hover { border-color: var(--color-ink); }
.pick__see--none { cursor: default; background: transparent; border-style: dashed; }
/* dock icons */
.dock__chat { padding-inline: var(--space-sm); }
.dock__chat img { width: 28px; height: 28px; }
@media (max-width: 60rem) { .more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .pick { grid-template-columns: 40px minmax(0, 1fr); }
  .pick .pick__color { grid-column: 2; }
}

/* photos in their true colour: the theme's warm treatment is off */
[data-slot] > img { filter: none; }
/* hero slideshow */
.print__frame { aspect-ratio: 4 / 3; }
.slides { display: flex; height: 100%; transition: transform 700ms var(--ease-out); }
.slide { flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slidecap { align-items: center; gap: var(--space-md); }
.slidecap__name { display: inline-flex; align-items: baseline; gap: var(--space-sm); font-family: var(--font-display); font-size: var(--text-title); color: var(--color-ink); }
.slidecap__name .num { font-family: var(--font-body); font-size: var(--text-md); color: var(--color-ink-2); }
.slidecap__ctl { display: inline-flex; align-items: center; gap: var(--space-sm); }
.dots { display: inline-flex; gap: var(--space-2xs); }
.dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }
.dot[aria-current="true"]::after { background: var(--color-ink); }
.dot:hover::after { background: var(--color-ink-2); }
.dot:active { transform: scale(0.9); }
.icon--sm { width: 32px; height: 32px; }
.icon svg path { fill: currentColor; }
.btn--sm { min-height: 44px; padding-inline: var(--space-md); font-size: var(--text-sm); }
.duo { gap: var(--space-2xl) var(--gap-columns); }
.trio { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.pick--plain { grid-template-columns: minmax(0, 1fr); }
.sw--moss { background: var(--sw-moss); } .sw--brown { background: var(--sw-brown); }
@media (max-width: 60rem) { .trio { grid-template-columns: minmax(0, 1fr); } .slidecap { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .slides { transition: none; } }

.print__frame { aspect-ratio: auto; height: min(52svh, 500px); }
.slides { width: 100%; }
