/* ==========================================================================
   Basti 3D Druck – Design system & components
   Palette: White #FFFFFF / #F6F6F7 · Black #111111 / #1E1E22 · Signal Orange #FF6B00
   Orange text on white uses --orange-text (#B84A00) to meet WCAG AA (4.5:1).
   Buttons in orange use black text (contrast 6.6:1).
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/inter-latin-wght-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'), url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/space-grotesk-latin-wght-normal.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations'), url('../fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --surface: #f6f6f7;
  --surface-2: #eeeef0;
  --black: #111111;
  --anthracite: #1e1e22;
  --anthracite-2: #2a2a30;
  --orange: #ff6b00;
  --orange-hover: #e55a00;
  --orange-text: #b84a00;
  --orange-soft: #fff1e6;
  --border: #e5e7eb;
  --border-strong: #cfd2d8;
  --text: #111111;
  --text-muted: #5b5e66;
  --text-inverse: #ffffff;
  --text-inverse-muted: #c4c5ca;
  --success: #1b7f3b;
  --success-bg: #e9f6ee;
  --error: #b42318;
  --error-bg: #fdecea;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow: 0 6px 24px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 18px 48px rgba(17, 17, 17, 0.16);
  --focus-ring: 0 0 0 2px var(--black), 0 0 0 5px var(--orange);
  --header-height: 72px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
html.has-dialog { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; outline: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus { outline: none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}
::selection { background: var(--orange); color: var(--black); }
/* Headings/regions focused programmatically after navigation don't need a visible ring. */
:where(h1, h2, h3, main, [data-error-summary])[tabindex='-1']:focus-visible { box-shadow: none; }
.error-summary:focus-visible { box-shadow: var(--focus-ring); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--text-muted); }
.icon { flex-shrink: 0; }
.noscript { padding: 24px; text-align: center; background: var(--orange-soft); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--black); color: var(--white); border: 0; font-weight: 600;
  transition: top 0.15s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 650; font-size: 0.95rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled, .button[aria-disabled='true'] { cursor: not-allowed; opacity: 0.45; }
.button--primary { background: var(--orange); color: var(--black); }
.button--primary:hover:not(:disabled) { background: var(--orange-hover); }
.button--dark { background: var(--black); color: var(--white); }
.button--dark:hover:not(:disabled) { background: var(--anthracite-2); }
.button--outline { border-color: var(--black); color: var(--black); background: var(--white); }
.button--outline:hover:not(:disabled) { background: var(--black); color: var(--white); }
.button--outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.button--outline-dark:hover:not(:disabled) { background: var(--black); color: var(--white); }
.button--ghost { background: transparent; color: var(--text); }
.button--ghost:hover:not(:disabled) { background: var(--surface); }
.button--sm { min-height: 44px; padding: 8px 14px; font-size: 0.875rem; }
.button--lg { min-height: 52px; padding: 12px 26px; font-size: 1rem; }
.button--block { width: 100%; }
.button.is-added { animation: pop 0.5s var(--ease); }
.button--withdraw { background: var(--white); color: var(--black); border-color: var(--black); }
.button--withdraw:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: var(--black); }

.icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: inherit; position: relative;
}
.icon-button:hover { background: var(--surface); }
.icon-button--sm { width: 44px; height: 44px; }
.icon-button--inverse { color: var(--white); }
.icon-button--inverse:hover { background: rgba(255, 255, 255, 0.12); }

.link-button {
  border: 0; background: none; padding: 0; min-height: 44px;
  color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.link-button:hover { color: var(--orange-text); }
.link-button--inverse { color: var(--text-inverse-muted); font-weight: 400; text-decoration: none; min-height: 36px; font-size: 0.92rem; }
.link-button--inverse:hover { color: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--black); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--orange-text); }

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 650; line-height: 1.4; white-space: nowrap;
  background: var(--surface); color: var(--text);
}
.badge--dark { background: var(--black); color: var(--white); }
.badge--light { background: rgba(255, 255, 255, 0.92); color: var(--black); border: 1px solid var(--border); }
.badge--accent { background: var(--orange); color: var(--black); }
.badge--accent-outline { background: var(--white); color: var(--orange-text); border: 1px solid var(--orange); }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--neutral { background: var(--surface-2); color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--white);
  font-size: 0.85rem; font-weight: 600;
}
.pill--removable { min-height: 44px; }
.pill--removable:hover { border-color: var(--black); }
.pill--accent { border-color: var(--orange); background: var(--orange-soft); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.count-badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--orange); color: var(--black); font-size: 0.75rem; font-weight: 700;
}

/* ---------- Banners & header ---------- */
.demo-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  padding: 6px var(--gutter); background: var(--orange-soft); color: var(--black);
  font-size: 0.8rem; text-align: center; border-bottom: 1px solid #ffd9bf;
}
@media (max-width: 639px) { .demo-banner { font-size: 0.72rem; padding-block: 4px; } .demo-banner .icon { display: none; } }
.demo-banner--admin { background: var(--black); color: var(--white); border: 0; }
.demo-banner--admin a { color: var(--orange); font-weight: 700; }
.announcement { background: var(--black); color: var(--white); font-size: 0.82rem; }
.announcement__inner { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 36px; padding-block: 6px; text-align: center; }
.announcement__accent { color: var(--orange); font-weight: 650; }
.announcement__sep { color: #6c6c74; }
/* Tab back to the main site schichtkater.de (always at the top left, arrow + text) */
.announcement__inner { position: relative; }
.announcement__hub { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 8px; border: 1px solid rgba(251, 191, 36, 0.45); border-radius: 999px; background: rgba(251, 191, 36, 0.14); color: #fcd34d; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background-color 0.2s var(--ease); }
.announcement__hub:hover { background: rgba(251, 191, 36, 0.26); }
.announcement__hub:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.announcement__hub svg { display: block; flex: none; }
.announcement__hub-arrow { width: 15px; height: 15px; }
.announcement__hub-cat { width: 17px; height: 17px; }
@media (max-width: 1099px) {
  .announcement__inner { justify-content: flex-start; }
  .announcement__hub { position: static; transform: none; flex: none; margin-right: auto; }
  .announcement__inner > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announcement__wide { display: none; }
}
@media (max-width: 767px) {
  .announcement__hub .announcement__hub-cat, .announcement__hub-zur { display: none; }
}
@media (max-width: 767px) {
  .announcement__inner > span:not(.announcement__accent) { display: none; }
}

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.site-header__bar { border-bottom: 1px solid var(--border); background: var(--white); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-height); }
.site-header__menu { margin-left: -8px; }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; min-height: 44px; }
.logo--inverse { color: var(--white); }
.logo, .logo__mark { flex-shrink: 0; }
.logo--inverse .logo__mark rect:nth-child(odd) { fill: var(--white); }
.site-nav { display: none; }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 10px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap;
}
.nav-link:hover { background: var(--surface); }
.nav-link.is-active { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-link--highlight { background: var(--orange); color: var(--black); padding-inline: 14px; }
.site-nav .nav-link--highlight { margin-inline: 6px; }
.nav-link--highlight:hover { background: var(--orange-hover); }
.nav-link--highlight.is-active { box-shadow: inset 0 -3px 0 var(--black); border-radius: var(--radius-sm); }
.mobile-nav__list { display: grid; gap: 4px; }
.mobile-nav__list .nav-link { width: 100%; font-size: 1.05rem; padding: 12px 14px; }

.lang-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.lang-toggle__btn {
  min-width: 44px; min-height: 40px; padding: 4px 8px; border: 0; border-radius: 999px;
  background: transparent; font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
}
.lang-toggle__btn[aria-pressed='true'] { background: var(--black); color: var(--white); }
.cart-button__badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--orange); color: var(--black); font-size: 0.72rem; font-weight: 800;
  border: 2px solid var(--white);
}
.cart-button__badge.is-empty { display: none; }
.cart-button__badge.is-bumping { animation: bump 0.45s var(--ease); }

