/* 01-base.css */
/* Tokens, reset, typography, buttons. System fonts only — no external requests. */
:root {
  --bg: #f6f0e4; --bg-2: #eee4d2; --surface: #fffcf6; --photo: #ebe5dc;
  --ink: #1c1a17; --ink-2: #4f483e; --line: #e2d6c1; --line-strong: #8f806a;
  --amber: #f2a93b; --amber-hover: #e5951c; --amber-soft: #fbe5bd; --amber-deep: #8a5300;
  --danger: #b3261e; --danger-soft: #fdeceb;
  --r-lg: 22px; --r: 14px; --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(58, 40, 10, .06), 0 10px 28px -14px rgba(58, 40, 10, .28);
  --shadow-2: 0 2px 4px rgba(58, 40, 10, .08), 0 22px 48px -18px rgba(58, 40, 10, .38);
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Avenir Next Condensed", "Helvetica Neue Condensed", "Bahnschrift Condensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
main { display: block; outline: none; }
section[id], [id="motive"] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber-soft); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.wrap--narrow { max-width: 800px; }
.section { padding-block: clamp(52px, 8vw, 104px); }
.section-head { display: grid; gap: .5rem; margin-bottom: clamp(22px, 3vw, 36px); }

.display, .h1, .h2, .product-title, .brand-name {
  font-family: var(--f-display); font-stretch: condensed; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .95; text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 7.6vw, 5.7rem); line-height: .9; }
