:root {
  --navy-900: #0b1a29;
  --navy: #112639;
  --navy-700: #163049;
  --navy-600: #24476b;
  --blue: #0280bd;
  --blue-700: #016a9e;
  --blue-800: #015680;
  --blue-50: #e9f5fb;
  --blue-100: #cfe9f5;
  --text: #14212e;
  --muted: #536173;
  --border: #dce3ea;
  --bg: #f4f6f9;
  --white: #fff;
  --green: #17703a;
  --green-50: #e7f5ec;
  --amber: #8a4b00;
  --amber-50: #fff3df;
  --red: #b42318;
  --red-50: #fdecea;
  --violet: #5b3a9c;
  --violet-50: #f0ebfa;
  --teal: #0d6b63;
  --teal-50: #e3f4f2;
  --orange: #9a3f00;
  --orange-50: #fdeee2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 38, 57, .06), 0 4px 16px rgba(17, 38, 57, .06);
  --shadow-lg: 0 12px 40px rgba(17, 38, 57, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.i--lg { width: 24px; height: 24px; }

/* prototyp + USP */
.proto-bar { background: #fff7d6; color: #5c4500; font-size: .8rem; border-bottom: 1px solid #f0de9a; }
.proto-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 5px; padding-bottom: 5px; }
.proto-bar__reset { background: none; border: 1px solid #d9c26a; color: #5c4500; border-radius: 6px; padding: 2px 8px; font-size: .75rem; cursor: pointer; white-space: nowrap; }
.usp-strip { background: var(--navy); color: #dbe6f0; font-size: .8rem; }
.usp-strip__inner { display: flex; gap: 18px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; overflow-x: auto; white-space: nowrap; }
.usp-strip__inner span, .usp-strip__inner a { display: inline-flex; align-items: center; gap: 6px; }
.usp-strip a { color: #fff; text-decoration: none; font-weight: 600; }
.usp-strip__hide-sm, .hide-sm { display: none !important; }

/* nagłówek */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "toggle logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
.nav-toggle { grid-area: toggle; }
.logo { grid-area: logo; display: inline-flex; }
.logo img { width: 136px; height: auto; }
.header-search { grid-area: search; display: flex; border: 1.5px solid var(--border); border-radius: 999px; background: var(--bg); overflow: hidden; }
.header-search:focus-within { border-color: var(--blue); background: #fff; }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 16px; outline: none; }
.header-search button { border-radius: 0; }
.header-actions { grid-area: actions; display: flex; gap: 4px; }
.header-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; color: var(--navy); text-decoration: none; padding: 4px 8px; font-size: .7rem; font-weight: 600; border-radius: 8px; }
.header-action:hover { background: var(--bg); color: var(--navy); }
.header-action__label { margin-top: 1px; }
.cart-badge { position: absolute; top: 0; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue-700); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-badge[data-empty="true"] { background: #8a97a6; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--navy); border-radius: 10px; cursor: pointer; }
.icon-btn:hover { background: var(--bg); }

.main-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.main-nav.is-open { display: block; }
.main-nav__inner { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.main-nav a:last-child { border-bottom: 0; }
.main-nav a[aria-current="page"] { color: var(--blue-700); }

.b2b-banner { background: var(--violet); color: #fff; font-size: .85rem; }
.b2b-banner .container { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.b2b-banner button { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; padding: 3px 10px; cursor: pointer; font-size: .8rem; }

main { min-height: 60vh; }
.page { padding-top: 18px; padding-bottom: 48px; }
h1[tabindex="-1"]:focus { outline: none; }
.page-loading { padding: 80px 16px; text-align: center; color: var(--muted); }

/* przyciski i formularze */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--border); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy); }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .85rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; color: var(--blue-700); text-decoration: underline; cursor: pointer; font: inherit; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field > label, .field > .label { font-weight: 600; font-size: .875rem; color: var(--navy); }
.field .hint { font-size: .78rem; color: var(--muted); }
.req { color: var(--red); }
.input, .select, textarea.input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #c8d2dc; border-radius: var(--radius-sm); background: #fff; }
.input:focus, .select:focus { border-color: var(--blue); outline: 3px solid var(--blue-100); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .8rem; font-weight: 500; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23112639' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 36px; }
.select:disabled { background-color: #eef1f4; color: #7d8996; }
.form-grid { display: grid; gap: 14px; grid-template-columns: minmax(0,1fr); }
.form-grid > *, .row-inline > .field { min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue-700); flex: none; }
.row-inline { display: flex; gap: 8px; align-items: flex-end; }
.row-inline > .field { flex: 1; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card__body { padding: 18px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .88rem; background: var(--blue-50); color: var(--navy); border: 1px solid var(--blue-100); }
.notice--warn { background: var(--amber-50); border-color: #f3d7a4; color: #5c3300; }
.notice--ok { background: var(--green-50); border-color: #b7dfc5; color: #0f4d27; }
.notice--sim { background: #fff7d6; border-color: #f0de9a; color: #5c4500; }
.notice .i { margin-top: 2px; }

/* plakietki */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font-size: .74rem; font-weight: 700; line-height: 1.3; background: #eef1f4; color: #2d3b4a; white-space: nowrap; }
.badge--napedowa { background: var(--orange-50); color: var(--orange); }
.badge--prowadzaca { background: var(--blue-50); color: var(--blue-800); }
.badge--naczepowa { background: var(--violet-50); color: var(--violet); }
.badge--uniwersalna { background: var(--teal-50); color: var(--teal); }
.badge--brak { background: #f0f2f5; color: #5a6676; font-weight: 600; }
.badge--stock { background: var(--green-50); color: var(--green); }
.badge--nostock { background: var(--amber-50); color: var(--amber); }
.badge--pmsf { background: #e8eef9; color: #1f3f7a; }
.badge--sim { background: #fff1b8; color: #5c4500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* strona główna */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 55%, #1d4a73 100%); color: #fff; padding: 22px 0 28px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(2, 128, 189, .18); pointer-events: none; }
.hero__grid { display: grid; gap: 20px; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 8px; }
.hero__lead { color: #c9d8e6; margin-bottom: 0; max-width: 34em; }
.hero__points { display: none; list-style: none; padding: 0; margin: 18px 0 0; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: center; color: #e4edf5; }
.hero__points .i { color: #6cc4ee; }

.finder { background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px; }
.finder__tabs { display: flex; gap: 4px; background: var(--bg); padding: 4px; border-radius: 10px; margin-bottom: 14px; }
.finder__tab { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 8px; font-weight: 700; font-size: .82rem; color: var(--muted); cursor: pointer; }
.finder__tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.finder__tab[disabled] { cursor: not-allowed; opacity: .7; }
.finder__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.finder__grid .field > label { font-size: .78rem; }
.finder__axis { margin-top: 10px; }
.finder__submit { margin-top: 14px; }
.finder__hint { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--border); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .85rem; }
.chip:hover { border-color: var(--blue); color: var(--blue-800); }
.chip small { color: var(--muted); font-weight: 500; }
.chip--on-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.chip--on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.chip--on-dark small { color: #b7c9da; }
.popular { margin-top: 14px; }
.popular__label { font-size: .8rem; color: #b7c9da; margin-bottom: 8px; font-weight: 600; }

.section { padding: 32px 0; }
.section--white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.usp { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.usp__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); margin-bottom: 10px; }
.usp h3 { font-size: .95rem; margin-bottom: 4px; }
.usp p { font-size: .82rem; color: var(--muted); margin: 0; }
.axis-grid { display: grid; gap: 10px; }
.axis-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.axis-card:hover { border-color: var(--blue); }
.axis-card h3 { margin-bottom: 4px; }
.axis-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.axis-card__n { margin-left: auto; font-weight: 700; color: var(--blue-700); white-space: nowrap; font-size: .85rem; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 700; text-align: center; }
.brand-tile:hover { border-color: var(--blue); }
.brand-tile img { max-height: 36px; width: auto; object-fit: contain; }
.brand-tile small { color: var(--muted); font-weight: 500; font-size: .75rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: #364554; }
.b2b-teaser { background: var(--navy); color: #dbe6f0; border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.b2b-teaser h2 { color: #fff; }
.b2b-teaser ul { margin: 0; padding-left: 18px; }

/* listing */
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #9aa6b3; }
.breadcrumb a { color: var(--muted); }
.listing-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.listing-head h1 { margin: 0; }
.size-switch { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; margin: 10px 0 16px; align-items: end; }
.size-switch .select { min-height: 40px; padding: 6px 30px 6px 10px; font-size: .9rem; }
.size-switch .btn { min-height: 40px; }
.listing { display: grid; gap: 18px; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0; }
.filters__mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.filters__body { padding: 6px 16px 16px; }
.filter-group { padding: 12px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.filter-group .check { padding: 4px 0; justify-content: space-between; }
.filter-group .check span:first-of-type { flex: 1; }
.filter-group .count { color: var(--muted); font-size: .8rem; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.price-range .input { min-height: 40px; padding: 6px 10px; }
.filters-toggle { display: inline-flex; }
.filters-wrap { display: none; }
.filters-wrap.is-open { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(11, 26, 41, .5); }
.filters-wrap.is-open .filters { position: absolute; inset: 0 0 0 auto; width: min(380px, 92vw); border-radius: 0; overflow-y: auto; }
.filters__apply { position: sticky; bottom: 0; background: #fff; padding: 12px 16px; border-top: 1px solid var(--border); }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar__count { font-weight: 600; color: var(--navy); }
.toolbar .select { min-height: 40px; width: auto; padding: 6px 34px 6px 10px; font-size: .9rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.active-filters button { display: inline-flex; align-items: center; gap: 4px; background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-100); border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 600; cursor: pointer; }
.products { display: grid; gap: 12px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; position: relative; }
.pcard:hover { border-color: #b8c6d3; box-shadow: var(--shadow); }
.pcard__img { display: block; aspect-ratio: 1; background: #fff; border-radius: 8px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pcard__brand { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pcard__title { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.25; }
.pcard__title a { color: var(--navy); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pcard__title a:hover { color: var(--blue-700); }
.pcard__meta { font-size: .82rem; color: var(--muted); }
.pcard__label { display: flex; gap: 8px; font-size: .75rem; color: #364554; flex-wrap: wrap; }
.pcard__label span { display: inline-flex; gap: 3px; align-items: center; }
.pcard__label b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 3px; color: #fff; font-size: .7rem; }
.pcard__buy { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--border); padding-top: 10px; position: relative; z-index: 1; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__main { font-size: 1.25rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price__main small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.price__sub { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.price__old { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.price__raty { font-size: .75rem; color: var(--green); font-weight: 600; }
.pcard__actions { display: flex; gap: 6px; align-items: center; }
.empty { text-align: center; padding: 40px 16px; background: #fff; border: 1px dashed #c2ccd6; border-radius: var(--radius); }
.empty .i { width: 40px; height: 40px; color: #9aa6b3; margin: 0 auto 10px; display: block; }

.eu-cls-A { background: #00843d; } .eu-cls-B { background: #4fae32; } .eu-cls-C { background: #b9c900; color: #1b2400 !important; }
.eu-cls-D { background: #f2b600; color: #2b1d00 !important; } .eu-cls-E { background: #e8710a; }

/* ilość */
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid #c8d2dc; border-radius: 10px; overflow: hidden; background: #fff; height: 46px; }
.qty button { width: 40px; border: 0; background: #fff; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.qty button:hover { background: var(--bg); }
.qty button:disabled { color: #b7c0ca; cursor: not-allowed; }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 38px; }
.qty--sm button { width: 32px; }
.qty--sm input { width: 36px; }

/* pasek darmowej dostawy */
.freebar { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .85rem; color: var(--navy); }
.freebar--done { background: var(--green-50); border-color: #b7dfc5; color: #0f4d27; }
.freebar__track { height: 8px; background: #fff; border-radius: 999px; margin-top: 7px; overflow: hidden; border: 1px solid var(--blue-100); }
.freebar__fill { height: 100%; background: var(--blue-700); border-radius: 999px; transition: width .3s; }
.freebar--done .freebar__fill { background: var(--green); }

/* karta produktu */
.pdp { display: grid; gap: 18px; }
.pdp__gallery { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; position: relative; }
.pdp__gallery img { width: 100%; max-height: 460px; object-fit: contain; margin: 0 auto; }
.pdp__gallery .badges { position: absolute; top: 12px; left: 12px; }
.pdp__info h1 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 6px; }
.pdp__sub { color: var(--muted); margin-bottom: 12px; }
.buybox { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.buybox .price__main { font-size: 1.9rem; }
.buybox__row { display: flex; gap: 10px; align-items: stretch; }
.buybox__row .btn { flex: 1; }
.stock { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.stock--ok { color: var(--green); }
.stock--no { color: var(--amber); }
.raty-box { display: flex; gap: 10px; align-items: center; font-size: .85rem; padding: 10px 12px; border-radius: var(--radius-sm); background: #f6f8fa; border: 1px solid var(--border); }
.raty-box strong { color: var(--navy); }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .86rem; color: #364554; }
.perks li { display: flex; gap: 8px; align-items: flex-start; }
.perks .i { color: var(--blue-700); margin-top: 2px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 46%; color: var(--muted); font-weight: 500; }
.spec-table td { font-weight: 600; color: var(--navy); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.eu-label { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eu-label__item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; text-align: center; background: #fff; }
.eu-label__item .xs { display: block; color: var(--muted); margin-bottom: 6px; }
.eu-label__val { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 8px; color: #fff; font-weight: 800; font-size: 1.2rem; }
.eu-label__val--db { background: var(--navy-700); font-size: 1rem; }
.eu-label__val--na { background: #e6eaef; color: var(--muted); font-size: .8rem; }
.tabs-panel { margin-top: 26px; }
.combo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.combo__groups { display: grid; gap: 14px; }
.combo__group h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.combo__list { display: grid; gap: 8px; }
.combo__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.combo__item img { width: 52px; height: 52px; object-fit: contain; }
.combo__item a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: .9rem; }
.combo__item a:hover { color: var(--blue-700); }
.combo__item .price__main { font-size: 1rem; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: #2a3846; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1em 0; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--border); padding: 6px 8px; text-align: left; }

/* koszyk i checkout */
.cart-layout, .checkout-layout { display: grid; gap: 18px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 72px; height: 72px; object-fit: contain; }
.cart-item__title { font-weight: 700; color: var(--navy); text-decoration: none; }
.cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.summary { display: grid; gap: 10px; }
.summary__line { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; }
.summary__line--total { font-size: 1.15rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--border); padding-top: 10px; }
.summary__mini { display: grid; gap: 6px; font-size: .85rem; max-height: 240px; overflow: auto; }
.summary__mini div { display: flex; justify-content: space-between; gap: 8px; }
.co-section { padding: 18px; }
.co-section + .co-section { border-top: 1px solid var(--border); }
.co-section h2 { font-size: 1.1rem; display: flex; gap: 10px; align-items: center; }
.co-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; }
.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid #c8d2dc; border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.choice:hover { border-color: var(--navy-600); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-700); flex: none; }
.choice:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-700) inset; }
.choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choice__title { font-weight: 700; color: var(--navy); display: block; }
.choice__desc { font-size: .82rem; color: var(--muted); display: block; }
.choice__price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.points { display: grid; gap: 8px; margin-top: 10px; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.thanks__icon .i { width: 36px; height: 36px; }
.order-no { font-size: 1.4rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }

/* konto i B2B */
.account-grid, .b2b-grid { display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); }
.account-grid > *, .b2b-grid > * { min-width: 0; }
.orders-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.orders-table th, .orders-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.orders-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.status { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .82rem; padding: 3px 9px; border-radius: 999px; }
.status--pending { background: var(--amber-50); color: var(--amber); }
.status--ok { background: var(--green-50); color: var(--green); }
.status--new { background: var(--blue-50); color: var(--blue-800); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding-bottom: 14px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6eaef; color: var(--muted); font-size: .75rem; font-weight: 700; }
.timeline li.done .timeline__dot { background: var(--green); color: #fff; }
.timeline li.current .timeline__dot { background: var(--amber); color: #fff; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { appearance: none; width: 48px; height: 28px; border-radius: 999px; background: #c2ccd6; position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--violet); }
.switch input:checked::after { transform: translateX(20px); }
.file-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: .85rem; }
.file-list li { display: flex; gap: 6px; align-items: center; }
.drop { border: 2px dashed #b8c6d3; border-radius: var(--radius-sm); padding: 16px; text-align: center; background: #fafbfc; }
.drop input { max-width: 100%; }

/* blog */
.blog-grid { display: grid; gap: 14px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.post-card:hover { border-color: #b8c6d3; box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--blue-800)); display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img .i { width: 44px; height: 44px; }
.post-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.post-card h3 { margin: 0; font-size: 1rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; font-size: .86rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; max-width: 760px; }

/* kontakt */
.contact-grid { display: grid; gap: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { color: var(--blue-700); width: 22px; height: 22px; margin-top: 2px; }
.contact-list a { font-weight: 700; text-decoration: none; }

/* stopka */
.site-footer { background: var(--navy-900); color: #b9c7d6; margin-top: 24px; font-size: .88rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; padding-bottom: 28px; }
.site-footer h2 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #d6e1ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact { grid-column: 1 / -1; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: #8fa1b4; }
.site-footer__bottom-inner { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; padding-bottom: 18px; }

/* czat i toast */
.chat-fab { position: fixed; right: 14px; bottom: 14px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); cursor: pointer; }
.chat-panel { position: fixed; right: 14px; bottom: 74px; z-index: 40; width: min(320px, calc(100vw - 28px)); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; font-size: .88rem; }
.chat-panel__title { font-weight: 800; color: var(--navy); }
.toast-region { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 70; width: min(440px, calc(100vw - 24px)); display: grid; gap: 8px; }
.toast { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .9rem; animation: toast-in .2s ease-out; }
.toast__actions { display: flex; gap: 8px; margin-top: 10px; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--border); padding: 10px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 16px rgba(17, 38, 57, .08); }
.has-sticky-cta .chat-fab { bottom: 84px; }
.has-sticky-cta .chat-panel { bottom: 144px; }
.has-sticky-cta .site-footer { padding-bottom: 72px; }

@media (min-width: 560px) {
  .usp-strip__hide-sm, .hide-sm { display: inline-flex !important; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .form-grid--2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .form-grid--3 { grid-template-columns: 2fr 1fr 2fr; }
  .choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__contact { grid-column: auto; }
}

@media (min-width: 900px) {
  .logo img { width: 170px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search actions"; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
  .nav-toggle { display: none; }
  .header-search { max-width: 560px; justify-self: center; width: 100%; }
  .header-action { font-size: .78rem; }
  .main-nav { display: block; }
  .main-nav__inner { flex-direction: row; gap: 4px; padding-top: 0; padding-bottom: 0; }
  .main-nav a { border: 0; padding: 12px 12px; font-size: .9rem; border-bottom: 3px solid transparent; }
  .main-nav a:first-child { padding-left: 0; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
  .hero { padding: 48px 0 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero__points { display: grid; }
  .finder { padding: 24px; }
  .usp-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .usp { padding: 18px; }
  .axis-grid { grid-template-columns: repeat(4, 1fr); }
  .axis-card { flex-direction: column; }
  .axis-card__n { margin-left: 0; }
  .brand-grid { grid-template-columns: repeat(6, 1fr); }
  .b2b-teaser { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 32px; }
  .section { padding: 44px 0; }
  .listing { grid-template-columns: 280px 1fr; align-items: start; }
  .filters-wrap, .filters-wrap.is-open { display: block; position: static; background: none; }
  .filters-wrap .filters, .filters-wrap.is-open .filters { position: sticky; top: 130px; width: auto; border-radius: var(--radius); max-height: calc(100vh - 150px); overflow-y: auto; }
  .filters__mobile-head .icon-btn, .filters__apply, .filters-toggle { display: none; }
  .pcard { grid-template-columns: 140px 1fr auto; align-items: center; padding: 14px 16px; }
  .pcard__buy { grid-column: auto; flex-direction: column; align-items: flex-end; border-top: 0; padding-top: 0; min-width: 200px; }
  .price { align-items: flex-end; }
  .pdp { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .pdp__gallery { position: sticky; top: 140px; }
  .pdp-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .combo__groups { grid-template-columns: repeat(3, 1fr); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
  .cart-aside, .checkout-aside { position: sticky; top: 140px; }
  .cart-item { grid-template-columns: 96px 1fr; }
  .cart-item img { width: 96px; height: 96px; }
  .account-grid { grid-template-columns: 300px 1fr; align-items: start; }
  .b2b-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .site-footer__grid { grid-template-columns: repeat(4, 1fr) 1.2fr; }
  .site-footer__bottom-inner { flex-direction: row; justify-content: space-between; }
  .sticky-cta { display: none; }
  .has-sticky-cta .chat-fab { bottom: 14px; }
  .has-sticky-cta .chat-panel { bottom: 74px; }
  .has-sticky-cta .site-footer { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
