/* =========================================================
   net-s.pl - SZATA v2 ("retail powerhouse")
   Dziedziczy tokeny + bazowe komponenty z style.css,
   dokłada: mega-menu, rail kategorii, hero-slider, okazja dnia
   z licznikiem, kafle, bestsellery, raty, data dostawy,
   porównywarka, sticky buy bar, zestawy.
   Paleta indygo zachowana.
   ========================================================= */
@import url('style.css');

:root { --maxw: 1800px; }

/* gęstszy, sklepowy rytm */
body { background: var(--bg-soft); }
/* stopka: gradient - ciemniej u góry, przy dole wraca do koloru strony (motyw "noc" nadpisuje w style.css) */
.sitefooter { background: linear-gradient(180deg, #e9e7f4 0%, var(--bg-soft) 100%); }
.v2 main { background: transparent; }
.rating .stars { white-space: nowrap; }
.rank-badge + .pc-badges { left: 56px; }

/* ===================== KATEGORIA: widok SIATKI (3 kol.) ===================== */
/* domyślnie 3 kolumny; 4 na bardzo dużych ekranach; 2 na mniejszych */
/* domyślnie 4 kolumny; do 5 na szerokich ekranach, mniej na mniejszych */
.cat-layout .products-grid:not(.view-list) { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 1500px) { .cat-layout .products-grid:not(.view-list) { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1200px) { .cat-layout .products-grid:not(.view-list) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cat-layout .products-grid:not(.view-list) { grid-template-columns: repeat(2, 1fr); } }

/* ===================== KATEGORIA: widok LISTY (1 w rzędzie, więcej danych) ===================== */
.products-grid.view-list { display: flex; flex-direction: column; gap: 14px; }
.product-row { display: grid; grid-template-columns: 210px 1fr 240px; gap: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--sh-1);
  transition: box-shadow .2s, border-color .2s; position: relative; align-items: stretch; }
.product-row:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.pr-media { position: relative; border-radius: var(--r-sm); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; align-self: start; }
.pr-media .thumb-ico { font-size: 3.4rem; transition: transform .25s; }
.product-row:hover .pr-media .thumb-ico { transform: scale(1.07); }
.pr-media .pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pr-media .pc-compare { position: absolute; left: 10px; bottom: 10px; right: 10px; opacity: 0; transform: translateY(8px); transition: .2s; }
.product-row:hover .pr-media .pc-compare { opacity: 1; transform: translateY(0); }
.pr-info { display: flex; flex-direction: column; min-width: 0; }
.pr-info .pc-brand { font-size: .72rem; }
.pr-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.25; margin: 3px 0 6px; }
.pr-name:hover { color: var(--brand); }
.pr-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin: 12px 0; padding: 12px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
.pr-specs > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: .82rem; min-width: 0; }
.pr-specs dt { color: var(--muted); margin: 0; white-space: nowrap; }
.pr-specs dd { color: var(--ink); font-weight: 600; margin: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-availability { margin-top: auto; }
.pr-buy { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); padding-left: 22px; justify-content: center; }
.pr-price { text-align: right; }
.pr-price .old { font-size: .82rem; color: var(--faint); text-decoration: line-through; }
.pr-price .now { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; color: var(--ink); display: block; }
.pr-price .pc-install { text-align: right; margin-top: 2px; }
.pr-delivery { font-size: .82rem; color: var(--green); display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.pr-buy-row { display: flex; gap: 8px; }
.pr-buy-row .is-on { color: var(--sale); box-shadow: inset 0 0 0 1.5px var(--sale); }
@media (max-width: 1100px) {
  .pr-specs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .product-row { grid-template-columns: 130px 1fr; }
  .pr-buy { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 14px; }
  .pr-price, .pr-price .pc-install, .pr-delivery { text-align: left; justify-content: flex-start; }
  .pr-price .d-flex { justify-content: flex-start !important; }
}
@media (max-width: 520px) {
  .product-row { grid-template-columns: 1fr; }
  .pr-media { max-width: 200px; }
}

/* ===================== TOPBAR v2 ===================== */
.v2-topbar { background: var(--ink); color: #cdcbe0; font-size: .9rem; }
html[data-theme="noc"] .v2-topbar { background: #08071a; }
.v2-topbar .container-x { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; flex-wrap: wrap; }
.v2-topbar a { color: #fff; display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.v2-topbar .tb-list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.v2-topbar i { color: #b6a6ff; }
.v2-topbar .tb-list span { display: inline-flex; align-items: center; gap: .45em; }

/* ===================== HEADER v2 ===================== */
.v2-header { position: sticky; top: 0; z-index: 1030; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.v2-header.mega-open { position: relative; }	/* otwarte mega-menu: bez sticky, panel wychodzi poza ekran i przewija się ze stroną (bez własnych scrollbarów) */
.v2-header.is-stuck { box-shadow: var(--sh-2); }
.v2-headbar { display: flex; align-items: center; gap: 24px; min-height: 84px; }

/* search z wyborem kategorii (jak morele/komputronik) */
.v2-search { flex: 1; display: flex; align-items: stretch; max-width: none; height: 54px; border-radius: var(--pill);
  background: var(--bg-soft); box-shadow: inset 0 0 0 1.8px var(--line-2); overflow: hidden; transition: .2s; }
.v2-search:focus-within { box-shadow: inset 0 0 0 2px var(--brand), 0 8px 22px rgba(86,40,220,.14); background: var(--surface); }
.v2-search select { border: none; background: transparent; padding: 0 14px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink-2); cursor: pointer; border-right: 1.5px solid var(--line-2); max-width: 160px; }
.v2-search select:focus { outline: none; }
.v2-search input { flex: 1; min-width: 0; border: none; background: transparent; padding: 0 16px; font-family: var(--font-body); font-size: .98rem; color: var(--ink); }
.v2-search input:focus { outline: none; }
.v2-search input::placeholder { color: var(--faint); }
.v2-search button { margin: 6px; height: 42px; padding: 0 1.3rem; flex-shrink: 0; }
/* przy wąskim oknie: wyszukiwarka schodzi do osobnego, pełnego wiersza pod logo -
   dzięki temu przycisk "Szukaj" jest ZAWSZE w całości widoczny (przy bardzo małym ekranie zostaje sama ikona) */
@media (max-width: 820px) {
  .v2-headbar { flex-wrap: wrap; row-gap: 12px; padding: 12px 0; min-height: 0; }
  .v2-headbar .brand-logo { order: 1; }
  .v2-headbar .head-actions { order: 2; margin-left: auto; }
  .v2-search { order: 3; flex: 1 0 100%; max-width: 100%; height: 50px; }
  .v2-search select { display: none; }
  .v2-search button span { display: inline !important; }
}

/* mega-menu nav */
.v2-nav { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; }
.v2-nav .container-x { display: flex; align-items: center; gap: 4px; min-height: 52px; }
.mega-trigger { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px; border-radius: var(--pill);
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .92rem; border: none; cursor: pointer; }
.mega-trigger:hover { filter: brightness(1.06); }
.v2-nav-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
/* ===== ulepszone, dobrze widoczne toasty (v2) ===== */
.toast-wrap { right: 50%; bottom: auto; top: 90px; transform: translateX(50%); z-index: 1200; width: auto; align-items: center; }
.nt-toast { min-width: 360px; max-width: 460px; gap: 15px; padding: 16px 44px 16px 16px; border-radius: var(--r); border: none;
  box-shadow: 0 18px 50px rgba(20,16,50,.28), 0 4px 14px rgba(20,16,50,.16); position: relative; overflow: hidden;
  transform: translateY(-130%); }
.nt-toast.show { transform: translateY(0); }
.nt-toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.nt-toast.nt-ok { box-shadow: 0 18px 50px rgba(22,138,91,.26), 0 4px 14px rgba(20,16,50,.16); }
.nt-toast.nt-ok::before { background: linear-gradient(180deg, #1f8a5b, #16a36b); }
.nt-toast.nt-err { box-shadow: 0 18px 50px rgba(225,29,99,.28), 0 4px 14px rgba(20,16,50,.16); }
.nt-toast.nt-err::before { background: linear-gradient(180deg, #e11d63, #ff5c8a); }
.nt-toast .nt-ic { width: 46px; height: 46px; }
.nt-toast.nt-err .nt-ic { background: linear-gradient(135deg, #e11d63, #ff5c8a); }
.nt-toast .nt-txt b { font-size: 1rem; }
.nt-toast .nt-txt small { font-size: .86rem; color: var(--ink-2); }
.nt-x { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border: none; background: var(--bg-soft); color: var(--muted); border-radius: 8px; display: grid; place-items: center; font-size: .9rem; transition: .15s; }
.nt-x:hover { background: var(--sale); color: #fff; }
.nt-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; animation: ntbar linear forwards; opacity: .55; }
.nt-toast.nt-ok .nt-bar { background: #16a36b; }
.nt-toast.nt-err .nt-bar { background: #e11d63; }
@keyframes ntbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 560px) { .toast-wrap { left: 12px; right: 12px; transform: none; width: auto; } .nt-toast { min-width: 0; max-width: none; width: 100%; } }

/* przyciski akcji w nagłówku - ikona + podpis */
.head-actions { display: flex; align-items: center; gap: 4px; }
.head-act { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 12px; border-radius: 13px; background: transparent; color: var(--ink); position: relative; transition: .18s; min-width: 56px; }
.head-act i { font-size: 1.35rem; line-height: 1; }
.head-act span:not(.dot) { font-size: .68rem; font-weight: 600; font-family: var(--font-display); letter-spacing: .01em; }
.head-act:hover { background: var(--brand-soft); color: var(--brand); transform: translateY(-2px); }
.head-act .dot { position: absolute; top: 5px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--sale); }
.v2-nav-links::-webkit-scrollbar { display: none; }
.v2-nav-links a { padding: .55rem .9rem; border-radius: var(--pill); color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; }
.v2-nav-links a:hover { background: var(--bg-soft); color: var(--brand); }
.v2-nav-links a.accent { color: var(--sale); }
.v2-nav-links a.accent:hover { background: rgba(225,29,99,.08); color: var(--sale); }

/* mega panel */
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 1040; background: var(--surface);
  border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-3);
  display: none; }
.mega-panel.open { display: block; animation: fadeUp .2s ease; }
.mega-panel .container-x { display: block; }	/* nadpisuje .v2-nav .container-x (flex), by mega-grid wypełnił szerokość */
.mega-grid { display: grid; grid-template-columns: 320px 1fr 250px; align-items: start; position: relative; }
/* maska wycinająca lewą krawędź ramki .mega-sub na wysokości aktywnej kategorii (top/left/height ustawia nets.js) */
.mega-notch { position: absolute; width: 2px; background: var(--surface); display: none; z-index: 3; pointer-events: none; }
.mega-cats { background: var(--bg-soft); padding: 10px; }
.mega-cat { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: background .12s, color .12s; }
.mega-cat i:first-child { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); color: var(--brand); display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; transition: background .12s, color .12s; }
.mega-cat .mc-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat .chev { margin-left: auto; color: var(--faint); font-size: .8rem; transition: transform .12s, color .12s; }
.mega-cat:hover, .mega-cat.active { background: var(--surface); color: var(--brand); box-shadow: var(--sh-1); }
/* aktywna kategoria "wpina się" w ramkę panelu (linia przeskakuje z hoverem): obrys 3 stron + zlanie z ramką .mega-sub */
.mega-cat.active { border: 2px solid var(--brand); border-right: 0; border-radius: 12px 0 0 12px; margin-right: -10px; padding: 5px 11px 5px 9px; box-shadow: none; }
.mega-cat:hover i:first-child, .mega-cat.active i:first-child { background: var(--grad); color: #fff; }
.mega-cat:hover .chev, .mega-cat.active .chev { color: var(--brand); transform: translateX(2px); }
/* ramka wokół panelu podkategorii - aktywna kategoria dokuje do jej lewej krawędzi */
.mega-sub { align-self: stretch; border: 2px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; padding: 16px 22px 18px; }
.mega-sub h6 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
/* tylko aktywna grupa podkategorii (nets.js initMega przełącza .active) */
.mega-sub-group { display: none; }
.mega-sub-group.active { display: block; }
/* nagłówek rozwiniętej listy podkategorii: duża ikona kategorii + nazwa + link */
.mega-sub-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-sub-head .ms-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; box-shadow: var(--sh-1); }
.mega-sub-head h6 { margin: 0 0 2px; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.mega-sub-head a { font-size: .82rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }
.mega-sub-head a:hover { color: var(--brand-ink); }
/* podkategorie jako grupy w kolumnach (jak katalog): nagłówek = podkategoria (link z ikoną), pod nim jej dzieci */
.mega-sub-grid { columns: 190px auto; column-gap: 26px; }
.msg-group { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 14px; }
.msg-group .msg-h { display: flex; align-items: center; gap: 8px; padding: 2px 0 5px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1.25; text-decoration: none; transition: color .12s; }
.msg-group .msg-h .msg-ic { width: 24px; height: 24px; border-radius: 7px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: .82rem; flex-shrink: 0; transition: background .12s, color .12s; }
.msg-group .msg-h:hover { color: var(--brand); }
.msg-group .msg-h:hover .msg-ic { background: var(--grad); color: #fff; }
/* dzieci: znacznik (kropka) + wysunięcie wiszące - zawinięte nazwy wyrównane do tekstu, tekst w linii z nazwą nagłówka (32px) */
.msg-kids { display: flex; flex-direction: column; padding-left: 20px; }
.msg-kids a { position: relative; display: block; padding: 3px 0 3px 12px; font-size: .86rem; line-height: 1.3; color: var(--ink-2); text-decoration: none; transition: color .12s; }
.msg-kids a::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); transition: background .12s, transform .12s; }
.msg-kids a:hover { color: var(--brand); }
.msg-kids a:hover::before { background: var(--brand); transform: scale(1.3); }
/* kolumna reklamowa mega-menu: dwa klikalne boxy (Outlet + B2B) */
.mega-promo { margin: 18px; display: flex; flex-direction: column; gap: 12px; }
.mega-promo-card { border-radius: var(--r); color: #fff; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; position: relative; overflow: hidden; text-decoration: none; min-height: 150px; transition: transform .15s, box-shadow .15s, filter .15s; }
.mega-promo-card::after { content:""; position:absolute; right:-28px; top:-28px; width:105px; height:105px; border-radius:50%; background:rgba(255,255,255,.14); }
.mega-promo-card:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--sh-2); filter: brightness(1.05); }
.mega-promo-card .mp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.mega-promo-card b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.mega-promo-card p { font-size: .8rem; line-height: 1.4; opacity: .88; margin: 0 0 8px; }
.mega-promo-card .mp-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; transition: gap .15s; }
.mega-promo-card:hover .mp-cta { gap: 9px; }
.mega-promo-card .mp-cta i { transition: transform .15s; }
.mp-outlet { background: linear-gradient(125deg, var(--sale) 0%, var(--sale-2) 100%); }
/* box B2B: wygląd 1:1 z pasem .b2b-band na stronie głównej (czarne tło, kropki, akcent, biały przycisk) */
.mp-b2b { background: #15132a; }
.mp-b2b::after { inset: 0; width: auto; height: auto; border-radius: 0; background: radial-gradient(circle at 88% 16%, rgba(255,255,255,.12) 0 2px, transparent 2px); background-size: 84px 84px; }
.mp-b2b .mp-eyebrow { color: #a78bff; opacity: 1; }
.mp-b2b .mp-cta { background: #fff; color: #15132a; padding: 8px 14px; border-radius: var(--pill); }

/* ===================== HERO v2 (3 kolumny) ===================== */
.home-top3 { display: grid; grid-template-columns: 252px 1fr 286px; gap: 16px; align-items: stretch; }

/* lewy rail kategorii */
.cat-rail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.cat-rail a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.cat-rail a i:first-child { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.cat-rail a .chev { margin-left: auto; color: var(--faint); font-size: .78rem; opacity: 0; transition: .15s; }
.cat-rail a:hover { background: var(--bg-soft); color: var(--brand); }
.cat-rail a:hover .chev { opacity: 1; }

/* hero slider */
.hero-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); color: #fff; min-height: 380px; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slider::after { content:""; position:absolute; inset:0; z-index:-1; background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.16) 0 3px, transparent 3px); background-size: 150px 150px; opacity:.7; }
.hero-slide .eyebrow { color: #fff; opacity: .9; }
.hero-slide h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 700; line-height: 1.04; margin: 12px 0 14px; max-width: 18ch; }
.hero-slide p { font-size: 1.05rem; opacity: .92; max-width: 34ch; margin-bottom: 22px; }
.hero-dots { position: absolute; bottom: 18px; left: 48px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; transition: .2s; }
.hero-dots button.active { background: #fff; width: 26px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); border: none; color: #fff; font-size: 1.3rem; display: grid; place-items: center; z-index: 3; cursor: pointer; transition: .15s; }
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-ph { position: absolute; right: 40px; bottom: 0; top: 0; width: 38%; display: grid; place-items: center; opacity: .9; }
.hero-ph i { font-size: 7rem; color: rgba(255,255,255,.85); }

/* prawe mini-promo */
.promo-col { display: flex; flex-direction: column; gap: 16px; }
.promo-mini { flex: 1; border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; min-height: 120px; }
.promo-mini.a { background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft-2)); }
.promo-mini.b { background: var(--ink); color: #fff; }
html[data-theme="noc"] .promo-mini.b { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.promo-mini b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.promo-mini small { font-size: .82rem; opacity: .8; }
.promo-mini .pm-ic { position: absolute; right: 14px; bottom: 12px; font-size: 2.4rem; opacity: .25; }
.promo-mini.a b, .promo-mini.a .pm-ic { color: var(--brand-ink); }
.promo-mini a { font-family: var(--font-display); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.promo-mini.a a { color: var(--brand-ink); } .promo-mini.b a { color: #fff; }

/* ===================== USP strip v2 ===================== */
.usp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.usp { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: none; }
.usp i { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.usp b { font-family: var(--font-display); font-size: .92rem; display: block; line-height: 1.15; }
.usp small { color: var(--muted); font-size: .78rem; }

/* ===================== OKAZJA DNIA + COUNTDOWN ===================== */
.deal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.deal-media { position: relative; display: grid; place-items: center; min-height: 320px; }
.deal-media .thumb-ico { font-size: 7rem; }
.deal-media .deal-flag { position: absolute; top: 20px; left: 20px; background: var(--sale); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .8rem; padding: .5rem 1rem; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(225,29,99,.35); }
.deal-info { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.deal-info .pc-brand { font-size: .8rem; }
.deal-info h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.12; margin: 6px 0 12px; }
.deal-price { display: flex; align-items: baseline; gap: 14px; margin: 6px 0; }
.deal-price .now { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--sale); }
.deal-price .old { font-size: 1.25rem; color: var(--faint); text-decoration: line-through; }
.deal-install { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; }
.deal-install b { color: var(--brand); }
.countdown { display: flex; gap: 10px; margin: 8px 0 18px; }
.cd-box { background: var(--ink); color: #fff; border-radius: var(--r-sm); padding: 10px 6px; min-width: 62px; text-align: center; }
html[data-theme="noc"] .cd-box { background: var(--bg-soft-2); box-shadow: inset 0 0 0 1px var(--line); }
.cd-box b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box small { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.deal-stock { margin-bottom: 18px; }
.deal-stock .bar { height: 9px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 7px; }
.deal-stock .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--sale), var(--sale-2)); border-radius: 999px; }
.deal-stock small { font-size: .8rem; color: var(--muted); }
.deal-stock small b { color: var(--sale); }

/* ===================== KAFLE KATEGORII ===================== */
.cattiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cattile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 12px; text-align: center; transition: .2s; }
.cattile:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; color: var(--brand); }
.cattile .ti { width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 12px; display: grid; place-items: center; font-size: 1.7rem; background: var(--grad-soft); color: var(--brand); transition: .2s; }
.cattile:hover .ti { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cattile b { font-family: var(--font-display); font-size: .86rem; color: var(--ink); display: block; line-height: 1.2; }
.cattile small { font-size: .72rem; color: var(--muted); }

/* ===================== BESTSELLERY (ranking) ===================== */

/* ikona "brak zdjęcia towaru" (img/nopic.svg, plugin Savant3 picUrl): SVG ma 96px natywnie - rozmiary wg public/nopic-proposal.html:
   karta/listing 120px, strona produktu ~64% pola (.g-main jest kwadratem na absolute img - padding 18% z każdej strony, ~365px na desktopie), miniatury koszyka pełne pole */
.pc-thumb img[src*="/img/nopic"] { width: 120px; height: 120px; object-fit: contain; }
.gallery .g-main > img[src*="/img/nopic"] { padding: 18%; }
.cr-thumb img[src*="/img/nopic"], .cl-thumb img[src*="/img/nopic"], .sl-thumb img[src*="/img/nopic"] { width: 100%; height: 100%; object-fit: contain; }
/* motyw noc: nets.js podmienia src na nopic-dark.svg; białe pola zdjęć (inline background:#fff na .g-main/.cr-thumb/.cl-thumb) dostają wtedy ciemne tło,
   żeby jasna ikona była widoczna (prawdziwe zdjęcia zostają na białym) */
html[data-theme="noc"] .gallery .g-main:has(img[src$="/nopic-dark.svg"]),
html[data-theme="noc"] .cr-thumb:has(img[src$="/nopic-dark.svg"]),
html[data-theme="noc"] .cl-thumb:has(img[src$="/nopic-dark.svg"]) { background: var(--bg-soft) !important; }
.rail-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.rail-scroll::-webkit-scrollbar { height: 8px; } .rail-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.rail-scroll > * { scroll-snap-align: start; }
.rank-badge { position: absolute; top: 12px; left: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: grid; place-items: center; box-shadow: var(--sh-2); }
.rank-badge.top1 { background: linear-gradient(135deg,#f6a609,#ff7a00); }
.rank-badge.top2 { background: linear-gradient(135deg,#9aa3b2,#6c7689); }
.rank-badge.top3 { background: linear-gradient(135deg,#cd7f4a,#a85f2e); }

/* ===================== KARTA PRODUKTU v2 (wzbogacona) ===================== */
.product-card .pc-compare { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.92); padding: .3rem .55rem; border-radius: 8px; cursor: pointer; opacity: 0; transition: .2s; backdrop-filter: blur(4px); }
html[data-theme="noc"] .product-card .pc-compare { background: rgba(30,26,55,.85); }
.product-card:hover .pc-compare { opacity: 1; }
.product-card .pc-compare input { width: 15px; height: 15px; accent-color: var(--brand); }
.product-card .pc-compare.is-on { opacity: 1; color: var(--brand); box-shadow: inset 0 0 0 1.4px var(--brand); }
.pc-install { font-size: .76rem; color: var(--ink-2); margin: 6px 0 2px; }
.pc-install b { color: var(--brand); font-family: var(--font-display); }
.pc-delivery { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; color: var(--green); margin-top: 6px; }
.pc-rating-line { display: flex; align-items: center; gap: 7px; }
.pc-rating-line .opineo { font-size: .68rem; color: var(--faint); }
.pc-cta { margin-top: 12px; }
.pc-cta .btn { font-size: .86rem; }

/* ===================== PASEK PORÓWNYWARKI ===================== */
.compare-bar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 130%); z-index: 1070; width: min(880px, 94vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 16px; padding: 12px 16px; transition: transform .35s cubic-bezier(.2,.9,.3,1); }
.compare-bar.show { transform: translate(-50%, 0); }
/* gdy na stronie produktu pojawi się dolny pasek „dodaj do koszyka", podnieś pasek porównywarki nad niego */
body:has(.sticky-buy.show) .compare-bar.show { transform: translate(-50%, -86px); }
.compare-bar .cb-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.compare-bar .cb-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.compare-bar .cb-items::-webkit-scrollbar { display: none; }
.cb-chip { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border-radius: var(--pill); padding: 5px 8px 5px 5px; flex-shrink: 0; }
.cb-chip .cl-thumb { width: 30px; height: 30px; border-radius: 8px; font-size: .95rem; }
.cb-chip span { font-size: .76rem; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-chip button { border: none; background: none; color: var(--faint); font-size: .9rem; }
.cb-chip button:hover { color: var(--sale); }

/* ===================== STICKY BUY BAR (produkt) - pasek na dole ===================== */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1031; background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(33,20,90,.12); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.3,1); }
.sticky-buy.show { transform: translateY(0); }
.sticky-buy .container-x { display: flex; align-items: center; gap: 18px; min-height: 74px; padding-top: 10px; padding-bottom: 10px; }
.sticky-buy .sb-thumb { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.sticky-buy .sb-name { font-weight: 600; font-size: .92rem; line-height: 1.2; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy .sb-rating { font-size: .78rem; }
.sticky-buy .sb-price { margin-left: auto; text-align: right; flex-shrink: 0; }
.sticky-buy .sb-price .now { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand); }
.sticky-buy .sb-price small { display: block; color: var(--muted); font-size: .72rem; }
.sticky-buy .sb-qty { flex-shrink: 0; }
.sticky-buy #sbAdd { flex-shrink: 0; }
@media (max-width: 560px) {
  .sticky-buy .container-x { gap: 12px; min-height: 66px; }
  .sticky-buy .sb-qty { display: none; }
  .sticky-buy #sbAdd { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ===================== DANE GŁÓWNE (zakładka Opis) ===================== */
.md-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
.md-title i { color: var(--brand); }
.main-data { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.md-list { margin: 0; display: grid; gap: 0; }
.md-row { display: grid; grid-template-columns: 280px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.md-row:first-child { padding-top: 0; }
.md-row:last-child { border-bottom: none; }
.md-row dt { margin: 0; color: var(--muted); font-size: .9rem; }
.md-row dd { margin: 0; color: var(--ink); font-size: .92rem; font-weight: 600; }
.md-row dd a { font-weight: 600; display: inline-flex; align-items: center; gap: .35em; }
.md-entity { display: grid; gap: 12px; margin-top: 18px; }
.md-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.md-block b { font-family: var(--font-display); font-size: .9rem; display: block; margin-bottom: 4px; }
.md-block p { margin: 0; color: var(--ink-2); font-size: .86rem; line-height: 1.6; }
.md-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; font-style: italic; line-height: 1.6; }
@media (max-width: 560px) { .md-row { grid-template-columns: 1fr; gap: 2px; } }

/* ===================== STRONA PRODUKTU - układ KART (spójny z koszykiem) ===================== */
.pdp { grid-template-columns: 1.02fr .98fr; gap: 26px; align-items: start; }
/* karta = białe pole z obwódką, jak .cart-items / .summary */
.pdp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--sh-1); }
.pdp-card.is-gallery { padding: 22px; position: sticky; top: 150px; }
.pdp-info { display: flex; flex-direction: column; gap: 16px; }
/* nagłówek karty (np. „Usługi dodatkowe") */
.pdp-card-head { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 14px; }
.pdp-card-head i { color: var(--brand); }
.pdp-card-head .ch-sub { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
/* galeria wewnątrz karty - bez podwójnej obwódki */
.pdp-card.is-gallery .g-main { border: none; }
/* normalizacja marginesów bloków wewnątrz kart */
.pdp-card .pdp-price { margin: 12px 0 4px; }
.pdp-card .services, .pdp-card .delivery-box, .pdp-card .buy-row { margin: 0; }
.pdp-card .pdp-perks { margin: 0; grid-template-columns: 1fr 1fr; }
.pdp-card .buy-row + .delivery-box, .pdp-card .delivery-box + .buy-row { margin-top: 16px; }
/* sekcja zakładek jako karta */
.pdp-section-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 26px 26px; box-shadow: var(--sh-1); }
.pdp-section-card .tabs-x { margin: 0 0 22px; }
/* nawigacja po sekcjach produktu (sticky scroll-spy) */
/* top = realna wysokość sticky nagłówka (--hdrH z nets.js; na mobile nagłówek jest wyższy) + odstęp */
.pdp-nav { position: sticky; top: calc(var(--hdrH, 76px) + 8px); z-index: 40; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-1); }
.pdp-nav a { display: inline-flex; align-items: center; gap: .45em; padding: .55rem 1.05rem; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: .15s; }
.pdp-nav a i { font-size: .95em; color: var(--brand); }
.pdp-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.pdp-nav a.active { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.pdp-nav a.active i { color: #fff; }
.pdp-section-card.cox-sec { scroll-margin-top: calc(var(--hdrH, 76px) + 73px); }	/* nagłówek + sticky .pdp-nav + odstęp */
@media (max-width: 640px) { .pdp-nav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .pdp-nav::-webkit-scrollbar { display: none; } }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }	/* MUSI być też tu: reguła 1fr z style.css (@import) przegrywa kaskadę z .pdp wyżej */
  .pdp-card.is-gallery { position: static; }
  .pdp-card .pdp-perks { grid-template-columns: 1fr 1fr; }
}

/* ===================== DOSTAWA / ODBIÓR (produkt) ===================== */
.delivery-box { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.delivery-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.delivery-row:last-child { border-bottom: none; }
.delivery-row > i { font-size: 1.4rem; color: var(--brand); flex-shrink: 0; }
.delivery-row b { font-family: var(--font-display); font-size: .9rem; }
.delivery-row .when { margin-left: auto; text-align: right; font-size: .82rem; }
.delivery-row .when b { color: var(--green); }
.urgency { background: rgba(246,166,9,.1); color: #9a6a00; font-size: .82rem; font-weight: 600; padding: 10px 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.5; }
html[data-theme="noc"] .urgency { color: #ffcf6a; }
.urgency b { font-variant-numeric: tabular-nums; }

/* services / add-ons */
.services { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.service-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; transition: .15s; }
.service-opt:hover { border-color: var(--brand); }
.service-opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.service-opt .so-name { font-size: .88rem; font-weight: 600; }
.service-opt .so-desc { font-size: .76rem; color: var(--muted); }
.service-opt .so-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: var(--brand); white-space: nowrap; }

/* zestaw taniej */
.bundle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.bundle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bundle-item { width: 110px; text-align: center; }
.bundle-item .bi-thumb { width: 92px; height: 92px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 8px; }
.bundle-item small { font-size: .74rem; color: var(--ink-2); line-height: 1.2; display: block; }
.bundle-plus { font-size: 1.6rem; color: var(--faint); }
.bundle-sum { margin-left: auto; text-align: right; }
.bundle-sum .b-old { font-size: .9rem; color: var(--faint); text-decoration: line-through; }
.bundle-sum .b-now { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--brand); }
.bundle-sum .b-save { font-size: .8rem; color: var(--green); font-weight: 600; }

/* ===================== BRAND STRIP ===================== */
.brandstrip { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.brand-badge { height: 64px; min-width: 130px; padding: 0 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-2); transition: .2s; letter-spacing: -.01em; }
.brand-badge:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-2); }

/* ===================== AGREGAT OCEN (Ceneo/Opineo-style) ===================== */
.rating-agg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.rating-agg .ra-score { text-align: center; }
.rating-agg .ra-score b { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.rating-agg .ra-score .stars { color: var(--star); font-size: 1rem; }
.rating-agg .ra-score small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.ra-bars { display: flex; flex-direction: column; gap: 6px; }
.ra-bar { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.ra-bar .lbl { width: 36px; }
.ra-bar .track { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ra-bar .track > i { display: block; height: 100%; background: var(--star); border-radius: 999px; }
.rating-agg .ra-logos { text-align: center; }
.rating-agg .ra-logos .seal { width: 78px; height: 78px; border-radius: 50%; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 8px; }
.rating-agg .ra-logos .seal i { font-size: 2.2rem; }
.rating-agg .ra-logos small { font-size: .74rem; color: var(--muted); }

/* ===================== newsletter z rabatem ===================== */
.nl-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.2); border-radius: var(--pill); padding: .4rem .9rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; margin-bottom: 12px; }

/* ===================== sekcja z zakładkami produktów ===================== */
.ptabs { display: flex; gap: 8px; }
.ptab { border: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: var(--pill); padding: .55rem 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: .15s; display: inline-flex; align-items: center; gap: 7px; }
.ptab:hover { color: var(--brand); }
.ptab.active { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }

/* ===================== responsywność v2 ===================== */
@media (max-width: 1150px) {
  .home-top3 { grid-template-columns: 1fr 286px; }
  .cat-rail { display: none; }
  .cattiles { grid-template-columns: repeat(4, 1fr); }
  .mega-grid { grid-template-columns: 220px 1fr; }
  .mega-promo { display: none; }
}
@media (max-width: 900px) {
  .home-top3 { grid-template-columns: 1fr; }
  .promo-col { flex-direction: row; }
  .usp-strip { grid-template-columns: 1fr 1fr; }
  .usp:nth-child(2) { border-right: none; }
  .deal { grid-template-columns: 1fr; }
  .deal-media { min-height: 220px; }
  .rating-agg { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .sticky-buy .sb-name, .sticky-buy .sb-rating { display: none; }
  .v2-search select { display: none; }
}
@media (max-width: 640px) {
  .cattiles { grid-template-columns: repeat(2, 1fr); }
  .usp-strip { grid-template-columns: 1fr; }
  .usp { border-right: none; border-bottom: 1px solid var(--line); }
  .promo-col { flex-direction: column; }
  .brandstrip .brand-badge { min-width: 100px; height: 54px; font-size: .9rem; }
  .deal-info { padding: 26px 22px; }
  .compare-bar { width: 96vw; }
}

/* =========================================================
   CHECKOUT (finalizacja zamówienia) v2
   ========================================================= */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }

/* pasek postępu */
.co-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.co-steps .cs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.co-steps .cs .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); box-shadow: inset 0 0 0 1.6px var(--line-2); font-size: .82rem; }
.co-steps .cs.done .n { background: var(--green); color: #fff; box-shadow: none; }
.co-steps .cs.active { color: var(--brand); }
.co-steps .cs.active .n { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.co-steps .sep { flex: 1; height: 2px; background: var(--line); min-width: 18px; border-radius: 2px; }
.co-steps .sep.done { background: var(--green); }

/* ===== NOWA ŚCIEŻKA (single-scroll po logowaniu) ===== */
/* sticky pasek postępu pod nagłówkiem */
.cox-progress { position: sticky; z-index: 900; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.cox-progress .container-x { display: flex; align-items: center; gap: 8px; min-height: 58px; }
.cox-progress .cs { display: flex; align-items: center; gap: 9px; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: .9rem; cursor: pointer; padding: 4px 0; white-space: nowrap; transition: color .15s; }
.cox-progress .cs .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); box-shadow: inset 0 0 0 1.6px var(--line-2); font-size: .8rem; transition: .15s; }
.cox-progress .cs.done .n { background: var(--green); color: #fff; box-shadow: none; }
.cox-progress .cs.active { color: var(--brand); }
.cox-progress .cs.active .n { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.cox-progress .sep { flex: 1; height: 2px; background: var(--line); min-width: 16px; border-radius: 2px; transition: background .25s; }
.cox-progress .sep.done { background: var(--green); }
@media (max-width: 640px) { .cox-progress .cs small { display: none; } .cox-progress .cs .lbl { display: none; } }

/* sekcja w trybie single-scroll */
.cox-sec { scroll-margin-top: 130px; }
.cox-lock { opacity: .85; }
/* opisowe dane do faktury / dostawy (po zatwierdzeniu / dla zalogowanego) */
.cox-summary-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .cox-summary-box { grid-template-columns: 1fr; } }
.cox-data { border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 16px 18px; background: var(--surface); position: relative; }
.cox-data .cd-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.cox-data .cd-head .cd-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.cox-data .cd-head h5 { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin: 0; flex: 1; }
.cox-data .cd-change { font-size: .8rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; background: none; border: none; }
.cox-data .cd-change:hover { text-decoration: underline; }
.cox-data .cd-body { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.cox-data .cd-body b { color: var(--ink); display: block; font-family: var(--font-display); margin-bottom: 2px; }
.cox-data .cd-type { font-size: .74rem; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.cox-addnote { font-size: .84rem; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.cox-addnote a { font-weight: 600; }
.cox-confirm-row { display: flex; justify-content: flex-end; margin-top: 16px; }

/* karta kroku */
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; overflow: hidden; transition: box-shadow .2s; }
.step-card.is-open { box-shadow: var(--sh-2); }
.step-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; }
.step-num { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.step-card.done .step-num { background: var(--green); }
.step-card.is-open .step-num { background: var(--grad); box-shadow: var(--sh-brand); }
.step-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; margin: 0; }
.step-head .step-edit { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.step-head .step-chev { margin-left: auto; color: var(--faint); transition: transform .2s; }
.step-card.is-open .step-chev { transform: rotate(180deg); }
.step-card.done .step-chev { display: none; }
.step-card.is-open .step-chev { display: none; }
.step-body { padding: 0 24px 24px; }

/* podsumowanie adresów (krok 1 done) */
.addr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.addr-card { border: 1.5px solid var(--brand-soft-2); background: var(--brand-soft); border-radius: var(--r-sm); padding: 18px 20px; }
html[data-theme="noc"] .addr-card { background: var(--bg-soft); border-color: var(--line-2); }
.addr-card h6 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin: 0 0 10px; text-transform: uppercase; }
.addr-card .nm { font-weight: 700; }
.addr-card p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.7; }
.addr-card .tag-inline { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--surface); padding: .2rem .55rem; border-radius: 6px; margin-bottom: 6px; }

/* formularz edycji adresu */
.addr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.addr-form .full { grid-column: 1 / -1; }

/* krok 1: wybór sposobu logowania - karty jak konsument/firma */
.auth-intro { text-align: center; margin-bottom: 20px; }
.auth-intro b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.auth-intro b span { display: inline; font-size: inherit; color: var(--muted); }
.auth-intro > span { display: block; color: var(--muted); font-size: .9rem; }
/* rozwijane szczegóły zgód */
.consent { margin-bottom: 6px; }
.consent .check { margin-bottom: 2px; }
.consent .req { color: var(--sale); font-weight: 600; font-size: .82rem; }
.consent .opt { color: var(--muted); font-weight: 500; font-size: .82rem; }
.consent-toggle { display: inline-block; margin-left: 30px; font-size: .82rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.consent-toggle:hover { color: var(--brand-ink); }
.consent-detail { display: none; margin: 8px 0 0 30px; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--r-sm); font-size: .82rem; color: var(--muted); line-height: 1.6; text-align: justify; }
.consent-detail.open { display: block; animation: fadeUp .25s ease; }
.co-authseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.co-authseg label { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.7px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; background: var(--surface); transition: .15s; }
.co-authseg label:hover { border-color: var(--brand); }
.co-authseg label.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 5px 16px rgba(86,40,220,.1); }
html[data-theme="noc"] .co-authseg label.sel { background: var(--bg-soft); }
.co-authseg input { display: none; }
.co-authseg .si { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.co-authseg label.sel .si { background: var(--grad); color: #fff; }
.co-authseg b { font-family: var(--font-display); font-size: .95rem; display: block; }
.co-authseg small { font-size: .78rem; color: var(--muted); }
@media (max-width: 680px) { .co-authseg { grid-template-columns: 1fr; } }

/* dwukolumnowe logowanie w finalizacji */
.login-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.login-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-1); }
.login-col-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0 0 18px; }
.auth-block { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; }
.auth-block + .auth-block { margin-top: 0; }
.ab-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ab-head .ab-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.ab-head b { font-family: var(--font-display); font-size: 1rem; display: block; }
.ab-head small { font-size: .8rem; color: var(--muted); }
.login-or { display: flex; align-items: center; gap: 14px; text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; margin: 26px 0; }
.login-or span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 18px; box-shadow: var(--sh-1); }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 2px; border-radius: 1px; background: var(--line); }
.login-perks { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; }
.login-perks li { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--ink-2); }
.login-perks li i { color: var(--green); }
.login-trust { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; font-size: .85rem; color: var(--muted); }
.login-trust div { display: flex; align-items: center; gap: 9px; }
.login-trust i { color: var(--brand); }
@media (max-width: 820px) {
  .login-cols { grid-template-columns: 1fr; gap: 18px; }
  .login-col-title { text-align: left; }
}

/* pasek darmowej dostawy (koszyk / podsumowanie) */
/* dane do faktury + adres dostawy obok siebie (wracający klient) */
.acc-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 820px) { .acc-pick-grid { grid-template-columns: 1fr; } }
/* modal edytora adresu (wspólny: konto + finalizacja) */
.addr-modal { position: fixed; inset: 0; z-index: 1090; background: rgba(20,16,50,.5); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.addr-modal.open { display: flex; animation: fadeUp .2s ease; }
.am-box { background: var(--surface); border-radius: var(--r-lg); width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--sh-3); overflow: hidden; }
.am-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.am-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.am-close { width: 38px; height: 38px; flex-shrink: 0; border: none; border-radius: 11px; background: var(--bg-soft); color: var(--ink-2); display: grid; place-items: center; font-size: 1.05rem; transition: .15s; }
.am-close:hover { background: var(--sale); color: #fff; transform: rotate(90deg); }
.am-body { padding: 20px 22px; overflow-y: auto; }
.am-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--bg-soft); }
/* wracający klient: picker zapisanych adresów w kroku 2 */
.acc-pick { margin-bottom: 18px; }
.acc-pick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.acc-pick-head .api-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.acc-pick-head h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin: 0; flex: 1; }
.acc-pick-list { display: flex; flex-direction: column; gap: 10px; }
.acc-pick-row { display: flex; align-items: flex-start; gap: 13px; padding: 14px 16px; border: 1.7px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; transition: .15s; background: var(--surface); position: relative; }
.acc-pick-row:hover { border-color: var(--brand); }
.acc-pick-row.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 5px 16px rgba(86,40,220,.1); }
html[data-theme="noc"] .acc-pick-row.sel { background: var(--bg-soft); }
.acc-pick-row .opt-radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); flex-shrink: 0; margin-top: 2px; transition: .15s; position: relative; }
.acc-pick-row.sel .opt-radio { box-shadow: inset 0 0 0 6px var(--brand); }
.acc-pick-row .api-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acc-pick-row .api-info b { font-family: var(--font-display); font-size: .92rem; }
.acc-pick-row .api-info > span { font-size: .82rem; color: var(--muted); }
.acc-pick-row .api-type { font-size: .74rem !important; color: var(--brand) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.acc-pick-row .aa-tag { background: var(--grad); color: #fff; font-size: .64rem; font-weight: 700; padding: .12rem .45rem; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
.acc-pick-row .api-edit { background: var(--bg-soft); border: none; color: var(--ink-2); width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; transition: .15s; }
.acc-pick-row .api-edit:hover { background: var(--brand); color: #fff; }
.freeship { background: var(--bg-soft); border-radius: var(--r-sm); padding: 12px 14px; margin: 12px 0; }
.freeship-msg { font-size: .84rem; color: var(--ink-2); margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.freeship-msg i { color: var(--green); }
.freeship-msg b { color: var(--ink); }
.freeship-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.freeship-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #1f8a5b, #16a36b); border-radius: 999px; transition: width .4s cubic-bezier(.2,.8,.3,1); }

/* segmentowy wybór: konsument / firma - kompaktowy pill (węższy niż pola) */
.co-seg { display: inline-flex; gap: 4px; margin-bottom: 18px; background: var(--bg-soft); border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 4px; }
.co-seg label { display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; border: 1.5px solid transparent; border-radius: var(--pill); cursor: pointer; transition: .15s; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.co-seg label:hover { color: var(--ink); }
.co-seg label.sel { background: var(--surface); border-color: var(--brand); color: var(--brand); box-shadow: var(--sh-1); }
.co-seg input { display: none; }
@media (max-width: 560px) { .co-seg { display: flex; } .co-seg label { flex: 1; } }
@media (max-width: 560px) { .co-seg { flex-direction: column; } }

/* lista opcji (dostawa / płatność) */
.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt-row { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border: 1.6px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; transition: .15s; background: var(--surface); }
.opt-row:hover { border-color: var(--brand); transform: translateY(-1px); }
.opt-row.sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 6px 18px rgba(86,40,220,.1); }
html[data-theme="noc"] .opt-row.sel { background: var(--bg-soft); }
.opt-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; position: relative; transition: .15s; }
.opt-row.sel .opt-radio { border-color: var(--brand); }
.opt-row.sel .opt-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--grad); }
.opt-logo { width: 64px; height: 46px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .78rem; flex-shrink: 0; letter-spacing: -.02em; box-shadow: var(--sh-1); }
.opt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.opt-logo-wide { width: 96px; height: 46px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; padding: 4px 8px; }
.opt-logo-img { max-width: 100%; max-height: 26px; object-fit: contain; display: block; }
.opt-logo-sq { width: 64px; height: 50px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; padding: 3px; overflow: hidden; }
.opt-logo-img-sq { max-width: 100%; max-height: 44px; object-fit: contain; }
/* paczkomat picker (mapa) */
.pk-box { width: min(880px, 100%); }
.pk-change { font-weight: 600; color: var(--brand); margin-left: 4px; }
.pk-body { display: grid; grid-template-columns: 320px 1fr; gap: 0; min-height: 440px; }
.pk-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.pk-search { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pk-search i { color: var(--muted); }
.pk-search input { flex: 1; border: none; background: none; font-family: var(--font-body); font-size: .92rem; color: var(--ink); outline: none; }
.pk-list { overflow-y: auto; flex: 1; max-height: 400px; }
.pk-item { display: flex; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.pk-item:hover { background: var(--bg-soft); }
.pk-item.sel { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
html[data-theme="noc"] .pk-item.sel { background: var(--bg-soft); }
.pk-pin-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-size: 1rem; }
.pk-item-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pk-item-info b { font-family: var(--font-display); font-size: .9rem; }
.pk-item-info span { font-size: .8rem; color: var(--muted); }
.pk-item-meta { font-size: .74rem !important; }
.pk-empty { padding: 24px 16px; color: var(--muted); font-size: .9rem; text-align: center; }
.pk-map { position: relative; overflow: hidden; background: linear-gradient(135deg,#eef1f6,#e3e9f3); min-height: 440px; }
html[data-theme="noc"] .pk-map { background: linear-gradient(135deg,#1a1733,#15132a); }
.pk-map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 44px 44px; opacity: .5; }
.pk-map::after { content: ""; position: absolute; left: 8%; top: 30%; width: 60%; height: 10px; background: var(--line-2); border-radius: 6px; transform: rotate(9deg); box-shadow: 0 80px 0 var(--line-2), 0 -120px 0 var(--line-2); opacity: .6; }
.pk-pins { position: absolute; inset: 0; }
.pk-pin { position: absolute; transform: translate(-50%,-100%); width: 34px; height: 34px; border: none; border-radius: 50% 50% 50% 0; background: var(--ink); color: #fff; rotate: -45deg; display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-2); transition: .15s; }
.pk-pin i { rotate: 45deg; font-size: .9rem; }
.pk-pin:hover { background: var(--brand); transform: translate(-50%,-110%) scale(1.08); }
.pk-pin.sel { background: var(--grad); transform: translate(-50%,-115%) scale(1.15); z-index: 3; }
.pk-mecard { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--sh-3); padding: 13px 15px; display: flex; align-items: center; gap: 12px; }
.pk-mecard b { font-family: var(--font-display); font-size: .92rem; display: block; }
.pk-mecard span { font-size: .82rem; color: var(--muted); }
@media (max-width: 680px) { .pk-body { grid-template-columns: 1fr; } .pk-map { min-height: 240px; order: -1; } .pk-list { max-height: 220px; } }
/* karta wybranego paczkomatu pod opcją InPost */
.pk-chosen { display: flex; align-items: center; gap: 12px; margin: -6px 0 4px; padding: 13px 15px; border: 1.5px solid var(--brand); border-radius: var(--r-sm); background: var(--brand-soft); }
html[data-theme="noc"] .pk-chosen { background: var(--bg-soft); }
.pk-chosen-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pk-chosen-info b { font-family: var(--font-display); font-size: .9rem; }
.pk-chosen-info span { font-size: .82rem; color: var(--muted); }
.pk-chosen-meta { font-size: .74rem !important; }
.opt-name { display: block; font-weight: 600; font-size: .94rem; line-height: 1.25; }
.opt-name .hl { color: var(--brand); font-weight: 700; }
.opt-desc { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.opt-eraty { font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--sale); background: rgba(225,29,99,.1); padding: .35rem .7rem; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 5px; }
.opt-price { font-family: var(--font-display); font-weight: 700; font-size: .98rem; white-space: nowrap; text-align: right; }
.opt-price small { display: block; font-size: .7rem; color: var(--green); font-weight: 600; }

/* logo brand colors */
.lg-inpost { background: #ffcc00; color: #15131f; }
.lg-dpd { background: #e1001a; color: #fff; }
.lg-blik { background: #000; color: #fff; }
.lg-paypo { background: #fff; color: #ee4d9b; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.lg-santander { background: #ec0000; color: #fff; font-size: .62rem; }
.lg-autopay { background: #0aa3e3; color: #fff; font-size: .7rem; }
.lg-payu { background: #4d9b00; color: #fff; }
.lg-visa { background: #1a1f71; color: #fff; }
.lg-transfer { background: var(--bg-soft); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 1.3rem; }

/* step foot */
.step-foot { display: flex; justify-content: flex-end; margin-top: 18px; }

/* panel danych płatności (BLIK / karta) - inline w kroku 3 */
.pay-detail { margin-top: 12px; border: 1.6px solid var(--brand); border-radius: var(--r-sm); background: var(--brand-soft); overflow: hidden; animation: fadeUp .25s ease; }
html[data-theme="noc"] .pay-detail { background: var(--bg-soft); }
.pay-detail .pd-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.pay-detail .pd-head .pd-ic { width: 38px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .72rem; flex-shrink: 0; box-shadow: var(--sh-1); }
.pay-detail .pd-head b { font-family: var(--font-display); font-size: .95rem; }
.pay-detail .pd-head .pd-secure { margin-left: auto; font-size: .76rem; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.pay-detail .pd-body { padding: 18px; }

/* BLIK: 6 osobnych pól */
.blik-code { display: flex; gap: 9px; justify-content: center; margin: 6px 0 14px; }
.blik-code input { width: 48px; height: 60px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; border: none; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1.8px var(--line-2); color: var(--ink); transition: .15s; }
.blik-code input:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--brand), 0 6px 16px rgba(86,40,220,.16); transform: translateY(-2px); }
.blik-code input.filled { box-shadow: inset 0 0 0 2px var(--brand); }
.blik-hint { text-align: center; font-size: .84rem; color: var(--muted); }
.blik-hint i { color: var(--brand); }
.blik-timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); }

/* karta: pola */
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.card-form .full { grid-column: 1 / -1; }
.card-num-wrap { position: relative; }
.card-num-wrap .card-type { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: -.02em; color: var(--brand); }
.card-visual { background: linear-gradient(135deg, var(--ink), var(--brand-ink)); border-radius: var(--r-sm); padding: 18px 20px; color: #fff; margin-bottom: 16px; position: relative; overflow: hidden; min-height: 130px; }
html[data-theme="noc"] .card-visual { background: var(--grad); }
.card-visual::after { content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background:rgba(255,255,255,.1); }
.card-visual .cv-chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg,#f6d365,#d9a441); margin-bottom: 18px; }
.card-visual .cv-num { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.card-visual .cv-row { display: flex; justify-content: space-between; margin-top: 14px; font-size: .72rem; }
.card-visual .cv-row small { opacity: .7; display: block; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.card-visual .cv-brand { position: absolute; right: 18px; bottom: 16px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }

/* uwagi + zgody */
.co-note-add { font-size: .9rem; color: var(--muted); margin: 18px 0; }
.co-note-add a { font-weight: 600; }
.co-note-box { margin: 14px 0; }
.co-legal { font-size: .85rem; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--r-sm); padding: 14px 16px; line-height: 1.6; margin: 16px 0; }
.co-legal b { color: var(--ink); }

/* prawe boczne info-kafle */
.co-info { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.co-info a.ci-tile { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 13px 15px; font-size: .85rem; color: var(--ink-2); }
.co-info a.ci-tile:hover { box-shadow: var(--sh-2); color: var(--ink); }
.co-info a.ci-tile i { font-size: 1.2rem; color: var(--brand); flex-shrink: 0; }
.co-info a.ci-tile b { color: var(--brand); }

/* summary mini-produkt */
.sum-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-line .sl-thumb { width: 50px; height: 50px; border-radius: 11px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.sum-line .sl-name { font-size: .85rem; font-weight: 600; line-height: 1.25; }
.sum-line .sl-qty { font-size: .76rem; color: var(--muted); }

/* kod rabatowy w podsumowaniu - nie pozwól przyciskowi wyjść poza ramkę (koszyk i finalizacja) */
.summary .promo-input, .co-summary .promo-input { gap: 8px; flex-wrap: nowrap; }
.summary .promo-input input, .co-summary .promo-input input { min-width: 0; flex: 1 1 auto; }
.summary .promo-input .btn, .co-summary .promo-input .btn { flex: 0 0 auto; white-space: nowrap; padding-left: .85rem; padding-right: .85rem; }

/* klikalna nazwa/miniatura w wysuwanym koszyku */
.cart-line a.cl-name { color: var(--ink); display: block; transition: color .15s; }
.cart-line a.cl-name:hover { color: var(--brand); }
.cart-line a.cl-thumb { cursor: pointer; transition: transform .15s; }
.cart-line a.cl-thumb:hover { transform: scale(1.05); }

/* usługi dodatkowe pod produktem (drawer / koszyk / checkout) */
.cl-svc { font-size: .74rem; color: var(--brand-ink); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.cl-svc i { font-size: .85rem; color: var(--brand); }
.cl-svc b { font-family: var(--font-display); margin-left: auto; }
html[data-theme="noc"] .cl-svc { color: var(--brand-ink); }
.cl-svc .svc-x { width: 18px; height: 18px; border-radius: 50%; border: none; background: rgba(0,0,0,.06); color: var(--muted); display: grid; place-items: center; font-size: .62rem; flex-shrink: 0; margin-left: 4px; transition: .15s; }
html[data-theme="noc"] .cl-svc .svc-x { background: rgba(255,255,255,.08); }
.cl-svc .svc-x:hover { background: var(--sale); color: #fff; }
.cl-svc b { margin-left: auto; }
/* w drawerze: rząd dodawania usług */
.cl-info .svc-add-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cl-info .svc-add { font-size: .72rem; padding: .24rem .55rem; gap: 5px; }
.cl-info .svc-add b { font-size: .72rem; }
.cr-svc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cr-svc { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-2); background: var(--brand-soft); border-radius: var(--pill); padding: .3rem .4rem .3rem .7rem; align-self: flex-start; }
html[data-theme="noc"] .cr-svc { background: var(--bg-soft); }
.cr-svc i { color: var(--brand); }
.cr-svc b { font-family: var(--font-display); color: var(--brand-ink); }
.cr-svc .svc-x { width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,.06); color: var(--muted); display: grid; place-items: center; font-size: .7rem; flex-shrink: 0; transition: .15s; }
html[data-theme="noc"] .cr-svc .svc-x { background: rgba(255,255,255,.08); }
.cr-svc .svc-x:hover { background: var(--sale); color: #fff; }
.svc-add-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 12px; }
.svc-add-row .lbl { flex: 0 0 100%; font-size: .76rem; color: var(--muted); font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 2px; }
.svc-add-row .lbl i { color: var(--brand); }
.svc-add { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1.4px dashed var(--line-2); border-radius: var(--pill); padding: .32rem .7rem; cursor: pointer; transition: .15s; font-family: var(--font-body); }
.svc-add:hover { border-color: var(--brand); border-style: solid; color: var(--brand); background: var(--brand-soft); }
.svc-add i.plus { color: var(--green); font-size: .9rem; }
.svc-add b { font-family: var(--font-display); color: var(--brand-ink); }
.sl-svc { font-size: .72rem; color: var(--brand-ink); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.sl-svc i { color: var(--brand); font-size: .8rem; }

@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .addr-cards { grid-template-columns: 1fr; }
  .addr-form { grid-template-columns: 1fr; }
  .summary.co-summary { position: static; }
}
@media (max-width: 560px) {
  .opt-logo { width: 50px; height: 40px; font-size: .68rem; }
  .opt-price { font-size: .9rem; }
  .step-head { padding: 16px; }
  .step-body { padding: 0 16px 18px; }
}

/* =========================================================
   STRONY PRAWNE / DOKUMENTY (polityka prywatności itp.)
   ========================================================= */
.legal-hero { background: var(--grad); color: #fff; border-radius: var(--r-xl); padding: 40px 44px; position: relative; overflow: hidden; margin-bottom: 30px; }
.legal-hero::after { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background:rgba(255,255,255,.12); }
.legal-hero .eyebrow { color: #fff; opacity: .85; }
.legal-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; margin: 10px 0 8px; }
.legal-hero p { opacity: .92; max-width: 60ch; margin: 0; }
.legal-hero .upd { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; background: rgba(255,255,255,.16); padding: .4rem .9rem; border-radius: var(--pill); }
.legal-hero .upd a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,.55); }
.legal-hero .upd a:hover { color: inherit; text-decoration-color: currentColor; }

.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.legal-toc { position: sticky; top: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.legal-toc h6 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.legal-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.legal-toc a { counter-increment: toc; display: flex; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: .88rem; font-weight: 500; transition: .15s; }
.legal-toc a::before { content: counter(toc); width: 22px; height: 22px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: .74rem; display: grid; place-items: center; flex-shrink: 0; }
.legal-toc a:hover, .legal-toc a.active { background: var(--brand-soft); color: var(--brand); }
.legal-toc a:hover::before, .legal-toc a.active::before { background: var(--brand); color: #fff; }

.legal-body { max-width: none; }
.legal-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 34px; margin-bottom: 18px; scroll-margin-top: 150px; }
.legal-section h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 0 0 18px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.legal-section h2 .ln { min-width: 38px; height: 34px; padding: 0 9px; border-radius: 10px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.legal-section h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 20px 0 8px; }
.legal-section h2.reg-chap { text-align: center; justify-content: center; }
.legal-section h3.reg-sub { text-align: center; color: var(--brand); font-size: 1.05rem; margin: 28px 0 14px; padding-top: 10px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center; gap: 10px; }
.legal-section h3.reg-sub .reg-sec { background: var(--grad-soft); color: var(--brand); border-radius: 8px; padding: 2px 10px; font-weight: 700; }
/* poziom 1: ustępy 1.  (legal-num już zdefiniowany wyżej) */
/* poziom 2: punkty 1) */
.legal-section ol.legal-paren { list-style: none; counter-reset: lparen; padding-left: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.legal-section ol.legal-paren > li { position: relative; padding-left: 30px; counter-increment: lparen; }
.legal-section ol.legal-paren > li::before { content: counter(lparen) ")"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--brand); font-family: var(--font-display); min-width: 24px; }
/* poziom 3: litery a) */
.legal-section ol.legal-alpha { list-style: none; counter-reset: lalpha; padding-left: 0; margin: 7px 0; display: flex; flex-direction: column; gap: 6px; }
.legal-section ol.legal-alpha > li { position: relative; padding-left: 30px; counter-increment: lalpha; }
.legal-section ol.legal-alpha > li::before { content: counter(lalpha, lower-latin) ")"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--muted); font-family: var(--font-display); min-width: 24px; }
/* poziom 4: myślniki */
.legal-section ul.reg-dash { list-style: none; padding-left: 4px; display: flex; flex-direction: column; gap: 6px; margin: 7px 0; }
.legal-section ul.reg-dash > li { position: relative; padding-left: 18px; }
.legal-section ul.reg-dash > li::before { content: "-"; position: absolute; left: 2px; top: 0; color: var(--muted); font-weight: 700; }
.legal-section ol.legal-num > li > p:first-child, .legal-section ol.legal-paren > li > p:first-child, .legal-section ol.legal-alpha > li > p:first-child { margin-top: 0; }
.legal-section ol li p { margin: 0 0 6px; }
.legal-section ol li p:last-child { margin-bottom: 0; }
.legal-section p, .legal-section li { color: var(--ink-2); font-size: .94rem; line-height: 1.75; text-align: justify; }
/* numeracja regulaminu: poziom 1 (1.) → poziom 2 (1)) → poziom 3 (a.) */
.legal-section ol.lvl1, .legal-section ol.lvl2, .legal-section ol.lvl3 { list-style: none; padding-left: 0; display: flex; flex-direction: column; }
.legal-section ol.lvl1 { counter-reset: lvl1; margin: 12px 0; gap: 9px; }
.legal-section ol.lvl1 > li { position: relative; padding-left: 32px; counter-increment: lvl1; }
.legal-section ol.lvl1 > li::before { content: counter(lvl1) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--brand); font-family: var(--font-display); min-width: 26px; }
.legal-section ol.lvl2 { counter-reset: lvl2; margin: 9px 0 2px; gap: 7px; }
.legal-section ol.lvl2 > li { position: relative; padding-left: 30px; counter-increment: lvl2; }
.legal-section ol.lvl2 > li::before { content: counter(lvl2) ")"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--ink-2); min-width: 24px; }
.legal-section ol.lvl3 { counter-reset: lvl3; margin: 7px 0 2px; gap: 6px; }
.legal-section ol.lvl3 > li { position: relative; padding-left: 28px; counter-increment: lvl3; }
.legal-section ol.lvl3 > li::before { content: counter(lvl3, lower-alpha) "."; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--muted); min-width: 22px; }
/* oryginalna punktacja prawna: 1. 2. 3. oraz podpunkty 1) 2) 3) */
.legal-section ol.legal-num { list-style: none; counter-reset: lnum; padding-left: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 9px; }
.legal-section ol.legal-num > li { position: relative; padding-left: 30px; counter-increment: lnum; }
.legal-section ol.legal-num > li::before { content: counter(lnum) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--brand); font-family: var(--font-display); min-width: 24px; }
.legal-section ol.legal-sub { list-style: none; counter-reset: lsub; padding-left: 0; margin: 9px 0 0; display: flex; flex-direction: column; gap: 7px; }
.legal-section ol.legal-sub > li { position: relative; padding-left: 30px; counter-increment: lsub; }
.legal-section ol.legal-sub > li::before { content: counter(lsub) ")"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--muted); font-family: var(--font-display); min-width: 24px; }
.legal-section ul { padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 12px 0; }
.legal-section ul li { position: relative; padding-left: 19px; }
.legal-section ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.legal-section ul li b { color: var(--ink); }
.legal-section a { font-weight: 600; }

/* ===== podpowiedzi wyszukiwarki: miniaturki produktów (markup z CMain::MainSearchGetPrompt) ===== */
.items-list .item-pic { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line, #e4e2ee); border-radius: var(--r-sm, 8px); overflow: hidden; vertical-align: middle; }
.items-list .item-pic img { max-width: 42px; max-height: 42px; width: auto; height: auto; object-fit: contain; display: block; }
.items-list .item-pic--empty { color: var(--muted, #8b87a0); font-size: 1.05rem; }
.legal-callout { display: flex; gap: 14px; background: var(--bg-soft); border-radius: var(--r-sm); padding: 16px 18px; margin: 16px 0; }
.legal-callout i { font-size: 1.4rem; color: var(--brand); flex-shrink: 0; }
.legal-callout b { font-family: var(--font-display); }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.right-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-soft); }
.right-card i { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.right-card b { font-family: var(--font-display); font-size: .9rem; display: block; }
.right-card small { color: var(--muted); font-size: .8rem; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.cookie-table th { text-align: left; font-family: var(--font-display); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.cookie-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cookie-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .rights-grid { grid-template-columns: 1fr; }
  .legal-section { padding: 24px; }
}

/* =========================================================
   EKRAN PODZIĘKOWANIA (potwierdzenie zamówienia)
   ========================================================= */
.ty-hero { text-align: center; padding: 50px 30px 40px; background: var(--grad); color: #fff; border-radius: var(--r-xl); position: relative; overflow: hidden; margin-bottom: 28px; }
.ty-hero::after { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0 2px, transparent 2px), radial-gradient(circle at 80% 60%, rgba(255,255,255,.12) 0 3px, transparent 3px); background-size: 130px 130px, 170px 170px; opacity:.7; }
.ty-hero > * { position: relative; z-index: 2; }
.ty-check { width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); animation: tyPop .5s cubic-bezier(.2,.9,.3,1); }
.ty-check i { font-size: 3rem; }
@keyframes tyPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.ty-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; margin: 0 0 10px; }
.ty-hero p { opacity: .94; max-width: 52ch; margin: 0 auto; font-size: 1.04rem; }
.ty-ordernr { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16); border-radius: var(--pill); padding: .6rem 1.3rem; margin-top: 20px; font-family: var(--font-display); font-weight: 600; }
.ty-ordernr b { font-size: 1.1rem; letter-spacing: .02em; }

/* oś statusu */
.ty-timeline { display: flex; justify-content: space-between; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; margin-bottom: 24px; position: relative; }
.ty-step { flex: 1; text-align: center; position: relative; z-index: 2; }
.ty-step .dot { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--bg-soft); color: var(--faint); box-shadow: inset 0 0 0 1.6px var(--line-2); transition: .2s; }
.ty-step.done .dot { background: var(--green); color: #fff; box-shadow: none; }
.ty-step.active .dot { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.ty-step b { display: block; font-family: var(--font-display); font-size: .86rem; color: var(--ink); }
.ty-step small { font-size: .76rem; color: var(--muted); }
.ty-timeline .ty-track { position: absolute; left: 60px; right: 60px; top: 51px; height: 3px; background: var(--line); z-index: 1; border-radius: 3px; }
.ty-timeline .ty-track > i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

.ty-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.ty-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-bottom: 18px; }
.ty-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.ty-card h3 i { color: var(--brand); }
.ty-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ty-info b { font-family: var(--font-display); font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 5px; }
.ty-info p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.ty-deliverybar { display: flex; align-items: center; gap: 12px; background: rgba(22,163,107,.08); border-radius: var(--r-sm); padding: 14px 16px; margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
.ty-deliverybar i { font-size: 1.4rem; color: var(--green); }
.ty-deliverybar b { color: var(--green); font-family: var(--font-display); }

@media (max-width: 900px) {
  .ty-grid { grid-template-columns: 1fr; }
  .ty-timeline { flex-wrap: wrap; gap: 18px; }
  .ty-step { flex: 0 0 30%; }
  .ty-timeline .ty-track { display: none; }
  .ty-info-grid { grid-template-columns: 1fr; }
}

/* ===== KAFELKI 3-KOL (menu konta / pasy koszyka) - zamiast inline grid, ktory wygrywal z media queries ===== */
.trust-strip.strip-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .trust-strip.strip-3 { grid-template-columns: 1fr; }
}

/* ===== link producenta na karcie produktu (badge + wiersz Danych glownych) - podkreslenie na hover;
   na urzadzeniach bez hovera (dotyk) podkreslenie stale, zeby link byl rozpoznawalny (zgloszenie UX 17.07) ===== */
a.pc-brand:hover, .md-row dd a:hover { text-decoration: underline; }
@media (hover: none) {
  a.pc-brand, .md-row dd a { text-decoration: underline; text-underline-offset: 2px; }
}

/* ===== dostepnosc: wieksza czcionka topbara + przelacznik wielkosci czcionek w kolku wygladu =====
   skala ustawiana przez nets.js (applyFontScale) jako font-size % na <html> - caly serwis jest w rem;
   wieksza czcionka topbara ustawiona w regule .v2-topbar (~71) */
.ap-panel .fs-row { display: flex; gap: 8px; margin-top: 8px; }
.ap-panel .fs-opt { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); color: var(--ink); cursor: pointer; padding: 9px 0 7px; text-align: center; font-family: var(--font-display); font-weight: 700; line-height: 1; transition: .15s; }
.ap-panel .fs-opt:hover { border-color: var(--brand); }
.ap-panel .fs-opt.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
/* rozmiary liter A / A+ / A++ celowo w px - podglad skali nie moze sam rosnac z wybranym powiekszeniem */
.ap-panel .fs-a1 { font-size: 14px; }
.ap-panel .fs-a2 { font-size: 17px; }
.ap-panel .fs-a3 { font-size: 20px; }

/* ===== mapa dojazdu na Kontakcie (#map_canvas2): kolory kafelkow OSM dopasowane do motywu =====
   jasne motywy = lekkie zlagodzenie kafelkow + POLPRZEZROCZYSTA NAKLADKA w barwie motywu (::after,
   mix-blend-mode: soft-light, kolor z var(--grad) - podaza za motywem indygo/ocean); bez hue-rotate,
   wiec naturalne barwy zostaja (parki zielone, woda niebieska), a mapa i tak lapie tint motywu.
   isolation: isolate na kontenerze - blend liczy sie tylko wewnatrz mapy (a pane'y Leafleta z transformem
   izoluja mieszanie, wiec nakladka MUSI byc nad .leaflet-map-pane: z-index 450 > 400); soft-light ledwo
   muska pinezke i popup, kontrolki (z-index 1000) zostaja nietkniete. Nocny = klasyczna inwersja. */
#map_canvas2 .leaflet-tile-pane { filter: saturate(.82) brightness(1.02) contrast(.97); }
#map_canvas2.leaflet-container { isolation: isolate; }
#map_canvas2.leaflet-container::after { content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none; background: var(--grad); mix-blend-mode: soft-light; opacity: .75; }
html[data-theme="noc"] #map_canvas2 .leaflet-tile-pane { filter: invert(1) hue-rotate(188deg) brightness(.92) contrast(.88) saturate(.7); }
html[data-theme="noc"] #map_canvas2.leaflet-container::after { content: none; }		/* nocny barwi inwersja - bez nakladki */
/* tlo pod kafelkami w trakcie doladowywania - w nocnym nie moze blysnac na bialo */
html[data-theme="noc"] #map_canvas2.leaflet-container { background: #15132a; }
/* kontrolki zoom, atrybucja i popup Leafleta sa domyslnie biale - w nocnym przejmuja kolory motywu */
html[data-theme="noc"] #map_canvas2 .leaflet-bar a { background: var(--surface); color: var(--ink); border-bottom-color: var(--line); }
html[data-theme="noc"] #map_canvas2 .leaflet-bar a:hover { background: var(--bg-soft); }
html[data-theme="noc"] #map_canvas2 .leaflet-bar a.leaflet-disabled { background: var(--bg-soft); color: var(--faint); }
html[data-theme="noc"] #map_canvas2 .leaflet-control-attribution { background: rgba(21,19,42,.75); color: var(--muted); }
html[data-theme="noc"] #map_canvas2 .leaflet-control-attribution a { color: var(--brand-ink); }
html[data-theme="noc"] #map_canvas2 .leaflet-popup-content-wrapper,
html[data-theme="noc"] #map_canvas2 .leaflet-popup-tip { background: var(--surface); color: var(--ink); }

/* ===== koszyk (strona + drawer): nota B2B przy pozycji > 20 szt. i blokada "+" przy limicie 999 szt. ===== */
.b2b-qty-note { margin-top: 6px; }
.b2b-qty-note i { color: var(--brand); }
.b2b-qty-note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.qty button:disabled { opacity: .35; cursor: default; }

/* ===== lista kategorii: twarde ograniczenie szerokości kolumny wyników =====
   1fr = minmax(auto,1fr) - przy setkach chipów producentów / długiej paginacji min-content
   rozpychał track do dziesiątek tysięcy px (poziomy scroll całej strony, banner na 160k px) */
.cat-layout { grid-template-columns: 268px minmax(0, 1fr); }
@media (max-width: 1100px) { .cat-layout { grid-template-columns: minmax(0, 1fr); } }

/* zwijany pas chipów producentów (kategorie potrafią mieć setki producentów) */
.chips-collapse { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; flex: 1 1 auto; min-width: 0; max-height: 84px; overflow: hidden; }
.chips-collapse.open { max-height: none; }
.chips-more { border: none; cursor: pointer; font: inherit; }

/* paginacja okienkowa: separator pominiętych stron + łamanie na wąskich ekranach */
.pagination-x { flex-wrap: wrap; }
.pagination-x .pg-gap { min-width: 24px; height: 44px; display: grid; place-items: center; color: var(--muted); user-select: none; }

/* kotwice modułów strony głównej (pasek kategorii w górnym menu) - cel scrolla nie może wjechać pod sticky header */
.hpcc-anchor { scroll-margin-top: 150px; }

/* ===== kafle podkategorii ze zdjęciem produktu (strona kategorii; miniatury public/imgcat/<id>.jpg) ===== */
.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 14px; margin: 0 0 18px; }
.subcat-card { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-2); font-size: .92rem; font-weight: 500; line-height: 1.3; text-decoration: none; transition: border-color .14s, box-shadow .14s, transform .14s, color .14s; }
.subcat-card .sc-img { width: 64px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; color: var(--brand); font-size: 1.4rem; }
.subcat-card .sc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.subcat-card .sc-name { min-width: 0; }
.subcat-card:hover { border-color: var(--brand); box-shadow: var(--sh-2); transform: translateY(-1px); color: var(--brand-ink); }
.subcat-card.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.subcat-card.subcat-all .sc-img { background: var(--grad-soft); border-color: transparent; }
.subcat-card.is-active.subcat-all .sc-img { background: var(--grad); color: #fff; }
@media (max-width: 640px) { .subcat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .subcat-card { flex-direction: column; text-align: center; font-size: .82rem; padding: 10px 8px; } }

/* Lista kategorii: informacja o automatycznym przelaczeniu na "wszystkie towary" (brak dostepnych) */
.list-autoall { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-ink); font-size: .88rem; line-height: 1.4; }
.list-autoall i { flex: 0 0 auto; font-size: 1.1rem; margin-top: 1px; }
