/* =====================================================================
   Wilde Sau — storefront theme (house style v2, weathered).
   Loaded after shop.css; the last section maps the shared shop.css
   components (forms, tables, cart, checkout, account) onto the tokens.
   ===================================================================== */

/* Fonts are self-hosted (public/fonts) so no visitor data is sent to
   Google — see public/fonts/README.md. */
/* Barlow 400 — latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 400 — latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow 500 — latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 500 — latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow 600 — latin-ext */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow 600 — latin */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow Condensed 600 — latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow Condensed 600 — latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow Condensed 700 — latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow Condensed 700 — latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Barlow Condensed 800 — latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Barlow Condensed 800 — latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/barlow-condensed-normal-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Big Shoulders Stencil Display 800–900 — latin-ext */
@font-face { font-family: 'Big Shoulders Stencil Display'; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url('../fonts/big-shoulders-stencil-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Big Shoulders Stencil Display 800–900 — latin */
@font-face { font-family: 'Big Shoulders Stencil Display'; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url('../fonts/big-shoulders-stencil-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Special Elite 400 — latin-ext */
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/special-elite-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Special Elite 400 — latin */
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/special-elite-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
   Wilde Sau — design tokens (generated from the design system, v2)
   Theme "nacht" is the default. Add data-theme="tag" on <html> or any
   wrapper for the logbook-paper theme (invoices, certificates, print).
   ===================================================================== */
:root, [data-theme="nacht"] {
  --surface: #15130f;
  --surface-raised: #1e1b16;
  --surface-sunken: #0d0c09;
  --line: #3a342b;
  --ink: #e6dfcf;
  --ink-muted: #a39a87;
  --rumpfband: #d9a521;
  --on-rumpfband: #15130f;
  --accent-text: var(--rumpfband);
  --lichtblau: #a9b7b6;
  --schwarzgrau: #2a2c28;
  --on-schwarzgrau: #e6dfcf;
  --motorol: #b07a32;
  --signal-rot: #dc6450;
  --signal-gruen: #9aae6e;
  --link: var(--accent-text);
  --shadow-float: 0 12px 32px -8px #000000d9;
  --focus-ring: 0 0 0 2px #15130f, 0 0 0 4px #d9a521;
  color-scheme: dark;
}
[data-theme="tag"] {
  --surface: #e4dac3;
  --surface-raised: #efe7d4;
  --surface-sunken: #d6cbb0;
  --line: #b9ad92;
  --ink: #1c1912;
  --ink-muted: #5c5444;
  --rumpfband: #c8941a;
  --on-rumpfband: #15130f;
  --accent-text: #6e5208;
  --lichtblau: #4a5f5f;
  --schwarzgrau: #2a2c28;
  --on-schwarzgrau: #e6dfcf;
  --motorol: #6b4513;
  --signal-rot: #9a2318;
  --signal-gruen: #46602a;
  --link: var(--accent-text);
  --shadow-float: 0 12px 28px -8px #1c191240;
  --focus-ring: 0 0 0 2px #e4dac3, 0 0 0 4px #6e5208;
  color-scheme: light;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-0: 0px;
  --radius-sm: 2px;
  --radius-full: 9999px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-stencil: "Big Shoulders Stencil Display", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Special Elite", "Courier New", Courier, monospace;
}

/* Wilde Sau, v2 verweerd. Alles via tokens; prefix ws-.
   Textuur: --ws-grain (korrel), --ws-chips (afgebladderde verf, als mask). */
:root {
  --ws-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08  0 0 0 0 .06  0 0 0 0 .03  2.4 0 0 0 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");
  --ws-chips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='c' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06 .12' numOctaves='3' seed='9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' seed='2' result='f'/%3E%3CfeComposite in='b' in2='f' operator='arithmetic' k2='.75' k3='.45'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  -18 0 0 0 12.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23fff' filter='url%28%23c%29'/%3E%3C/svg%3E");
  --ws-chips-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='c' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06 .12' numOctaves='3' seed='9' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' seed='2' result='f'/%3E%3CfeComposite in='b' in2='f' operator='arithmetic' k2='.75' k3='.45'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  -18 0 0 0 14.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23fff' filter='url%28%23c%29'/%3E%3C/svg%3E");
}
body { background: var(--surface); color: var(--ink); font-family: var(--font-sans); margin: 0; position: relative; }

/* Korrel over het hele vlak: zet .ws-grain op body of een sectie */
.ws-grain { position: relative; isolation: isolate; }
.ws-grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--ws-grain); opacity: .55; z-index: 1; }
/* Olievlek: warme, onregelmatige vlek in een hoek */
.ws-oil { background-image:
  radial-gradient(ellipse 38% 26% at 88% 92%, color-mix(in srgb, var(--motorol) 28%, transparent), transparent 70%),
  radial-gradient(ellipse 14% 10% at 72% 98%, color-mix(in srgb, var(--motorol) 22%, transparent), transparent 70%); }
/* Afgebladderde verf: op gele vlakken, knoppen, stempels */
.ws-worn { -webkit-mask-image: var(--ws-chips); mask-image: var(--ws-chips); -webkit-mask-size: 300px 120px; mask-size: 300px 120px; }

.ws-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }

/* Button */
.ws-btn { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius-0); padding: 12px 20px; cursor: pointer; background: none; color: var(--ink); }
.ws-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ws-btn--primary { position: relative; isolation: isolate; color: var(--on-rumpfband); }
.ws-btn--primary::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--rumpfband); -webkit-mask-image: var(--ws-chips-light); mask-image: var(--ws-chips-light); -webkit-mask-size: 300px 120px; mask-size: 300px 120px; }
.ws-btn--primary:hover { filter: brightness(1.1); }
.ws-btn--secondary { border-color: var(--ink); }
.ws-btn--secondary:hover { background: var(--surface-raised); }
.ws-btn--text { padding-inline: 0; color: var(--accent-text); border-bottom: 2px solid transparent; }
.ws-btn--text:hover { border-bottom-color: var(--motorol); }
.ws-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Label / status */
.ws-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.ws-status { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ws-status::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: currentColor; }
.ws-status--ok { color: var(--signal-gruen); }
.ws-status--sold { color: var(--signal-rot); }