/* Desktop navigation from 1200 px; below that the burger menu takes over. */
@media (min-width: 1200px) {
  .site-header__menu { display: none; }
  .site-nav { display: block; }
  .site-header__actions { gap: 8px; margin-left: 0; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  .nav-link { padding-inline: 8px; font-size: 0.88rem; }
  .nav-link--highlight { padding-inline: 12px; }
}
@media (max-width: 1199px) {
  .site-header .lang-toggle { display: none; }
  .logo { margin-right: auto; }
}

/* ---------- Search ---------- */
.search { position: relative; }
.search__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search__input {
  width: 100%; min-height: 44px; padding: 10px 12px 10px 38px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  font-size: 0.92rem;
}
.search__input:focus-visible { background: var(--white); border-color: var(--black); border-radius: 999px; }
.search__input::-webkit-search-cancel-button { cursor: pointer; }
.search__results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  min-width: min(360px, calc(100vw - 2 * var(--gutter)));
  max-height: 70vh; overflow-y: auto; padding: 6px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.site-header__search .search__results { left: auto; width: 380px; }
.search__option { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); cursor: pointer; min-height: 44px; }
.search__option[aria-selected='true'], .search__option:hover { background: var(--surface); box-shadow: inset 3px 0 0 var(--orange); }
.search__thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--surface); }
.search__text { display: grid; flex: 1; min-width: 0; }
.search__name { font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__meta { font-size: 0.78rem; color: var(--text-muted); }
.search__price { font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.search__option--all { justify-content: center; gap: 6px; font-weight: 650; font-size: 0.88rem; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.search__empty { padding: 14px; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Dialogs, drawers, modals ---------- */
.dialog {
  padding: 0; border: 0; color: var(--text); background: transparent; max-width: none; max-height: none;
  overflow: visible;
}
.dialog::backdrop { background: rgba(17, 17, 17, 0.55); backdrop-filter: blur(2px); }
.dialog__surface { background: var(--white); }
.drawer { margin: 0; height: 100%; max-height: 100dvh; width: min(440px, 100vw); }
.drawer--right { margin-left: auto; }
.drawer--left { margin-right: auto; width: min(360px, 90vw); }
.drawer .dialog__surface { height: 100%; display: flex; flex-direction: column; }
.drawer[open] { animation: slide-in-right 0.28s var(--ease); }
.drawer--left[open] { animation: slide-in-left 0.28s var(--ease); }
.drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--border); }
.drawer__title { font-size: 1.2rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; overscroll-behavior: contain; }
.drawer__footer { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: grid; gap: 10px; background: var(--white); }
.drawer__footer--row { display: flex; justify-content: space-between; }
.drawer__footer--row .button--primary { flex: 1; }
.filter-drawer .filter-panel { padding: 0; }

.modal { margin: auto; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.modal[open] { animation: fade-up 0.22s var(--ease); }
.modal .dialog__surface { border-radius: var(--radius); max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal--wide { width: min(880px, calc(100vw - 24px)); }
.modal__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 8px 24px; }
.modal__title { font-size: 1.35rem; margin: 0 0 4px; }
.modal__body { padding: 8px 24px 16px; display: grid; gap: 16px; }
.modal__footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.modal__prose { padding: 0 24px 24px; }

.lightbox { margin: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; }
.lightbox .dialog__surface { width: 100%; height: 100%; background: rgba(17, 17, 17, 0.96); color: var(--white); position: relative; display: grid; grid-template-rows: auto 1fr; }
.lightbox__toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px; }
.lightbox__counter { margin-right: auto; padding-left: 8px; font-size: 0.9rem; color: var(--text-inverse-muted); }
.lightbox__stage { display: grid; place-items: center; overflow: hidden; padding: 0 56px 32px; }
.lightbox__stage img { max-height: calc(100dvh - 120px); width: auto; object-fit: contain; cursor: zoom-in; transition: transform 0.25s var(--ease); border-radius: var(--radius-sm); }
.lightbox__stage.is-zoomed img { transform: scale(2); cursor: zoom-out; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255, 255, 255, 0.08); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; z-index: 2000; right: 16px; bottom: 16px; left: 16px; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 12px;
  width: min(400px, 100%); padding: 14px 10px 14px 16px;
  background: var(--black); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange); animation: toast-in 0.25s var(--ease);
}
.toast--error { border-left-color: #ff8a80; }
.toast--info { border-left-color: var(--text-inverse-muted); }
.toast__icon { color: var(--orange); margin-top: 1px; }
.toast--error .toast__icon { color: #ff8a80; }
.toast--info .toast__icon { color: var(--text-inverse-muted); }
.toast__body { flex: 1; display: grid; gap: 2px; font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; }
.toast__title { font-size: 0.95rem; }
.toast__close { border: 0; background: none; color: var(--text-inverse-muted); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; margin: -4px 0; }
.toast__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: 0.2s var(--ease); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px;
  max-width: 880px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.cookie-banner__inner { display: grid; gap: 14px; padding: 18px 20px; }
.cookie-banner__icon { color: var(--orange-text); }
.cookie-banner__title { font-size: 1.05rem; margin-bottom: 4px; }
.cookie-banner__text p { font-size: 0.88rem; color: var(--text-muted); }
.cookie-banner__text a { color: var(--text); font-weight: 600; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) {
  .cookie-banner__inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .cookie-banner__actions { display: flex; }
}

/* ---------- Sections & page heads ---------- */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--surface { background: var(--surface); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 6px; }
.section__text { color: var(--text-muted); margin: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 3px; background: var(--orange); border-radius: 2px; }
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: 20px 28px; }
.page-head__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 6px; }
.page-head__text { color: var(--text-muted); max-width: 70ch; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.page-loading { min-height: 60vh; display: grid; place-items: center; }

.spinner { display: inline-flex; }
.spinner__ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--orange);
  animation: spin 0.8s linear infinite;
}

