/* PlanetClimaten.pl — system wyglądu z renderów D:\Planet\makiety\PL (19.11.2026).
   Zasada: każdy ekran składa się z tych klas; nowe klasy tylko gdy wzorzec nie istnieje. Desktop 1440, mobile 390. */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0d1a5c;          /* nagłówki, tekst mocny */
  --ink: #1b2547;           /* tekst podstawowy */
  --muted: #5b6685;         /* opisy */
  --blue: #0b5cff;          /* akcent, przyciski główne */
  --blue-600: #0849d1;
  --blue-50: #eef4ff;
  --dark: #0c2147;          /* przyciski ciemne (home), stopka mobile */
  --line: #dde5f2;          /* ramki paneli */
  --line-2: #e9eef7;
  --panel: #ffffff;
  --bg: #f7f9fd;            /* tło sekcji/kart nagłówków tabel */
  --skeleton: #e8eef8;
  --green: #18a058;
  --amber: #e2a300;
  --red: #d93a3a;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(13, 26, 92, .04), 0 6px 18px rgba(13, 26, 92, .05);
  --wrap: 1440px;
  --gut: 36px;
  --font: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
}
@media (max-width: 760px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 1.8vw, 28px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; display: inline-block; flex: none; vertical-align: middle; color: currentColor; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }
.icon-blue { color: var(--blue); }

/* ---------- nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line-2); }
.hdr { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none !important; }
.logo img { height: 44px; width: auto; }
.logo-word { letter-spacing: .38em; font-size: 13px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.search { flex: 1; max-width: 610px; margin: 0 auto; position: relative; }
.search input { width: 100%; height: 40px; border: 1px solid #cfd8ea; border-radius: 6px; padding: 0 44px 0 44px; background: #fff; }
.search input::placeholder { color: #8a93ad; }
.search > .icon { position: absolute; left: 14px; top: 8px; color: var(--navy); }
.search button.go { display: none; }
.search button.go .icon { position: static; }
.hdr-actions { display: flex; align-items: center; gap: 26px; }
.hdr-actions a { position: relative; color: var(--navy); display: inline-flex; }
.hdr-actions .icon { width: 28px; height: 28px; }
.badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.badge:empty, .badge[data-n="0"] { display: none; }
.lang { display: none; }
.burger { display: none; background: none; border: 0; padding: 0; color: var(--navy); }

.nav { border-bottom: 1px solid var(--line-2); background: #fff; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; height: 52px; align-items: stretch; }
.nav-list > li { position: relative; display: flex; }
.nav-list > li > a { display: flex; align-items: center; gap: 10px; padding: 0 18px; color: var(--navy); font-size: 16px; font-weight: 500; border-bottom: 3px solid transparent; text-decoration: none; }
.nav-list > li > a .icon { color: var(--blue); width: 26px; height: 26px; }
.nav-list > li > a[aria-current="page"], .nav-list > li > a.is-active { border-bottom-color: var(--blue); font-weight: 600; }
.mega { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 14px; z-index: 40; }
.nav-list > li:hover .mega, .nav-list > li:focus-within .mega { display: grid; gap: 2px; }
.mega a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.mega a:hover { background: var(--blue-50); }

/* ---------- nagłówek strony z banerem wnętrza ---------- */
.page-head { position: relative; overflow: hidden; }
.page-head .banner { position: absolute; top: -52px; right: 0; width: min(36vw, 520px); height: 145px; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); pointer-events: none; }
.page-head .inner { position: relative; display: flex; align-items: flex-end; gap: 48px; padding-block: 18px 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.crumbs { font-size: 14px; color: var(--navy); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--navy); }
.crumbs span[aria-hidden] { color: var(--muted); }