/* Rompband: verweerde gele streep */
.ws-rumpfband { height: 8px; background: var(--rumpfband); -webkit-mask-image: var(--ws-chips); mask-image: var(--ws-chips); -webkit-mask-size: 300px 120px; mask-size: 300px 120px; }

/* Hero in sjabloonletter */
.ws-hero { font-family: var(--font-stencil); font-weight: 900; font-size: 80px; line-height: 72px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); margin: 0; }

/* ProductCard */
.ws-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-0); display: flex; flex-direction: column; max-width: 320px; }
.ws-card__media { aspect-ratio: 4 / 3; background-color: var(--surface-sunken); position: relative; overflow: hidden; max-width: 100%; }
.ws-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.ws-card__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 24px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.ws-card__meta { font-family: var(--font-mono); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ws-card__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-top: 1px dashed var(--line); padding: var(--space-3) var(--space-4); }
.ws-price { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

/* DataPlate: geklonken typeplaatje met schrijfmachineletter */
.ws-plate { --rivet: radial-gradient(circle at 50% 50%, var(--lichtblau) 0 2.5px, transparent 3px);
  border: 1px solid var(--lichtblau); background: var(--rivet) 6px 6px / 10px 10px no-repeat, var(--rivet) calc(100% - 6px) 6px / 10px 10px no-repeat,
  var(--rivet) 6px calc(100% - 6px) / 10px 10px no-repeat, var(--rivet) calc(100% - 6px) calc(100% - 6px) / 10px 10px no-repeat, var(--surface-raised);
  max-width: 380px; font-family: var(--font-mono); font-size: 14px; line-height: 20px; padding: var(--space-3) var(--space-6) var(--space-4); }
.ws-plate__head { font-family: var(--font-display); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lichtblau); text-align: center; padding-bottom: var(--space-2); border-bottom: 2px solid var(--lichtblau); }
.ws-plate dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: var(--space-4); }
.ws-plate dt, .ws-plate dd { margin: 0; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.ws-plate dt { color: var(--ink-muted); }
.ws-plate dd { color: var(--ink); }

/* Stamp: rubberstempel */
.ws-stamp { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 20px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--signal-rot); border: 3px double var(--signal-rot); padding: 6px 12px 5px; transform: rotate(-6deg); opacity: .88;
  -webkit-mask-image: var(--ws-chips); mask-image: var(--ws-chips); -webkit-mask-size: 160px 64px; mask-size: 160px 64px; }
