/* Storefront styles. A quiet gallery look: off-white walls, deep ink, one restrained accent, crisp type, product images first.
   Phone first; one light theme. Every brand color, the corner radius and the fonts are CSS variables: the defaults are below,
   and the store's real values come from assets/css/theme.css, which automation/build_site.ps1 generates from the catalog's
   "theme" block (edit that, not this file). Filament colors (.tint-*, .sw-*) come from the generated palette.css.
   No inline styles anywhere (the CSP forbids them). Hover effects only on devices that hover. */

:root {
  /* brand defaults: the store's real values come from theme.css (generated from the catalog's "theme") */
  --paper: #f3f1ed; --surface: #ffffff; --mat: #e9e5dd; --ink: #1b1f24; --ink-2: #3c434c; --muted: #5d6570; --rule: #dcd7cd; --field: #857e73;
  --navy: #1d2b3a; --navy-2: #2c3e52; --terra: #c46f4e; --terra-ink: #a24f2f; --sun: #e3ad35; --sun-soft: #fbf0d4;
  --ok: #2f6a45; --bad: #a3361f; --focus: #2f6f8f;
  --radius: 10px; --radius-sm: 6px; --radius-btn: 999px;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; --heading-weight: 700;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* the UI face (buttons, prices, labels, nav) follows the body font */
  --ui: var(--body);
  /* derived from the brand colors */
  --navy-soft: color-mix(in srgb, var(--navy) 6%, var(--surface));
  --chip-text: color-mix(in srgb, var(--sun) 28%, #000);
  --foot-text: color-mix(in srgb, #fff 82%, var(--navy));
  --foot-line: color-mix(in srgb, #fff 16%, var(--navy));
  --shadow: color-mix(in srgb, var(--navy) 14%, transparent);
  --wrap: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
#main { flex: 1 0 auto; }
main:focus, h1[tabindex="-1"]:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--heading-weight); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(32px, 5.6vw, 54px); }
h2 { font-size: clamp(23px, 3.2vw, 30px); }
h3 { font-size: 19px; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
section { padding: 32px 0; }
@media (min-width: 860px) { section { padding: 48px 0; } }
.eyebrow { font: 600 12px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
/* Copy that depends on whether the 3D Models collection has pieces yet: a page wraps it in data-models="{{models_count}}"
   and marks each variant .if-models or .if-no-models (no template conditionals, so CSS picks the true sentence) */
[data-models="0"].if-models, [data-models="0"] .if-models,
[data-models]:not([data-models="0"]).if-no-models, [data-models]:not([data-models="0"]) .if-no-models { display: none; }

/* --- buttons, chips --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--navy); border-radius: var(--radius-btn); background: var(--navy); color: #fff; font: 600 15px/1 var(--ui); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
@media (hover: hover) { .btn:not(:disabled):hover { background: var(--navy-2); border-color: var(--navy-2); } .btn-ghost:not(:disabled):hover { background: var(--navy); border-color: var(--navy); color: #fff; } }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--sun-soft); color: var(--chip-text); font: 600 12px/1.2 var(--ui); letter-spacing: .02em; text-transform: none; }
.chip-out { background: var(--navy); color: #fff; }
.chip-filter { border: 1px solid var(--field); background: var(--surface); color: var(--ink); font-size: 14px; padding: 9px 16px; cursor: pointer; }
.chip-filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* --- header --- */
.announce { display: flex; justify-content: center; gap: 28px; padding: 9px 16px; background: var(--navy); color: var(--foot-text); font: 500 13px/1.3 var(--ui); letter-spacing: .01em; }
.announce .a-extra { display: none; }
@media (min-width: 760px) { .announce .a-extra { display: inline; } }
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.logo-img { height: 36px; width: auto; }
@media (min-width: 700px) { .logo-img { height: 40px; } }
.foot-logo { height: 40px; width: auto; margin-bottom: 14px; }
.lm-1 { fill: var(--navy); } .lm-2 { fill: var(--sun); } .lm-3 { fill: var(--terra); }
.logo-name { font: 700 19px/1 var(--ui); letter-spacing: -.02em; }
.nav { display: none; gap: 28px; margin-left: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--ui); padding: 8px 0; border-bottom: 1.5px solid transparent; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--terra); }
@media (hover: hover) { .nav a:hover { color: var(--ink); border-bottom-color: var(--terra); } }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius); background: none; color: var(--ink); font: 600 15px/1 var(--ui); cursor: pointer; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--sun); color: var(--navy); font-size: 12px; padding: 0 6px; }
.cart-btn .count[data-zero] { background: var(--rule); color: var(--ink); }
@media (max-width: 420px) { .cart-word { display: none; } }
@media (hover: hover) { .cart-btn:hover, .icon-btn:hover { background: var(--navy-soft); } }
.mobile-nav { display: grid; padding: 4px 16px 16px; border-top: 1px solid var(--rule); background: var(--surface); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 0; color: var(--ink); text-decoration: none; font: 500 17px/1 var(--ui); border-bottom: 1px solid var(--rule); }
.mobile-nav a[aria-current="page"] { color: var(--terra-ink); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } .mobile-nav { display: none !important; } }

