/* =========================================================
   HEBRACO — styl sklepu
   ========================================================= */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #f1f2f0;
  --ink: #14161a;
  --ink-2: #3a3f47;
  --muted: #6b7079;
  --line: #e4e5e2;
  --line-strong: #cfd1cd;
  --red: #e3242b;
  --red-600: #c81d23;
  --red-50: #fdeeee;
  --green: #1f9d57;
  --green-50: #e8f6ee;
  --amber: #b7791f;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(20, 22, 26, .06), 0 1px 1px rgba(20, 22, 26, .04);
  --shadow: 0 10px 30px -12px rgba(20, 22, 26, .18), 0 2px 6px rgba(20, 22, 26, .05);
  --shadow-l: 0 40px 80px -30px rgba(20, 22, 26, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
[hidden]:not(.drawer) { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; margin-bottom: 16px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.section__head--row h2 { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-50); }

/* ---------- przyciski ---------- */
.btn {
  --bg-btn: var(--surface); --fg-btn: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary { --bg-btn: var(--red); --fg-btn: #fff; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--red) 70%, transparent); }
.btn--primary:hover { --bg-btn: var(--red-600); box-shadow: 0 18px 32px -12px color-mix(in srgb, var(--red) 80%, transparent); transform: translateY(-2px); }
.btn--dark { --bg-btn: var(--ink); --fg-btn: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite;
}
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); transition: .25s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); transform: scale(1.05); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link-btn:hover { color: var(--red); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; gap: 22px; justify-items: center;
  background: var(--surface); transition: opacity .6s var(--ease), visibility .6s;
}
.loader__mark { width: 120px; animation: loaderIn .9s var(--ease-out) both; }
.loader__bar { width: 140px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.loader__bar::after { content: ''; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: loaderBar 1s var(--ease) infinite; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loaderIn { from { opacity: 0; transform: scale(.85) rotate(-6deg); } }
@keyframes loaderBar { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1) translateX(100%); } }
@keyframes spin { to { transform: rotate(1turn); } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); background: color-mix(in srgb, var(--surface) 82%, transparent); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 44px; height: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__word { width: 132px; height: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.is-active { color: var(--red); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 700; transition: .25s var(--ease);
}
.cart-btn:hover { border-color: var(--ink); }
.cart-btn__count {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 14px; transition: background .3s;
}
.cart-btn.has-items .cart-btn__count { background: var(--red); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

/* ---------- przełącznik języka ---------- */
.lang { position: relative; margin-left: -20px; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.lang__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 250px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: lang-in .18s var(--ease-out);
}
.lang__list ul { list-style: none; margin: 0; padding: 0; }
.lang__cur { font-style: normal; color: var(--muted); font-weight: 700; }
.lang__btn span { white-space: nowrap; }
.lang__ship { display: grid; gap: 6px; margin: 6px 0 0; padding: 12px 12px 6px; border-top: 1px solid var(--line); }
.lang__ship > span { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lang__ship select {
  width: 100%; height: 42px; padding: 0 36px 0 12px; border-radius: 10px; border: 1.5px solid var(--line); appearance: none; cursor: pointer; font-weight: 700;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
}
.lang__ship select:focus { outline: none; border-color: var(--ink); }
.lang__ship small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.lang__list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-s); cursor: pointer; font-size: 15px; outline: none;
}
.lang__list li b { width: 24px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.lang__list li:hover, .lang__list li:focus-visible { background: var(--surface-2); }
.lang__list li[aria-selected="true"] { color: var(--red); font-weight: 700; }
.lang__list li[aria-selected="true"] b { color: var(--red); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 5.6vw, 80px); font-weight: 900; letter-spacing: -.035em; line-height: .98; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none; }
.accent { color: var(--red); }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; margin: 0 0 36px; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 36px; justify-content: start; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats dt { font-size: clamp(30px, 3vw, 40px); font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__stats dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 720px; justify-self: end; width: 100%; perspective: 1200px; }
.hero__photo {
  position: absolute; inset: 0 0 0 12%; border-radius: var(--radius-l); overflow: hidden; background: var(--surface-2);
  box-shadow: var(--shadow-l);
  clip-path: inset(0 0 100% 0 round var(--radius-l)); transition: clip-path 1.4s var(--ease-out) .15s;
}
.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round var(--radius-l)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform 1.8s var(--ease-out); }
.is-loaded .hero__photo img { transform: scale(1.04) translate3d(var(--mx, 0), var(--my, 0), 0); }
.hero__product {
  position: absolute; left: 0; bottom: 8%; width: min(46%, 280px); margin: 0; padding: 12px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-l);
  transform: translate3d(calc(var(--mx, 0) * -2), calc(var(--my, 0) * -2), 40px);
  opacity: 0; translate: -30px 30px; transition: opacity .9s var(--ease-out) .8s, translate 1.1s var(--ease-out) .8s, transform .6s var(--ease-out);
}
.is-loaded .hero__product { opacity: 1; translate: 0 0; }
.hero__product img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero__product figcaption { padding: 12px 6px 4px; display: grid; gap: 2px; }
.hero__product strong { font-size: 16px; }
.hero__product span { font-size: 13px; color: var(--muted); }
.hero__waves { position: absolute; right: -2%; top: 18%; width: 90px; height: 120px; }
.hero__waves i {
  position: absolute; inset: 0; border: 6px solid var(--red); border-left-color: transparent; border-bottom-color: transparent; border-top-color: transparent;
  border-radius: 50%; opacity: 0; animation: wave 2.4s var(--ease) infinite;
}
.hero__waves i:nth-child(2) { animation-delay: .4s; }
.hero__waves i:nth-child(3) { animation-delay: .8s; }
@keyframes wave { 0% { transform: scale(.3); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 34px); font-weight: 900; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1.2px var(--line-strong); transition: color .3s, -webkit-text-stroke-color .3s; }
.marquee span:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   KONFIGURATOR
   ========================================================= */