.h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.small { font-size: .9rem; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.loading { color: var(--ink-2); padding: 1.5rem 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .75rem 1.35rem; border: 2px solid transparent; border-radius: 999px; background: transparent;
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(229, 149, 28, .8); }
.btn--primary:hover { background: var(--amber-hover); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #3a342c; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: rgba(28, 26, 23, .06); }
.btn--lg { min-height: 56px; padding-inline: 1.7rem; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow-1); }
.notice { display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.notice p { margin-top: .2rem; }
.notice--draft { background: var(--amber-soft); border-color: #efc987; margin-bottom: 1.5rem; }
.notice--problem { background: var(--danger-soft); border-color: #f2b8b5; }
.note-box { display: flex; gap: .7rem; align-items: flex-start; background: var(--amber-soft); border-radius: var(--r); padding: .8rem 1rem; font-size: .95rem; }
.note-box .icon { color: var(--amber-deep); margin-top: .1rem; }

.ph {
  width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .5rem; padding: 1rem; text-align: center; color: var(--ink-2);
  background: repeating-linear-gradient(135deg, var(--photo) 0 14px, #e5ddd1 14px 28px);
}
.ph .icon { width: 42%; height: auto; color: #fffcf6; filter: drop-shadow(0 8px 16px rgba(58, 40, 10, .15)); }
.ph-title { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1; color: var(--ink); }
.ph-note { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 02-layout.css */
/* Announcement bar, sticky header, footer. */
/* Test-mode banner: inserted by the server (server/src/test-banner.mjs) only while payments run on the mock. */
.test-banner { background: var(--amber); color: var(--ink); text-align: center; font-size: .85rem; font-weight: 700; line-height: 1.35; padding: .45rem 1rem; border-bottom: 2px solid var(--amber-deep); }
.bar { background: var(--ink); color: var(--bg); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.bar-in { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1.6rem; row-gap: .15rem; min-height: 34px; padding-block: .35rem; align-items: center; text-align: center; }
.bar-item { display: inline-flex; align-items: center; gap: .5rem; }
.bar-item + .bar-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-right: 1.1rem; }
@media (max-width: 820px) { .bar-item--wide { display: none; } }
@media (max-width: 560px) { .bar-in { flex-direction: column; } .bar-item + .bar-item::before { display: none; } }
@media (max-width: 520px) { .bar-item + .bar-item { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(246, 240, 228, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(143, 128, 106, .22);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); flex: 0 0 auto; }
.brand-name { font-size: clamp(1.25rem, 3vw, 1.55rem); line-height: 1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .85rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem;
}
.nav-link:hover { background: rgba(28, 26, 23, .06); }
.nav-lang { border: 1.5px solid rgba(28, 26, 23, .25); min-height: 38px; padding: .35rem .7rem; font-size: .82rem; letter-spacing: .06em; }
.nav-cart {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; margin-left: .2rem;
  border-radius: 50%; background: var(--ink); color: var(--bg); text-decoration: none;
}
.nav-cart:hover { background: #3a342c; }
.nav-cart .icon { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count.is-bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (max-width: 420px) { .nav-prints { display: none; } }

.site-footer { background: var(--ink); color: var(--bg); margin-top: clamp(40px, 6vw, 80px); }
.site-footer a { color: var(--bg); text-decoration-color: rgba(246, 240, 228, .4); }
.site-footer a:hover { text-decoration-color: var(--amber); }
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-in { display: grid; gap: 2rem; padding-block: clamp(40px, 6vw, 64px) 2rem; }
@media (min-width: 800px) { .footer-in { grid-template-columns: 2fr 1fr 1.2fr; } }
.brand--footer .brand-mark { box-shadow: 0 0 0 4px rgba(242, 169, 59, .25); }
.brand--footer { color: var(--bg); }
.brand--footer .brand-name { font-size: 1.9rem; }
.footer-tagline { margin-top: .8rem; max-width: 34ch; color: #d9d1c3; }
.footer-h { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: .8rem; }
.footer-col ul { display: grid; gap: .5rem; }
.withdraw-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: .55rem 1rem; min-height: 44px;
  border: 1.5px solid rgba(246, 240, 228, .45); border-radius: 999px; font-weight: 700; text-decoration: none;
}
.site-footer .withdraw-link { text-decoration: none; }
.withdraw-link:hover { border-color: var(--amber); }
.footer-base { border-top: 1px solid rgba(246, 240, 228, .16); padding-block: 1.4rem 2rem; display: grid; gap: .45rem; }
.footer-disclaimer { font-weight: 600; color: #efe7d8; }
.footer-small { font-size: .85rem; color: #cfc6b7; }

.page-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(18px, 3vw, 28px); display: grid; gap: .8rem; }
.crumbs { padding-top: 1rem; }
.back, .link-back { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; text-decoration: none; min-height: 44px; }
.back:hover, .link-back:hover { text-decoration: underline; }

/* 03-home.css */
/* Home: intro, cards grid, price tiers, trust strip, FAQ. */
/* Intro: one small headline, price line and the bundle offer — the grid follows on the first screen. */
.intro { padding-block: clamp(18px, 3.5vw, 40px) clamp(14px, 2.5vw, 26px); }
.intro-in { display: grid; gap: .45rem; justify-items: start; }
.intro-title { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 3rem); line-height: .95; text-wrap: balance; }
.intro-sub { font-size: 1.05rem; color: var(--ink-2); }
.intro-meta { font-weight: 700; color: var(--ink-2); }
.intro-meta span { white-space: nowrap; }
.intro-offer {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; padding: .4rem .85rem; border-radius: 999px;
  background: var(--amber-soft); border: 1px solid #efc987; font-weight: 800; font-size: .95rem;
}
.intro-offer .icon { width: 1.15em; height: 1.15em; color: var(--amber-deep); flex: 0 0 auto; }
.prints { padding-bottom: clamp(8px, 2vw, 16px); }
.section--tight { padding-block: clamp(28px, 5vw, 56px) 0; }

.trust-wrap { margin-top: clamp(28px, 5vw, 56px); }
.trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg);
}
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; gap: .75rem; align-items: flex-start; background: var(--surface); padding: 1rem 1.1rem; }
.trust-item .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-deep); }
.trust-item strong { display: block; font-size: .95rem; line-height: 1.25; }
.trust-item span span { display: block; font-size: .82rem; color: var(--ink-2); margin-top: .15rem; }
@media (max-width: 480px) { .trust-item { flex-direction: column; gap: .5rem; padding: .9rem; } }

.grid { display: grid; gap: clamp(12px, 2vw, 26px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Home grid: 10 prints read as 5 × 2 on wide screens (no lone card in the last row). */
@media (min-width: 1100px) { .grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } .grid--home .card-body { padding: .8rem .85rem 1rem; } .grid--home .card-title { font-size: 1.2rem; } }
.card { min-width: 0; }
.card-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--surface);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-media { aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: .4rem; padding: clamp(12px, 2vw, 18px) clamp(12px, 2vw, 20px) clamp(14px, 2vw, 20px); flex: 1; }
.card-title { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1; text-wrap: balance; }
/* the sub-line of a print on the card: off by default (older shops look unchanged), a shop turns it on in shop/theme.css */
.card-tagline { display: none; }
.card-foot { margin-top: auto; padding-top: .4rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.card-price { font-weight: 800; font-size: 1.05rem; }
.card-price .price-was { font-weight: 600; font-size: .92rem; color: var(--ink-2); opacity: .7; margin-right: .25rem; }
.card-cta { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .88rem; color: var(--amber-deep); }
@media (max-width: 520px) { .card-cta { display: none; } .card-body { padding: .7rem .75rem .85rem; gap: .3rem; } .card-title { font-size: 1rem; } }

/* Price tiers: 1 / 2 / 3 shirts in one light box. */
.tiers-box { display: grid; gap: .9rem; padding: clamp(16px, 3vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tiers-box .h3 { display: inline-flex; align-items: center; gap: .5rem; }
.tiers-box .h3 .icon { color: var(--amber-deep); }
.tiers { display: grid; gap: .6rem; }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .15rem 1rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.tier--best { background: var(--amber-soft); border-color: #efc987; }
.tier-qty { font-weight: 800; font-size: 1.05rem; }
.tier-price { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.tier-meta { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-2); }
.tier-meta strong { color: var(--ink); }

.faq { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.1rem .2rem; font-weight: 800; font-size: 1.08rem; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); font-size: 1.3rem; font-weight: 700; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 .2rem 1.2rem; color: var(--ink-2); max-width: 64ch; }
.faq-item a { color: var(--amber-deep); font-weight: 700; }

/* 04-product.css */
/* Product page: gallery, buy box, sizes, stepper, sticky mobile CTA, toast. */
.product { display: grid; gap: clamp(20px, 4vw, 56px); padding-top: .5rem; padding-bottom: clamp(24px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .product { grid-template-columns: 1.08fr .92fr; } }

.gallery { display: grid; gap: .75rem; min-width: 0; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--r-lg);
  background: var(--photo); scrollbar-width: none; box-shadow: var(--shadow-1);
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--print { background: radial-gradient(circle at 50% 40%, #fffaf0, #efe6d6); }
.slide--print img { object-fit: contain; padding: 7%; filter: drop-shadow(0 16px 24px rgba(58, 40, 10, .18)); }
.gallery-thumbs { display: flex; gap: .6rem; }
.gthumb {
  display: grid; gap: .3rem; justify-items: center; padding: 0; background: none; border: 0; font-size: .78rem; font-weight: 700; color: var(--ink-2);
}
.gthumb img, .gthumb > .icon { width: 72px; height: 90px; object-fit: cover; border-radius: var(--r-sm); border: 2px solid transparent; background: var(--photo); }
.gthumb--print img { object-fit: contain; padding: 6px; background: #f6efe2; }
.gthumb.is-active { color: var(--ink); }
.gthumb.is-active img { border-color: var(--ink); }

.buybox { display: grid; gap: .9rem; min-width: 0; }
.product-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.product-tagline { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.35; }
.product-desc { color: var(--ink-2); max-width: 56ch; }
.price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-top: .3rem; }
.price-now { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; font-size: 2.5rem; line-height: 1; }
.price-note { font-weight: 700; color: var(--ink-2); }
/* struck-through reference price (catalog pricing.compare_cents) */
.price-was { font-weight: 700; font-size: 1.15rem; color: var(--ink-2); opacity: .75; }
.price-was del { text-decoration-thickness: 2px; }
.vat { margin-top: -.6rem; }
.deals { display: grid; gap: .5rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.deals-label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .92rem; }
.deals-label .icon { color: var(--amber-deep); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.chip--accent { background: var(--amber-soft); border-color: #efc987; }
.chip .icon { width: 1.05em; height: 1.05em; }

.buy { display: grid; gap: 1rem; margin-top: .4rem; }
.sizes { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .7rem; }
.sizes legend { padding: 0; }
.size-chart-toggle summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.size-chart-toggle[open] summary { margin-bottom: .5rem; }
.specs-box .product-desc { margin-block: .2rem .8rem; }
.size-chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .8rem; }
.size-chart-title { font-size: .9rem; margin-bottom: .45rem; }
.size-chart-title span { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.size-chart table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.size-chart th, .size-chart td { padding: .38rem .45rem; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-chart tbody tr:last-child th, .size-chart tbody tr:last-child td { border-bottom: 0; }
.size-chart tbody th { text-align: left; font-weight: 700; color: var(--ink-2); }
.size-chart thead th { font-weight: 800; }
.size-chart .small { margin-top: .45rem; font-size: .8rem; }
.size-options { display: flex; flex-wrap: wrap; gap: .55rem; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-box {
  display: grid; place-items: center; min-width: 62px; min-height: 54px; padding: .3rem .7rem; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line-strong); font-weight: 800; line-height: 1.05; transition: background-color .12s, color .12s, border-color .12s;
}
.size-box:hover { border-color: var(--ink); }
.size input:checked + .size-box { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.size input:focus-visible + .size-box { outline: 3px solid var(--ink); outline-offset: 3px; }
.size input:disabled + .size-box { cursor: not-allowed; opacity: .6; border-style: dashed; }
.size input:disabled + .size-box .size-name { text-decoration: line-through; }
.size-out { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sizes.is-invalid .size-box { border-color: var(--danger); }
.field-error { color: var(--danger); font-weight: 700; font-size: .9rem; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty-row .label { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.stepper-btn { width: 46px; height: 46px; border: 0; background: none; font-size: 1.4rem; font-weight: 700; border-radius: 50%; }
.stepper-btn:hover { background: var(--bg-2); }
.stepper input { width: 3rem; text-align: center; border: 0; background: none; font-weight: 800; font-size: 1.05rem; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm .stepper-btn { width: 38px; height: 38px; font-size: 1.15rem; }
.stepper--sm input { width: 2.4rem; font-size: .98rem; }

.buy-cta-price { display: none; }
@media (max-width: 959px) {
  .page-product main { padding-bottom: 92px; }
  .buy-cta {
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .9rem;
    padding: .7rem clamp(16px, 4vw, 32px) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 252, 246, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(58, 40, 10, .35);
  }
  .buy-cta-price { display: block; font-family: var(--f-display); font-stretch: condensed; font-weight: 800; font-size: 1.7rem; line-height: 1; white-space: nowrap; }
  .buy-cta .btn { flex: 1; }
}

.specs-box { display: grid; gap: .9rem; margin-top: 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.specs { display: grid; }
.spec { display: grid; grid-template-columns: minmax(6.5rem, 30%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { font-weight: 700; }
.spec dd { color: var(--ink-2); }
.specs-box a { color: var(--amber-deep); font-weight: 700; }
.more { background: var(--bg-2); }
.more .h2 { margin-bottom: clamp(20px, 3vw, 32px); }

.toast {
  position: fixed; z-index: 60; right: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); padding: 1rem 1.1rem;
  background: var(--ink); color: var(--bg); border-radius: 18px; box-shadow: var(--shadow-2); display: grid; gap: .6rem;
  animation: toast-in .25s ease;
}
@media (max-width: 959px) { .toast { left: 16px; right: 16px; width: auto; bottom: calc(96px + env(safe-area-inset-bottom)); } }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }
.toast-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.05rem; }
.toast-title .icon { color: var(--amber); }
.toast-text { color: #d9d1c3; font-size: .92rem; }
.toast-hint { color: var(--amber); font-weight: 700; font-size: .92rem; }
.toast-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.toast .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.toast .btn--ghost { border-color: rgba(246, 240, 228, .5); color: var(--bg); }
.toast :focus-visible { outline-color: var(--amber); }

/* Product information & safety (GPSR Art. 19) — collapsible, styled like the size chart. */
.gpsr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.gpsr-summary {
  display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; cursor: pointer; list-style: none; font-weight: 700; font-size: .92rem;
}
.gpsr-summary::-webkit-details-marker { display: none; }
.gpsr-summary .icon { width: 1.15em; height: 1.15em; color: var(--amber-deep); flex: 0 0 auto; }
.gpsr-summary span { flex: 1; }
.gpsr-summary::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); font-size: 1.1rem; transition: transform .2s ease; }
.gpsr[open] .gpsr-summary::after { transform: rotate(45deg); }
.gpsr-summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: var(--r); }
.gpsr-list { display: grid; padding: 0 .8rem .6rem; }
.gpsr-row { display: grid; grid-template-columns: minmax(6.5rem, 34%) 1fr; gap: .8rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .88rem; }
.gpsr-row dt { font-weight: 700; }
.gpsr-row dd { color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 420px) { .gpsr-row { grid-template-columns: 1fr; gap: .15rem; } }

/* выбор цвета бланка (catalog.product.colors) */
.colors { border: 0; padding: 0; margin: 0 0 1rem; }
.color-options { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.color input { position: absolute; opacity: 0; width: 0; height: 0; }
.color-box { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .5rem .8rem; cursor: pointer; }
.color-dot { width: 18px; height: 18px; border: 1px solid var(--line); flex: none; }
.color-name { font-weight: 700; }
.color-ink { color: var(--ink-2); font-size: .85rem; }
.color input:checked + .color-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.color input:focus-visible + .color-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.gallery-note { margin: .5rem 0 0; font-size: .8rem; color: var(--ink-2); }

/* 05-shop.css */
/* Cart, checkout, order status, withdrawal, legal, 404. */
.shop { padding-bottom: clamp(24px, 5vw, 56px); }
.shop-grid { display: grid; gap: clamp(18px, 3vw, 32px); align-items: start; }
@media (min-width: 900px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .shop-grid > .summary { position: sticky; top: calc(var(--header-h) + 16px); }
}
.empty { display: grid; justify-items: center; text-align: center; gap: .8rem; padding-block: clamp(32px, 6vw, 56px); }
.empty-icon .icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-deep); }

.lines { display: grid; gap: .75rem; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: .9rem; align-items: start; background: var(--surface); border-radius: 18px; padding: .75rem; box-shadow: var(--shadow-1); }
.line--warn { outline: 2px solid var(--amber); }
.line-thumb { display: block; width: 92px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--photo); }
.line-thumb img, .line-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.line-thumb .ph .icon { width: 55%; }
.line-thumb .ph-title, .line-thumb .ph-note { display: none; }
.line-info { display: grid; gap: .3rem; min-width: 0; }
.line-title { font-weight: 800; line-height: 1.2; text-decoration: none; }
.line-title:hover { text-decoration: underline; }
.line-meta { font-size: .88rem; color: var(--ink-2); }
.line-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: .25rem; }
.line-remove { background: none; border: 0; padding: .4rem 0; min-height: 44px; font-weight: 700; font-size: .88rem; color: var(--ink-2); text-decoration: underline; }
.line-remove:hover { color: var(--danger); }
.line-price { font-weight: 800; white-space: nowrap; text-align: right; }
.line-warn { grid-column: 1 / -1; font-size: .88rem; font-weight: 700; color: var(--amber-deep); }
@media (max-width: 520px) { .line { grid-template-columns: 76px minmax(0, 1fr); } .line-thumb { width: 76px; } .line-price { grid-column: 2; text-align: left; } }

.summary { display: grid; gap: 1rem; }
.totals { display: grid; gap: .55rem; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.totals dt { color: var(--ink-2); }
.totals dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.totals .is-saved dd { color: var(--amber-deep); }
.totals .is-total { border-top: 2px solid var(--ink); padding-top: .7rem; margin-top: .2rem; }
.totals .is-total dt { color: var(--ink); font-weight: 800; }
.totals .is-total dd { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.upsell { display: flex; gap: .6rem; align-items: flex-start; background: var(--amber-soft); border-radius: var(--r); padding: .75rem .9rem; font-weight: 700; font-size: .92rem; }
.upsell .icon { color: var(--amber-deep); }
.eta-line { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.eta-line .icon { flex: 0 0 auto; width: 1.15em; height: 1.15em; margin-top: .1em; color: var(--amber-deep); }
.mini-trust { display: grid; gap: .45rem; font-size: .85rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: .9rem; }
.mini-trust li { display: flex; align-items: center; gap: .5rem; }
.mini-trust .icon { color: var(--amber-deep); width: 1.1em; height: 1.1em; }
.mini-lines { display: grid; gap: .6rem; }
.mini-line { display: grid; grid-template-columns: 48px 1fr auto; gap: .65rem; align-items: center; font-size: .9rem; }
.mini-line .line-thumb { width: 48px; border-radius: 8px; }
.mini-line strong { display: block; line-height: 1.2; }

.steps { display: flex; flex-wrap: wrap; gap: .5rem; }
.step { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.step span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); font-size: .82rem; }
.step.is-current { color: var(--ink); border-color: var(--ink); }
.step.is-current span { background: var(--ink); color: var(--bg); }
.step.is-done span { background: var(--amber); }
.checkout-main { display: grid; gap: 1rem; min-width: 0; }
.checkout-main .panel, .shop > .panel { display: grid; gap: 1.1rem; }
.step-n { margin-bottom: -.8rem; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem .8rem; }
.field { grid-column: span 6; min-width: 0; }
.field--half { grid-column: span 3; }
.field--wide { grid-column: span 4; }
.field--narrow { grid-column: span 2; }
@media (max-width: 380px) { .field--half { grid-column: span 6; } }
.ship-note { grid-column: 1 / -1; margin: 0; font-weight: 600; } /* «Versand nach X: 5,90 €. Kostenlos ab 3 Shirts.» — ILLEGAL TO WEAR 01.10 */
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem .9rem; border: 2px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); font-size: 1rem; line-height: 1.3;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--amber-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.field .field-error { margin-top: .35rem; }
.hint { font-size: .85rem; color: var(--ink-2); margin-top: .35rem; }
.form-error { background: var(--danger-soft); border-left: 4px solid var(--danger); color: #7d1a14; border-radius: 8px; padding: .75rem .9rem; font-weight: 700; }

.review-block { display: grid; gap: .6rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.review-block .btn { justify-self: start; min-height: 44px; }
.review-block a { color: var(--amber-deep); font-weight: 700; justify-self: start; }
.review-lines { display: grid; gap: .7rem; }
.review-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; }
.review-line .line-thumb { width: 64px; border-radius: 10px; }
.review-line strong { display: block; line-height: 1.2; }
.address-big { font-style: normal; font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 800; line-height: 1.4; background: var(--bg); border: 2px dashed var(--amber); border-radius: var(--r); padding: 1rem 1.1rem; overflow-wrap: anywhere; }
.warning { display: flex; gap: .8rem; align-items: flex-start; background: #fff3d9; border: 2px solid var(--amber); border-radius: 16px; padding: 1rem; }
.warning .icon { color: var(--amber-deep); width: 1.6em; height: 1.6em; }
.warning p { margin-top: .25rem; }
.terms-note { font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.terms-note a { color: var(--amber-deep); font-weight: 700; }
.review .center { display: flex; justify-content: center; align-items: center; gap: .4rem; }

/* 06-pages.css */
/* Order status timeline, withdrawal, legal prose, 404. */
.order-body { display: grid; gap: 1rem; }
.order-head { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.order-head dt { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.order-head dd { font-weight: 800; font-size: 1.1rem; margin-top: .2rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: 999px; background: var(--amber-soft); font-weight: 800; font-size: .92rem; }
.badge--ok { background: #dff1dc; color: #1e4d1a; }
.badge--bad { background: var(--danger-soft); color: #7d1a14; }
.timeline { display: grid; margin-top: 1rem; }
.tl-step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: .8rem; padding-bottom: 1.2rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.tl-step:last-child::before { display: none; }
.tl-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-strong); color: var(--ink); }
.tl-dot .icon { width: 18px; height: 18px; }
.tl-step.is-done .tl-dot { background: var(--amber); border-color: var(--amber); }
.tl-step.is-done::before { background: var(--amber); }
.tl-step.is-current .tl-dot { border-color: var(--ink); box-shadow: 0 0 0 4px var(--amber-soft); }
.tl-label { font-weight: 800; padding-top: .35rem; }
.tl-step:not(.is-done):not(.is-current) .tl-label { color: var(--ink-2); font-weight: 600; }
.tl-date { display: block; font-size: .85rem; color: var(--ink-2); font-weight: 400; }
.order-msg-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
[data-tracking] a { color: var(--amber-deep); font-weight: 800; }
.order-withdraw { font-size: .9rem; }
.order-withdraw a { color: var(--amber-deep); font-weight: 700; }

.review-dl { display: grid; gap: .1rem; }
.review-dl > div { display: grid; grid-template-columns: minmax(7rem, 35%) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.review-dl dt { font-weight: 700; }
.review-dl dd { overflow-wrap: anywhere; white-space: pre-line; }
.done { justify-items: center; text-align: center; }
.done-icon .icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--amber); color: var(--ink); }

.legal-body { display: grid; gap: 2rem; padding-bottom: 2rem; }
.prose { max-width: 70ch; font-size: 1.02rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.45rem; font-weight: 800; line-height: 1.25; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.6rem; }
.prose h4 { font-size: 1rem; font-weight: 800; margin-top: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--amber-deep); font-weight: 600; overflow-wrap: anywhere; }
.prose blockquote { margin: 1.2rem 0 0; padding: .9rem 1.1rem; background: var(--surface); border-left: 4px solid var(--amber); border-radius: 0 var(--r) var(--r) 0; }
.legal-more ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.legal-more a { display: inline-flex; min-height: 44px; align-items: center; padding: .4rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; text-decoration: none; font-size: .92rem; }
.legal-more a:hover { border-color: var(--ink); }

.notfound-in { display: grid; gap: 1rem; justify-items: start; padding-block: clamp(40px, 8vw, 96px); }
.notfound-code { font-family: var(--f-display); font-stretch: condensed; font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: .8; color: transparent; -webkit-text-stroke: 3px var(--amber); }
.notfound-in a:not(.btn) { color: var(--amber-deep); font-weight: 700; }

/* theme from shop.json */
:root { --bg: #0c0c0c; --bg-2: #141414; --surface: #161616; --photo: #ececea; --ink: #f3f0ea; --ink-2: #a8a39a; --line: #2a2a2a; --line-strong: #5a5650; --amber: #9b1c31; --amber-hover: #b8243c; --amber-soft: #2e1016; --amber-deep: #ef8a9a; --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --f-display: "Helvetica Neue", "Avenir Next Condensed", "Bahnschrift Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, Arial, sans-serif; }

/* blank colours */
.color-dot--white { background: #f8f8f8; }
.color-dot--black { background: #141414; }

/* shop/theme.css */
/* ILLEGAL TO WEAR — вид магазина поверх стилей движка (engine/web/build.mjs дописывает этот файл в конец site.css).
   Тёмный, провокационный минимализм: почти чёрный лист, жирный узкий гротеск капсом, бордо принтов как единственный акцент,
   прямые углы, без теней. Системные шрифты — ни одного внешнего запроса. */
:root {
  color-scheme: dark;
  --r-lg: 2px; --r: 2px; --r-sm: 2px;
  --shadow-1: none; --shadow-2: none;
  --danger: #ff6b6b; --danger-soft: #2a1212;
}
.display, .h1, .h2, .h3, .product-title, .intro-title, .card-title, .price-now, .tier-price, .buy-cta-price, .brand-name {
  font-family: var(--f-display); font-stretch: condensed; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase;
}

/* Шапка и знак: «ILLEGAL TO WEAR» штампом в бордовой рамке, чуть наклонён — как печать на запрещённом */
.site-header { background: rgba(12, 12, 12, .94); border-bottom: 1px solid var(--line); }
.bar { background: var(--amber); color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.brand-mark { display: none; }
.brand-name {
  display: inline-block; font-size: 1.05rem; line-height: 1; padding: .28em .45em .22em; border: 2px solid var(--amber);
  color: var(--ink); transform: rotate(-3deg); white-space: nowrap;
}
.brand--footer .brand-name { font-size: 1.3rem; }
.nav-cart, .nav-lang { border-radius: var(--r); border-color: var(--line-strong); }
.cart-count { background: var(--amber); color: #fff; box-shadow: 0 0 0 2px var(--bg); }

/* Кнопки: бордо, прямоугольные, белый текст */
.btn { border-radius: var(--r); letter-spacing: .04em; text-transform: uppercase; font-weight: 800; }
.btn--primary { background: var(--amber); color: #fff; box-shadow: none; }
.btn--primary:hover { background: var(--amber-hover); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.chip, .intro-offer, .stepper, .stepper-btn, .withdraw-link { border-radius: var(--r); }
.chip--accent { background: var(--amber-soft); color: var(--ink); }

/* Первый экран: слоган как принт — крупно, узко, капсом; дескриптор под ним */
.intro { padding-block: 26px 16px; }
.intro-title { font-size: clamp(2.4rem, 11vw, 5.2rem); line-height: .92; }
.intro-sub { margin-top: .4rem; font-size: clamp(1rem, 3.4vw, 1.3rem); line-height: 1.3; color: var(--ink-2); font-weight: 500; }
.intro-meta { margin-top: .5rem; color: var(--ink-2); font-weight: 600; }
.intro-offer { background: none; border: 0; padding: 0; font-weight: 700; color: var(--ink); }
.intro-offer .icon { color: var(--amber-deep); }

/* Сетка: мокап на светлой плитке, под ним строка и цена; без плашек */
.card-link { background: none; box-shadow: none; border-radius: 0; }
.card-link:hover { transform: none; box-shadow: none; }
.card-link:hover .card-title { color: var(--amber-deep); }
.card-media { border-radius: var(--r); background: var(--photo); }
.card-body, .grid--home .card-body { padding: .6rem 0 0; }
.card-title, .grid--home .card-title { font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.05; }
.card-cta { color: var(--amber-deep); }

/* Блоки: линии вместо коробок */
.tiers-box, .specs-box, .note-box, .gpsr, .faq-item, .toast, .summary, .checkout-box { border-color: var(--line); }
.tier--best { border-color: var(--amber); }
.faq-item summary { font-weight: 700; }
a:hover { color: var(--amber-deep); }

/* Страница принта: выбор цвета и размещения — одинаковые плитки */
.color-box, .size-box { border-radius: var(--r); border-color: var(--line-strong); }
.color input:checked + .color-box, .size input:checked + .size-box { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.color-dot--black { background: #000; box-shadow: 0 0 0 1px #666; }
.color-dot--white { background: #f8f8f8; }
.gallery-track .slide, .gthumb img { background: var(--photo); }

/* Поля формы на тёмном фоне */
input, select, textarea { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }

/* Движок рисует часть блоков «инверсией» (фон = --ink, текст = --bg) и с зашитым кремовым фоном — на тёмной теме их переопределяем */
.site-header { background: rgba(12, 12, 12, .94); }
.site-footer { background: #000; color: var(--ink); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); text-decoration-color: rgba(243, 240, 234, .35); }
.brand--footer { color: var(--ink); }
.footer-base { border-top-color: var(--line); }
.nav-cart { background: var(--amber); color: #fff; border-color: var(--amber); }
.buy-cta { background: rgba(12, 12, 12, .96); border-top: 1px solid var(--line); }
.size input:checked + .size-box { background: var(--amber); border-color: var(--amber); color: #fff; }
.toast { background: #1d1d1d; color: var(--ink); border: 1px solid var(--line-strong); }
.toast .btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--dark { background: var(--ink); color: #0c0c0c; }
.step.is-current span { background: var(--amber); color: #fff; }
.ph .icon { color: #333; }