/* kroki koszyk / checkout */
.steps { display: flex; align-items: flex-start; gap: 0; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; color: var(--navy); position: relative; min-width: 110px; }
.steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8b96b5; background: #fff; z-index: 1; }
.steps li + li::after { content: ''; position: absolute; top: 9px; right: 50%; width: calc(100% - 26px); margin-right: 13px; height: 2px; background: #9aa6c4; }
.steps li.done::before { border-color: var(--blue); }
.steps li.current::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 4px, #fff 5px); }
.steps li.current { color: var(--blue); font-weight: 600; }
.steps li.done + li::after, .steps li.current::after { background: var(--blue); }

/* ---------- panele, karty ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.panel-title h2, .panel-title h3 { margin: 0; }
.panel + .panel { margin-top: 18px; }
.panel.soft { background: var(--bg); }
.divider { height: 1px; background: var(--line); margin: 14px 0; border: 0; }
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 18px; align-items: start; }
.layout-aside > *, .layout-filters > * { min-width: 0; }
.layout-filters { display: grid; grid-template-columns: 312px minmax(0, 1fr); gap: 18px; align-items: start; }
.section { padding: 28px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.main { padding-bottom: 36px; }

/* karta produktu na liście */
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: box-shadow .15s; }
.pcard:hover { box-shadow: var(--shadow); }
.pcard .tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 10px; }
.pcard .tools button { background: none; border: 0; padding: 2px; color: var(--navy); cursor: pointer; }
.pcard .tools button[aria-pressed="true"] { color: var(--blue); }
.pcard .brandmark { font-weight: 700; font-size: 13px; color: var(--blue); letter-spacing: .02em; min-height: 18px; }
.pcard .img { height: 160px; display: flex; align-items: center; justify-content: center; margin: 8px 0 12px; }
.pcard .img img { max-height: 150px; width: auto; object-fit: contain; }
.pcard .name { font-weight: 600; color: var(--navy); margin: 0 0 2px; }
.pcard .name a { color: inherit; }
.pcard .sub { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.pcard .specs { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.pcard .specs span { display: inline-flex; align-items: center; gap: 4px; }
.pcard .price { font-size: 22px; font-weight: 700; color: var(--navy); margin: auto 0 4px; }
.pcard .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pcard .avail { font-size: 13px; margin-bottom: 10px; }
.pcard .actions { display: flex; gap: 10px; }
.pcard .actions .btn { flex: 1; }
.pcard .actions .btn-icon { flex: none; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.products.list { grid-template-columns: 1fr; }
.products.list .pcard { flex-direction: row; align-items: center; gap: 20px; }
.products.list .pcard .img { width: 200px; margin: 0; }

/* dostępność */
.avail-on { color: var(--green); }
.avail-wait { color: var(--amber); }
.avail-off { color: var(--red); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: middle; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--blue); background: var(--blue); color: #fff; font-weight: 500; font-size: 16px; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn .chev { margin-left: auto; }
.btn-lg { min-height: 56px; font-size: 18px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); border-color: #c7d2e8; }
.btn-dark { background: var(--dark); border-color: var(--dark); }
.btn-dark:hover { background: #142e5f; border-color: #142e5f; }
.btn-icon { width: 44px; padding: 0; background: #fff; color: var(--blue); border-color: var(--line); }
.btn-icon:hover { background: var(--blue-50); }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: #b92f2f; border-color: #b92f2f; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; }

/* przełącznik (osoba prywatna / firma), zakładki */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; background: #fff; }
.seg button, .seg a { border: 0; background: none; padding: 8px 26px; border-radius: 5px; color: var(--navy); cursor: pointer; text-decoration: none; }
.seg [aria-pressed="true"], .seg [aria-selected="true"], .seg .is-active { background: var(--blue); color: #fff; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); background: #fff; }
.tabs [role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 18px; font-size: 17px; color: var(--navy); cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none !important; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--navy); border-radius: 20px; padding: 3px 10px; }

/* ---------- formularze ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 15px; color: var(--navy); }
.input, .select, .textarea { width: 100%; height: 46px; border: 1px solid #ccd7ec; border-radius: var(--radius-sm); background: #fff; padding: 0 14px; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.select { appearance: none; background: #fff url('../assets/icons/chevron-down.svg') no-repeat right 14px center / 18px; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid rgba(11, 92, 255, .25); border-color: var(--blue); }
.field.has-error .input, .field.has-error .select { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; }
.field .hint { color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.range .label { font-size: 14px; }
.option { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; background: #fff; }
.option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; background: #f8fbff; }
.option input { accent-color: var(--blue); width: 18px; height: 18px; }
.option .price { margin-left: auto; font-weight: 600; color: var(--navy); }
.qty { display: inline-flex; gap: 6px; align-items: center; }
.qty button { width: 38px; height: 38px; border: 1px solid #b9c7e6; background: #fff; border-radius: 6px; color: var(--blue); font-size: 22px; line-height: 1; cursor: pointer; }
.qty input { width: 70px; height: 38px; text-align: center; border: 1px solid #ccd7ec; border-radius: 6px; }

/* rozwijane (filtry, FAQ, dane do faktury) */
.acc { border-top: 1px solid var(--line); }
.acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; cursor: pointer; color: var(--navy); font-weight: 600; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ''; width: 18px; height: 18px; background: url('../assets/icons/chevron-down.svg') no-repeat center / contain; transition: transform .15s; }
.acc[open] > summary::after { transform: rotate(180deg); }
.acc .acc-body { padding: 0 0 14px; }
.acc.boxed { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; background: var(--bg); margin-bottom: 10px; }

/* tabele: koszyk, parametry, porównanie */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 600; color: var(--navy); background: var(--bg); padding: 12px 14px; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.kv { display: grid; grid-template-columns: minmax(130px, 45%) 1fr; gap: 0; }
.kv > * { padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.kv dt { color: var(--ink); display: flex; gap: 10px; align-items: center; }
.kv dd { margin: 0; color: var(--navy); font-weight: 500; text-align: right; }
.sum { display: grid; gap: 0; }
.sum .row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sum .row.total { border-bottom: 0; font-size: 22px; font-weight: 700; color: var(--navy); }
.sum .note { font-size: 13px; color: var(--muted); margin-top: -8px; padding-bottom: 12px; }

/* dokumenty do pobrania */
.doc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--navy); background: #fff; text-decoration: none !important; }
.doc:hover { border-color: var(--blue); }
.doc .icon:last-child { margin-left: auto; color: var(--blue); }

/* komunikaty i stany */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--navy); border: 1px solid #cfe0ff; }
.alert.ok { background: #ecf8f1; border-color: #bfe6cf; }
.alert.warn { background: #fff8e6; border-color: #f3dc9b; }
.alert.err { background: #fdeeee; border-color: #f4c2c2; }
.state { text-align: center; max-width: 560px; margin: 32px auto; padding: 36px 24px; }
.state .state-img { width: 120px; height: 120px; margin: 0 auto 18px; }
.state h1, .state h2 { margin-bottom: 10px; }
.state .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.skeleton { background: linear-gradient(90deg, var(--skeleton), #f3f6fb, var(--skeleton)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 6px; min-height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

/* pasek porównania */
.compare-bar { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; background: #fff; }
.compare-bar .slot { width: 96px; height: 40px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #9aa6c4; font-size: 22px; }
.pager { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- strona główna ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero > img, .hero > picture, .hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.8) 34%, rgba(255,255,255,0) 62%); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero .kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); max-width: 620px; color: var(--navy); }
.hero p { max-width: 460px; font-size: 18px; color: var(--ink); }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--line-2); }
.usp > div { display: flex; gap: 12px; align-items: center; padding: 18px 16px; }
.usp > div + div { border-left: 1px solid var(--line-2); }
.usp .icon { width: 34px; height: 34px; color: var(--navy); }
.usp b { display: block; color: var(--navy); font-weight: 600; font-size: 15px; }
.usp span { font-size: 13px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: block; height: 210px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--navy); text-decoration: none !important; }
.tile img { position: absolute; right: 0; bottom: 0; width: 72%; height: 100%; object-fit: cover; object-position: right center; }
.tile .t { position: relative; z-index: 1; padding: 18px; }
.tile b { display: block; font-size: 20px; font-weight: 600; }
.tile span { font-size: 14px; color: var(--muted); }
.tile .go { position: absolute; left: 18px; bottom: 18px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.promo { position: relative; display: flex; align-items: center; min-height: 190px; border-radius: var(--radius); overflow: hidden; background: #f4f6fa; }
.promo img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.promo .t { position: relative; padding: 26px; max-width: 460px; }
.brands { display: flex; align-items: center; gap: 40px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.brands a { flex: none; filter: saturate(1); opacity: .95; }
.brands img { height: 30px; width: auto; }
.brand-text { font-weight: 800; font-size: 22px; color: var(--blue); letter-spacing: .02em; white-space: nowrap; }
.article-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.article-card .img { position: relative; height: 170px; }
.article-card .img img { width: 100%; height: 100%; object-fit: cover; }
.article-card .img .tag { position: absolute; left: 12px; bottom: 12px; }
.article-card .t { padding: 16px; }
.article-card h3 { font-size: 18px; }
.partner { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; min-height: 230px; display: flex; align-items: center; }
.partner img { position: absolute; right: 0; top: 0; height: 100%; width: 60%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.partner .t { position: relative; padding: 32px; max-width: 520px; }
.partner h2 { color: #fff; }
.partner .kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* ---------- stopka ---------- */
.site-footer { border-top: 1px solid var(--line-2); background: #fff; margin-top: 24px; }
.ftr { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 24px; padding: 28px 0; }
.ftr h4 { font-size: 14px; margin: 0 0 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.ftr ul a { color: var(--ink); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding: 14px 0; font-size: 13px; color: var(--muted); }
.ftr-bottom nav { display: flex; gap: 18px; }
.ftr-bottom a { color: var(--muted); }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a { color: var(--navy); }

/* asystent AI (pływający) */
.ai-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; border-radius: 28px; padding: 0 18px; height: 52px; background: var(--dark); color: #fff; border: 0; box-shadow: var(--shadow); cursor: pointer; }
.ai-panel { position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(400px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px)); display: none; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 40px rgba(13,26,92,.18); overflow: hidden; }
.ai-panel.open { display: flex; }
.ai-panel header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ai-msgs { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.ai-msg { max-width: 86%; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.ai-msg.me { justify-self: end; background: var(--blue); color: #fff; }
.ai-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }

/* cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 760px; margin: 0 auto; display: none; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 30px rgba(13,26,92,.15); }
.cookie.show { display: flex; }

/* treści (pomoc, prawne, poradnik) */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc { position: sticky; top: 130px; }
.toc a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); }
.toc a.is-active, .toc a:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 6px; color: var(--navy); }
.side-nav a .icon { color: var(--blue); }
.side-nav a[aria-current="page"] { background: var(--blue); color: #fff; font-weight: 600; }
.side-nav a[aria-current="page"] .icon { color: #fff; }

/* kreator (kalkulatory, multi, pompy 10 kroków) */
.wizard-steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.wizard-steps li { list-style: none; flex: 1; min-width: 90px; text-align: center; font-size: 13px; color: var(--muted); }
.wizard-steps li::before { content: attr(data-n); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; border: 2px solid #b9c4de; color: var(--muted); font-weight: 600; background: #fff; }
.wizard-steps li.done::before { border-color: var(--blue); background: var(--blue); color: #fff; }
.wizard-steps li.current { color: var(--blue); font-weight: 600; }
.wizard-steps li.current::before { border-color: var(--blue); color: var(--blue); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--navy); }
.choice .icon { width: 44px; height: 44px; color: var(--blue); }
.choice.is-active, .choice[aria-pressed="true"], .choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; background: #f8fbff; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.rank { display: grid; grid-template-columns: 54px 140px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: #fff; }
.rank .pos { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rank.best { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }

/* ---------- mobile ---------- */
.only-m { display: none !important; }
@media (max-width: 1100px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .only-d { display: none !important; }
  .only-m { display: initial !important; }
  .hdr { height: auto; flex-wrap: wrap; gap: 12px 14px; padding: 12px 0; }
  .burger { display: inline-flex; order: 0; }
  .logo { order: 1; margin-right: auto; }
  .logo img { height: 34px; }
  .logo-word { font-size: 10px; letter-spacing: .3em; }
  .lang { display: inline-flex; order: 2; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: 13px; }
  .hdr-actions { order: 3; gap: 16px; }
  .hdr-actions .icon { width: 24px; height: 24px; }
  .hdr-actions .act-compare { display: none; }
  .search { order: 4; flex-basis: 100%; max-width: none; }
  .search input { padding-right: 40px; border-radius: 22px; background: var(--bg); border-color: var(--line-2); }
  .search button.go { display: inline-flex; position: absolute; right: 8px; padding: 0; top: 8px; background: none; border: 0; color: var(--navy); }
  .nav { display: none; position: fixed; inset: 0; z-index: 80; background: #fff; overflow: auto; padding: 16px; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-list > li { flex-direction: column; border-bottom: 1px solid var(--line-2); }
  .nav-list > li > a { padding: 14px 4px; border-bottom: 0; }
  .mega { display: grid; position: static; border: 0; box-shadow: none; padding: 0 0 10px 36px; min-width: 0; }
  .page-head .banner { display: none; }
  .page-head .inner { gap: 16px; }
  .steps li { min-width: 72px; font-size: 13px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .layout-filters { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { padding: 12px; }
  .pcard .img { height: 110px; }
  .pcard .price { font-size: 18px; }
  .pcard .actions { flex-direction: column; }
  .panel { padding: 16px; }
  .hero { min-height: 470px; align-items: flex-start; padding-top: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0, rgba(255,255,255,.75) 45%, rgba(255,255,255,0) 75%); }
  .hero .cta .btn { width: 100%; max-width: 280px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { height: 120px; }
  .tile b { font-size: 15px; }
  .tile .t { padding: 12px; }
  .tile .go { left: 12px; bottom: 12px; width: 30px; height: 30px; }
  .promo { min-height: 130px; }
  .promo .t { padding: 18px; max-width: 62%; }
  .partner .t { padding: 22px; max-width: 70%; }
  .ftr { grid-template-columns: 1fr; gap: 0; }
  .ftr .col { border-bottom: 1px solid var(--line-2); }
  .ftr .col details > summary { padding: 12px 0; }
  .table.stack thead { display: none; }
  .table.stack tr { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
  .table.stack td { border: 0; padding: 0; }
  .rank { grid-template-columns: 40px 1fr; }
  .rank > :nth-child(3), .rank > :nth-child(4) { grid-column: 1 / -1; }
  .ai-fab span { display: none; }
  .ai-fab { width: 52px; padding: 0; justify-content: center; }
}