.ws-stamp small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: none; text-align: center; margin-top: 2px; }
.ws-stamp--ink { color: var(--ink-muted); border-color: var(--ink-muted); transform: rotate(4deg); }

/* Logo lockup */
.ws-logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.ws-logo img { width: 64px; height: 64px; display: block; }
.ws-logo__word { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 32px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ws-logo__sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 12px; line-height: 14px; letter-spacing: .2em; color: var(--accent-text); margin-top: 6px; }

.ws-card__foot .ws-btn { padding: 10px 14px; }

/* =====================================================================
   Layout — shell, header, footer, grids, product page
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 26px; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--motorol); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ws-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ws-container { width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--space-4), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-4), env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .ws-container { padding-left: max(var(--space-8), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-8), env(safe-area-inset-right, 0px)); } }
.ws-main { flex: 1; }
.ws-section { padding-block: var(--space-12); }
.ws-eyebrow { font-family: var(--font-mono); font-size: 14px; line-height: 20px; color: var(--accent-text); margin: 0; }
.ws-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 6vw, 44px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.ws-h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 30px; letter-spacing: .02em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.ws-lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 60ch; margin: 0; }
.ws-prose { max-width: 65ch; }
.ws-prose p { margin: 0 0 var(--space-4); }
.ws-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); }

/* Header */
.ws-header { background: var(--schwarzgrau); color: var(--on-schwarzgrau); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.ws-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 76px; padding-block: var(--space-2); }
.ws-header .ws-logo__word { color: var(--on-schwarzgrau); }
.ws-header .ws-logo__sub { color: var(--rumpfband); }
.ws-header .ws-logo img { width: 52px; height: 52px; }
.ws-header .ws-logo__word { font-size: 30px; line-height: 26px; }
.ws-logo { text-decoration: none; }
.ws-nav { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; }
.ws-nav a { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-schwarzgrau); text-decoration: none; padding-block: var(--space-2); border-bottom: 2px solid transparent; }
.ws-nav a:hover, .ws-nav a[aria-current="page"] { border-bottom-color: var(--rumpfband); }
.ws-nav__cart { display: inline-flex; gap: var(--space-2); align-items: center; }
.ws-nav__count { font-family: var(--font-mono); font-size: 13px; color: var(--rumpfband); }
.ws-menu-toggle { display: none; }
@media (max-width: 760px) {
  .ws-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding-bottom: var(--space-4); }
  .ws-header__bar { flex-wrap: wrap; }
  .ws-menu-toggle { display: inline-flex; color: var(--on-schwarzgrau); border-color: var(--on-schwarzgrau); padding: 8px 12px; }
  .ws-header[data-open] .ws-nav { display: flex; }
  .ws-header .ws-logo__sub { display: none; }
}

/* Footer */
.ws-footer { background: var(--schwarzgrau); color: var(--on-schwarzgrau); margin-top: var(--space-16); }
.ws-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-8); padding-block: var(--space-12); }
.ws-footer h2 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rumpfband); margin: 0 0 var(--space-3); }
.ws-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.ws-footer a { color: var(--on-schwarzgrau); text-decoration: none; }
.ws-footer a:hover { text-decoration: underline; text-decoration-color: var(--motorol); }
.ws-footer p { margin: 0; color: var(--on-schwarzgrau); opacity: .75; max-width: 40ch; }
.ws-footer__base { border-top: 1px solid color-mix(in srgb, var(--on-schwarzgrau) 18%, transparent); padding-block: var(--space-4); font-family: var(--font-mono); font-size: 13px; opacity: .7; }