/* --- page heads, hero --- */
.page-head { padding-bottom: 8px; }
.page-head h1 { margin-bottom: .3em; }
.hero { padding: 48px 0 16px; }
.hero h1 { max-width: 14ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (min-width: 860px) { .hero { padding: 72px 0 24px; } .hero .lede { font-size: 19px; } }
.hero-row { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
/* the gallery wall: one large piece and two small ones, each on a mat */
.wall { display: grid; gap: 12px; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 6 / 5; }
.wall-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.wall-2 { grid-template-rows: 1fr; }
.wall-item { display: grid; place-items: center; background: var(--mat); border-radius: var(--radius); overflow: hidden; padding: 9%; min-height: 0; }
.wall-item:first-child { grid-row: 1 / -1; }
.wall-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.wall-prints img { border: 1px solid var(--rule); border-radius: 0; }
.wall-models { padding: 0; }
.wall-models img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .wall { max-width: 560px; } }

/* --- collection tiles (home) --- */
.collections { padding-top: 16px; }
.coll-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .coll-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; } }
.coll-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
/* the tiles only earn their place when both collections have pieces */
.collections:has(.coll-tile:only-child) { display: none; }
.coll-img { display: grid; place-items: center; aspect-ratio: 5 / 4; background: var(--mat); overflow: hidden; min-height: 0; }
.coll-prints .coll-img { padding: 7% 18%; }
.coll-prints .coll-img img { width: auto; height: auto; max-width: 100%; max-height: 100%; border: 1px solid var(--rule); border-radius: 0; }
.coll-models .coll-img img { width: 100%; height: 100%; object-fit: cover; }
.coll-body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; padding: 18px 20px 20px; }
.coll-name { font: var(--heading-weight) clamp(22px, 2.6vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.coll-count { grid-column: 1; font-size: 14px; color: var(--muted); }
.coll-cta { grid-column: 2; grid-row: 1 / span 2; font: 600 15px/1 var(--ui); color: var(--navy); }
@media (hover: hover) { .coll-tile .coll-img > * { transition: transform .4s ease; } .coll-tile:hover .coll-img > * { transform: scale(1.025); } .coll-tile:hover .coll-cta { text-decoration: underline; } }

/* --- trust strip --- */
.trust { background: var(--mat); border-block: 1px solid var(--rule); margin: 24px 0; padding: 8px 16px; }
.trust-list { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding-block: 26px; }
.trust-list li { display: grid; gap: 4px; align-content: start; }
.trust-list svg { width: 26px; height: 26px; color: var(--terra-ink); margin-bottom: 6px; }
.trust-list b { font: 600 15px/1.25 var(--ui); }
.trust-list span { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 34px; } }

/* --- product grids and cards --- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font: 500 15px/1.2 var(--ui); display: inline-block; padding-block: 13px; margin-block: -13px; }
.coll-section:has(> .grid:empty) { display: none; }
.grid { display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { min-width: 0; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--mat); border-radius: var(--radius); overflow: hidden; }
.card-img > .chip { position: absolute; top: 10px; left: 10px; z-index: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img > img, .card-img > .art { transition: transform .4s ease; }
/* art prints: shown whole on a mat, square corners and a hairline edge, like a print on a wall */
.card-prints .card-img { padding: 10%; }
.card-prints .card-img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--rule); border-radius: 0; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 0; }
.card-title { font: 500 15px/1.35 var(--body); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font: 700 16px/1.3 var(--ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.card-meta { font-size: 13px; line-height: 1.35; color: var(--muted); }
.card-colors { display: flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.card-colors .dot { width: 12px; height: 12px; }
.card-colors span { margin-left: 5px; }
@media (hover: hover) { .card-link:hover .card-img > img, .card-link:hover .card-img > .art { transform: scale(1.03); } .card-link:hover .card-title { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 760px) { .card-title { font-size: 16px; } .price { font-size: 17px; } }

/* drawings (until photos exist): the printed parts are currentColor, set by a .tint-* class */
.art { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, var(--surface) 0%, var(--mat) 72%); }
.art svg { width: 84%; height: 84%; }
.card-prints .card-img > .art { border: 1px solid var(--rule); }
.thumb-art { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--mat); }
.thumb-art svg { width: 64px; height: 64px; }

/* --- shop pages --- */
.shop { padding-top: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.search { flex: 1 1 240px; max-width: 420px; }
.search input { width: 100%; min-height: 46px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--radius); font: inherit; background: var(--surface); color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--ui); color: var(--muted); }
.sort select { min-height: 46px; padding: 0 12px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 500 15px/1 var(--body); }
.shop .coll-section { padding: 0 0 40px; }
.shop:not(:has(.card)) .toolbar { display: none; }
.empty { padding: 40px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--field); border-radius: var(--radius); }
.empty p { margin: 0 0 6px; }
/* a collection with no pieces at all shows its message even before (or without) the script */
.shop:not(:has(.card)) .empty[hidden] { display: block; }

