/* OVERPRINT — prototyp sklepu z wydrukami 3D w stylistyce OVERMEDIA
   Układ: ciemna scena z siatką i poświatami, treść w kontenerze 1180px,
   karty produktów na gridzie, narzędzia (wycena/admin) w układzie 2 kolumn. */
:root {
  --bg: #0a0a0d;
  --bg-2: #0f0f14;
  --card: #15151b;
  --card-2: #1b1b24;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f3f1f7;
  --muted: #9b98a8;
  --muted-2: #6f6c7c;
  --primary: #e040fb;
  --primary-2: #ff2bd6;
  --primary-3: #b026ff;
  --primary-soft: rgba(224, 64, 251, 0.14);
  --teal: #22d3c5;
  --teal-soft: rgba(34, 211, 197, 0.14);
  --warn: #ffb020;
  --warn-soft: rgba(255, 176, 32, 0.14);
  --danger: #ff5f57;
  --danger-soft: rgba(255, 95, 87, 0.14);
  --ok: #28c840;
  --font-display: "Space Grotesk", "Open Sans", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(224, 64, 251, 0.35), 0 10px 40px rgba(224, 64, 251, 0.25);
  /* tokeny powierzchni (ciemny motyw); jasny motyw nadpisuje je niżej */
  --fg-strong: #ffffff;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --surface-3: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.3);
  --nav-bg: rgba(10, 10, 13, 0.82);
  --overlay: rgba(10,10,13,0.75);
  --thumb-bg: radial-gradient(120% 80% at 50% 100%, #1d1d27, #101015);
  --grid-line: rgba(255,255,255,0.035);
  --glow-a: rgba(224, 64, 251, 0.22); --glow-b: rgba(34, 211, 197, 0.12); --glow-c: rgba(176, 38, 255, 0.16);
  --alert-warn-fg: #ffd58a; --alert-danger-fg: #ffb3af; --alert-info-fg: #9ff0e8; --alert-primary-fg: #f2b8ff;
  --footer-bg: rgba(0,0,0,.25);
  --btn-teal-fg: #06201e;
  --thumb-img-bg: transparent;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(600px 500px at 8% 2%, var(--glow-a), transparent 70%),
    radial-gradient(700px 600px at 92% 40%, var(--glow-b), transparent 70%),
    radial-gradient(800px 700px at 85% 95%, var(--glow-c), transparent 70%);
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fg-strong); }
.accent { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
strong { color: var(--fg-strong); font-weight: 600; }
img, svg, canvas, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(1180px, 100% - 32px); } }
.section { padding-block: 88px; }
.section-tight { padding-block: 56px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.section-head.row { flex-direction: row; align-items: end; justify-content: space-between; max-width: none; flex-wrap: wrap; }

/* --- eyebrow / badges --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border: 1px solid rgba(224, 64, 251, 0.35);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.eyebrow.teal { color: var(--teal); background: var(--teal-soft); border-color: rgba(34, 211, 197, 0.35); }
.eyebrow.teal::before { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface);
}
.badge.ok { color: var(--teal); border-color: rgba(34,211,197,.4); background: var(--teal-soft); }
.badge.warn { color: var(--warn); border-color: rgba(255,176,32,.4); background: var(--warn-soft); }
.badge.danger { color: var(--danger); border-color: rgba(255,95,87,.4); background: var(--danger-soft); }
.badge.primary { color: var(--primary); border-color: rgba(224,64,251,.4); background: var(--primary-soft); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 8px 30px rgba(224, 64, 251, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(224, 64, 251, 0.55); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--surface-2); }
.btn-teal { background: var(--teal); color: var(--btn-teal-fg); }
.btn-teal:hover { filter: brightness(1.08); color: var(--btn-teal-fg); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(255,95,87,.4); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; position: relative; }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav .logo { display: flex; align-items: center; height: 40px; }
.nav .logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 0.93rem; color: var(--muted); font-family: var(--font-display); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--fg-strong); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-actions .btn { display: none; }
}

/* --- hero --- */
.hero { position: relative; padding-block: 96px 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 56px 48px; } }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-kicker { display: block; margin-bottom: 14px; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--fg-strong); }
.stat b small { font-size: 1rem; color: var(--primary); margin-left: 2px; }
.stat span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.hero-visual { position: relative; min-width: 0; }
.viewer-frame {
  position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #15151b, #0d0d12);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; max-width: 100%;
}
.viewer-frame canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer-frame .chip { position: absolute; top: 14px; left: 14px; }
.viewer-frame .chip-br { position: absolute; bottom: 14px; right: 14px; left: auto; top: auto; }
.viewer-frame .hint { position: absolute; bottom: 14px; left: 14px; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-display); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--overlay); border: 1px solid var(--line-2); font-size: 0.8rem; backdrop-filter: blur(8px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* --- cards & grids --- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.card.pad-0 { padding: 0; overflow: hidden; }
.card h3 { margin-bottom: 8px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(224,64,251,.3); }
.feature .ic.teal { background: var(--teal-soft); color: var(--teal); border-color: rgba(34,211,197,.3); }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* steps (real sequence: upload → preview → price → print) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--primary); letter-spacing: 0.1em; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* product cards */
.product { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; min-width: 0; }
.product:hover { transform: translateY(-3px); border-color: rgba(224,64,251,.45); box-shadow: 0 16px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(224,64,251,.15); }
.product .thumb { position: relative; aspect-ratio: 1 / 1; background: var(--thumb-bg); display: grid; place-items: center; overflow: hidden; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.product .thumb img[src*="data:image/png"] { object-fit: contain; }
.product .thumb .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
/* plakietki leżą na zdjęciach (także jasnych) – zawsze ciemne, nieprzezroczyste tło */
.badge.on-photo { color: #fff; background: rgba(10, 10, 13, 0.78); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.product .thumb .spin { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--primary); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .cat { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.product h3 { font-size: 1.1rem; }
.product .desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.product .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.price small { font-size: 0.78rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price.big { font-size: 2.4rem; line-height: 1; }

/* --- forms --- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 600; }
.field .help { font-size: 0.8rem; color: var(--muted-2); }
input[type="text"], input[type="search"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); outline: none; transition: border-color .2s, box-shadow .2s; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select option { background: var(--card-2); color: var(--fg); }
textarea { min-height: 100px; resize: vertical; }
.input-unit { position: relative; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.85rem; pointer-events: none; }
.input-unit input { padding-right: 56px; }
input[type="range"] { width: 100%; accent-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 560px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.92rem; color: var(--fg); }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background .2s; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(18px); }

/* segmented options */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg .opt { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); min-width: 96px; transition: border-color .15s, background .15s; }
.seg .opt b { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.seg .opt small { color: var(--muted); font-size: 0.75rem; }
.seg input:checked + .opt { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px rgba(224,64,251,.35) inset; }
.seg input:focus-visible + .opt { outline: 2px solid var(--teal); }

/* color swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line-2); cursor: pointer; position: relative; transition: transform .15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--bg); outline: 2px solid var(--primary); box-shadow: 0 0 12px rgba(224,64,251,.5); }
.swatch[title]::after { content: attr(title); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font-size: 0.7rem; background: var(--card-2); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.swatch:hover::after { opacity: 1; }
/* Kolory elementów (personalizacja): wiersz na część – nazwa + mniejsze próbki */
.op-part-colors { gap: 10px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card-2); }
.op-part-row { display: flex; flex-direction: column; gap: 6px; }
.swatches-sm { gap: 7px; }
.swatches-sm .swatch { width: 24px; height: 24px; }


/* dropzone */
.dropzone {
  border: 2px dashed rgba(224,64,251,.45); border-radius: 18px; padding: 44px 24px; text-align: center; cursor: pointer;
  background: linear-gradient(160deg, rgba(224,64,251,.06), rgba(34,211,197,.04)); transition: border-color .2s, background .2s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: linear-gradient(160deg, rgba(224,64,251,.12), rgba(34,211,197,.06)); }
.dropzone .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.dropzone h3 { font-size: 1.15rem; }
.dropzone p { color: var(--muted); font-size: 0.9rem; }
.dropzone input { display: none; }

/* quote layout */
.tool-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .tool-layout { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 960px) { .sticky { position: static; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel h3 { font-size: 1.05rem; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; font-size: 0.93rem; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--fg-strong); }
.kv dd.sum { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.kv .sep { grid-column: 1 / -1; border-top: 1px solid var(--line); margin: 4px 0; }
.total-box { background: linear-gradient(135deg, rgba(224,64,251,.16), rgba(34,211,197,.08)); border: 1px solid rgba(224,64,251,.35); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.total-box .label { color: var(--muted); }
.total-box .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.total-box .meta b { color: var(--fg-strong); font-weight: 600; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 0.88rem; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert.warn { background: var(--warn-soft); border-color: rgba(255,176,32,.4); color: var(--alert-warn-fg); }
.alert.danger { background: var(--danger-soft); border-color: rgba(255,95,87,.4); color: var(--alert-danger-fg); }
.alert.info { background: var(--teal-soft); border-color: rgba(34,211,197,.4); color: var(--alert-info-fg); }
.alert.primary { background: var(--primary-soft); border-color: rgba(224,64,251,.4); color: var(--alert-primary-fg); }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
table input, table select { padding: 8px 10px; font-size: 0.88rem; }
tr:last-child td { border-bottom: 0; }

/* material cards */
.material { display: flex; flex-direction: column; gap: 12px; }
.material .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.material .props { display: flex; flex-direction: column; gap: 6px; }
.material .prop { display: flex; justify-content: space-between; font-size: 0.86rem; gap: 10px; }
.material .prop span:first-child { color: var(--muted); }
.meter { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; flex: 1; max-width: 120px; align-self: center; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--teal)); border-radius: 999px; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { position: relative; border-radius: 24px; padding: 56px 48px; overflow: hidden; border: 1px solid rgba(224,64,251,.35);
  background: radial-gradient(700px 300px at 10% 0%, rgba(224,64,251,.35), transparent 70%), radial-gradient(500px 300px at 95% 100%, rgba(34,211,197,.25), transparent 70%), var(--card); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 48px 32px; margin-top: 40px; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { margin-bottom: 14px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.93rem; color: var(--muted); }
footer ul a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted-2); }

/* cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cart-item .ci-thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--card-2); display: grid; place-items: center; overflow: hidden; }
.cart-item .ci-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item .ci-name { font-weight: 600; font-size: 0.93rem; line-height: 1.3; }
.cart-item .ci-meta { font-size: 0.78rem; color: var(--muted); }
.cart-item .ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 30px; height: 30px; background: transparent; border: 0; cursor: pointer; color: var(--fg); font-size: 1rem; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 28px; text-align: center; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.link-danger { color: var(--danger); font-size: 0.78rem; background: none; border: 0; cursor: pointer; padding: 0; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* toast */
.toast-wrap { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--card-2); border: 1px solid rgba(224,64,251,.4); border-left: 3px solid var(--primary); border-radius: 12px; padding: 12px 16px; font-size: 0.9rem; box-shadow: var(--shadow); animation: toast-in .25s ease; display: flex; gap: 10px; align-items: center; }
.toast.ok { border-color: rgba(34,211,197,.4); border-left-color: var(--teal); }
.toast.danger { border-color: rgba(255,95,87,.4); border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* shop toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.toolbar .search { flex: 1; min-width: 220px; position: relative; }
.toolbar .search input { padding-left: 42px; }
.toolbar .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar select { width: auto; min-width: 170px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 0.86rem; font-family: var(--font-display); font-weight: 500; }
.pill:hover { color: var(--fg-strong); border-color: var(--line-strong); }
.pill.active { color: var(--fg-strong); background: var(--primary-soft); border-color: rgba(224,64,251,.5); }

/* product page */
.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
@media (max-width: 960px) { .product-layout { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .spec { grid-template-columns: repeat(2, 1fr); } }
.spec div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.spec span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.spec b { font-family: var(--font-display); font-size: 1.02rem; font-variant-numeric: tabular-nums; }

/* admin */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-nav { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.admin-nav button { text-align: left; background: transparent; border: 0; padding: 11px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); font-family: var(--font-display); font-weight: 500; display: flex; gap: 10px; align-items: center; }
.admin-nav button:hover { color: var(--fg-strong); background: var(--surface-2); }
.admin-nav button.active { color: var(--fg-strong); background: var(--primary-soft); }
@media (max-width: 900px) { .admin-nav { flex-direction: row; flex-wrap: wrap; } }
.admin-page { display: none; flex-direction: column; gap: 22px; }
.admin-page.active { display: flex; }
.admin-page .card { display: flex; flex-direction: column; gap: 18px; }
.admin-page .card > h3 { margin: 0; }
.sticky-bar { position: sticky; bottom: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); margin-top: 20px; }
.sticky-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sim { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .sim { grid-template-columns: repeat(2, 1fr); } }
.sim .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sim .tile span { display: block; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.sim .tile b { font-family: var(--font-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

/* checkout */
.order-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio-card input { accent-color: var(--primary); }
.radio-card .rc-text { flex: 1; }
.radio-card .rc-text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.radio-card .rc-text small { color: var(--muted); }
.radio-card .rc-price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* misc */
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--surface); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee-track span::before { content: "✦"; color: var(--primary); margin-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.float-cta { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; }
@media (max-width: 640px) { .float-cta { display: none; } }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* --- dokumenty prawne --- */
.op-legal h2 { font-size: 1.25rem; margin: 2em 0 .7em; }
.op-legal ol, .op-legal ul { padding-left: 1.4em; color: var(--muted); display: flex; flex-direction: column; gap: .5em; }
.op-legal li { line-height: 1.6; }
.op-legal p { color: var(--muted); }
.op-legal strong { color: var(--fg-strong); }
.op-legal a { color: var(--primary); }
.op-legal table { font-size: .88rem; margin: 10px 0; }
.op-legal td { color: var(--muted); vertical-align: top; }
.op-fill { background: var(--warn-soft); color: var(--warn); padding: 0 6px; border-radius: 4px; font-weight: 600; }
.op-company p { line-height: 1.9; color: var(--muted); }
.op-company b { color: var(--fg-strong); font-family: var(--font-display); }

/* --- dodatki WordPress --- */
.op-cookies { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 180; margin-inline: auto; max-width: 720px; background: var(--card-2); border: 1px solid rgba(224,64,251,.4); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.op-cookies p { flex: 1; min-width: 240px; font-size: .88rem; color: var(--muted); }
.op-cookies a { color: var(--primary); }
.op-added ul { margin: 6px 0 10px; padding-left: 18px; font-size: .9rem; }
.op-added .row { gap: 8px; }
.op-contact .field label { text-transform: uppercase; }
.op-consent span { font-size: .88rem; color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.trust b { display: block; font-family: var(--font-display); font-weight: 600; }
.trust small { color: var(--muted); }
.trust .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); flex: none; }
.label-value { color: var(--fg-strong); text-transform: none; letter-spacing: 0; }
.op-file { display: block; font-size: .8rem; color: var(--muted); }
.op-product-visual { min-width: 0; }
.op-cart-thumb { width: 64px; height: 64px; object-fit: contain; }

/* baner Autopay (logotypy kart i banków – wymóg Visa/Mastercard) */
.op-payment-logos { background: #fff; border-radius: 12px; padding: 6px 10px; margin: 14px 0; max-width: 560px; }
.op-payment-logos img { display: block; width: 100%; height: auto; }
.op-payment-logos.small { max-width: 360px; margin: 10px 0 0; padding: 4px 8px; }
.op-legal li > .op-payment-logos { margin-left: 0; }
.op-price-note { margin: -6px 0 10px; }

/* pocięty projekt z Bambu Studio – miniatura płyty zamiast podglądu 3D */
.viewer-frame { position: relative; }
.op-sliced-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--thumb-bg); z-index: 3; }


/* ===== Jasny motyw (html[data-theme="light"]): złamana biel z fioletowymi akcentami. Hero i ramka podglądu 3D zostają ciemne. ===== */
html[data-theme="light"] {
  --bg: #f7f5fb; --bg-2: #f1eef8; --card: #ffffff; --card-2: #f8f6fc;
  --line: rgba(44, 20, 70, 0.09); --line-2: rgba(44, 20, 70, 0.16); --line-strong: rgba(44, 20, 70, 0.34);
  --fg: #221c2e; --fg-strong: #120d1b; --muted: #5f5873; --muted-2: #6a6676;   /* muted-2 było #8e889e – za słaby kontrast (2,8–3,4:1) */
  --primary: #b818c4; --primary-2: #e8118f;   /* było #c81bd6 – tekst 4,2:1 na tle strony, teraz ≥ 4,6:1 */ --primary-3: #7c3aed; --primary-soft: rgba(200, 27, 214, 0.10);
  --teal: #0e9c90; --teal-soft: rgba(14, 156, 144, 0.12);
  --warn: #9a5a00; --warn-soft: rgba(255, 176, 32, 0.16); --danger: #c8322c; --danger-soft: rgba(214, 50, 44, 0.10); --ok: #1a8f36;
  --shadow: 0 18px 50px rgba(60, 20, 90, 0.12); --glow: 0 0 0 1px rgba(200, 27, 214, 0.25), 0 10px 36px rgba(200, 27, 214, 0.18);
  --surface: rgba(44, 20, 70, 0.03); --surface-2: rgba(44, 20, 70, 0.06); --surface-3: rgba(44, 20, 70, 0.14);
  --nav-bg: rgba(250, 248, 253, 0.86); --overlay: rgba(255, 255, 255, 0.82);
  --thumb-bg: radial-gradient(120% 80% at 50% 100%, #ffffff, #efebf6); --thumb-img-bg: #f3f0f8;
  --grid-line: rgba(70, 30, 110, 0.06);
  --glow-a: rgba(200, 27, 214, 0.14); --glow-b: rgba(14, 156, 144, 0.08); --glow-c: rgba(124, 58, 237, 0.10);
  --alert-warn-fg: #6b3f00; --alert-danger-fg: #8f1f1a; --alert-info-fg: #0b5f58; --alert-primary-fg: #7a0f85;
  --footer-bg: #ece8f4; --btn-teal-fg: #ffffff;
  color-scheme: light;
}
html[data-theme="light"] .btn-primary { color: #fff; box-shadow: 0 8px 26px rgba(200, 27, 214, 0.28); }
html[data-theme="light"] .btn-primary:hover { box-shadow: 0 10px 34px rgba(200, 27, 214, 0.4); }
html[data-theme="light"] .badge.on-photo { color: #120d1b; background: rgba(255,255,255,0.85); border-color: rgba(44,20,70,0.14); box-shadow: 0 2px 10px rgba(60,20,90,.12); }
html[data-theme="light"] .product .thumb img { background: var(--thumb-img-bg); }
html[data-theme="light"] .icon-btn .count, html[data-theme="light"] .woocommerce .onsale { color: #fff; }
html[data-theme="light"] .cta-band { background: radial-gradient(700px 300px at 10% 0%, rgba(200,27,214,.18), transparent 70%), radial-gradient(500px 300px at 95% 100%, rgba(14,156,144,.14), transparent 70%), var(--card); }
html[data-theme="light"] .total-box { background: linear-gradient(135deg, rgba(200,27,214,.10), rgba(14,156,144,.06)); border-color: rgba(200,27,214,.3); }
html[data-theme="light"] .dropzone { background: linear-gradient(160deg, rgba(200,27,214,.05), rgba(14,156,144,.04)); border-color: rgba(200,27,214,.4); }
html[data-theme="light"] .toast { border-color: rgba(200,27,214,.3); }
html[data-theme="light"] .swatch.active { border-color: #fff; }
html[data-theme="light"] .drawer-backdrop { background: rgba(30, 15, 45, .4); }
/* ciemna wyspa: ramka podglądu 3D (hero jest jasne; ciemne hero włącza klasa html.hero-dark – do porównania) */
html[data-theme="light"].hero-dark .hero, html[data-theme="light"] .viewer-frame, html[data-theme="light"] .op-product-visual .viewer-frame {
  --bg: #0a0a0d; --card: #15151b; --card-2: #1b1b24; --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14); --line-strong: rgba(255,255,255,0.3);
  --fg: #f3f1f7; --fg-strong: #ffffff; --muted: #9b98a8; --muted-2: #6f6c7c; --primary: #e040fb; --primary-2: #ff2bd6; --primary-soft: rgba(224,64,251,0.14);
  --teal: #22d3c5; --teal-soft: rgba(34,211,197,0.14); --surface: rgba(255,255,255,0.03); --surface-2: rgba(255,255,255,0.06); --overlay: rgba(10,10,13,0.75); --shadow: 0 20px 60px rgba(0,0,0,.45);
  color: var(--fg); color-scheme: dark;
}
html[data-theme="light"].hero-dark .hero { background: #0a0a0d radial-gradient(900px 500px at 10% 0%, rgba(224,64,251,.25), transparent 70%); background-image: radial-gradient(900px 500px at 10% 0%, rgba(224,64,251,.25), transparent 70%), radial-gradient(700px 500px at 90% 90%, rgba(34,211,197,.14), transparent 70%), linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: auto, auto, 72px 72px, 72px 72px; border-bottom: 1px solid rgba(255,255,255,.06); }
html[data-theme="light"].hero-dark .hero .btn-ghost { color: #fff; }
/* jasne hero: delikatny fioletowy gradient u góry */
html[data-theme="light"]:not(.hero-dark) .hero { background: radial-gradient(900px 480px at 8% 0%, rgba(200,27,214,.16), transparent 70%), radial-gradient(700px 420px at 92% 20%, rgba(14,156,144,.10), transparent 70%); }


/* pole na logo klienta */
.op-logo-field input[type="file"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(200,27,214,.45); background: var(--primary-soft); color: var(--fg); font-size: .92rem; }
.op-logo-field input[type="file"]::file-selector-button { border: 0; border-radius: 999px; padding: 6px 14px; margin-right: 12px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600; cursor: pointer; }

/* warianty wektoryzacji logo (ciemne / jasne / sylwetka) */
.op-logo-variants { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.op-logo-variant-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.op-logo-variant { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: .78rem; text-align: center; }
.op-logo-variant input { position: absolute; opacity: 0; pointer-events: none; }
.op-logo-variant img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 6px; background: #fff; }
.op-logo-variant.active { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px rgba(200,27,214,.35) inset; }

/* Pasek rabatów ilościowych nad polem „Ilość” */
.op-discounts { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.op-discounts-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.op-discounts-head #op-discounts-hint { text-align: right; }
.op-discounts-tiers { display: flex; flex-wrap: wrap; gap: 6px; }
.op-tier { display: inline-flex; flex-direction: column; align-items: center; min-width: 74px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: .78rem; line-height: 1.2; color: var(--muted); }
.op-tier b { color: var(--fg-strong); font-weight: 600; font-size: .8rem; }
.op-tier span { color: var(--primary); font-weight: 600; }
.op-tier.active { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px rgba(200,27,214,.35) inset; }
.op-tier.active b { color: var(--primary); }
.op-tier.capped { opacity: .55; text-decoration: line-through; }
.op-tier.next { border-style: dashed; }
@media (max-width: 520px) { .op-tier { min-width: calc(33.33% - 4px); } }

.kv dd .muted { font-size: .82rem; font-weight: 400; color: var(--muted); }
.kv dt.muted { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }

/* Kolor chwilowo niedostępny („wkrótce”): widoczny, ale niewybieralny */
.swatch.soon { cursor: not-allowed; opacity: .45; background-image: repeating-linear-gradient(45deg, transparent 0 5px, rgba(0,0,0,.28) 5px 8px); }
.swatch.soon:hover { transform: none; }
.swatch.soon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--muted); opacity: .8; }

/* Opcja: tag NFC */
.op-nfc-field { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.op-nfc-field input[type="url"] { margin-top: 2px; }

.op-materials-other { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 18px; font-size: .92rem; }
.op-materials-other li { padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.op-materials-other b { display: block; }

/* Generator produktów personalizowanych (numer domu, breloki, litofan) */
.op-gen-field { gap: 10px; }
.op-gen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.op-gen-field label.op-gen-item { display: flex; flex-direction: column; gap: 5px; text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 400; font-size: .9rem; color: var(--fg); }
.op-gen-item .small { font-size: .8rem; color: var(--muted); }
.op-gen-item input[type="text"], .op-gen-item select { width: 100%; }
.op-gen-wide { grid-column: 1 / -1; }
.op-gen-field input[type="file"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(200,27,214,.45); background: var(--primary-soft); color: var(--fg); font-size: .92rem; }
.op-gen-field input[type="file"]::file-selector-button { border: 0; border-radius: 999px; padding: 6px 14px; margin-right: 12px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600; cursor: pointer; }
#op-gen-run { align-self: flex-start; }
#op-gen-run[disabled] { opacity: .6; cursor: progress; }
.op-gen-shape { display: flex; flex-direction: column; gap: 4px; }
.op-gen-shape img { width: 100%; max-width: 360px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); }

/* Kadr kart 1:1: pionowe zdjęcia produktowe wypełniają kadr (minimalne przycięcie), poziome rendery i zdjęcia autorów pokazujemy w całości */
.product .thumb img.op-landscape { object-fit: contain; }
.product .thumb img.op-portrait { object-fit: cover; object-position: center 32%; }
.product .thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.product .thumb .badges { z-index: 2; }

/* Menu: pozycje w jednej linii (po dodaniu „Cennika” „Wycena 3D” i „Dla firm” łamały się na 1280 px) */
.nav-links a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1360px) { .nav-links { gap: 2px; } .nav-links a { padding-left: 10px; padding-right: 10px; } }

.badge.op-badge-hot { background: var(--primary); color: #fff; border-color: transparent; }

/* Pole zdjęcia od klienta (popiersie, figurka) – jak pole logo */
.op-photo-field input[type="file"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(200,27,214,.45); background: var(--primary-soft); color: var(--fg); font-size: .92rem; }
.op-photo-field input[type="file"]::file-selector-button { border: 0; border-radius: 999px; padding: 6px 14px; margin-right: 12px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600; cursor: pointer; }

/* Bestseller na stronie głównej */
.op-spotlight { padding-block: 40px 8px; }
.op-spot { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0; padding: 0; overflow: hidden; border: 1px solid rgba(200,27,214,.28); box-shadow: 0 24px 60px rgba(200,27,214,.12); }
.op-spot-media { position: relative; display: block; min-height: 420px; background: var(--thumb-bg); }
.op-spot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.op-spot-thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.op-spot-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.op-spot-body { padding: 44px 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; min-width: 0; }
.op-spot-body h2 { margin: 0; text-wrap: balance; }
.op-spot-body .lead { margin: 0; }
.op-spot-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.op-spot-list li { position: relative; padding-left: 26px; }
.op-spot-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.op-spot-price b { font-family: var(--font-display); font-size: 1.9rem; color: var(--fg-strong); }
.op-spot-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .op-spot { grid-template-columns: 1fr; } .op-spot-media { min-height: 0; aspect-ratio: 4 / 3; } .op-spot-body { padding: 28px 22px; } }
/* dwa bestsellery obok siebie: karty pionowe (zdjęcie nad treścią) */
.op-spot-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.op-spot-duo .op-spot { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.op-spot-duo .op-spot-media { min-height: 0; aspect-ratio: 4 / 3; }
.op-spot-duo .op-spot-body { padding: 28px 30px 32px; justify-content: flex-start; }
.op-spot-duo .op-spot-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.op-spot-duo .op-spot-cta { margin-top: auto; }
@media (max-width: 860px) { .op-spot-duo { grid-template-columns: 1fr; gap: 18px; } .op-spot-duo .op-spot-body { padding: 24px 22px 26px; } }
/* trzy bestsellery: 3 kolumny, niższe zdjęcia i mniejsze nagłówki; poniżej 1000 px jedna kolumna */
.op-spot-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.op-spot-trio .op-spot-body { padding: 24px 24px 28px; gap: 12px; }
.op-spot-trio .op-spot-body h2 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.op-spot-trio .op-spot-price b { font-size: 1.6rem; }
@media (max-width: 1000px) { .op-spot-trio { grid-template-columns: 1fr; } }

/* Siatka produktów: kompaktowe karty (4 kolumny, 2 na telefonie) */
.grid.op-products { gap: 18px; }
.op-products .product .body { padding: 14px 16px 16px; gap: 6px; }
.op-products .product h3 { font-size: 0.98rem; line-height: 1.3; }
.op-products .product .cat { font-size: 0.75rem; }   /* min. 12 px (Lighthouse: czytelny tekst) */
.op-products .product .desc { font-size: 0.84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 0 0 auto; }
.op-products .product .body { justify-content: space-between; }
.op-products .product .foot { margin-top: 4px; }
.op-products .product .price { font-size: 1rem; }
.op-products .product .btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.op-products .product .badges { top: 10px; left: 10px; gap: 4px; }
.op-products .product .badge { font-size: 0.68rem; padding: 3px 8px; }
@media (max-width: 1000px) { .grid-4.op-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-4.op-products { grid-template-columns: repeat(2, 1fr); gap: 12px; } .op-products .product .desc { display: none; } .op-products .product .body { padding: 10px 12px 12px; } .op-products .product h3 { font-size: 0.9rem; } .op-products .product .foot { flex-direction: column; align-items: flex-start; gap: 6px; } .op-products .product .btn-sm { display: none; } }

/* Galeria zdjęć na stronie produktu (WooCommerce flexslider + PhotoSwipe) */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img { border-radius: var(--radius); }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: pointer; opacity: .6; border: 2px solid transparent; transition: opacity .15s, border-color .15s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--primary); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.15); display: grid; place-items: center; font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid #1d1b26; border-radius: 50%; display: block; margin: -3px 0 0 -3px; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 8px; background: #1d1b26; transform: rotate(-45deg); margin: 13px 0 0 13px; }
.woocommerce-product-gallery__trigger img { display: none !important; }


/* Sklep i kategorie: kompaktowy nagłówek, produkty widoczne od razu */
.woo-main .section-head { margin-bottom: 18px; gap: 8px; max-width: none; }
.woo-main .section-head .eyebrow { align-self: flex-start; }
.woo-main .page-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.woo-main .section-head .lead { font-size: .96rem; max-width: 78ch; }
.woo-main .toolbar { margin-bottom: 14px; }
.woo-main .toolbar .search input { padding-top: 10px; padding-bottom: 10px; }
.woo-main .pills { margin-bottom: 22px; }
.woo-main .pill { padding: 7px 13px; font-size: .88rem; }
.woo-main .op-cat-desc { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); max-width: 78ch; font-size: .98rem; }
.woo-main .op-cat-desc h2 { font-size: 1.2rem; margin: 0 0 8px; color: var(--fg-strong); }

/* program poleceń */
.op-ref-box { margin: 24px 0; padding: 18px 20px; border-color: rgba(224,64,251,.45); }
.op-ref-link { display: flex; gap: 8px; flex-wrap: wrap; }
.op-ref-link input { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font-size: .9rem; }
.op-referral .lead { font-size: 1.1rem; margin: 0 0 24px; max-width: 70ch; }
.op-ref-steps { margin: 0 0 24px; }
.op-ref-steps .card { padding: 22px; position: relative; }
.op-ref-steps h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.op-ref-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.op-ref-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; }
.op-ref-lookup { padding: 24px; margin: 0 0 32px; }
.op-ref-lookup h3 { margin: 0 0 6px; }
.op-ref-lookup p { margin: 0 0 14px; }
.op-ref-form { display: flex; gap: 10px; flex-wrap: wrap; }
.op-ref-form input[type=email] { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); }
.op-ref-rules { padding-left: 20px; color: var(--muted); max-width: 80ch; }
.op-ref-rules li { margin: 0 0 10px; }
.op-ref-rules li::marker { color: var(--primary); font-weight: 700; }
@media (max-width: 760px) { .op-ref-steps { grid-template-columns: 1fr; } }

/* realizacje: kafelki + lightbox */
.op-works { gap: 18px; }
.op-work { margin: 0; min-width: 0; }
.op-work-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--thumb-bg); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 1 / 1; transition: transform .2s, box-shadow .2s, border-color .2s; }
.op-work-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.op-work-open:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(50, 10, 60, .12); border-color: rgba(224,64,251,.45); }
.op-work-open:hover img { transform: scale(1.04); }
.op-work-count { position: absolute; right: 10px; bottom: 10px; background: rgba(10, 6, 14, .72); color: #fff; font-size: .74rem; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); }
.op-work figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px 0; }
.op-work figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--fg-strong); }
@media (max-width: 1000px) { .op-works { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .op-works { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.op-lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); width: auto; max-height: 96vh; overflow: visible; color: var(--fg); }
.op-lb::backdrop { background: rgba(8, 4, 12, .88); backdrop-filter: blur(6px); }
.op-lb figure { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: var(--card); border-radius: 18px; overflow: hidden; max-height: 92vh; }
.op-lb img { width: 100%; height: 100%; max-height: 92vh; object-fit: contain; background: #0c0912; display: block; }
.op-lb figcaption { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.op-lb figcaption strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--fg-strong); }
.op-lb-desc { margin: 4px 0 8px; color: var(--muted); font-size: .92rem; }
.op-lb-product { align-self: flex-start; }
.op-lb-counter { margin-top: auto; }
.op-lb-x, .op-lb-nav { position: absolute; z-index: 2; border: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); color: #1a1022; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.op-lb-x { top: -14px; right: -14px; }
.op-lb-nav { top: 50%; transform: translateY(-50%); }
.op-lb-prev { left: -18px; } .op-lb-next { right: -18px; }
.op-lb.op-lb-single .op-lb-nav { display: none; }
@media (max-width: 760px) { .op-lb { max-width: 100vw; max-height: 100vh; } .op-lb figure { grid-template-columns: 1fr; max-height: 100vh; border-radius: 0; } .op-lb img { max-height: 62vh; } .op-lb figcaption { padding: 16px; } .op-lb-x { top: 8px; right: 8px; } .op-lb-prev { left: 6px; } .op-lb-next { right: 6px; } }

/* opinie z Google */
.op-reviews-summary { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.op-reviews-summary strong { color: var(--fg-strong); font-size: 1.15rem; }
.op-reviews-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.op-stars { display: inline-flex; gap: 2px; color: #f5b301; }
.op-reviews { gap: 18px; }
.op-review { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.op-review blockquote { margin: 0; color: var(--fg); font-size: .95rem; line-height: 1.6; flex: 1; }
.op-review figcaption { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.op-review figcaption img, .op-review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.op-review-avatar { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-family: var(--font-display); font-weight: 700; }
.op-review figcaption > span { display: flex; flex-direction: column; }
@media (max-width: 960px) { .op-reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .op-reviews { grid-template-columns: 1fr; } }

/* kafelki kategorii w sklepie */
.op-cat-tiles-title { font-size: 1.15rem; margin: 0 0 14px; }
.op-cat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 36px; }
.op-cat-tile { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-width: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.op-cat-tile:hover { border-color: rgba(224,64,251,.45); box-shadow: 0 10px 26px rgba(50,10,60,.10); transform: translateY(-2px); }
.op-cat-tile-img { flex: none; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--thumb-bg); display: block; }
.op-cat-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-cat-tile-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.op-cat-tile-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--fg-strong); }
.op-cat-tile-name .small { font-weight: 500; }
.op-cat-tile-links { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .82rem; }
.op-cat-tile-links a { color: var(--muted); }
.op-cat-tile-links a:hover { color: var(--primary); }
@media (max-width: 960px) { .op-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .op-cat-tiles { grid-template-columns: 1fr; gap: 10px; } .op-cat-tile-img { width: 72px; height: 72px; } }

/* licznik do najbliższej okazji (strona główna) */
.op-countdown-wrap { padding-block: 28px 8px; }
.op-countdown { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .9fr); gap: 20px 32px; align-items: center; padding: 26px 30px; border-radius: var(--radius); background: linear-gradient(120deg, var(--card) 0%, var(--primary-soft) 100%); border: 1px solid rgba(224,64,251,.35); }
.op-cd-copy h2 { margin: 10px 0 6px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.op-cd-deadline { margin: 0; color: var(--muted); font-size: .95rem; }
.op-cd-timer { display: flex; gap: 10px; }
.op-cd-cell { min-width: 70px; padding: 12px 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.op-cd-cell b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.op-cd-cell span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.op-cd-cell:first-child { background: var(--primary); border-color: var(--primary); }
.op-cd-cell:first-child b, .op-cd-cell:first-child span { color: #fff; }
.op-cd-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.op-cd-next { font-size: .88rem; color: var(--muted); }
.op-cd-next span { color: var(--primary); font-weight: 600; }
.op-cd-next:hover { color: var(--fg-strong); }
@media (max-width: 1000px) { .op-countdown { grid-template-columns: 1fr; text-align: left; } }
@media (max-width: 480px) { .op-countdown { padding: 20px 16px; } .op-cd-cell { min-width: 0; flex: 1; } .op-cd-cell b { font-size: 1.5rem; } }

/* opis kategorii z nagłówkami, listą i FAQ */
.woo-main .op-cat-desc h3 { font-size: 1.02rem; margin: 18px 0 6px; color: var(--fg-strong); }
.woo-main .op-cat-desc p { margin: 0 0 10px; }
.woo-main .op-cat-desc ul { margin: 0 0 10px; padding-left: 20px; }
.woo-main .op-cat-desc li { margin: 0 0 4px; }
.woo-main .op-cat-desc a { color: var(--primary); }
.woo-main .op-cat-desc .faq { margin-top: 8px; }
.woo-main .op-cat-desc .faq details p { margin: 0 0 14px; }

/* hero: zdjęcie produktu jako pierwszy kadr, model 3D dopiero na żądanie (audyt 08.11.2026) */
.viewer-frame .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .35s ease; }
.viewer-frame .chip, .viewer-frame .hint, .viewer-frame .hero-3d-btn { z-index: 2; }
.viewer-frame.has-poster:not(.is-3d) .hint { display: none; }
.viewer-frame.has-poster:not(.is-3d) .chip:not(.chip-br) { display: none; }
.viewer-frame.is-3d .hero-poster { opacity: 0; pointer-events: none; }
.viewer-frame.is-3d .hero-3d-btn { display: none; }
.viewer-frame .hero-3d-btn { position: absolute; left: 14px; bottom: 14px; background: var(--overlay); backdrop-filter: blur(8px); }

/* opinie z Google: sama ocena, gdy API nie oddaje treści opinii */
.op-reviews-badge { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 24px; }
#wgraj + #opinie { padding-top: 0; }

/* dostępność (Lighthouse 10.11.2026) */
/* kolejność nagłówków: tytuł pola „Wgraj plik” i kolumny stopki to h2, wygląd bez zmian */
.dropzone h2.dropzone-title { font-size: 1.15rem; font-weight: 600; }
footer h2.footer-title { margin-bottom: 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
/* kontrast etykiet w jasnym motywie ≥ 4,5:1 (różowy #a816b3, turkus #0a7067 – ten sam odcień, ciemniej) */
html[data-theme="light"] .eyebrow { color: #a816b3; }
html[data-theme="light"] .eyebrow.teal { color: #0a7067; }
/* linki w tekście odróżnione nie tylko kolorem */
.entry-content p a:not(.btn), .entry-content li a:not(.btn), .op-cat-desc p a:not(.btn), .op-cat-desc li a:not(.btn), html .post-meta a, #op-cookies a, .lead a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
html[data-theme="light"] .op-tier span, html[data-theme="light"] .op-tier.active b { color: #a816b3; }   /* na różowym tle progu ≥ 4,5:1 */
.reset_variations { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 6px; }   /* cel dotyku ≥ 24 px */