/* Hero (page) */
.ws-hero-block { background-color: var(--schwarzgrau); color: var(--on-schwarzgrau); }
.ws-hero-block__inner { padding-block: var(--space-16); display: grid; gap: var(--space-4); }
.ws-hero-block .ws-hero { color: var(--on-schwarzgrau); font-size: clamp(56px, 11vw, 112px); line-height: .9; position: relative; z-index: 2; }
.ws-hero-block .ws-eyebrow { color: var(--rumpfband); position: relative; z-index: 2; }
.ws-hero-block .ws-rumpfband { width: 160px; position: relative; z-index: 2; }
.ws-hero-block__text { margin: 0; max-width: 52ch; font-size: 19px; line-height: 30px; opacity: .85; position: relative; z-index: 2; }
.ws-hero-block__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); position: relative; z-index: 2; }
.ws-hero-block .ws-btn--secondary { border-color: var(--on-schwarzgrau); color: var(--on-schwarzgrau); }

/* Product grid */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-8); }
.ws-grid .ws-card { max-width: none; }
.ws-card__link { color: inherit; text-decoration: none; }
.ws-card__link:hover .ws-card__title { text-decoration: underline; text-decoration-color: var(--motorol); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ws-card__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 0; }
.ws-card__media .ws-stamp { position: absolute; right: var(--space-3); top: var(--space-4); z-index: 2; }
.ws-card__desc { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-card--sold .ws-card__media img { filter: grayscale(.6) brightness(.8); }
.ws-empty { border: 1px dashed var(--line); padding: var(--space-12) var(--space-6); text-align: center; color: var(--ink-muted); }

/* Filters */
.ws-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.ws-chip { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--radius-sm); }
.ws-chip[aria-current="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* Product page */
.ws-breadcrumb { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); padding-block: var(--space-6) 0; }
.ws-breadcrumb a { color: var(--ink-muted); }
.ws-product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-12); padding-block: var(--space-8) var(--space-12); }
@media (max-width: 860px) { .ws-product { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
.ws-gallery { display: grid; gap: var(--space-3); }
.ws-gallery__main { aspect-ratio: 4 / 3; background-color: var(--surface-sunken); position: relative; overflow: hidden; }
.ws-gallery__main img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 0; }
.ws-gallery__main .ws-stamp { position: absolute; right: var(--space-4); top: var(--space-6); z-index: 2; }
.ws-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.ws-gallery__thumbs img { aspect-ratio: 1; object-fit: cover; background: var(--surface-sunken); border: 1px solid var(--line); }
.ws-product__info { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.ws-product__price { display: flex; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.ws-product__price .ws-price { font-size: 36px; }
.ws-product__buy { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ws-product__note { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.ws-product .ws-plate { max-width: none; }
a.ws-btn { display: inline-block; text-decoration: none; }

/* Fixes: no wrapping in logo and buttons, German hyphenation for names */
.ws-logo__word, .ws-btn, .ws-nav a { white-space: nowrap; }
.ws-card__foot { flex-wrap: wrap; }
.ws-h1, .ws-card__title { hyphens: auto; overflow-wrap: break-word; }
.ws-footer__base { border-top: 0; position: relative; }
.ws-footer__base::before { content: ""; position: absolute; top: 0; left: max(var(--space-4), env(safe-area-inset-left, 0px)); right: max(var(--space-4), env(safe-area-inset-right, 0px)); border-top: 1px solid color-mix(in srgb, var(--on-schwarzgrau) 18%, transparent); }
@media (min-width: 768px) { .ws-footer__base::before { left: var(--space-8); right: var(--space-8); } }
@media (min-width: 761px) { .ws-nav { flex-wrap: nowrap; gap: var(--space-4); } .ws-nav a { font-size: 14px; letter-spacing: .12em; } }
@media (max-width: 1080px) and (min-width: 761px) { .ws-header .ws-logo__sub { display: none; } }

/* =====================================================================
   Shop additions — pieces the kit leaves to the shop: skip link, no-JS
   menu, card placeholder, gallery thumbnails, listing toolbar.
   ===================================================================== */
.ws-skip:focus { position: fixed; left: var(--space-4); top: var(--space-4); width: auto; height: auto; clip: auto; z-index: 50;
  background: var(--rumpfband); color: var(--on-rumpfband); padding: var(--space-2) var(--space-4); font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 760px) { .ws-header:not([data-js]) .ws-nav { display: flex; } .ws-header:not([data-js]) .ws-menu-toggle { display: none; } }
.ws-nav form { margin: 0; }
.ws-nav button { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-schwarzgrau); background: none; border: 0; padding: var(--space-2) 0; cursor: pointer; }

.ws-card__media { display: grid; place-items: center; }
.ws-card__placeholder, .ws-gallery__placeholder { display: grid; justify-items: center; gap: var(--space-3); font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); position: relative; z-index: 2; }
.ws-card__placeholder img, .ws-gallery__placeholder img { width: 72px; height: 72px; opacity: .35; filter: grayscale(.5); }
.ws-gallery__main { display: grid; place-items: center; }
.ws-card__foot form { margin: 0; }
.ws-price del { font-size: .7em; color: var(--ink-muted); margin-right: var(--space-2); font-weight: 600; }
.ws-price__vat { display: block; margin-top: var(--space-1); font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 400; letter-spacing: 0; }

.ws-gallery__thumbs button { padding: 0; border: 1px solid var(--line); background: var(--surface-sunken); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.ws-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.ws-gallery__thumbs button[aria-pressed="true"] { border-color: var(--rumpfband); box-shadow: inset 0 0 0 1px var(--rumpfband); }
.ws-product__buy form { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; margin: 0; }
.ws-product__buy label { margin: 0; width: 88px; }
.ws-product__lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }

.ws-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-6); }
.ws-toolbar form { display: flex; gap: var(--space-2); align-items: center; margin: 0; }
.ws-toolbar input[type=search] { width: min(320px, 70vw); }
.ws-toolbar label { margin: 0; display: flex; gap: var(--space-2); align-items: center; }
.ws-toolbar select { width: auto; }
.ws-filters--sub { margin-top: calc(-1 * var(--space-4)); }
.ws-filters--sub .ws-chip { font-size: 12px; padding: 4px 10px; }

.ws-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; }
@media (max-width: 860px) { .ws-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
.ws-prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: .02em; text-transform: uppercase; margin: var(--space-8) 0 var(--space-3); }
.ws-prose ul { padding-left: 1.2em; margin: 0 0 var(--space-4); }
.ws-prose > :first-child { margin-top: 0; }
.ws-section + .ws-section { padding-top: 0; }
.ws-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   Shop pages — maps the shared component styles in shop.css (forms,
   tables, cart, checkout, account) onto the Wilde Sau tokens.
   ===================================================================== */