/* --- two collections, story (home) --- */
.ways-grid { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 760px) { .ways-grid { grid-template-columns: 1fr 1fr; gap: 24px; } [data-models="0"] .ways-grid { grid-template-columns: 1fr; max-width: 760px; } }
.way { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 24px 10px; }
.way p:not(.eyebrow) { color: var(--ink-2); }
.story-box { background: var(--navy-soft); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.story-box .eyebrow { justify-content: center; }
.story-box h2 { max-width: 22ch; margin-inline: auto; }
.story-box .lede { margin-inline: auto; }
@media (min-width: 860px) { .story-box { padding: 64px 48px; } }

/* --- product page --- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); display: inline-block; padding-block: 12px; margin-block: -12px; }
.pdp { display: grid; gap: 26px; padding-top: 18px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; } .pdp-gallery { position: sticky; top: 90px; } }
.gallery-main { display: grid; place-items: center; background: var(--mat); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-prints .gallery-main { padding: 8%; }
.gallery-prints .gallery-main img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--rule); border-radius: 0; }
.gallery-main .art { border-radius: 0; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding: 2px; }
.thumb { flex: none; width: 72px; border: 1.5px solid var(--rule); border-radius: var(--radius-sm); padding: 0; background: var(--mat); cursor: pointer; overflow: hidden; }
.thumb img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.art-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: .35em; }
.pdp-price { font: 700 26px/1 var(--ui); margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.pdp-price .small { font: 400 15px/1 var(--body); }
.made { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 12px; border-radius: 999px; background: var(--navy-soft); font: 500 14px/1.2 var(--ui); color: var(--ink-2); }
.made svg { width: 18px; height: 18px; color: var(--terra-ink); flex: none; }
.pdp-short { font-size: 17px; color: var(--ink-2); margin-bottom: 22px; }
.buy { border-top: 1px solid var(--rule); padding-top: 20px; }
.opt { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.opt legend { font: 500 15px/1.2 var(--ui); margin-bottom: 10px; padding: 0; }
.opt legend b { font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .swatch { position: relative; cursor: pointer; }
.pill input, .swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-block; min-height: 46px; padding: 12px 16px; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; line-height: 1.3; }
.pill small { color: var(--muted); }
.pill input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--navy-soft); }
.pill input:focus-visible + span, .swatch input:focus-visible + .dot { outline: 3px solid var(--focus); outline-offset: 2px; }
.swatch .dot { width: 40px; height: 40px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--field); }
.swatch input:checked + .dot { box-shadow: 0 0 0 2px var(--navy); }
.field { display: grid; gap: 6px; margin-bottom: 16px; font: 500 15px/1.2 var(--ui); }
.field input { min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--radius-sm); font: 400 17px/1 var(--body); background: var(--surface); color: var(--ink); width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.hint { font: 400 14px/1.4 var(--body); color: var(--muted); margin: 0; display: flex; justify-content: space-between; gap: 10px; }
.buy-row { display: flex; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1; min-height: 52px; font-size: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--field); border-radius: var(--radius); background: var(--surface); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); border-radius: var(--radius); }
.qty button:disabled { color: var(--field); cursor: default; }
.qty output, .qty span { min-width: 26px; text-align: center; font: 600 16px/1 var(--ui); }
.buy-row .qty button { height: 50px; }
.buy-msg { color: var(--bad); min-height: 1.4em; margin: 8px 0 0; font-size: 15px; }
.assure { list-style: none; padding: 18px 0 0; margin: 8px 0 18px; display: grid; gap: 14px; border-top: 1px solid var(--rule); }
.assure li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.assure svg { width: 20px; height: 20px; color: var(--terra-ink); margin-top: 2px; }
.eta { display: block; color: var(--ink); margin-top: 4px; }
.etsy-link { font-size: 15px; }
.bullets { padding-left: 20px; color: var(--ink-2); }
.bullets li { margin-bottom: 6px; }
.pdp-details { display: grid; gap: 0; max-width: 780px; padding-top: 16px; }
.detail-block { padding: 24px 0; border-top: 1px solid var(--rule); }
.detail-block h2 { font-size: 21px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 11px 8px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; }
.faq { border-bottom: 1px solid var(--rule); padding: 2px 0; }
.faq summary { cursor: pointer; font: 600 16px/1.4 var(--ui); padding: 12px 0; }
.faq p { margin: 0 0 14px; color: var(--ink-2); }
.related { padding-bottom: 56px; }

/* --- prose pages, panels --- */
.prose { max-width: 860px; }
section.prose { padding-block: 12px; }
section.prose.page-head { padding-top: 40px; }
.prose h2 { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 22px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.panel.narrow { max-width: 420px; }
.note { background: var(--sun-soft); padding: 10px 14px; border-radius: var(--radius-sm); }
.form-msg { min-height: 1.4em; margin: 10px 0 0; }
.form-msg.is-bad { color: var(--bad); }
.form-msg.is-ok { color: var(--ok); }
.status-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sun-soft); color: var(--chip-text); font: 600 14px/1 var(--ui); }
.status-list { list-style: none; padding: 0; }
.status-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }

/* --- cart drawer and cart page --- */
.overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--navy) 45%, transparent); opacity: 0; transition: opacity .25s; z-index: 40; }
.overlay.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--surface); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: 0 12px 32px var(--shadow); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { margin: 0; font-size: 21px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--rule); background: var(--paper); }
.drawer-foot:empty { display: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.line img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--mat); }
.line-name { display: block; font: 600 15px/1.3 var(--ui); color: var(--ink); text-decoration: none; }
.line-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.line-meta .qty button { width: 36px; height: 36px; }
.line-price { font: 600 15px/1.3 var(--ui); }
.totals { display: grid; gap: 6px; margin-bottom: 12px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font: 700 18px/1.2 var(--ui); padding-top: 10px; border-top: 1px solid var(--rule); }
.secure { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.cart-error { color: var(--bad); }
.eta-line { margin: 0 0 12px; }
.cart-empty { text-align: center; padding: 48px 8px 24px; }
.cart-empty svg { width: 44px; height: 44px; color: var(--field); margin: 0 auto 12px; }
.cart-empty p { color: var(--ink-2); }
.cart-empty .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* --- footer --- */
.site-foot { background: var(--navy); color: var(--foot-text); margin-top: 56px; padding: 48px 0 26px; font-size: 15px; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 32px; }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.foot-nav h2 { font: 600 12px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-nav a, .foot-mail a { text-decoration: none; color: var(--foot-text); }
@media (hover: hover) { .foot-nav a:hover, .foot-mail a:hover { color: #fff; text-decoration: underline; } }
.foot-brand .logo-name { color: #fff; margin-bottom: 10px; }
.totals span:last-child, .line-price { font-variant-numeric: tabular-nums; }
.foot-brand p { max-width: 34ch; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--foot-line); font-size: 13px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr 2fr; } }

/* --- print queue (owner) --- */
.admin .order { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.admin .order.is-late { border-color: var(--bad); box-shadow: inset 4px 0 0 var(--bad); }
.admin .order-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.admin .order-head h2 { font-size: 20px; margin: 0; }
.admin .part { border-top: 1px dashed var(--rule); margin-top: 12px; padding-top: 12px; }
.admin .part h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin .items { list-style: none; padding: 0; margin: 0 0 10px; }
.admin .items li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.admin .ptext { display: inline-block; background: var(--sun-soft); padding: 2px 8px; border-radius: 6px; font: 700 16px/1.3 ui-monospace, Consolas, monospace; }
.admin .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin .actions input, .admin .actions select { min-height: 38px; border: 1px solid var(--field); border-radius: var(--radius-sm); padding: 0 10px; font: inherit; background: var(--surface); }
.admin address { font-style: normal; white-space: pre-line; background: var(--paper); padding: 10px 12px; border-radius: var(--radius-sm); margin: 8px 0; }
.admin .recent { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin .recent td, .admin .recent th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--rule); }
.slip { display: none; }
@media print {
  body.printing-slips > *:not(main), body.printing-slips main > :not(.admin), body.printing-slips .admin > :not([data-slips]) { display: none !important; }
  body.printing-slips .slip { display: block; page-break-after: always; font: 14px/1.5 var(--body); }
  .slip h2 { font-size: 22px; }
}

/* curator's notes under the prints grid */
.coll-notes { padding-block: 40px 16px; border-top: 1px solid var(--rule); margin-top: 32px; }
.coll-notes-grid { display: grid; gap: 28px; }
.coll-notes h3 { font-family: var(--display); font-size: 22px; margin: 0 0 8px; }
.coll-notes h3 a { color: var(--ink); text-decoration: none; }
.coll-notes h3 a:hover { text-decoration: underline; }
.coll-notes p { color: var(--ink-2); line-height: 1.65; margin: 0; max-width: 62ch; }
@media (min-width: 900px) { .coll-notes-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
