:root {
  --brand: #0090a0;
  --brand-dark: #006f7c;
  --brand-soft: #e3f4f6;
  --accent: #ff6a13;
  --green: #1f9d55;
  --bg: #ffffff;
  --bg-alt: #f3f5f6;
  --surface: #ffffff;
  --ink: #0f1417;
  --ink-2: #1a2126;
  --text: #0f1417;
  --muted: #5a656b;
  --line: #d7dde0;
  --line-strong: #0f1417;
  --wall-a: #3a444a;
  --wall-b: #262e33;
  --cold: #2fa8ff;
  --warm: #ff6a13;
  --shadow: none;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border: 1.5px solid transparent;
  font: inherit; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary::after { content: "→"; font-family: var(--mono); transition: transform .15s; }
.btn--primary:hover { background: var(--brand); border-color: var(--brand); }
.btn--primary:hover::after { transform: translateX(3px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { background: none; border: 1px solid var(--line); width: 38px; height: 38px; font-size: 1rem; cursor: pointer; color: var(--text); }
.icon-btn:hover { border-color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .35em .8em;
  border: 1px solid currentColor; color: var(--brand-dark);
  font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
}
.pill::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.pill--green { color: var(--green); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: #fff;
  border-bottom: 1px solid #000;
}
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: .95rem; color: #fff; text-decoration: none; white-space: nowrap; }
.logo b { color: var(--brand); font-weight: 600; }
.nav { display: flex; gap: 0; margin-left: auto; align-self: stretch; }
.nav a {
  color: #c9d1d5; text-decoration: none; font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; padding: 0 16px;
  display: flex; align-items: center; border-left: 1px solid #262e33;
}
.nav a:hover { color: #fff; background: #1a2126; }
.cart-btn {
  position: relative; background: var(--brand); color: #fff;
  border: 0; width: 60px; height: 60px; cursor: pointer; margin-right: -16px;
  display: grid; place-items: center;
}
.cart-btn:hover { background: var(--brand-dark); }
.cart-btn__count {
  position: absolute; top: 10px; right: 8px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: .7rem; font-weight: 600;
  display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 50% { background: var(--accent); } }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 9px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff; padding: 72px 0 0;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 64px; }
.hero .pill { color: var(--brand); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.025em; margin-top: .6em; }
.accent { color: var(--brand); }
.lead { font-size: 1.1rem; color: #aab5ba; max-width: 560px; }
.hero .lead strong { color: #fff; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; }
.hero .btn--primary { background: var(--brand); border-color: var(--brand); }
.hero .btn--primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn--ghost { color: #fff; border-color: #56626a; }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__badges {
  list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2a3338;
}
.hero__badges li { display: flex; flex-direction: column; padding: 22px 24px; border-right: 1px solid #2a3338; }
.hero__badges li:first-child { padding-left: 0; }
.hero__badges li:last-child { border-right: 0; }
.hero__badges b { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: #fff; }
.hero__badges span { font-size: .72rem; color: #8b979d; text-transform: uppercase; letter-spacing: .1em; }
.hero__visual { border: 1px solid #2a3338; background: rgba(255,255,255,.02); position: relative; }
.hero__visual::before {
  content: "FIG. 01 — PRZEPŁYW POWIETRZA"; position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; color: #8b979d;
  padding: 6px 10px; border-right: 1px solid #2a3338; border-bottom: 1px solid #2a3338;
}
.hero-svg { width: 100%; height: auto; display: block; }
.svg-label { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: #8b979d; letter-spacing: .12em; }
.svg-small { font-family: var(--mono); font-size: 11px; fill: #cfd6d9; }
.flow path { fill: none; stroke-width: 4; stroke-linecap: butt; stroke-dasharray: 14 8; animation: dash 1.2s linear infinite; }
.flow--cold path { stroke: var(--cold); }
.flow--cold .warm-end { stroke: var(--warm); }
.flow--warm path { stroke: var(--warm); animation-direction: reverse; }
.flow--warm .cold-end { stroke: var(--cold); opacity: .6; }
@keyframes dash { to { stroke-dashoffset: -44; } }
@media (prefers-reduced-motion: reduce) { .flow path { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
main { counter-reset: sec; }
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; }
.section__title::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero) " /";
  display: block; font-family: var(--mono); font-size: .78rem; font-weight: 500;
  color: var(--brand); letter-spacing: .12em; margin-bottom: 14px;
}
.section__lead { color: var(--muted); max-width: 720px; margin: 0 0 40px; font-size: 1.05rem; }
.grid { display: grid; }
.grid--4 { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.feature { background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px 32px; position: relative; }
.feature__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1.5px solid var(--ink); color: var(--ink);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.feature:hover .feature__icon { background: var(--ink); color: #fff; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.product {
  background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; transition: outline-color .15s;
  outline: 2px solid transparent; outline-offset: -2px;
}
.product:hover { outline-color: var(--ink); z-index: 1; }
.product__media {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
  background-color: #f6f8f9;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px;
  border-bottom: 1px solid var(--line);
}
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product__tag {
  position: absolute; top: 0; left: 0; background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: .45em .8em;
}
.product__zum {
  position: absolute; top: 10px; right: 10px; border: 1px solid var(--green); color: var(--green); background: #fff;
  font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; padding: .25em .55em;
}
.product__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product__code { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.product__name { font-size: 1.2rem; font-weight: 700; margin: 4px 0 6px; }
.product__sub { color: var(--muted); font-size: .88rem; margin: 0 0 16px; min-height: 3em; }
.specs { list-style: none; margin: 0 0 20px; padding: 0; font-size: .82rem; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { color: var(--muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; padding-top: 2px; }
.specs li span:last-child { font-family: var(--mono); font-weight: 500; text-align: right; }
.product__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product__foot .btn { padding: .85em 1.1em; }
.price { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.price small { display: block; font-family: "IBM Plex Sans", sans-serif; font-size: .66rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.price--ask { font-size: .9rem; color: var(--muted); }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .88rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare td { font-family: var(--mono); font-size: .82rem; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-color: #2a3338; }
.compare tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; background: var(--bg-alt); }
.compare tbody tr:hover td { background: var(--brand-soft); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare td:last-child, .compare th:last-child { border-right: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #b0bcc0; }

/* ---------- Dobór ---------- */
.dobor { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dobor__form { display: grid; gap: 26px; }
.dobor__form label { display: grid; gap: 10px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--ink); min-width: 90px; text-transform: none; letter-spacing: 0; }
select, input, textarea {
  font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--text); background: var(--surface);
  border: 1px solid #aeb8bd; padding: .75em .9em; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5em; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }

input[type=range] { appearance: none; -webkit-appearance: none; flex: 1; height: 24px; padding: 0; border: 0; background: transparent; outline: none; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type=range]::-moz-range-track { height: 2px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 24px; background: var(--brand); border: 0; margin-top: -11px; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 24px; background: var(--brand); border: 0; cursor: pointer; }

input[type=checkbox], input[type=radio] {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; min-width: 18px; padding: 0;
  border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer;
}
input[type=checkbox]:checked, input[type=radio]:checked { background: var(--ink); }
input[type=checkbox]:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
input[type=radio]:checked::after { content: ""; width: 6px; height: 6px; background: #fff; }

.dobor__result { background: var(--surface); padding: 32px; border: 1px solid var(--line-strong); position: relative; }
.dobor__result::before { content: ""; position: absolute; top: -1px; left: -1px; width: 48px; height: 4px; background: var(--brand); }
.dobor__result h3 { font-size: 1.5rem; }
.dobor__result .price { margin: 12px 0 18px; }

/* ---------- Funding ---------- */
.funding { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.steps { list-style: none; padding: 0; counter-reset: step; margin: 24px 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); color: var(--brand); font-weight: 600; }
.funding__card { background: var(--ink); color: #dfe5e8; padding: 32px; }
.funding__card h3 { color: #fff; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.funding__card .muted { color: #8b979d; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: chk; }
.checklist li { counter-increment: chk; padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid #2a3338; font-size: .93rem; }
.checklist li::before {
  content: counter(chk); position: absolute; left: 0; top: 11px; width: 26px; height: 26px;
  border: 1px solid var(--brand); color: var(--brand); font-family: var(--mono); font-size: .75rem; display: grid; place-items: center;
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border: 1px solid var(--line); border-bottom: 0; padding: 0 24px; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq[open] { border-left: 3px solid var(--brand); padding-left: 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; line-height: 1; color: var(--ink); }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Contact / forms ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__list { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .95rem; }
.contact__list li span { font-family: "IBM Plex Sans", sans-serif; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.card { background: var(--surface); border: 1px solid var(--line-strong); padding: 32px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.form .check, .form .radio { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.form .check input, .form .radio input { margin-top: .15em; }
.form fieldset { border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 10px; margin: 0; }
.form legend { font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: 0 6px; }
.form__msg { margin: 0; font-weight: 600; min-height: 1.4em; font-size: .9rem; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: #c0392b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: span 2; }
.invoice-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.invoice-fields[hidden] { display: none; }
input:user-invalid, textarea:user-invalid { border-color: #d0453a; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfd6d9; padding: 48px 0; }
.footer .muted { color: #8b979d; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer b { font-family: var(--mono); }
.footer__links { display: flex; gap: 0; flex-wrap: wrap; }
.footer__links a { color: #cfd6d9; text-decoration: none; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; padding: 8px 16px; border: 1px solid #2a3338; margin-left: -1px; }
.footer__links a:hover { background: #1a2126; color: #fff; }
.footer p { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid #2a3338; }

/* ---------- Drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 14, 16, .6); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--surface); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; border-left: 1px solid var(--ink);
}
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 0 24px; height: 60px; background: var(--ink); color: #fff; }
.drawer__head h2 { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.drawer__head .icon-btn { width: 60px; height: 60px; border: 0; border-left: 1px solid #2a3338; color: #fff; }
.drawer__head .icon-btn:hover { background: var(--accent); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--ink); display: grid; gap: 8px; background: var(--bg-alt); }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__name { font-weight: 600; }
.cart-item__price { font-family: var(--mono); font-weight: 600; text-align: right; }
.qty { display: inline-flex; justify-self: start; align-items: stretch; border: 1px solid var(--ink); }
.qty button { background: none; border: 0; width: 34px; height: 32px; cursor: pointer; font-family: var(--mono); font-size: 1rem; color: var(--ink); }
.qty button:hover { background: var(--ink); color: #fff; }
.qty span { min-width: 34px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; border-inline: 1px solid var(--ink); }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; justify-self: end; }
.remove:hover { color: #c0392b; }
.cart-empty { color: var(--muted); text-align: center; padding: 48px 0; font-family: var(--mono); font-size: .85rem; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.sum-row span:last-child { font-family: var(--mono); }
.sum-row--total { color: var(--text); font-weight: 700; font-size: 1.15rem; margin: 6px 0 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Modal ---------- */
.modal { border: 1px solid var(--ink); padding: 0; width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 40px); color: var(--text); }
.modal > form, .modal > .doc { padding: 0 28px 28px; }
.modal::backdrop { background: rgba(10, 14, 16, .65); }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin: 0 -28px 12px; padding-left: 28px; height: 60px; background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 2; }
.modal--doc .modal__head { margin: 0 0 12px; }
.modal__head h2 { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.modal__head .icon-btn { width: 60px; height: 60px; border: 0; border-left: 1px solid #2a3338; color: #fff; }
.modal__head .icon-btn:hover { background: var(--accent); }
.order-summary { background: var(--bg-alt); border: 1px solid var(--line); padding: 14px 18px; font-size: .88rem; }
.order-summary div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.order-summary div span:last-child { font-family: var(--mono); }
.order-summary .total { font-weight: 700; font-size: 1.05rem; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ink); }
.doc { color: var(--muted); font-size: .93rem; }
.doc h3 { color: var(--text); margin-top: 1.4em; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%);
  background: var(--ink); color: #fff; padding: 14px 20px; border-left: 4px solid var(--brand);
  font-family: var(--mono); font-size: .85rem; z-index: 200; transition: transform .25s; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav a { padding: 0 10px; font-size: .72rem; }
}
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .hero__inner, .dobor, .funding, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: var(--ink); border-bottom: 1px solid #2a3338; display: none; padding: 0 16px 8px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-left: 0; border-bottom: 1px solid #262e33; }
  .cart-btn { margin-left: auto; margin-right: 0; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .form-grid, .invoice-fields { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .logo span { font-size: .82rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__badges li { padding: 18px 12px; }
  .hero__badges b { font-size: 1.15rem; }
  .card { padding: 22px; }
  .modal > form, .modal > .doc { padding: 0 18px 20px; }
  .modal__head { margin: 0 -18px 12px; padding-left: 18px; }
}

/* =========================================================
   Karty – zdjęcia
   ========================================================= */
.product__media { background: #fff; background-image: none; text-decoration: none; }
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.product:hover .product__media img { transform: scale(1.04); }
.product__name a { color: inherit; text-decoration: none; }
.product__name a:hover { color: var(--brand-dark); }
.product__more {
  display: inline-flex; align-items: center; gap: .5em; margin: -4px 0 18px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-dark); text-decoration: none;
}
.product__more::after { content: "↓"; font-family: var(--mono); }
.product__more:hover { color: var(--ink); }

/* =========================================================
   Jak działa – grafiki
   ========================================================= */
.explain { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin-top: 64px; }
.explain--rev { grid-template-columns: .85fr 1.15fr; }
.explain--rev .explain__fig { order: 2; }
.explain__fig { margin: 0; border: 1px solid var(--line); background: #fff; }
.explain__fig--dark { background: #1b1b1b; border-color: #1b1b1b; }
.explain__fig img { width: 100%; height: auto; }
.explain__text h3 { font-size: 1.35rem; }
.explain__text p { color: var(--muted); }
.parts { list-style: none; padding: 0; margin: 0; counter-reset: part; border-top: 1px solid var(--line); }
.parts li { counter-increment: part; display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.parts li::before { content: counter(part, decimal-leading-zero); font-family: var(--mono); color: var(--brand); font-weight: 600; }
.parts b { color: var(--text); font-weight: 600; }

/* =========================================================
   Szczegóły modeli
   ========================================================= */
.model-nav { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); margin-bottom: 8px; position: sticky; top: 60px; z-index: 20; background: #fff; }
.model-nav a {
  flex: 1; text-align: center; padding: 14px 12px; text-decoration: none; color: var(--ink);
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-right: 1px solid var(--ink); white-space: nowrap;
}
.model-nav a:last-child { border-right: 0; }
.model-nav a:hover { background: var(--ink); color: #fff; }
.model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.model:last-child { border-bottom: 0; padding-bottom: 0; }
.model__gallery { position: sticky; top: 130px; align-self: start; }
.model__main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; aspect-ratio: 1; }
.model__main img { width: 100%; height: 100%; object-fit: contain; }
.model__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 0; margin-top: -1px; border-left: 1px solid var(--line); }
.model__thumbs button { padding: 0; border: 1px solid var(--line); border-left: 0; margin-top: 0; background: #fff; cursor: pointer; aspect-ratio: 1; position: relative; }
.model__thumbs button img { width: 100%; height: 100%; object-fit: contain; opacity: .75; }
.model__thumbs button:hover img, .model__thumbs button.active img { opacity: 1; }
.model__thumbs button.active { outline: 2px solid var(--ink); outline-offset: -2px; z-index: 1; }
.model__name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 8px; }
.model__lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.stats div { padding: 14px 12px 14px 0; border-right: 1px solid var(--line); padding-left: 14px; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--mono); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.stats b small { font-size: .75rem; font-weight: 500; margin-left: 3px; color: var(--muted); }
.stats span { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.model__buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; }
.model__buy .price { font-size: 1.9rem; }
.badge-zum { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: .45em .7em; }
.tabs { display: flex; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.tabs button {
  background: none; border: 1px solid transparent; border-bottom: 0; padding: 12px 16px; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { padding: 24px 0 0; font-size: .95rem; }
.tabpanel p { color: var(--muted); margin: 0 0 1em; }
.tabpanel p strong { color: var(--text); }
.tabpanel h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin: 28px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; background: var(--brand); }
.modes { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.modes div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modes dt { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.modes dd { margin: 0; color: var(--muted); font-size: .85rem; }
.kv { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: .9rem; }
.kv th, .kv td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.kv th { font-weight: 500; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-right: 16px; width: 48%; padding-top: 12px; }
.kv td { font-family: var(--mono); font-size: .85rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--ink); }
.grid-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .82rem; min-width: 460px; }
.grid-table th, .grid-table td { padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.grid-table thead th { background: var(--ink); color: #fff; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border-color: #2a3338; }
.grid-table tbody th { background: var(--bg-alt); font-weight: 600; }
.grid-table tr:last-child > * { border-bottom: 0; }
.grid-table tr > *:last-child { border-right: 0; }
.drawing { margin: 24px 0 0; border: 1px solid var(--line); background: #fff; }
.drawing img { width: 100%; height: auto; }
.drawing figcaption { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.docs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.docs a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; }
.docs a::after { content: "PDF ↓"; font-family: var(--mono); font-size: .75rem; color: var(--brand-dark); }
.docs a:hover { color: var(--brand-dark); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* =========================================================
   Akcesoria
   ========================================================= */
.accessories { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.acc { display: grid; grid-template-columns: 140px 1fr; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; border-right: 1px solid var(--line); }
.acc__body { padding: 18px; display: flex; flex-direction: column; }
.acc h3 { font-size: 1rem; margin: 4px 0 6px; }
.acc .product__foot { margin-top: auto; flex-wrap: wrap; }
.acc .price { font-size: 1.2rem; }
.acc .btn { padding: .7em .9em; font-size: .72rem; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { border: 1px solid var(--ink); padding: 0; background: #fff; max-width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 32px); }
.lightbox::backdrop { background: rgba(10, 14, 16, .85); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 40px); object-fit: contain; }
.lightbox__close { position: absolute; top: 0; right: 0; width: 48px; height: 48px; background: var(--ink); color: #fff; border: 0; }
.lightbox__close:hover { background: var(--accent); }

@media (max-width: 1180px) {
  .nav a { padding: 0 9px; font-size: .68rem; letter-spacing: .06em; }
}
@media (max-width: 1060px) {
  .accessories { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: var(--ink); border-bottom: 1px solid #2a3338; display: none; padding: 0 16px 8px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-left: 0; border-bottom: 1px solid #262e33; font-size: .78rem; }
  .cart-btn { margin-left: auto; margin-right: 0; }
}
@media (max-width: 900px) {
  .model, .explain, .explain--rev { grid-template-columns: 1fr; gap: 28px; }
  .explain--rev .explain__fig { order: 0; }
  .model__gallery { position: static; }
  .model-nav a { flex: 1 0 33%; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3) { padding-left: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .modes { grid-template-columns: 1fr; }
  .acc { grid-template-columns: 100px 1fr; }
  .model-nav { position: static; }
  .model-nav a { flex: 1 0 50%; }
  .kv th { width: 45%; }
}

/* 5 modeli w jednym rzędzie na szerokim ekranie */
.products { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.product__foot { flex-wrap: wrap; row-gap: 12px; }
.product__foot .btn { flex: 1 0 auto; }
@media (min-width: 1200px) { .products { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) {
  .model, .explain, .explain--rev { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Darmowa dostawa – komunikaty
   ========================================================= */
[hidden] { display: none !important; }
.promo-bar { background: var(--brand); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.promo-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; text-align: center; }
.promo-bar b { font-weight: 700; }
.promo-bar__extra { opacity: .9; }
.hero__ship { display: flex; align-items: center; gap: 10px; margin: 20px 0 32px; color: #cfd6d9; font-size: .95rem; }
.hero__ship svg { color: var(--brand); flex: none; }
.hero__ship b { color: #fff; }
.hero__cta { margin-bottom: 0; }

.ship-band { background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid #000; border-bottom: 1px solid #000; }
.ship-band__track { display: flex; width: max-content; animation: band 28s linear infinite; }
.ship-band span {
  display: inline-flex; align-items: center; gap: 18px; padding: 14px 18px; white-space: nowrap;
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.ship-band span::after { content: ""; width: 8px; height: 8px; background: var(--brand); margin-left: 18px; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ship-band__track { animation: none; } }

.ship-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--green); font-size: .78rem; font-weight: 600; }
.ship-note svg { flex: none; }
.ship-box { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--green); background: #effaf3; padding: 12px 14px; margin: -8px 0 28px; font-size: .9rem; }
.ship-box svg { color: var(--green); flex: none; margin-top: 2px; }
.ship-box b { color: var(--green); }
.sum-row--ship span:last-child { color: var(--green); font-weight: 600; }
.cart-ship { margin: 0 0 6px; font-size: .78rem; color: var(--green); font-weight: 600; }
.locker-fields { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.locker-fields .btn { padding: .8em 1em; font-size: .72rem; }
.footer__ship { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer__ship svg { color: var(--brand); flex: none; }
@media (max-width: 640px) {
  .promo-bar__extra { display: none; }
  .locker-fields { grid-template-columns: 1fr; }
}
.form .radio:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.ship-note { white-space: nowrap; }

/* =========================================================
   Bon Rossmann / Biedronka
   ========================================================= */
:root { --bon: #ff6a13; --rossmann: #c8102e; --biedronka: #f5b700; }
.promo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.hero__ship--bon { margin-top: -20px; }
.hero__ship--bon svg { color: var(--bon); }
.hero__ship--bon a { color: #fff; }

.product__bon {
  position: absolute; left: 0; bottom: 0; z-index: 1; background: var(--bon); color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: .95rem; padding: 6px 10px; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.product__bon small { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.bon-note { display: flex; align-items: center; gap: 8px; margin: -8px 0 14px; color: var(--bon); font-size: .78rem; font-weight: 600; }
.bon-note svg { flex: none; }
.bon-box { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--bon); background: #fff4ec; padding: 12px 14px; margin: -16px 0 28px; font-size: .9rem; }
.bon-box svg { color: var(--bon); flex: none; margin-top: 2px; }
.bon-box > div > b:first-child { color: var(--bon); }
.sum-row--bon span:last-child { color: var(--bon); font-weight: 700; font-family: var(--mono); }
.order-summary .bon-line span { color: var(--bon); font-weight: 600; }
.voucher-fields { border-color: var(--bon) !important; background: #fff9f4; }
.voucher-fields legend { color: var(--bon); }

.bon { background: #fff9f4; }
.bon .section__title::before { color: var(--bon); }
.bon__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.bon__table { border-top: 1px solid var(--ink); }
.bon__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bon__row--head { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bon__row b { font-family: var(--mono); color: var(--bon); font-size: 1.05rem; }
.bon__table p { margin-top: 12px; }
.bon__choices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.bon__card { background: #fff; padding: 22px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; position: relative; }
.bon__card:last-child { border-right: 0; }
.bon__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.bon__card--r::before { background: var(--rossmann); }
.bon__card--b::before { background: var(--biedronka); }
.bon__card--s::before { background: linear-gradient(90deg, var(--rossmann) 50%, var(--biedronka) 50%); }
.bon__brand { font-weight: 700; font-size: 1.2rem; }
.bon__card span:last-child { color: var(--muted); font-size: .88rem; }
.bon__steps { list-style: none; padding: 0; margin: 40px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); counter-reset: bs; }
.bon__steps li { counter-increment: bs; padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.bon__steps li::before { content: counter(bs, decimal-leading-zero); font-family: var(--mono); color: var(--bon); font-weight: 600; }
.bon__steps span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .bon__grid { grid-template-columns: 1fr; }
  .bon__steps { grid-template-columns: 1fr; }
  .bon__steps li { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .bon__choices { grid-template-columns: 1fr; }
  .bon__card { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   Strony prawne
   ========================================================= */
.legal-back { margin-left: auto; color: #c9d1d5; text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.legal-back:hover { color: #fff; }
.legal { padding: 56px 0 88px; }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__nav { position: sticky; top: 84px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.legal__nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .9rem; }
.legal__nav a:hover { color: var(--brand-dark); }
.legal__nav a[aria-current="page"] { font-weight: 700; color: var(--brand-dark); box-shadow: inset 3px 0 0 var(--brand); padding-left: 12px; }
.legal__body { max-width: 820px; }
.legal__body h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 28px; }
.legal__body h2 { font-size: 1.15rem; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal__body h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: #2b3a3f; }
.legal__body ul { padding-left: 1.2em; }
.legal__body li { margin-bottom: 6px; }
.legal__body code { font-family: var(--mono); font-size: .85em; background: var(--bg-alt); padding: 1px 4px; }
.legal-card { border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--bg-alt); padding: 14px 18px; font-size: .95rem; line-height: 1.7; }
.legal-lead { font-size: 1.1rem; border: 1px solid var(--green); background: #effaf3; padding: 14px 18px; }
.legal-table { min-width: 560px; font-family: inherit; font-size: .88rem; }
.legal-table td, .legal-table th { vertical-align: top; }
.legal-form { border: 1px dashed var(--ink); padding: 20px 24px; background: #fff; }
.legal-form p { margin: 0 0 14px; }
.legal__date { margin-top: 48px; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; border: 1px solid var(--ink); }
  .legal__nav a { flex: 1 0 50%; padding: 10px 12px; border-right: 1px solid var(--line); font-size: .82rem; }
  .legal__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); }
}
@media print {
  .topbar, .footer, .legal__nav, .cc, button { display: none !important; }
  .legal { padding: 0; }
  .legal__grid { display: block; }
}

/* =========================================================
   Baner zgód (Consent Mode)
   ========================================================= */
.cc {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 1080px; margin: 0 auto;
  background: var(--ink); color: #dfe5e8; border: 1px solid #000; border-top: 4px solid var(--brand);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 20px 24px;
}
.cc[hidden] { display: none; }
.cc__main { display: flex; gap: 24px; align-items: center; }
.cc__text { flex: 1; }
.cc h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 6px; }
.cc p { margin: 0; font-size: .88rem; line-height: 1.55; }
.cc a { color: #7fe3e9; }
.cc__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cc .btn { padding: .8em 1.1em; font-size: .72rem; }
.cc .btn--ghost { color: #fff; border-color: #56626a; }
.cc .btn--ghost:hover { background: #fff; color: var(--ink); }
.cc .btn--primary { background: var(--brand); border-color: var(--brand); }
.cc .btn--primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cc__settings { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2a3338; display: grid; gap: 10px; }
.cc__settings[hidden] { display: none; }
.cc__opt { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.cc__opt b { color: #fff; }
.cc__opt input { width: 18px; height: 18px; min-width: 18px; border-color: #cfd6d9; background: transparent; margin-top: 2px; }
.cc__opt input:checked { background: var(--brand); border-color: var(--brand); }
.cc__opt input:disabled { opacity: .6; }
@media (max-width: 760px) {
  .cc { left: 0; right: 0; bottom: 0; padding: 16px; }
  .cc__main { flex-direction: column; align-items: stretch; gap: 14px; }
  .cc__actions .btn { flex: 1; }
}
.legal-back { white-space: nowrap; }
@media (max-width: 420px) { .legal-back { font-size: .68rem; letter-spacing: .06em; } .legal-page .logo span { font-size: .78rem; } }

/* =========================================================
   Karty produktów – wyrównanie w rzędzie (subgrid)
   ========================================================= */
.products { align-items: stretch; }
.product { display: grid; grid-row: span 13; grid-template-rows: subgrid; row-gap: 0; }
.product > :not(.product__media) { padding-inline: 20px; margin: 0; }
.product__code { padding-top: 20px; font-size: .7rem; }
.product__name { margin: 4px 0 6px; align-self: start; }
.product__sub { margin: 0 0 14px; padding-bottom: 14px; min-height: 0; align-self: start; }
.product__spec {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: .8rem; border-bottom: 1px solid var(--line); padding-block: 7px;
}
.product > .product__spec { margin-inline: 20px; padding-inline: 0; }
.product__spec--first { border-top: 1px solid var(--line); }
.product__spec span:first-child { color: var(--muted); text-transform: uppercase; font-size: .66rem; letter-spacing: .08em; }
.product__spec span:last-child { font-family: var(--mono); font-weight: 500; text-align: right; }
.product__spec:has(span:empty:first-child) { border-bottom-color: transparent; }
.product__more { margin: 16px 0 12px; align-self: start; }
.product__notes { display: grid; gap: 8px; align-content: start; padding-bottom: 16px; }
.product__notes .ship-note, .product__notes .bon-note { margin: 0; }
.product__foot { padding-bottom: 20px; align-self: end; }
.product__media img { padding: 18px; }
@supports not (grid-template-rows: subgrid) {
  .product { display: flex; flex-direction: column; }
  .product__foot { margin-top: auto; }
}
/* poprawki subgrid: kolumny nie mogą rosnąć ponad szerokość, zdjęcie nie wpływa na wysokość wiersza */
.products { grid-template-columns: repeat(auto-fill, minmax(min(232px, 100%), 1fr)); }
@media (min-width: 1200px) { .products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product { min-width: 0; }
.product__media { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; height: auto; overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.product__spec span:last-child { overflow-wrap: anywhere; }
.product__media .product__tag, .product__media .product__zum, .product__media .product__bon { z-index: 2; }

/* =========================================================
   FAQ – pełna szerokość, dwie kolumny
   ========================================================= */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 90px; }
.faq-aside .section__lead { margin-bottom: 24px; }
.faq-contact { border-top: 1px solid var(--ink); }
.faq-contact__row { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.faq-contact__row span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.faq-contact__row b { font-family: var(--mono); font-weight: 600; font-size: .95rem; }
a.faq-contact__row:hover b { color: var(--brand-dark); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-aside { position: static; }
}

/* =========================================================
   Stopka (przebudowa)
   ========================================================= */
.sf { padding: 64px 0 0; }
.sf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.sf-logo { margin-bottom: 16px; }
.sf-brand p { color: #8b979d; font-size: .9rem; margin: 0 0 20px; max-width: 340px; }
.sf-badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; border: 1px solid #2a3338; }
.sf-badges li { padding: 10px 14px; border-right: 1px solid #2a3338; display: flex; flex-direction: column; }
.sf-badges li:last-child { border-right: 0; }
.sf-badges b { font-family: var(--mono); color: #fff; font-size: .95rem; }
.sf-badges span { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: #8b979d; }
.sf-col { display: flex; flex-direction: column; gap: 10px; }
.sf-col h3 { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); align-self: start; }
.sf-col a { color: #b8c3c7; text-decoration: none; font-size: .9rem; width: fit-content; }
.sf-col a:hover { color: #fff; }
.sf-col p { margin: 6px 0 0; color: #8b979d; font-size: .85rem; line-height: 1.6; }
.sf-contact .sf-strong { color: #fff; font-family: var(--mono); font-size: .92rem; }
.sf-bottom { border-top: 1px solid #2a3338; padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.sf-bottom p { margin: 0; color: #6f7c82; font-size: .75rem; }
@media (max-width: 980px) { .sf-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .sf-top { grid-template-columns: 1fr; gap: 32px; }
  .sf-badges { grid-template-columns: 1fr 1fr 1fr; }
  .sf-badges li { padding: 8px 10px; }
}
.sf p { grid-column: auto; padding-top: 0; border-top: 0; }
.sf-brand p { margin: 0 0 20px; }
.sf-bottom p { margin: 0; }