.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--white); }
.empty-state .icon { color: var(--orange-text); }
.empty-state__title { font-size: 1.4rem; margin: 0; }
.empty-state p { color: var(--text-muted); max-width: 46ch; margin: 0; }
.empty-inline { color: var(--text-muted); padding: 16px 0; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; background: var(--surface); border: 1px solid var(--border); }
.notice .icon { margin-top: 2px; }
.notice--info { background: var(--surface); }
.notice--warn { background: var(--orange-soft); border-color: #ffd0ad; }
.notice--error { background: var(--error-bg); border-color: #f5c2bd; color: var(--error); }
.notice--success { background: var(--success-bg); border-color: #bfe3cb; color: var(--success); }

/* ---------- Hero ---------- */
.hero { background: var(--surface); overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; gap: 40px; padding-block: clamp(36px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 16px; max-width: 18ch; }
.hero__text { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .button { flex: 1 1 auto; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 24px 36px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-strong); }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-size: 0.82rem; color: var(--text-muted); }
.hero__stats dd { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.hero__layers { position: absolute; inset: 8% 0 0 8%; display: grid; gap: 10px; align-content: end; transform: skewY(-8deg); opacity: 0.9; }
.hero__layers span { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--orange), rgba(255, 107, 0, 0)); }
.hero__layers span:nth-child(even) { background: linear-gradient(90deg, var(--black), rgba(17, 17, 17, 0)); width: 82%; }
.hero__layers span:nth-child(3n) { width: 64%; }
.hero__card { position: absolute; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--main { inset: 6% 16% 14% 6%; }
.hero__card--top { width: 34%; aspect-ratio: 1; top: 0; right: 0; }
.hero__card--bottom { width: 38%; aspect-ratio: 1; bottom: 0; right: 4%; }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 0.8rem; font-weight: 650; box-shadow: var(--shadow); white-space: nowrap; }
.hero__chip .icon { color: var(--orange); }
.hero__chip--a { left: 0; top: 4%; }
.hero__chip--b { left: 4%; bottom: 4%; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
  .hero__actions .button { flex: 0 0 auto; }
}

/* ---------- USP strip ---------- */
.usp-strip { background: var(--black); color: var(--white); }
.usp-grid { display: grid; gap: 20px; padding-block: 28px; grid-template-columns: 1fr; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--anthracite-2); color: var(--orange); flex-shrink: 0; }
.usp__title { display: block; font-family: var(--font-heading); font-size: 1rem; }
.usp__text { display: block; font-size: 0.88rem; color: var(--text-inverse-muted); }
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usp-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Category grid ---------- */
.category-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.category-card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.category-card:hover { box-shadow: var(--shadow); border-color: var(--black); transform: translateY(-2px); }
.category-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.category-card:hover .category-card__media img { transform: scale(1.05); }
.category-card__body { display: grid; gap: 4px; padding: 16px; flex: 1; }
.category-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.category-card__text { color: var(--text-muted); font-size: 0.9rem; }
.category-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 0.85rem; color: var(--text-muted); }
.category-card__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--text); }
.category-card:hover .category-card__cta { color: var(--orange-text); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.product-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (max-width: 559px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.product-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.product-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease), opacity 0.35s var(--ease); }
.product-card__img--alt { opacity: 0; }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card:hover .product-card__img--alt { opacity: 1; }
.product-card__badges { position: absolute; left: 8px; top: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.product-card__flags { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px; flex: 1; }
.product-card__title { font-size: 1rem; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.product-card__rating { display: flex; align-items: center; gap: 6px; min-height: 20px; flex-wrap: wrap; }
.product-card__rating-text { font-size: 0.78rem; color: var(--text-muted); }
.product-card__colors { display: flex; align-items: center; gap: 5px; min-height: 18px; }
.product-card__more-colors { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.product-card__price { display: grid; gap: 0; margin-top: auto; }
.product-card__price .price { font-size: 1.15rem; }
.product-card__stock { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.product-card__stock.is-in-stock { color: var(--success); font-weight: 600; }
.product-card__actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 400px) { .product-card__actions { grid-template-columns: auto 1fr; } }
.product-card__actions .button { padding-inline: 10px; font-size: 0.82rem; }
@media (max-width: 559px) {
  .product-card__badges .badge--light { display: none; }
  .product-card__body { padding: 10px; }
  .product-card__title { font-size: 0.92rem; }
}

.price { font-family: var(--font-heading); font-weight: 700; white-space: nowrap; }
.price__from { font-family: var(--font-body); font-weight: 500; font-size: 0.8em; color: var(--text-muted); }
.tax-hint { font-size: 0.75rem; color: var(--text-muted); }
.tax-hint a { color: var(--text-muted); }

.stars { display: inline-flex; align-items: center; gap: 6px; }
.stars__icons { display: inline-flex; gap: 1px; }
.star { position: relative; display: inline-block; }
.star svg { position: absolute; inset: 0; }
.star__bg { fill: var(--border-strong); }
.star__fg { fill: var(--orange); clip-path: inset(0 calc(100% - var(--fill)) 0 0); }
.stars__value { font-weight: 700; font-size: 0.9rem; }
.stars__count { font-size: 0.8rem; color: var(--text-muted); }
.color-dot { display: inline-block; width: var(--size, 16px); height: var(--size, 16px); border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.18); flex-shrink: 0; vertical-align: middle; }
.img-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--border-strong); background: var(--surface); }