body.ws {
  --bg: var(--surface);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --border: var(--line);
  --primary: var(--accent-text);
  --primary-dark: var(--accent-text);
  --danger: var(--signal-rot);
  --success: var(--signal-gruen); --success-bg: transparent;
  --error: var(--signal-rot);     --error-bg: transparent;
  --info: var(--lichtblau);       --info-bg: transparent;
  --radius: 0;
  --shadow: none;
}
.ws-page { padding-block: var(--space-8) var(--space-12); }
.ws-page h1:not([class]) { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 6vw, 44px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 var(--space-6); text-wrap: balance; }
.ws-page h2:not([class]) { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: .02em; text-transform: uppercase; margin: var(--space-8) 0 var(--space-4); }
.ws .panel h2:first-child, .ws .checkout-summary h2 { margin-top: 0; }
.ws .narrow { max-width: 440px; }
.ws .muted { color: var(--ink-muted); }
.ws .small { font-size: 14px; line-height: 20px; }

/* Buttons */
.ws .btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 16px;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; border: 2px solid transparent; border-radius: 0; padding: 12px 20px; background: none; color: var(--on-rumpfband); text-decoration: none; cursor: pointer; }
.ws .btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--rumpfband); -webkit-mask-image: var(--ws-chips-light); mask-image: var(--ws-chips-light); -webkit-mask-size: 300px 120px; mask-size: 300px 120px; }
.ws .btn:hover { background: none; filter: brightness(1.1); }
.ws .btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ws .btn-secondary { color: var(--ink); border-color: var(--ink); }
.ws .btn-secondary::before { content: none; }
.ws .btn-secondary:hover { background: var(--surface-raised); filter: none; }
.ws .btn-small { padding: 8px 12px; font-size: 13px; }
.ws .btn-block { display: flex; width: 100%; margin: var(--space-3) 0; }
.ws .link-button { color: var(--accent-text); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.ws .link-button:hover { text-decoration: underline; text-decoration-color: var(--motorol); }

/* Forms */
.ws label { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4); }
.ws label .muted { text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-weight: 400; }
.ws label.checkbox, .ws label.radio { font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ws input[type=text], .ws input[type=email], .ws input[type=password], .ws input[type=number], .ws input[type=search], .ws input[type=tel], .ws select, .ws textarea {
  font: 400 16px/22px var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface-sunken); border: 1px solid var(--line); border-radius: 0; padding: 10px 12px; }