.configurator { background: var(--surface); border-bottom: 1px solid var(--line); }
.cfg { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg); box-shadow: var(--shadow); }
.cfg__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px; border-bottom: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.segmented { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-2); isolation: isolate; }
.segmented button {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: none; font-weight: 700; color: var(--muted); transition: color .3s;
}
.segmented button svg { width: 22px; height: 22px; }
.segmented button[aria-selected="true"] { color: #fff; }
.segmented__pill {
  position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink);
  width: var(--w, 0); transform: translateX(var(--x, 0)); transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}
.cfg__tools { display: flex; align-items: center; gap: 10px; flex: 1 1 300px; justify-content: flex-end; }
.cfg__tools .search { flex: 1 1 auto; }
.reset-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 999px; flex: none;
  border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px; color: var(--ink-2);
  animation: pop .35s var(--ease-out); transition: border-color .2s, color .2s, background .2s;
}
.reset-btn svg { transition: transform .5s var(--ease-out); }
.reset-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-50); }
.reset-btn:hover svg { transform: rotate(-200deg); }
.search { position: relative; flex: 1 1 300px; max-width: 420px; }
.search > svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input {
  width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search input:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(20,22,26,.06); }
.search__results {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l); max-height: 360px; overflow: auto;
  animation: pop .25s var(--ease-out);
}
.search__results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; cursor: pointer; }
.search__results li[aria-selected="true"], .search__results li:hover { background: var(--surface-2); }
.search__results small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search__results .empty { color: var(--muted); cursor: default; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.cfg__body { display: grid; grid-template-columns: 220px minmax(0, 1fr) 360px; min-height: 560px; }
.stepper { list-style: none; margin: 0; padding: 28px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.stepper li { counter-increment: s; }
.stepper button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: center; text-align: left;
  padding: 12px; border: 0; border-radius: 14px; background: none; transition: background .25s;
}
.stepper button:not([disabled]):hover { background: var(--surface); }
.stepper button[disabled] { cursor: default; opacity: .45; }
.stepper button::before {
  content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); font-weight: 900; font-size: 14px; transition: .3s var(--ease);
}
.stepper .is-current button::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper .is-done button::before { content: '✓'; background: var(--red); border-color: var(--red); color: #fff; }
.stepper .step-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.stepper .step-value { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cfg__main { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.stage { animation: stageIn .55s var(--ease-out) both; }
.stage.is-leaving { animation: stageOut .2s ease-in both; }
@keyframes stageIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stageOut { to { opacity: 0; transform: translateX(-16px); } }
.stage__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; margin-bottom: 6px; }
.stage__hint { color: var(--muted); margin: 0 0 24px; }
.stage__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px 6px 8px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.stage__back:hover { background: var(--line); }

.brand-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.brand-card {
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .25s;
  animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); }
.brand-card[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.brand-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.brand-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.brand-card:hover .brand-card__img img { transform: scale(1.07); }
.brand-card__logo {
  aspect-ratio: 16/10; display: grid; place-items: center; padding: 12%;
  background: radial-gradient(circle at 50% 120%, var(--surface-2), var(--surface) 70%); border-bottom: 1px solid var(--line);
}
.brand-card__logo img { width: 100%; max-height: 64px; object-fit: contain; transition: transform .6s var(--ease-out), filter .3s; }
.brand-card__logo img[data-brand="scorpion"] { max-height: 76px; width: auto; }
.brand-card__logo span { font-size: 28px; font-weight: 900; letter-spacing: .04em; }
.brand-card:hover .brand-card__logo img { transform: scale(1.08); }
.brand-card[aria-pressed="true"] .brand-card__logo { background: radial-gradient(circle at 50% 120%, var(--red-50), var(--surface) 70%); }
.brand-card__body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.brand-card__name { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.brand-card__meta { font-size: 14px; color: var(--muted); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.chip-group + .chip-group { margin-top: 22px; }
.chip-group__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.chip-group__label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px;
  transition: transform .3s var(--ease-out), border-color .2s, background .2s, color .2s, box-shadow .3s;
  animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { font-weight: 400; color: var(--muted); }
.chip[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
.chip--static { cursor: default; min-height: 36px; padding: 0 14px; font-size: 14px; animation: none; }
.chip--static:hover { transform: none; border-color: var(--line); box-shadow: none; }
.chip--link { min-height: 38px; padding: 0 14px; font-size: 14px; animation: none; }
.chip--hl { border-color: var(--red); color: var(--red); background: var(--red-50); }

.ic-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ic-card {
  display: grid; gap: 4px; text-align: left; padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface);
  transition: transform .35s var(--ease-out), border-color .2s, box-shadow .35s;
  animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms);
}
.ic-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.ic-card[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.ic-card__brand { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ic-card__model { font-size: 20px; font-weight: 900; }
.ic-card__price { font-size: 14px; color: var(--ink-2); }

/* aside: podsumowanie i wynik */
.cfg__aside { border-left: 1px solid var(--line); padding: clamp(20px, 2.4vw, 28px); background: var(--surface); border-radius: 0 0 var(--radius-l) 0; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside-title { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aside-empty { display: grid; gap: 16px; place-items: center; text-align: center; padding: 32px 8px; color: var(--muted); }
.aside-empty img { width: 150px; mix-blend-mode: multiply; opacity: .9; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary-row span:first-child { color: var(--muted); }
.summary-row strong { text-align: right; }
.hint-box { padding: 16px 18px; border-radius: var(--radius); background: var(--bg); font-size: 15px; line-height: 1.5; animation: pop .4s var(--ease-out); }
.hint-box h4 { font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.hint-box h4 svg { color: var(--red); }
.hint-box .chips { gap: 6px; margin-top: 10px; }

.result { display: grid; gap: 16px; animation: resultIn .7s var(--ease-out) both; }
@keyframes resultIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.result__media { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 4/3; border: 1px solid var(--line); }
.result__media img { width: 100%; height: 100%; object-fit: cover; }
.result__badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; display: flex; gap: 6px; align-items: center; }
.result__badge svg { width: 14px; height: 14px; stroke-width: 3; }
.result__note { position: absolute; bottom: 10px; right: 12px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 999px; }
.result__name { font-size: 24px; font-weight: 900; }
.result__sku { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.result__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.result__price strong { font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.result__price span { color: var(--green); font-size: 14px; font-weight: 700; }
.result__buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 52px; background: var(--surface); }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 20px; font-weight: 700; border-radius: 999px; }
.qty button:hover { color: var(--red); }
.qty output { min-width: 26px; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; }
.qty--s { height: 38px; }
.qty--s button { width: 32px; font-size: 16px; }
.result__buy .btn { flex: 1; }

/* ---------- dlaczego ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 72px; }
.compare__card { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.compare__card h3 { font-size: 26px; font-weight: 900; margin-bottom: 20px; }
.compare__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.compare__card li::before { content: ''; width: 28px; height: 28px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.compare__card--bad { color: var(--ink-2); }
.compare__card--bad li::before { background-color: var(--surface-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7079' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.compare__card--good { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; }
.compare__card--good::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 24px solid var(--red); opacity: .9; clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%); }
.compare__card--good li::before { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { display: block; font-size: 64px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 24px; }
.step h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- galeria ---------- */
.gallery-section { background: var(--surface); border-block: 1px solid var(--line); }
.gallery__nav { display: flex; align-items: center; gap: 8px; }
.gallery__progress { width: 72px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-right: 8px; }
.gallery__progress i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.gallery__progress.is-running i { animation: galleryTimer var(--dur, 3200ms) linear forwards; }
.gallery__progress.is-paused i { animation-play-state: paused; opacity: .4; }
@keyframes galleryTimer { to { transform: scaleX(1); } }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.g-item { scroll-snap-align: start; margin: 0; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: transform .5s var(--ease-out), box-shadow .5s; text-align: left; padding: 0; }
.g-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.g-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1s var(--ease-out); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption, .g-item .cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 20px; }
.g-item strong { display: block; font-size: 17px; }
.g-item small { color: var(--muted); font-size: 14px; }
.g-item .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: .3s var(--ease); }
.g-item:hover .arrow { background: var(--red); color: #fff; transform: rotate(-45deg); }

/* ---------- band ---------- */
.band { position: relative; min-height: clamp(420px, 60vw, 640px); display: grid; align-items: end; overflow: hidden; color: #fff; }
.band > img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--parallax, 0)); will-change: transform; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,26,.6), rgba(20,22,26,0) 65%), linear-gradient(180deg, rgba(20,22,26,0) 40%, rgba(20,22,26,.6)); }
.band__copy { position: relative; z-index: 1; padding-block: 64px; }
.band__quote { font-size: clamp(44px, 8vw, 110px); font-weight: 900; letter-spacing: -.04em; line-height: .95; margin: 0 0 18px; }
.band__quote span { color: var(--red); }
.band__sub { max-width: 560px; font-size: 18px; margin: 0; color: rgba(255,255,255,.88); }

/* ---------- matrix ---------- */
.matrix { overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.matrix table { width: 100%; border-collapse: collapse; min-width: 780px; }
.matrix th, .matrix td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; line-height: 1.3; }
.matrix thead th b { display: block; color: var(--ink); font-size: 14px; letter-spacing: 0; text-transform: none; }
.matrix tbody th { text-align: left; padding-left: 24px; font-size: 20px; font-weight: 900; white-space: nowrap; }
.matrix tbody th small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix tbody tr:hover { background: var(--bg); }
.m-dot {
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: inline-grid; place-items: center;
  background: var(--red-50); color: var(--red); transition: transform .3s var(--ease-out), background .2s, color .2s;
}
.m-dot:hover { transform: scale(1.2); background: var(--red); color: #fff; }
.m-dot svg { width: 16px; height: 16px; stroke-width: 3; }
.m-none { color: var(--line-strong); }
.helmet-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.helmet-list { padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.helmet-list h3 { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.helmet-list p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.helmet-list .chips { gap: 6px; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq .section__head .btn { margin-top: 24px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 22px; font-weight: 400; transition: transform .4s var(--ease-out), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 24px; color: var(--ink-2); }
.faq details[open] p { animation: pop .4s var(--ease-out); }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer__logo { width: 220px; mix-blend-mode: multiply; }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer a, .footer span { display: block; text-decoration: none; margin-bottom: 8px; color: var(--ink-2); }
.footer a:hover { color: var(--red); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom span { display: inline; margin: 0; color: inherit; }

/* ---------- drawer koszyka ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: block; visibility: hidden; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20,22,26,.35); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-l); transform: translateX(100%); transition: transform .55s var(--ease-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 24px; font-weight: 900; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: cardIn .4s var(--ease-out) both; }
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cart-item h4 { font-size: 15px; margin-bottom: 2px; line-height: 1.3; }
.cart-item small { display: block; font-size: 12px; color: var(--muted); }
.cart-item__side { display: grid; justify-items: end; gap: 8px; }
.cart-item__price { font-weight: 900; }
.cart-empty { display: grid; place-items: center; text-align: center; gap: 14px; padding: 60px 12px; color: var(--muted); }
.cart-empty img { width: 140px; mix-blend-mode: multiply; opacity: .8; }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .muted { color: var(--muted); }
.totals .grand { font-size: 20px; font-weight: 900; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.free-ship { font-size: 13px; color: var(--ink-2); }
.free-ship__bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.free-ship__bar i { display: block; height: 100%; background: var(--green); border-radius: 6px; transition: width .6s var(--ease-out); }

/* ---------- brak kasku / interkomu ---------- */
.miss {
  display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong); background: var(--surface); animation: pop .4s var(--ease-out);
}
.miss__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.miss__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.miss__text { display: grid; gap: 2px; flex: 1; font-size: 15px; line-height: 1.45; }
.miss__text span { color: var(--muted); }
.miss__btn { flex: none; min-height: 44px; }
@media (max-width: 640px) { .miss { flex-wrap: wrap; } .miss__btn { width: 100%; } }
.link-btn { padding: 0; border: 0; background: none; color: var(--red); font-weight: 700; text-decoration: underline; cursor: pointer; }
.checkout.ask { width: min(620px, calc(100% - 24px)); }
.ask__form { padding: clamp(24px, 4vw, 40px); }
.ask__form [hidden] { display: none !important; }
.ask__form .field select { min-height: 50px; }
.ask__privacy { margin: 4px 0 16px; font-size: 13px; color: var(--muted); }

/* ---------- checkout ---------- */
.checkout {
  width: min(1080px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow-l); color: var(--ink); overflow: hidden;
}
.checkout[open] { animation: dialogIn .5s var(--ease-out); }
.checkout::backdrop { background: rgba(20,22,26,.45); backdrop-filter: blur(6px); animation: fade .4s; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.checkout__inner { max-height: calc(100dvh - 24px); overflow-y: auto; }
.co { display: grid; grid-template-columns: 1.3fr 1fr; }
.co__form { padding: clamp(24px, 4vw, 44px); }
.co__side { padding: clamp(24px, 4vw, 44px); background: var(--bg); border-left: 1px solid var(--line); }
.co__side-sticky { position: sticky; top: 0; display: grid; gap: 16px; }
.co__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 28px; }
.co__head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; }
.co__head p { margin: 6px 0 0; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-zip { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,22,26,.06); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); background: var(--red-50); }
.field__error { font-size: 13px; color: var(--red); font-weight: 700; min-height: 0; }
.options { display: grid; gap: 10px; }
.option {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s;
}
.option:hover { border-color: var(--line-strong); }
.option input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: .2s; }
.option input::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--ease-out); }
.option input:checked { border-color: var(--red); }
.option input:checked::after { transform: scale(1); }
.option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,22,26,.05); }
.option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.option strong { display: block; font-size: 16px; }
.option small { color: var(--muted); font-size: 13px; }
.option__price { font-weight: 900; white-space: nowrap; }
.option-extra { padding: 14px 0 0; animation: pop .35s var(--ease-out); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.check.has-error { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 16px; border-radius: 12px; background: var(--red-50); color: var(--red-600); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.co-item b { display: block; line-height: 1.3; }
.co-item small { color: var(--muted); }
.co-trust { display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.co-trust div { display: flex; gap: 10px; align-items: center; }
.co-trust svg { color: var(--green); }
.co-success { padding: clamp(32px, 6vw, 72px); text-align: center; display: grid; justify-items: center; gap: 16px; }
.co-success__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; animation: popIn .7s var(--ease-out); }
.co-success__icon svg { width: 44px; height: 44px; stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s var(--ease-out) forwards; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.co-success__icon--warn { background: #fff4e0; color: #a15c00; }
.co-success__icon--warn svg { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.co-success__icon--wait { background: var(--surface-2); }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line-strong); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-success h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.co-success p { margin: 0; color: var(--ink-2); max-width: 520px; }
.co-success__num { font-size: 22px; font-weight: 900; letter-spacing: .04em; padding: 10px 20px; border-radius: 999px; background: var(--surface-2); }

/* ---------- toasty ---------- */
.toasts { position: fixed; z-index: 200; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); translate: -50% 0; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast {
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-l); animation: toastIn .5s var(--ease-out); font-size: 15px;
}
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast span { flex: 1; }
.toast button { border: 0; background: rgba(255,255,255,.12); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.toast button:hover { background: var(--red); }
.toast.is-out { animation: toastOut .3s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- mobile cart bar ---------- */
.mobile-bar { display: none; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1100px) {
  .cfg__body { grid-template-columns: minmax(0, 1fr) 340px; }
  .stepper { grid-column: 1 / -1; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; overflow-x: auto; }
  .stepper li { flex: 1; min-width: 170px; }
}
@media (max-width: 1000px) { .nav { display: none; } .lang { margin-left: auto; } .header__inner { gap: 8px; } }
@media (max-width: 359px) { .lang__btn { padding: 0 10px; } .lang__btn span { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-height: 520px; aspect-ratio: 5/5; justify-self: stretch; order: -1; }
  .hero__photo { inset: 0 0 0 8%; }
  .hero__stats { grid-template-columns: repeat(2, auto); gap: 18px 36px; }
  .cfg__body { grid-template-columns: 1fr; }
  .cfg__aside { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-l) var(--radius-l); }
  .aside-sticky { position: static; }
  .compare, .steps, .helmet-lists { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 24px; }
  .faq .section__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .co { grid-template-columns: 1fr; }
  .co__side { border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .section__head--row { flex-direction: column; align-items: start; }
}
@media (max-width: 560px) {
  .brand__word { width: 104px; }
  .hero__visual { aspect-ratio: 1 / 1; max-height: 400px; }
  .hero__product { width: 46%; padding: 8px; bottom: 6%; }
  .hero__product figcaption { padding: 8px 4px 2px; }
  .hero__product strong { font-size: 14px; }
  .hero__product span { font-size: 12px; }
  .brand__mark { width: 38px; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 6px 0 12px; }
  .cfg { border-radius: var(--radius); margin-inline: calc(var(--gutter) * -.5); }
  .cfg__toolbar { padding: 12px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; justify-content: center; padding: 0 10px; font-size: 15px; }
  .search { max-width: none; }
  .cfg__tools { flex-basis: 100%; }
  .reset-btn { width: 52px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .brand-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-card__name { font-size: 18px; }
  .brand-card__body { padding: 12px; }
  .brand-card__meta { font-size: 12px; }
  .ic-cards { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-zip { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .checkout { width: 100%; max-height: 100dvh; border-radius: 0; margin: 0; max-width: none; height: 100dvh; }
  .checkout.ask { width: calc(100% - 16px); height: fit-content; max-height: calc(100dvh - 16px); margin: auto; border-radius: var(--radius-l); }
  .checkout__inner { max-height: 100dvh; }
  .mobile-bar {
    position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px;
    background: var(--ink); color: #fff; box-shadow: var(--shadow-l); transform: translateY(150%); transition: transform .5s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 44px; padding: 0 18px; }
}

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

/* ---------- VAT ---------- */
.vat-note { font-size: 13px; }
.vat-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- paczkomat: karta w zamówieniu ---------- */
.locker-card { margin-bottom: 12px; }
.locker-card__open {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1.5px dashed var(--line-strong); background: var(--surface); transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.locker-card__open:hover { border-color: var(--red); background: var(--red-50); }
.locker-card__open > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.locker-card__open small, .locker-card__sel small { color: var(--muted); font-size: 13px; }
.locker-card__open svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; }
.locker-card__sel {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--surface);
  animation: pop .35s var(--ease-out);
}
.locker-card__sel > div { flex: 1; display: grid; gap: 2px; font-size: 14px; }
.locker-card__sel b { font-size: 16px; }
.locker-card__pin {
  flex: none; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red);
  box-shadow: inset 0 0 0 9px var(--red), inset 0 0 0 20px #fff;
}

/* ---------- mapa paczkomatów ---------- */
.lk {
  width: min(1100px, calc(100% - 24px)); height: min(760px, calc(100dvh - 24px)); max-height: none; padding: 0; border: 0;
  border-radius: var(--radius-l); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-l); overflow: hidden;
}
.lk[open] { animation: dialogIn .45s var(--ease-out); }
.lk::backdrop { background: rgba(20,22,26,.5); backdrop-filter: blur(6px); }
.lk__wrap { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; }
.lk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 10px; }
.lk__head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.lk__search { display: flex; gap: 8px; padding: 0 22px 14px; flex-wrap: wrap; }
.lk__input {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.lk__input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,22,26,.06); }
.lk__input svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.lk__input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; }
.lk__go, .lk__near { min-height: 48px; }
.lk__near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lk__body { min-height: 0; display: grid; grid-template-columns: 360px 1fr; border-top: 1px solid var(--line); }
.lk__list { overflow-y: auto; padding: 10px; display: grid; align-content: start; gap: 6px; border-right: 1px solid var(--line); background: var(--bg); }
.lk__hint { margin: 0; padding: 18px 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lk__item {
  display: grid; gap: 3px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid transparent; background: var(--surface);
  text-align: left; cursor: pointer; font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.lk__item:hover { border-color: var(--line-strong); }
.lk__item.is-active { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.lk__item-top { display: flex; align-items: center; gap: 8px; }
.lk__item-top b { font-size: 15px; }
.lk__dist { margin-left: auto; font-weight: 700; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.lk__addr { color: var(--ink-2); }
.lk__desc { color: var(--muted); font-size: 13px; }
.lk__badge { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .02em; vertical-align: middle; }
.lk__map { position: relative; min-height: 0; background: #e9eef0; }
.lk__map .leaflet-container { font: inherit; background: #eef0ee; }
.lk-tiles { filter: grayscale(.55) contrast(.92) brightness(1.04); }
.lk__map-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.lk__foot { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface); animation: pop .3s var(--ease-out); }
.lk__sel { flex: 1; display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.lk__sel b { font-size: 17px; }
.lk__sel small { color: var(--muted); }
.lk-pin {
  display: block; width: 30px; height: 30px; margin: 0 auto; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--red); box-shadow: inset 0 0 0 7px var(--red), inset 0 0 0 16px #fff, 0 2px 6px rgba(0,0,0,.3);
  transition: transform .15s var(--ease);
}
.lk-pin:hover { transform: rotate(-45deg) scale(1.12); }
.lk-pin.is-active { background: var(--ink); box-shadow: inset 0 0 0 7px var(--ink), inset 0 0 0 16px #fff, 0 3px 10px rgba(0,0,0,.4); transform: rotate(-45deg) scale(1.25); }
@media (max-width: 760px) {
  .lk { width: 100%; height: 100dvh; max-width: none; border-radius: 0; margin: 0; }
  .lk__head { padding: 14px 16px 8px; }
  .lk__search { padding: 0 16px 12px; }
  .lk__near span { display: none; }
  .lk__body { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
  .lk__map { order: -1; }
  .lk__list { border-right: 0; border-top: 1px solid var(--line); }
  .lk__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .lk__foot .btn { width: 100%; }
}

/* ---------- podstrona marki kasku ---------- */
.landing { padding-block: clamp(32px, 5vw, 64px) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.landing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.landing__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; }
.landing__h2 { font-size: 20px; font-weight: 900; margin: 24px 0 12px; }
.landing__h2:first-child { margin-top: 0; }
.landing__table { width: 100%; border-collapse: collapse; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.landing__table th { text-align: left; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.landing__table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.landing__table tr:last-child td { border-bottom: 0; }
.landing__table td small { display: block; color: var(--muted); font-size: 12px; }
.landing__table img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.landing__table .r { text-align: right; white-space: nowrap; }
.btn--s { min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 900px) { .landing__grid { grid-template-columns: 1fr; } .landing__table img { width: 56px; height: 42px; } }

/* ---------- dane sprzedawcy w stopce ---------- */
.footer__company { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__company b { color: var(--ink-2); }
.footer__company a { color: inherit; }

.billing-address__title { margin: 4px 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