/* ---------- Reviews ---------- */
.reviews-highlight { display: grid; gap: 28px; }
.reviews-highlight__list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 1024px) { .reviews-highlight { grid-template-columns: 320px 1fr; align-items: start; } }
.rating-summary { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.rating-summary__head { display: grid; gap: 6px; }
.rating-summary__score { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.rating-summary__value { font-family: var(--font-heading); font-weight: 700; font-size: 3rem; line-height: 1; }
.rating-summary__max { color: var(--text-muted); font-weight: 600; }
.rating-summary__count { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.rating-bars { display: grid; gap: 4px; }
.rating-bars__row { display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; gap: 10px; width: 100%; min-height: 32px; padding: 2px 4px; border: 0; background: none; font-size: 0.85rem; text-align: left; border-radius: 6px; }
button.rating-bars__row:hover { background: var(--surface); }
.rating-bars__track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rating-bars__fill { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.rating-bars__count { text-align: right; color: var(--text-muted); }
.review-card { display: grid; gap: 10px; height: 100%; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); align-content: start; }
.review-card__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review-card__author { font-weight: 700; margin: 0; }
.review-card__date { font-size: 0.8rem; margin: 0; }
.review-card__badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.review-card__rating { display: grid; gap: 6px; }
.review-card__title { font-size: 1rem; margin: 0; }
.review-card__variant { display: inline-flex; width: fit-content; max-width: 100%; padding: 2px 10px; border-radius: 999px; background: var(--surface); font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.review-card__text { margin: 0; font-size: 0.93rem; overflow-wrap: anywhere; }
.review-card__photos { display: flex; gap: 8px; flex-wrap: wrap; }
.review-card__photo { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); width: 72px; height: 72px; }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.review-card__product { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; min-height: 44px; }
.helpful-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--white); font-size: 0.82rem; font-weight: 600; }
.helpful-button[aria-pressed='true'] { border-color: var(--orange); background: var(--orange-soft); }
.reviews-section__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.reviews-section__grid { display: grid; gap: 24px; }
.reviews-section__aside { display: grid; gap: 12px; align-content: start; }
.reviews-section__note { font-size: 0.8rem; }
@media (min-width: 1024px) { .reviews-section__grid { grid-template-columns: 320px 1fr; } .reviews-section__aside { position: sticky; top: calc(var(--header-height) + 16px); } }
.review-controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.review-list { display: grid; gap: 12px; margin-bottom: 16px; }

.star-input { display: flex; gap: 4px; }
.star-input__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input__label { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; border-radius: var(--radius-sm); }
.star-input__label svg { fill: var(--border-strong); transition: fill 0.12s, transform 0.12s; }
.star-input__radio:focus-visible + .star-input__label { box-shadow: var(--focus-ring); }
.star-input:has(.star-input__radio:nth-of-type(1):checked) .star-input__label:nth-of-type(-n + 1) svg,
.star-input:has(.star-input__radio:nth-of-type(2):checked) .star-input__label:nth-of-type(-n + 2) svg,
.star-input:has(.star-input__radio:nth-of-type(3):checked) .star-input__label:nth-of-type(-n + 3) svg,
.star-input:has(.star-input__radio:nth-of-type(4):checked) .star-input__label:nth-of-type(-n + 4) svg,
.star-input:has(.star-input__radio:nth-of-type(5):checked) .star-input__label:nth-of-type(-n + 5) svg { fill: var(--orange); }
@media (hover: hover) {
  .star-input:has(.star-input__label:nth-of-type(1):hover) .star-input__label:nth-of-type(-n + 1) svg,
  .star-input:has(.star-input__label:nth-of-type(2):hover) .star-input__label:nth-of-type(-n + 2) svg,
  .star-input:has(.star-input__label:nth-of-type(3):hover) .star-input__label:nth-of-type(-n + 3) svg,
  .star-input:has(.star-input__label:nth-of-type(4):hover) .star-input__label:nth-of-type(-n + 4) svg,
  .star-input:has(.star-input__label:nth-of-type(5):hover) .star-input__label:nth-of-type(-n + 5) svg { fill: var(--orange-hover); }
}
.photo-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.photo-input__preview { display: flex; align-items: center; gap: 12px; }
.photo-input__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- CTA banner ---------- */
.cta-banner { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: repeating-linear-gradient(-30deg, rgba(255, 107, 0, 0.35) 0 6px, transparent 6px 16px); pointer-events: none; }
.cta-banner__content { display: flex; gap: 16px; align-items: flex-start; position: relative; z-index: 1; }
.cta-banner__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--orange); color: var(--black); flex-shrink: 0; }
.cta-banner__title { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); margin-bottom: 6px; }
.cta-banner p { color: var(--text-inverse-muted); margin: 0; max-width: 60ch; }
.cta-banner .button { position: relative; z-index: 1; justify-self: start; }
@media (min-width: 900px) { .cta-banner { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field--inline { display: inline-flex; align-items: center; gap: 8px; }
.field--inline .field__label { margin: 0; white-space: nowrap; }
.field__label, .option-group__label { font-weight: 650; font-size: 0.9rem; }
.field__hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.field__error { font-size: 0.82rem; color: var(--error); font-weight: 600; margin: 0; }
.field__error:empty { display: none; }
.field__row { display: flex; justify-content: space-between; gap: 12px; }
.field__counter { font-size: 0.8rem; color: var(--text-muted); margin: 0; white-space: nowrap; }
.req { color: var(--orange-text); }
.input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--white);
  font-size: 1rem; transition: border-color 0.15s;
}
.input:hover { border-color: #9da1a9; }
.input:focus-visible { border-color: var(--black); }
.input[aria-invalid='true'] { border-color: var(--error); background: #fffafa; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.select--sm { min-height: 44px; padding-block: 8px; font-size: 0.9rem; width: auto; }
.textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 { grid-template-columns: 2fr 1fr 2fr; }
  .form-grid .span-2 { grid-column: span 2; }
}
.form-section { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.form-section__title { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.form-section__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 0.85rem; }

.check { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 10px; cursor: pointer; font-size: 0.93rem; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--black); border-radius: 6px; background: var(--white); flex-shrink: 0; color: transparent; transition: background 0.12s; }
.check input:checked + .check__box { background: var(--black); color: var(--white); }
.check input:focus-visible + .check__box { box-shadow: var(--focus-ring); }
.check input[aria-invalid='true'] + .check__box, .is-invalid .check__box { border-color: var(--error); }
.check--sm { font-size: 0.88rem; }
.check a { font-weight: 600; }
.field--check .field__error { margin-left: 32px; }
.personalization__confirm.is-required .check__box { border-color: var(--orange-text); box-shadow: 0 0 0 3px var(--orange-soft); }

.radio-row { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 0.93rem; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--black); margin: 0; }
.radio-row__count { margin-left: auto; font-size: 0.78rem; color: var(--text-muted); }

.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 0.93rem; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch__track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--border-strong); transition: background 0.15s; flex-shrink: 0; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.15s var(--ease); }
.switch input:checked + .switch__track { background: var(--black); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); background: var(--orange); }
.switch input:focus-visible + .switch__track { box-shadow: var(--focus-ring); }

.swatch-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.2); color: transparent; transition: box-shadow 0.12s; }
.swatch input:checked + .swatch__dot { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black); color: var(--white); }
.swatch input:checked + .swatch__dot .icon { filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.9)); }
.swatch input:focus-visible + .swatch__dot { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black), 0 0 0 7px var(--orange); }
.swatch__tooltip { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--black); color: var(--white); font-size: 0.72rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.12s; z-index: 5; }
.swatch:hover .swatch__tooltip, .swatch:focus-within .swatch__tooltip { opacity: 1; }
.swatch--lg { width: 48px; height: 48px; }
.swatch--lg .swatch__dot { width: 36px; height: 36px; }

.range { position: relative; height: 44px; --span: calc(var(--max) - var(--min)); }
.range__track { position: absolute; left: 10px; right: 10px; top: 50%; height: 6px; transform: translateY(-50%); background: var(--surface-2); border-radius: 999px; }
.range__fill { position: absolute; top: 0; bottom: 0; background: var(--orange); border-radius: 999px; left: calc((var(--from) - var(--min)) / var(--span) * 100%); right: calc((var(--max) - var(--to)) / var(--span) * 100%); }
.range input { position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--black); cursor: grab; box-shadow: var(--shadow-sm); }
.range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--black); cursor: grab; }
.range input::-webkit-slider-runnable-track { background: none; }
.range input::-moz-range-track { background: none; }
.range input:focus-visible { box-shadow: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus-ring); }
.range input:focus-visible::-moz-range-thumb { box-shadow: var(--focus-ring); }
.range__values { font-size: 0.85rem; font-weight: 600; margin: 4px 0 0; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--white); }
.stepper__btn { display: grid; place-items: center; width: 44px; height: 48px; border: 0; background: none; }
.stepper__btn:hover:not(:disabled) { background: var(--surface); }
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__input { width: 48px; height: 48px; border: 0; text-align: center; font-weight: 700; background: none; -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: 44px; height: 44px; }
.stepper--sm .stepper__input { width: 40px; height: 44px; }

/* ---------- Catalog ---------- */
.catalog { display: grid; gap: 24px; padding-block: 24px 64px; }
.catalog__sidebar { display: none; }
.catalog__main { min-width: 0; }
.catalog__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.catalog__count { font-weight: 650; margin: 0; }
.catalog__toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 16px; }
.filter-panel { display: grid; gap: 4px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border); display: grid; gap: 2px; }
.filter-group__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem; margin-bottom: 6px; }
@media (min-width: 1024px) {
  .catalog { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
  .catalog__sidebar { display: block; position: sticky; top: calc(var(--header-height) + 16px); align-self: start; max-height: calc(100vh - var(--header-height) - 32px); overflow-y: auto; padding-right: 8px; }
  .catalog__filter-button { display: none; }
}

/* ---------- PDP ---------- */
.pdp { padding-block: 16px 48px; }
.pdp__grid { display: grid; gap: 28px; }
.pdp__media { min-width: 0; display: grid; gap: 12px; align-content: start; }
.pdp__config { min-width: 0; display: grid; gap: 14px; align-content: start; }
@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .pdp__media { position: sticky; top: calc(var(--header-height) + 16px); align-self: start; }
}
.view-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; justify-self: start; max-width: 100%; }
.view-tabs__tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; font-weight: 650; font-size: 0.88rem; color: var(--text-muted); white-space: nowrap; }
.view-tabs__tab[aria-selected='true'] { background: var(--black); color: var(--white); }
.view-tabs__tab:disabled { opacity: 0.4; cursor: not-allowed; }
.viewer3d { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); touch-action: none; }
.viewer3d__canvas { width: 100% !important; height: 100% !important; cursor: grab; }
.viewer3d.is-grabbing .viewer3d__canvas { cursor: grabbing; }
.viewer3d__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-muted); z-index: 2; background: var(--surface); }
.viewer3d__toolbar { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.tool-button { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.94); font-size: 0.8rem; font-weight: 650; justify-content: flex-start; }
.tool-button:hover { border-color: var(--black); }
.tool-button[aria-pressed='true'] { background: var(--black); color: var(--white); border-color: var(--black); }
.tool-button[aria-pressed='true'] .icon { color: var(--orange); }
.tool-button__label { display: none; }
@media (min-width: 640px) { .tool-button__label { display: inline; } }
.viewer3d__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(17, 17, 17, 0.78); color: var(--white); font-size: 0.75rem; white-space: nowrap; pointer-events: none; z-index: 3; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.viewer3d__badge { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: 0.72rem; font-weight: 650; color: var(--text-muted); }