.ws input::placeholder, .ws textarea::placeholder { color: var(--ink-muted); opacity: .8; }
.ws input:focus, .ws select:focus, .ws textarea:focus { outline: none; border-color: var(--rumpfband); box-shadow: var(--focus-ring); }
.ws input[type=radio], .ws input[type=checkbox] { accent-color: var(--rumpfband); }
.ws fieldset { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 0; padding: var(--space-4) var(--space-6) var(--space-1); margin: 0 0 var(--space-6); }
.ws legend { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); padding: 0 var(--space-2); }

/* Alerts */
.ws .alert { background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--lichtblau); border-radius: 0; }
.ws .alert-success { border-left-color: var(--signal-gruen); }
.ws .alert-error { border-left-color: var(--signal-rot); }

/* Panels, tables, totals */
.ws .panel, .ws .checkout-summary { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.ws .checkout-summary { top: calc(76px + var(--space-4)); }
.ws .table { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 0; }
.ws .table th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); background: transparent; border-bottom: 2px solid var(--line); }
.ws .table td { border-bottom: 1px dotted var(--line); }
.ws .cart-product { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; }
.ws .cart-product img { border-radius: 0; border: 1px solid var(--line); }
.ws .totals dd, .ws .summary-lines li span:last-child { font-family: var(--font-display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.ws .totals .grand { font-size: 22px; border-top: 2px solid var(--ink); }
.ws .summary-lines li { border-bottom: 1px dotted var(--line); }
.ws .details { font-family: var(--font-mono); }
.ws .details dt { color: var(--ink-muted); }
.ws .details dd { font-weight: 400; }

/* Status labels, as on .ws-status */
.ws .status { background: transparent; border: 1px solid currentColor; border-radius: 0; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 2px 8px; color: var(--ink-muted); }
.ws .status-paid, .ws .status-completed, .ws .status-payment-paid { color: var(--signal-gruen); }
.ws .status-processing, .ws .status-shipped, .ws .status-payment-open { color: var(--lichtblau); }
.ws .status-cancelled, .ws .status-payment-failed, .ws .status-payment-canceled, .ws .status-payment-expired { color: var(--signal-rot); }
.ws .status-pending, .ws .status-payment-unpaid { color: var(--motorol); }

/* Account tabs, pagination */
.ws .tabs { border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: var(--space-6); }
.ws .tabs a { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; padding-block: var(--space-2); border-bottom: 2px solid transparent; }
.ws .tabs a.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--rumpfband); }
.ws .pagination { font-family: var(--font-mono); font-size: 14px; margin-top: var(--space-12); }
.ws .pagination .disabled { color: var(--line); }
.ws-page > .ws-section:first-child, .ws-page > .alert + .ws-section, .ws-page > .ws-breadcrumb:first-child { padding-top: 0; }
.ws-product__price .ws-price { line-height: 1; }
.ws-footer .ws-logo__word { color: var(--on-schwarzgrau); }
.ws-footer .ws-logo__sub { color: var(--rumpfband); }
.ws .totals { column-gap: 0; }
.ws .totals dt { padding-right: var(--space-4); }