.gallery { display: grid; gap: 10px; }
.gallery__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.gallery__image { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.turntable { width: 100%; height: 100%; background-repeat: no-repeat; background-color: var(--surface); cursor: grab; touch-action: pan-y; user-select: none; position: relative; }
.turntable.is-dragging { cursor: grabbing; }
.turntable__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(17, 17, 17, 0.78); color: var(--white); font-size: 0.75rem; pointer-events: none; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.gallery__thumb { position: relative; flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--black); }
.gallery__thumb-badge { position: absolute; inset: auto 0 0 0; display: flex; gap: 2px; align-items: center; justify-content: center; padding: 2px; background: rgba(17, 17, 17, 0.8); color: var(--white); font-size: 0.68rem; font-weight: 700; }

.pdp__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp__title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin: 0; overflow-wrap: anywhere; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 0.85rem; }
.pdp__rating { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 650; text-decoration: underline; text-decoration-color: transparent; }
.pdp__rating:hover { text-decoration-color: var(--orange); }
.pdp__short { color: var(--text-muted); margin: 0; }
.pdp__price-box { display: grid; gap: 2px; padding: 14px 0; border-block: 1px solid var(--border); }
.pdp__price { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; margin: 0; line-height: 1.1; }
.pdp__line-total { margin: 4px 0 0; font-size: 0.85rem; }
.pdp__line-total:empty { display: none; }
.pdp__form { display: grid; gap: 18px; }
.option-group { display: grid; gap: 8px; }
.option-group--static { display: block; margin: 0; font-size: 0.92rem; }
.option-group__value { font-weight: 500; color: var(--text-muted); }
.option-group__hint { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.option-cards { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.option-card { position: relative; display: flex; align-items: stretch; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; transition: border-color 0.12s; }
.option-card:hover { border-color: var(--border-strong); }
.option-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-card:has(input:checked) { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.option-card:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.option-card__body { display: grid; gap: 2px; padding: 10px 6px 10px 12px; flex: 1; min-height: 44px; }
.option-card__title { font-weight: 650; font-size: 0.9rem; overflow-wrap: anywhere; hyphens: auto; }
.option-card__price { font-size: 0.8rem; color: var(--text-muted); }
.option-card__price:empty::after { content: '\00a0'; }
.tooltip-anchor { position: relative; display: grid; place-items: center; width: 36px; color: var(--text-muted); }
.tooltip { position: absolute; bottom: calc(100% + 8px); right: -8px; width: max-content; max-width: min(260px, 70vw); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--black); color: var(--white); font-size: 0.78rem; line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity 0.12s; z-index: 10; pointer-events: none; }
.option-card:hover .tooltip, .option-card:focus-within .tooltip { opacity: 1; visibility: visible; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill { position: relative; cursor: pointer; }
.option-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-pill > span { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--border); border-radius: 999px; font-weight: 600; font-size: 0.88rem; }
.option-pill input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.option-pill input:checked + span .option-pill__price { color: var(--orange); }
.option-pill input:focus-visible + span { box-shadow: var(--focus-ring); }
.option-pill__price { color: var(--text-muted); font-weight: 500; }
.personalization { display: grid; gap: 12px; padding: 16px; border: 2px dashed var(--orange); border-radius: var(--radius); background: var(--orange-soft); }
.personalization__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.personalization__text { font-size: 0.88rem; margin: 0; }
.personalization__surcharge { font-size: 0.85rem; font-weight: 650; margin: 0; }
.personalization .check__box { background: var(--white); }
.pdp__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp__add { flex: 1 1 220px; }
.pdp__reason { font-size: 0.85rem; color: var(--orange-text); font-weight: 600; margin: -8px 0 0; }
.pdp__reason:empty { display: none; }
.production-box { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.production-box__title { font-size: 1rem; margin: 0; }
.production-box__row { display: flex; gap: 12px; align-items: flex-start; }
.production-box__row + .production-box__row { padding-top: 12px; border-top: 1px solid var(--border); }
.production-box__row p { margin: 0; font-size: 0.9rem; }
.production-box__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); flex-shrink: 0; }
.production-box__label { font-weight: 700; }
.production-box__eta { margin: 0; font-size: 0.85rem; font-weight: 650; color: var(--success); }

.accordion { margin-top: 40px; border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 12px 4px; cursor: pointer; list-style: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary .icon { transition: transform 0.2s var(--ease); }
.accordion__item[open] .accordion__summary .icon { transform: rotate(180deg); }
.accordion__content { padding: 0 4px 20px; max-width: 80ch; }
.spec-table { display: grid; }
.spec-table div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { font-weight: 650; }
.check-list { display: grid; gap: 10px; margin-bottom: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.check-list .icon { color: var(--orange-text); margin-top: 2px; }

/* ---------- Cart drawer ---------- */
.free-shipping { padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.free-shipping__text { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 650; margin: 0 0 8px; }
.free-shipping.is-reached .free-shipping__text { color: var(--success); }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress__bar { display: block; height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.4s var(--ease); }
.cart-lines { display: grid; gap: 0; align-content: start; padding-block: 0; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: opacity 0.18s, transform 0.18s; }
.cart-line.is-removing { opacity: 0; transform: translateX(24px); }
.cart-line__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.cart-line__body { display: grid; gap: 6px; min-width: 0; }
.cart-line__top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line__name { font-weight: 650; text-decoration: none; font-size: 0.93rem; overflow-wrap: anywhere; }
.cart-line__name:hover { text-decoration: underline; }
.cart-line__price { font-weight: 700; white-space: nowrap; }
.cart-line__controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-line__unit { font-size: 0.78rem; flex: 1; }
.line-details { display: grid; gap: 2px; font-size: 0.8rem; color: var(--text-muted); }
.line-details div { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.line-details dt::after { content: ':'; }
.line-details dd { color: var(--text); display: inline-flex; align-items: center; gap: 4px; overflow-wrap: anywhere; }
.line-details__personalization dd { font-weight: 650; }
.cart-empty { display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; color: var(--text-muted); }
.cart-footer { gap: 12px; }
.cart-footer__note { font-size: 0.75rem; margin: 0; }
.voucher { display: grid; gap: 6px; }
.voucher__row { display: flex; gap: 8px; }
.voucher__row .input { text-transform: uppercase; }
.voucher__row .input::placeholder { text-transform: none; }
.voucher__applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.voucher__message { font-size: 0.82rem; margin: 0; min-height: 0; }
.voucher__message:empty { display: none; }
.voucher__message--error { color: var(--error); font-weight: 600; }
.voucher__message--warn { color: var(--orange-text); font-weight: 600; }
.totals { display: grid; gap: 6px; font-size: 0.92rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dd { font-weight: 600; white-space: nowrap; }
.totals__discount dd { color: var(--success); }
.totals__grand { padding-top: 8px; border-top: 1px solid var(--border); font-size: 1.1rem; }
.totals__grand dt, .totals__grand dd { font-weight: 800; font-family: var(--font-heading); }
.totals__tax { font-size: 0.78rem; color: var(--text-muted); }
.totals__tax dd { font-weight: 400; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 24px; padding-block: 24px 64px; }
.checkout__form { display: grid; gap: 16px; min-width: 0; }
.checkout__summary { min-width: 0; }
.summary-card { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.summary-card__title { font-size: 1.15rem; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.summary-lines { display: grid; gap: 12px; }
.summary-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: 0.88rem; }
.summary-line img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--white); }
.summary-line__qty { font-weight: 700; }
.summary-line__name { font-weight: 650; overflow-wrap: anywhere; }
.summary-eta { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); font-size: 0.88rem; }
.summary-eta strong { display: block; }
.choice-list { display: grid; gap: 8px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: var(--white); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--black); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--black); }
.choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.choice__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.choice__title { font-weight: 700; }
.choice__text { font-size: 0.82rem; color: var(--text-muted); overflow-wrap: anywhere; hyphens: auto; }
.choice__price { font-weight: 700; white-space: nowrap; }
.legal-checks { display: grid; gap: 0; }
.legal-checks .link-button { min-height: auto; font-weight: 600; display: inline; }
.error-summary { padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--error); background: var(--error-bg); color: var(--error); }
.error-summary h2 { font-size: 1rem; margin-bottom: 6px; }
.error-summary ul { padding-left: 18px; font-size: 0.9rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.submit-box { display: grid; gap: 10px; }
.submit-box__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.submit-box__hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
@media (min-width: 1024px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
  .checkout__summary { position: sticky; top: calc(var(--header-height) + 16px); }
}

/* ---------- Order confirmation ---------- */
.confirmation { display: grid; gap: 24px; max-width: 880px; margin-inline: auto; padding-block: 40px 64px; }
.confirmation__hero { text-align: center; display: grid; justify-items: center; gap: 10px; }
.confirmation__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.confirmation__ref { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--black); color: var(--white); font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.04em; }
.confirmation__ref span { color: var(--orange); }
.steps-list { display: grid; gap: 12px; counter-reset: step; }
.steps-list li { display: flex; gap: 12px; align-items: flex-start; counter-increment: step; }
.steps-list li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--black); font-weight: 800; flex-shrink: 0; font-size: 0.85rem; }

/* ---------- Order status page ---------- */
.status-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: none; }
.status-steps__item { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.status-steps__item::before { content: ''; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; background: var(--border); }
.status-steps__item:first-child::before { display: none; }
.status-steps__item.is-done::before, .status-steps__item.is-current::before { background: var(--black); }
.status-steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--white); color: var(--text-muted); }
.status-steps__item.is-done .status-steps__dot { background: var(--black); border-color: var(--black); color: var(--white); }
.status-steps__item.is-current .status-steps__dot { background: var(--orange); border-color: var(--orange); color: var(--black); }
.status-steps__item.is-done, .status-steps__item.is-current { color: var(--text); font-weight: 600; }
.order-status__now { margin: 0; }
.order-status__eta { display: flex; align-items: center; gap: 8px; margin: 0; }
.order-status__eta .icon { flex-shrink: 0; }
.bank-card { border-color: var(--orange); background: var(--orange-soft); }
.bank-details { display: grid; gap: 0; margin: 0; border-top: 1px solid #ffd0ad; }
.bank-details > div { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffd0ad; }
.bank-details dt { color: var(--text-muted); font-size: 0.9rem; }
.bank-details dd { margin: 0; overflow-wrap: anywhere; }
.bank-details__mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.bank-details .link-button { margin-left: 8px; font-size: 0.85rem; }
.order-manage { gap: 0; }
.order-manage__block { display: grid; gap: 10px; padding-block: 16px; border-top: 1px solid var(--border); }
.order-manage__block:first-of-type { border-top: 0; padding-top: 4px; }
.order-manage__subtitle { margin: 0; font-size: 1rem; }
.order-manage .button { justify-self: start; }
.confirm-box { display: grid; gap: 12px; padding: 16px; border: 2px solid var(--black); border-radius: var(--radius-sm); background: var(--surface); }
.change-form { display: grid; gap: 12px; }
.change-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.change-list li { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); font-size: 0.92rem; }
.change-list p { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .status-steps { grid-template-columns: 1fr; gap: 0; }
  .status-steps__item { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; gap: 12px; padding-block: 6px; }
  .status-steps__item::before { top: -12px; bottom: auto; left: 17px; right: auto; width: 2px; height: 24px; }
  .bank-details > div { grid-template-columns: 1fr; gap: 2px; }
}
.code-block { max-height: 320px; overflow: auto; padding: 16px; border-radius: var(--radius-sm); background: var(--anthracite); color: #e9e9ec; font-size: 0.8rem; line-height: 1.5; white-space: pre; }
.collapsible > summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }

/* ---------- Tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { font-size: 0.92rem; min-width: 520px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--surface); font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table .is-highlight { color: var(--success); font-weight: 700; }

.stack { display: grid; gap: 40px; }
.stack--sm { gap: 20px; align-content: start; }
.stack > *, .admin > *, .withdraw > *, .confirmation > *, .custom > *, .custom__grid > *, .checkout > * { min-width: 0; }
.info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.info-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; background: var(--white); }
.info-card__title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0; }
.info-card__title .icon { color: var(--orange-text); }
.payment-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Custom print ---------- */
.custom-steps { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.custom-steps li { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.9rem; }
.custom-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--black); font-size: 0.8rem; font-weight: 800; }
.custom { display: grid; gap: 20px; padding-block: 24px 64px; }
.custom__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .custom__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.dropzone { position: relative; display: grid; justify-items: center; gap: 10px; padding: 28px 20px; border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface); text-align: center; transition: border-color 0.15s, background 0.15s; }
.dropzone.is-dragover { border-color: var(--orange); background: var(--orange-soft); }
.dropzone .icon { color: var(--orange-text); }
.dropzone__text { font-weight: 650; margin: 0; }
.dropzone__hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; max-width: 46ch; }
.file-list { display: grid; gap: 8px; }
.file-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
.file-item.is-active { border-color: var(--black); box-shadow: inset 3px 0 0 var(--orange); }
.file-item__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.file-item__icon img { width: 100%; height: 100%; object-fit: cover; }
.file-item__name { font-weight: 650; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.file-item__meta { font-size: 0.75rem; color: var(--text-muted); }
.file-item__actions { display: flex; gap: 2px; }
.preview-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); touch-action: none; }
.preview-box__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); }
.stat dt { font-size: 0.75rem; color: var(--text-muted); }
.stat dd { font-weight: 700; font-size: 0.95rem; overflow-wrap: anywhere; }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choice--compact { padding: 10px 12px; }
.tier-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tier-list li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.78rem; font-weight: 600; }
.tier-list li.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.estimate { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--black); color: var(--white); }
.estimate__label { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: var(--black); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.estimate__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.1; margin: 0; }
.estimate__sub { color: var(--text-inverse-muted); font-size: 0.88rem; margin: 0; }
.estimate__rows { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid #3a3a42; }
.estimate__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
.estimate__rows dt { color: var(--text-inverse-muted); }
.estimate__rows dd { font-weight: 650; text-align: right; }
.estimate__disclaimer { font-size: 0.75rem; color: var(--text-inverse-muted); margin: 0; }
.estimate--empty { background: var(--surface); color: var(--text-muted); border: 1px dashed var(--border-strong); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 80ch; padding-block: 24px 64px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose p, .prose li { font-size: 0.96rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.3em; }
.prose .placeholder, .placeholder { background: var(--orange-soft); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--surface); }
.prose a { color: var(--black); font-weight: 600; }

/* ---------- Withdrawal ---------- */
.withdraw { max-width: 760px; padding-block: 24px 64px; display: grid; gap: 20px; }
.withdraw__start { font-size: 1.05rem; }
.receipt { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); border: 2px solid var(--black); background: var(--white); }
.receipt__title { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; margin: 0; }
.receipt__title .icon { color: var(--success); }
.receipt__declaration { padding: 14px 16px; background: var(--surface); border-radius: var(--radius-sm); font-weight: 600; overflow-wrap: anywhere; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Admin ---------- */
.admin { padding-block: 24px 64px; display: grid; gap: 20px; }
.admin__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--radius-sm); overflow-x: auto; }
.admin-tabs button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 6px; background: none; font-weight: 650; white-space: nowrap; }
.admin-tabs button[aria-selected='true'] { background: var(--black); color: var(--white); }
.admin-login { max-width: 440px; margin: 48px auto; display: grid; gap: 16px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.admin-toolbar .search__input { border-radius: var(--radius-sm); max-width: 320px; }
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.admin-table .cell-product { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.admin-table .cell-actions { display: flex; gap: 2px; justify-content: flex-end; }
.admin-toolbar__group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1; min-width: 0; }
.admin-toolbar__group .select { width: auto; }
.admin-orders td { vertical-align: top; }
.admin-orders .badge { margin-top: 4px; }
.admin-order { display: grid; gap: 20px; }
.admin-order > * { min-width: 0; }
.admin-order__title { margin: 0; font-size: 1.5rem; }
.admin-order__pers { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 10px; border-radius: 6px; background: var(--orange-soft); font-size: 0.85rem; font-weight: 600; }
.admin-status-form { display: grid; gap: 14px; max-width: 560px; }
.admin-events { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.admin-events li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--border); font-size: 0.92rem; }
.admin-events li:first-child { border-left-color: var(--orange); }
.admin-events p { margin: 2px 0 0; white-space: pre-line; color: var(--text-muted); overflow-wrap: anywhere; }
.admin-editor { display: grid; gap: 16px; }
.admin-editor fieldset { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-editor legend { font-family: var(--font-heading); font-weight: 700; padding: 0 6px; }
.admin-material-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; align-items: center; }
.size-row { display: grid; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface); }
@media (min-width: 900px) { .size-row { grid-template-columns: 1fr 1fr 110px 1.2fr auto; align-items: end; } }
.dims-inputs { display: flex; gap: 6px; }
.dims-inputs .input { min-width: 0; }
.sticky-actions { position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; padding: 12px 0; background: linear-gradient(transparent, var(--white) 30%); flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text-inverse); margin-top: auto; }
.site-footer__grid { display: grid; gap: 32px; padding-block: 48px 32px; grid-template-columns: 1fr; }
.site-footer__brand p { color: var(--text-inverse-muted); font-size: 0.9rem; margin-top: 12px; max-width: 40ch; }
.site-footer__title { font-size: 0.95rem; color: var(--orange); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; }
.site-footer__col ul { display: grid; gap: 4px; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--text-inverse-muted); text-decoration: none; font-size: 0.92rem; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); }
/* § 356a BGB: withdrawal function must stay visible and highlighted – kept compact */
.site-footer__col a.footer-withdraw { min-height: 36px; margin-block: 4px; padding: 4px 12px; border: 1px solid var(--orange); border-radius: 999px; color: var(--white); font-weight: 600; font-size: 0.85rem; }
.site-footer__col a.footer-withdraw .icon { color: var(--orange); }
.site-footer__col a.footer-withdraw:hover { background: var(--orange); color: var(--black); text-decoration: none; }
.site-footer__col a.footer-withdraw:hover .icon { color: var(--black); }
.site-footer__payments { padding-block: 20px; border-top: 1px solid #2c2c33; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 6px; background: var(--white); color: var(--black); font-weight: 700; font-size: 0.8rem; }
.payment-badge .icon { color: var(--orange-text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px 28px; border-top: 1px solid #2c2c33; font-size: 0.8rem; color: var(--text-inverse-muted); }
.site-footer :focus-visible { box-shadow: 0 0 0 2px var(--orange); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Touch targets (mobile) ---------- */
@media (max-width: 1199px) {
  .drawer .lang-toggle__btn { min-height: 44px; }
  .site-footer__col a { min-height: 44px; }
  .link-button--inverse { min-height: 44px; }
  button.rating-bars__row { min-height: 44px; }
}

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Storefront: stock, banners, reviews from buyers ---------- */
.product-card__stock.is-sold-out { color: var(--text); font-weight: 700; }
.vacation-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px var(--gutter); background: var(--orange); color: var(--black); font-size: 0.85rem; font-weight: 600; text-align: center; }
.vacation-banner .icon { flex-shrink: 0; }
.announcement__promo { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 700; }
@media (max-width: 639px) {
  .announcement__inner > .announcement__promo { display: inline-flex; }
  .announcement__inner:has(.announcement__promo) > .announcement__accent { display: none; }
}
.review-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.review-items__item { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.review-items__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-form-inline { display: grid; gap: 12px; }
.star-input { display: flex; gap: 2px; }
.star-input__star { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; color: var(--border-strong); border-radius: 8px; }
.star-input__star.is-on { color: var(--orange); }
.star-input__star.is-on .icon { fill: currentColor; }
.star-input__star:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--orange); }
.star-input fieldset, fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- Admin ---------- */
.admin-panel { display: grid; gap: 16px; min-width: 0; }
.admin-panel > * { min-width: 0; }
.admin-loading { display: grid; place-items: center; padding: 48px 0; }
.admin-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.admin-dash, .admin-settings { display: grid; gap: 20px; }
.admin-card { display: grid; gap: 12px; align-content: start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); min-width: 0; }
.admin-card__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; }
.admin-card__title .icon, .admin-card__subtitle .icon { color: var(--orange-text); }
.admin-card__subtitle { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 1rem; }
.admin-grid-2 { display: grid; gap: 20px; }
@media (min-width: 900px) { .admin-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.kpi { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--black); color: var(--white); }
.kpi__label { font-size: 0.82rem; color: var(--text-inverse-muted); }
.kpi__value { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.kpi__sub { font-size: 0.8rem; color: var(--text-inverse-muted); }
.admin-todos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.admin-todo { display: grid; gap: 4px; justify-items: start; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--text-muted); }
.admin-todo:disabled { cursor: default; opacity: 0.7; }
.admin-todo.is-active { background: var(--white); border-color: var(--black); color: var(--text); }
.admin-todo.is-active:hover { background: var(--orange-soft); }
.admin-todo.is-active.is-warn { border-color: var(--orange); background: var(--orange-soft); }
.admin-todo__count { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.admin-todo__label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.bar-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; height: 220px; margin: 0; padding: 0; list-style: none; }
.bar-chart__item { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%; min-width: 0; }
.bar-chart__value { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bar-chart__bar { align-self: end; width: 100%; max-width: 48px; height: max(4px, var(--h)); border-radius: 6px 6px 0 0; background: var(--orange); }
.bar-chart__label { font-size: 0.8rem; font-weight: 600; }
.rank-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rank-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.rank-list li span:first-child { overflow-wrap: anywhere; }
.rank-list li span:last-child { white-space: nowrap; }
.admin-table tr.is-hidden-row td { color: var(--text-muted); }
.admin-table tr.is-hidden-row img { opacity: 0.45; }
.switch--compact { min-height: 44px; gap: 0; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.choice-list--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.stock-qty { display: grid; gap: 4px; margin-top: 8px; max-width: 180px; }
.photo-drop { display: grid; justify-items: center; gap: 8px; padding: 22px 16px; border: 2px dashed var(--border-strong); border-radius: var(--radius); text-align: center; color: var(--text-muted); transition: border-color 0.15s, background 0.15s; }
.photo-drop.is-dragover { border-color: var(--orange); background: var(--orange-soft); }
.photo-drop .icon { color: var(--orange-text); }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin: 0; padding: 0; list-style: none; }
.photo-grid__item { position: relative; display: grid; gap: 4px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.photo-grid__item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.photo-grid__main { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: var(--black); font-size: 0.7rem; font-weight: 700; }
.photo-grid__actions { display: flex; justify-content: center; gap: 2px; padding: 2px; }
.swatch-grid--labels { gap: 8px; }
.swatch-pick { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 6px; border: 2px solid var(--border); border-radius: 999px; cursor: pointer; font-size: 0.88rem; }
.swatch-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch-pick:has(input:checked) { border-color: var(--black); background: var(--surface); font-weight: 650; }
.swatch-pick:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--orange); }
.swatch-pick__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25); flex-shrink: 0; }
.size-rows { display: grid; gap: 8px; }
.model-file { display: grid; gap: 8px; justify-items: start; }
.admin-details { padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-details > summary { cursor: pointer; font-family: var(--font-heading); font-weight: 700; min-height: 32px; }
.admin-details[open] { display: grid; gap: 14px; }
.admin-export { padding: 14px 18px; }
.admin-export > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 650; min-height: 32px; }
.admin-export__form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.admin-export__form .field { min-width: 150px; }
.voucher-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--surface); }
.segmented__btn { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 6px; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.segmented__btn[aria-pressed='true'] { background: var(--black); color: var(--white); }
.admin-reviews { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.admin-review { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-review__text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.admin-review__meta { margin: 0; font-size: 0.82rem; }
.tax-rows { display: grid; gap: 8px; }
.tax-row { display: grid; gap: 8px; align-items: center; padding: 10px; border-radius: var(--radius-sm); background: var(--surface); }
@media (min-width: 760px) {
  .tax-row { grid-template-columns: 1fr 1fr 2fr auto; }
  .tax-row--color { grid-template-columns: 52px 1fr 1fr auto; }
}
.color-input { width: 52px; height: 44px; padding: 2px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--white); cursor: pointer; }
.info-list { display: grid; gap: 6px; margin: 0; font-size: 0.88rem; }
.info-list > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.info-list dt { color: var(--text-muted); }
.info-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 639px) {
  .admin-table .cell-actions { flex-wrap: wrap; }
  .kpi__value { font-size: 1.35rem; }
}
.order-status__eta a { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.admin-editor legend { display: flex; align-items: center; gap: 8px; }
.admin-editor legend .icon { color: var(--orange-text); flex-shrink: 0; }
.site-footer__admin { display: inline-flex; align-items: center; gap: 4px; color: var(--text-inverse-muted); text-decoration: none; }
.site-footer__admin:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- Account via schichtkater.de (single sign-on) ---------- */
.account-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: inherit;
  font: inherit; font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.account-link:hover { background: var(--surface); }
.account-link__text { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }
.account-menu { position: relative; }
.account-menu__chevron { transition: transform 0.15s var(--ease); }
.account-menu__toggle[aria-expanded='true'] .account-menu__chevron { transform: rotate(180deg); }
.account-menu__panel {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 240px; padding: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
}
.account-menu__panel[hidden] { display: none; }
.account-menu__who { margin: 4px 8px 8px; color: var(--text-muted); font-size: 0.85rem; overflow-wrap: anywhere; }
.account-menu__who strong { color: var(--text); }
.account-menu__item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text);
  font: inherit; font-weight: 600; font-size: 0.92rem; text-align: left; text-decoration: none; cursor: pointer;
}
.account-menu__item:hover { background: var(--surface); }
.account-menu__item:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 599px) {
  .site-header .account-link__text { display: none; }
  .site-header .account-link { width: 44px; justify-content: center; padding: 0; }
  .site-header .account-menu__chevron { display: none; }
}
.drawer__account { display: grid; gap: 2px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.drawer__account .account-menu__who { margin: 0 4px 6px; }
.drawer__account-hint { margin: 8px 4px 0; color: var(--text-muted); font-size: 0.85rem; }
.account-hint {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: var(--orange-soft); font-size: 0.92rem; line-height: 1.45;
}
.account-hint > svg { flex: none; margin-top: 1px; color: var(--orange-text); }
.account-hint a { font-weight: 650; color: var(--orange-text); }
.account-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.account-note { margin: 16px 0 0; color: var(--text-muted); font-size: 0.88rem; }
.account-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; color: var(--text-muted); }
.account-intro strong { color: var(--text); }
.account-intro a { font-weight: 600; color: var(--text); }
.account-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.account-order {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.account-order:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.account-order__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); }
.account-order__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.account-order__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-order__status { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); font-size: 0.78rem; font-weight: 700; }
.account-order__status--completed, .account-order__status--shipped, .account-order__status--ready_pickup { background: var(--success-bg); color: var(--success); }
.account-order__status--cancelled { background: var(--error-bg); color: var(--error); }
.account-order__status--in_production { background: var(--orange-soft); color: var(--orange-text); }
.account-order__items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-order__meta { color: var(--text-muted); font-size: 0.88rem; }
.account-order__chevron { flex: none; color: var(--text-muted); }

/* Wishlist (product page button and list under "Meine Bestellungen") */
.pdp__wish { margin-top: .5rem; }
.pdp__wish:empty { display: none; }
.pdp__wish-btn.is-on { color: var(--orange-text); }
.account-wishlist { margin-top: 2.5rem; }
.account-wishlist__title { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; margin: 0 0 1rem; }
.wish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.wish-row { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.wish-row__main { display: flex; flex-direction: column; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.wish-row__main:hover strong { text-decoration: underline; }
.wish-row__meta { font-size: .875rem; color: var(--text-muted); }
.wish-row__state { font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.wish-row__state--back, .wish-row__state--available { color: var(--success); }
.wish-row__state--waiting, .wish-row__state--soldOut { color: var(--text-muted); }
@media (max-width: 520px) { .wish-row { flex-wrap: wrap; } .wish-row__state { order: 3; width: 100%; } }
