/* =========================================================================
   EBLE — arkusz stylów produkcyjny
   Mobile-first. Bez media queries — layout oparty o CSS Grid auto-fit/minmax
   i clamp(). Pola formularzy min. 16px, elementy klikalne min. 44x44px.
   ========================================================================= */

:root{
  --bg: #FFFCEB;
  --surface: #FFFFFF;
  --text: oklch(20% 0.02 255);
  --text-muted: oklch(45% 0.02 255);
  --border: oklch(90% 0.01 255);
  --accent: oklch(72% 0.16 55);
  --accent-ink: oklch(28% 0.10 55);
  --accent-soft: oklch(96% 0.03 55);
  --highlight: #ED5E55;
  --success: oklch(60% 0.14 145);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --max-width: 1280px;
  --shadow-card: 0 1px 2px oklch(20% 0.02 255 / 0.06), 0 8px 24px oklch(20% 0.02 255 / 0.06);
  --tap: 44px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font-family: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}

/* ---------- typografia ---------- */
h1{ font-weight: 800; font-size: clamp(28px, 5.5vw, 44px); line-height: 1.12; letter-spacing: -0.01em; }
h2{ font-weight: 800; font-size: clamp(24px, 4vw, 34px); line-height: 1.16; letter-spacing: -0.01em; }
h3{ font-weight: 700; font-size: clamp(18px, 2.6vw, 22px); line-height: 1.25; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.lede{ font-size: clamp(16px, 2vw, 19px); color: var(--text-muted); }
.muted{ color: var(--text-muted); }

/* ---------- topbar ---------- */
.topbar{ background: var(--text); color: #fff; font-size: 13px; }
.topbar .container{ display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding-block: 8px; }
.topbar a{ text-decoration: none; }
.topbar-links{ display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.topbar-links a{ min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- header / nawigacja ---------- */
header.site-header{ background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-row{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo{ display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; color: var(--text); flex: 0 0 auto; }
.logo img{ height: 34px; width: auto; }
.logo .fallback-mark{
  height: 34px; width: 34px; border-radius: 10px; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}

nav.main-nav{ display: flex; flex-wrap: wrap; gap: 4px 6px; }
nav.main-nav a{
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 8px 12px; border-radius: var(--radius-pill); text-decoration: none;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; color: var(--text);
}
nav.main-nav a:hover, nav.main-nav a.active{ background: var(--accent-soft); color: var(--accent-ink); }

.header-actions{ display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cart-link{
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); min-width: var(--tap);
  padding: 8px 16px; border-radius: var(--radius-pill); background: var(--text); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.cart-count{ background: var(--highlight); color: #fff; border-radius: 100px; padding: 1px 8px; font-size: 12.5px; }

.nav-toggle{
  display: none; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle svg{ width: 22px; height: 22px; }

/* Przełącznik nawigacji desktop/mobile — bez @media. Projekt zakłada zero media
   queries (Grid auto-fit/minmax + clamp), ale realny przełącznik "pełne menu vs.
   hamburger" to binarna decyzja, nie coś płynnego — dlatego szerokość okna mierzy
   site.js (initResponsiveNav) i ustawia klasę na <html> ("nav-compact"/"nav-wide"),
   zamiast progu w CSS. Inline-owy skrypt w <head> ustawia klasę zanim strona się
   wyrenderuje, więc nie ma mignięcia (FOUC) podwójnej nawigacji. Bez JS (no-js
   fallback): brak klasy = domyślnie pokazujemy pełne menu (na dowolnej szerokości
   wraca do zawijania linków przez flex-wrap), bo hamburger bez JS byłby martwym
   przyciskiem. */
html.nav-compact .nav-toggle{ display: inline-flex; }
html.nav-compact nav.main-nav.desktop-only{ display: none; }

/* Mobile nav: collapsible panel toggled by JS (adds .nav-open on <body>).
   Grid auto-fit already wraps nav links reasonably at ~360-430px, but once the
   number of items grows the panel below gives a dedicated, always-tappable list. */
.mobile-nav-panel{ display: none; }
body.nav-open .mobile-nav-panel{
  display: block; background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.nav-open .mobile-nav-panel .container{ padding-block: 10px; display: grid; gap: 2px; }
.mobile-nav-panel a{
  display: flex; align-items: center; min-height: var(--tap); padding: 8px 6px;
  text-decoration: none; font-weight: 600; color: var(--text); border-radius: var(--radius-sm);
}
.mobile-nav-panel a:hover{ background: var(--accent-soft); }

@supports selector(:is(html)){
  /* progressive: hide desktop nav under a narrow container via container-based rule is not
     available without media queries, so mobile toggle is JS-driven (see site.js) and the
     desktop nav simply wraps (flex-wrap) on very narrow screens as a graceful fallback. */
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; line-height: 1.2;
}
.btn-primary{ background: var(--accent); color: #201a12; }
.btn-primary:hover{ filter: brightness(0.96); }
.btn-dark{ background: var(--text); color: #fff; }
.btn-dark:hover{ filter: brightness(1.15); }
.btn-outline{ background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover{ background: var(--accent-soft); border-color: var(--accent); }
.btn-block{ width: 100%; }
.btn-sm{ min-height: var(--tap); padding: 6px 14px; font-size: 13.5px; }

/* ---------- sekcje / hero ---------- */
section{ padding-block: clamp(36px, 6vw, 72px); }
.section-head{ display: grid; gap: 10px; margin-bottom: clamp(20px, 4vw, 36px); max-width: 760px; }
.hero{
  background: linear-gradient(180deg, var(--accent-soft), var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.hero-grid{ display: grid; gap: clamp(24px, 5vw, 48px); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; padding-block: clamp(32px, 6vw, 64px); }
.hero-copy{ display: grid; gap: 16px; align-content: start; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-media{ border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); aspect-ratio: 4/3; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }

.breadcrumb{ font-size: 13.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; padding-block: 14px; }
.breadcrumb a{ text-decoration: none; color: var(--text-muted); }
.breadcrumb a:hover{ color: var(--accent-ink); }

/* ---------- grid layouts (auto-fit + minmax, mobile collapses to 1 col) ---------- */
.grid{ display: grid; gap: clamp(14px, 2.4vw, 22px); }
.grid-cards{ grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-2{ grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-stats{ grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.grid-steps{ grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

/* ---------- karty ---------- */
.card{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 10px;
}
.card-media{ border-radius: var(--radius-sm); overflow: hidden; background: var(--accent-soft); aspect-ratio: 4/3; margin-bottom: 4px; }
.card-media img{ width: 100%; height: 100%; object-fit: cover; }
.card h3{ margin: 0; }
.check-list{ display: grid; gap: 8px; }
.check-list li{ display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.check-list li::before{ content: "✓"; color: var(--success); font-weight: 800; flex: 0 0 auto; }

/* ---------- brak zdjęcia placeholder ---------- */
.img-slot{
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  background: repeating-linear-gradient(135deg, oklch(93% 0.01 255), oklch(93% 0.01 255) 10px, oklch(96% 0.01 255) 10px, oklch(96% 0.01 255) 20px);
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.img-slot span{ color: var(--text-muted); font-size: 13px; font-weight: 600; padding: 12px; }
.img-slot img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- statystyki ---------- */
.stat{ text-align: center; display: grid; gap: 4px; padding: 18px 8px; }
.stat .value{ font-weight: 800; font-size: clamp(24px, 4vw, 32px); color: var(--accent-ink); }
.stat .label{ font-size: 13.5px; color: var(--text-muted); }

/* ---------- kroki / timeline ---------- */
.step{ display: grid; gap: 6px; }
.step .num{
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 100px; background: var(--text); color: #fff; font-weight: 800; font-size: 14px;
}

/* ---------- pigułki / badge ---------- */
.badge{ display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; width: fit-content; }

/* ---------- selektor koloru ---------- */
.color-swatches{ display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch{
  min-width: var(--tap); min-height: var(--tap); padding: 0 14px; border-radius: var(--radius-pill);
  border: 2px solid var(--border); background: var(--surface); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.color-swatch[aria-pressed="true"]{ border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- stepper ilości ---------- */
.qty-stepper{ display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.qty-stepper button{
  width: var(--tap); height: var(--tap); border: none; background: transparent; cursor: pointer;
  font-size: 20px; font-weight: 700; color: var(--text); display: flex; align-items: center; justify-content: center;
}
.qty-stepper button:hover{ background: var(--accent-soft); }
.qty-stepper .qty-value{ min-width: 40px; text-align: center; font-weight: 700; font-size: 15px; }

/* ---------- formularze ---------- */
form{ display: grid; gap: 14px; }
.form-row{ display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
label{ display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea, select{
  font-size: 16px; /* nigdy poniżej 16px — zapobiega auto-zoom w iOS Safari */
  font-family: inherit;
  padding: 12px 14px;
  min-height: var(--tap);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
textarea{ min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus{ outline: 2px solid var(--accent); outline-offset: 1px; }
.form-note{ font-size: 13px; color: var(--text-muted); }
.form-success{ display: none; background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; font-size: 14px; }
.form-success.visible{ display: block; }

/* ---------- rfq / cta bloki ---------- */
.rfq-block{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.rfq-grid{ display: grid; gap: clamp(20px, 4vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.cta-banner{
  background: var(--text); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 44px); display: grid; gap: 14px;
}
.cta-banner .btn-primary{ width: fit-content; }

/* ---------- koszyk / mini zapytanie ---------- */
.cart-mini{ background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; display: grid; gap: 10px; }
.cart-mini-item{ display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.cart-mini-item:last-child{ border-bottom: none; }
.cart-mini-item .remove{ background: none; border: none; color: var(--highlight); cursor: pointer; font-weight: 700; min-width: var(--tap); min-height: 32px; }
.cart-empty{ color: var(--text-muted); font-size: 14px; }

/* ---------- tabela wymiarów ---------- */
.spec-table{ width: 100%; border-collapse: collapse; }
.spec-table tr{ border-bottom: 1px solid var(--border); }
.spec-table td{ padding: 12px 8px; font-size: 14.5px; }
.spec-table td:first-child{ color: var(--text-muted); width: 40%; }

/* ---------- footer ---------- */
footer.site-footer{ background: var(--text); color: oklch(90% 0.01 255); margin-top: clamp(40px, 6vw, 80px); }
footer.site-footer .container{ padding-block: clamp(32px, 5vw, 56px); display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
footer.site-footer h4{ color: #fff; font-size: 14px; margin-bottom: 12px; }
footer.site-footer a{ text-decoration: none; color: oklch(78% 0.01 255); font-size: 14px; }
footer.site-footer ul{ display: grid; gap: 8px; }
footer.site-footer a:hover{ color: #fff; }
.footer-bottom{ border-top: 1px solid oklch(35% 0.02 255); font-size: 12.5px; color: oklch(65% 0.01 255); padding-block: 16px; }
.footer-bottom .container{ display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 0; }
.footer-legal-links{ display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-legal-links a{ text-decoration: none; color: oklch(78% 0.01 255); }
.footer-legal-links a:hover{ color: #fff; }
.link-btn{
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font: inherit; font-size: 12.5px; color: oklch(78% 0.01 255); text-decoration: underline;
  min-height: var(--tap); display: inline-flex; align-items: center;
}
.link-btn:hover{ color: #fff; }

/* ---------- baner i panel zgody na cookies (RODO) ---------- */
.cookie-banner{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--text); color: #fff;
  box-shadow: 0 -4px 24px oklch(20% 0.02 255 / 0.18);
}
.cookie-banner[hidden]{ display: none; }
.cookie-banner-inner{ padding-block: 16px; display: grid; gap: 12px; }
.cookie-banner-inner p{ font-size: 13.5px; color: oklch(88% 0.01 255); margin: 0; }
.cookie-banner-inner a{ color: #F5C36B; }
.cookie-banner-actions{ display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner-actions .btn{ flex: 1 1 auto; }

.cookie-modal{
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cookie-modal[hidden]{ display: none; }
.cookie-modal-backdrop{ position: absolute; inset: 0; background: oklch(20% 0.02 255 / 0.5); }
.cookie-modal-panel{
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px); width: 100%; max-width: 560px;
  display: grid; gap: 16px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-card);
}
.cookie-cat-row{
  display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px;
  min-height: var(--tap); cursor: pointer;
}
.cookie-cat-row input{ width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.cookie-modal-actions{ display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- utility ---------- */
.flex{ display: flex; }
.flex-wrap{ flex-wrap: wrap; }
.gap-8{ gap: 8px; } .gap-12{ gap: 12px; }
.text-center{ text-align: center; }
.mt-8{ margin-top: 8px; } .mt-16{ margin-top: 16px; } .mt-24{ margin-top: 24px; }
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- pasek promocyjny / banery ---------- */
.promo-banner{ background: var(--accent); color: #201a12; border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }

/* ---------- chart (słupki wakacje) ---------- */
.chart{ display: flex; align-items: flex-end; gap: clamp(6px, 1.6vw, 14px); height: 180px; padding-top: 20px; }
.chart .bar-group{ flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .bars{ display: flex; gap: 4px; align-items: flex-end; height: 140px; width: 100%; justify-content: center; }
.chart .bar{ width: 40%; border-radius: 4px 4px 0 0; }
.chart .bar.risk{ background: oklch(75% 0.16 30); }
.chart .bar.eble{ background: var(--accent); }
.chart .week-label{ font-size: 11px; color: var(--text-muted); }
.legend{ display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.legend .dot{ width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* Ceny katalogowe brutto (2026-10) */
.price{ display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-value{ font-weight: 800; font-size: clamp(24px, 3.2vw, 30px); letter-spacing: -0.01em; color: var(--text); }
.price-sm .price-value{ font-size: 20px; }
.price-note{ font-size: 13px; color: var(--text-muted); }
.product-code{ flex-basis: 100%; font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.02em; }
.card .price{ margin-top: 2px; }
.price-gross{ font-size: 14px; font-weight: 600; color: var(--text-muted); }
.version-table{ width: 100%; border-collapse: collapse; }
.version-table th, .version-table td{ text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: top; }
.version-table th{ font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); }
.version-table td strong{ font-size: 16px; }
.table-scroll{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tag-recommended{ display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--accent); color: var(--text); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.cross-list li{ position: relative; padding-left: 26px; margin-bottom: 6px; color: var(--text-muted); }
.cross-list li::before{ content: "✕"; position: absolute; left: 4px; color: var(--highlight); font-weight: 800; }
.grid-thumbs{ grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 10px; }
.grid-thumbs .img-slot{ aspect-ratio: 4/3; }
.grid-thumbs .img-slot span{ font-size: 11px; padding: 6px; }
.grid-acc{ grid-template-columns: repeat(auto-fit, minmax(min(165px, 100%), 1fr)); gap: 12px; }
.grid-acc .card{ padding: 14px; gap: 8px; }
.grid-acc .card h3{ font-size: 16px; }
.grid-acc .card p.muted{ font-size: 13px !important; }
.price-ask{ font-weight: 700; font-size: 15px; color: var(--accent-ink); }

/* Twój laptop nie lubi wakacji — układ zgodny z eble.edu.pl (2026-11-01) */
:root{ --eble-green: #2E8B57; --eble-coral: #EF5D55; --eble-yellow: #F7C933; --eble-grey: #E8E7EE; }
.batt-h1{ font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; line-height: 1.1; }
.batt-compare{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: stretch; position: relative; }
.batt-arrow{ display: none; }
.batt-panel{ border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); position: relative; display: flex; flex-direction: column; gap: 10px; }
.batt-bad{ background: var(--eble-grey); color: var(--text); }
.batt-good{ background: var(--eble-green); color: #fff; }
.batt-tag{ align-self: flex-start; background: #fff; color: var(--text-muted); border-radius: var(--radius-pill); padding: 5px 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.batt-tag-light{ color: var(--eble-green); }
.batt-icon{ width: 150px; height: 64px; border: 5px solid #2b2b30; border-radius: 12px; position: relative; padding: 6px; background: #fff; }
.batt-icon::after{ content: ""; position: absolute; right: -16px; top: 18px; width: 9px; height: 18px; background: #9a9aa0; border-radius: 0 3px 3px 0; }
.batt-icon span{ display: block; height: 100%; border-radius: 5px; }
.batt-icon-low span{ width: 14%; background: #E5484D; }
.batt-good .batt-icon{ border-color: #fff; background: transparent; }
.batt-good .batt-icon::after{ background: #fff; }
.batt-icon-full span{ width: 100%; background: #CDEFD7; }
.batt-value{ font-weight: 800; font-size: clamp(44px, 7vw, 64px); line-height: 1; }
.batt-bad .batt-value{ color: #E5484D; }
.batt-sub{ font-size: 14px; opacity: .9; }
.batt-good-top{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.batt-checks li{ position: relative; padding-left: 26px; margin-bottom: 6px; font-weight: 700; }
.batt-checks li::before{ content: "✓"; position: absolute; left: 2px; font-weight: 800; }
.batt-badge{ position: absolute; right: -10px; bottom: -14px; width: 104px; height: 104px; border-radius: 50%; background: var(--eble-yellow); color: #3a2b00; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.1; transform: rotate(-10deg); box-shadow: var(--shadow-card); }
.batt-badge strong{ font-size: 26px; }
.batt-good{ padding-bottom: 72px; }
.app-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; align-items: center; }
.app-feats{ grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.app-feat{ padding: 16px; gap: 8px; }
.app-feat h3{ font-size: 16px; }
.app-feat p{ font-size: 13.5px; }
.app-ico{ width: 40px; height: 40px; border-radius: 50%; background: #FCE3E1; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.app-pill{ background: var(--eble-green); color: #fff; border-radius: var(--radius-pill); padding: 14px 22px; font-weight: 700; text-align: center; }
.app-phone{ background: #fff; border-radius: 28px; box-shadow: var(--shadow-card); padding: 20px; max-width: 380px; margin-inline: auto; width: 100%; }
.app-phone img{ width: 100%; height: auto; }
.steps-coral{ background: var(--eble-coral); color: #fff; }
.steps-coral .section-head .lede{ color: #fff; opacity: .95; }
.steps-coral h2{ color: #fff; }
.grid-steps3{ grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.step-card{ color: var(--text); gap: 10px; }
.step-img{ aspect-ratio: 520/460; display: flex; align-items: center; justify-content: center; }
.step-img img{ width: 100%; height: auto; }
.step-pill{ align-self: flex-start; background: var(--eble-coral); color: #fff; border-radius: var(--radius-pill); padding: 4px 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.batt-good{ padding-bottom: 112px; }
.batt-badge{ right: 14px; bottom: 14px; width: 92px; height: 92px; font-size: 13px; }
.batt-badge strong{ font-size: 24px; }
.step-pill{ width: fit-content; display: inline-block; }
.batt-tag{ width: fit-content; }
.app-feats{ grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.cube-thumbs{ grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cube-thumbs .img-slot{ aspect-ratio: 1; border-radius: 6px; }

/* Pasek kategorii (2026-11-02) — styl jannowak.com: osobny rząd pod nagłówkiem, pełne nazwy,
   zwykły tekst, aktywna pozycja podkreślona; bez hamburgera, na wąskich ekranach przewijany w bok. */
.header-row{ padding-block: 10px; }
.cat-bar{ border-top: 1px solid var(--border); }
.cat-bar nav.main-nav{ display: flex !important; flex-wrap: nowrap; justify-content: space-between; gap: 0 28px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.cat-bar nav.main-nav::-webkit-scrollbar{ display: none; }
.cat-bar nav.main-nav a{ flex: 0 0 auto; padding: 0; border-radius: 0; background: none !important; min-height: 46px; font-size: 15px; font-weight: 600; color: var(--text); border-bottom: 3px solid transparent; scroll-snap-align: start; }
.cat-bar nav.main-nav a:hover{ color: var(--accent-ink); border-bottom-color: var(--border); }
.cat-bar nav.main-nav a.active{ color: var(--accent-ink); border-bottom-color: var(--accent); }
.nav-toggle, .mobile-nav-panel{ display: none !important; }
.cat-bar nav.main-nav.is-scroll{ -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.cat-bar nav.main-nav.is-scroll.at-end{ -webkit-mask-image: none; mask-image: none; }

/* Strona produktu (2026-11-02) — układ jak jannowak.com: duże zdjęcia bez powiększania.
   Wąski ekran: zdjęcie główne → opis/cena/przycisk → pozostałe zdjęcia (duże, 2 w rzędzie).
   Szeroki (klasa pg-wide z JS, ≥900 px): lewa kolumna = zdjęcie główne + siatka 2×N dużych zdjęć,
   prawa kolumna = opis i cena, przyklejona przy przewijaniu. */
.pdp{ display: flex; flex-direction: column; gap: 20px; }
.pdp-main{ order: 1; } .pdp-info{ order: 2; } .pdp-more{ order: 3; }
.pdp .hero-media{ aspect-ratio: 4/3; background: #fff; }
.pdp .hero-media .img-slot{ height: 100%; border: 0; border-radius: 0; }
.pdp .hero-media img, .pdp-grid img{ object-fit: contain; background: #fff; }
.pdp-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdp-grid .img-slot{ aspect-ratio: 4/3; background: #fff; border-radius: var(--radius-md); }
.pdp-more:not(:has(.img-slot)){ display: none; }
html.pg-wide .pdp{ display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); grid-template-areas: "main info" "more info"; gap: 16px 44px; align-items: start; }
html.pg-wide .pdp-main{ grid-area: main; }
html.pg-wide .pdp-more{ grid-area: more; }
html.pg-wide .pdp-info{ grid-area: info; position: sticky; top: 132px; }
html.pg-wide .pdp-grid{ gap: 16px; }
html.pg-wide .pdp-info.pdp-nosticky{ position: static; }
/* poprawki 2026-11-02 */
.pdp .hero-media{ aspect-ratio: auto; }
.pdp .hero-media .img-slot{ aspect-ratio: auto; height: auto; }
.pdp .hero-media img{ height: auto; max-height: 78vh; }
html.pg-narrow .pdp-main{ order: 1; } html.pg-narrow .pdp-more{ order: 2; } html.pg-narrow .pdp-info{ order: 3; }
html.pg-narrow .pdp-grid{ display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -16px; padding-right: 16px; }
html.pg-narrow .pdp-grid::-webkit-scrollbar{ display: none; }
html.pg-narrow .pdp-grid .img-slot{ flex: 0 0 78%; scroll-snap-align: start; }

/* Strefa ciszy — rendery na szarym tle studyjnym: pokazujemy cały mebel (bez kadrowania) */
.img-slot img[src*="strefa-ciszy"]{ object-fit: contain; }
.fab-swatches .color-swatch{ display: inline-flex; align-items: center; gap: 6px; }
.fab-dot{ width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: 0 0 auto; }
.fab-dot + .fab-dot{ margin-left: -10px; margin-right: 2px; }

/* baner cookies: przyciski obrysowe na ciemnym tle — jasny tekst (wcześniej niewidoczny) */
.cookie-banner .btn-outline{ color: #fff; border-color: oklch(100% 0 0 / 0.55); background: transparent; }
.cookie-banner .btn-outline:hover{ background: oklch(100% 0 0 / 0.1); }

/* ---------- Pracownie STEAM: stoły funkcjonalne jak na eble.edu.pl ---------- */
.grid-3{ grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.badge-accent{ background: var(--accent); color: #fff; }
.cfg-list{ list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.cfg-list li{ padding-bottom: 6px; border-bottom: 1px solid var(--border, #eee); }
.cfg-list li:last-child{ border-bottom: 0; }
.tbl-strip{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.tbl-strip .img-slot{ aspect-ratio: 16/10; }
html.pg-narrow .tbl-strip{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
html.pg-narrow .tbl-strip .img-slot{ flex: 0 0 80%; scroll-snap-align: start; }
.grid-cfg{ grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid-cfg .img-slot{ aspect-ratio: 4/3; background: #fff; }
.grid-cfg .img-slot img{ object-fit: contain; }
.cfg-head{ font-size: 20px; margin: 0 0 12px; }
.cfg-head .muted{ font-weight: 500; font-size: 15px; }
.grid-steam{ grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
html.pg-narrow .grid-cfg{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.pg-narrow .grid-cfg .card{ padding: 10px; gap: 6px; }
html.pg-narrow .grid-cfg h3{ font-size: 15px; }
html.pg-narrow .grid-cfg .muted{ font-size: 12.5px !important; }
html.pg-narrow .grid-cfg .btn{ display: none; }
.cfg-head.mt-24{ margin-top: 36px; }

/* Galeria produktu: miniatury przełączają zdjęcie główne */
.pdp .hero-media img{ transition: opacity .12s ease; }
.pdp .hero-media img.is-fading{ opacity: 0; }
html.pg-wide .pdp-grid.pdp-grid-thumbs{ grid-template-columns: repeat(var(--thumbs, 3), minmax(0, 1fr)); }
.pdp-grid-thumbs .img-slot{ cursor: zoom-in; border: 2px solid transparent; transition: border-color .15s ease, opacity .15s ease; }
.pdp-grid-thumbs .img-slot:not(.is-active){ opacity: .85; }
.pdp-grid-thumbs .img-slot:hover{ opacity: 1; border-color: var(--border-strong, #c9c2b5); }
.pdp-grid-thumbs .img-slot.is-active{ opacity: 1; border-color: var(--accent); cursor: default; }
.pdp-grid-thumbs .img-slot:focus-visible{ outline: 3px solid var(--accent); outline-offset: 2px; }
html.pg-narrow .pdp-grid-thumbs .img-slot{ flex-basis: 40%; }
html.pg-wide .pdp{ grid-template-rows: auto 1fr; }

/* ---------- Porządki przed startem (04.11.2026) ---------- */
/* neutralny kafel zamiast „Brak zdjęcia” */
.img-pending{ background: linear-gradient(135deg, var(--accent-soft, #fdeee4), #f6f1e8); border-style: solid; }
.img-pending span{ display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--text); }
.img-pending .pending-mark{ width: 72px; height: auto; opacity: .9; }
.img-pending strong{ font-size: 15px; }
.img-pending small{ font-size: 12px; color: var(--text-muted); font-weight: 500; max-width: 26ch; }

/* polecane: nagłówek z linkiem */
.section-head-row{ display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.section-head-row .btn{ width: fit-content; }

/* dofinansowanie + konfigurator jako dwie jasne karty zamiast ciemnych banerów */
.help-split{ display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.help-card{ padding: clamp(20px, 3vw, 32px); }
.help-card .btn{ width: fit-content; }
.help-card:first-child{ border-left: 4px solid var(--accent); }

/* górny pasek: mail chowamy na telefonie */
html.pg-narrow .topbar-mail{ display: none; }

/* pasek szybkiego kontaktu na telefonie */
.contact-bar{ display: none; }
html.pg-narrow .contact-bar{ display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg, #fffbec); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px oklch(20% 0.02 255 / 0.08); }
html.pg-narrow .contact-bar .btn{ width: 100%; justify-content: center; }
html.pg-narrow body.has-contact-bar{ padding-bottom: 72px; }

/* baner cookies: zwarty, Odrzuć i Akceptuj obok siebie */
.cookie-banner-inner{ padding-block: 12px; gap: 10px; }
.cookie-banner-inner p{ font-size: 13px; }
.cookie-banner .link-btn{ background: none; border: 0; padding: 0; color: #F5C36B; text-decoration: underline; font: inherit; cursor: pointer; min-height: 0; }
.cookie-banner-actions{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.pg-wide .cookie-banner-inner{ grid-template-columns: 1fr auto; align-items: center; }
html.pg-wide .cookie-banner-actions{ grid-template-columns: auto auto; }
.cookie-banner .link-btn{ min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; }
.cookie-banner-actions{ grid-template-columns: auto 1fr 1fr; }
html.pg-wide .cookie-banner-actions{ grid-template-columns: auto auto auto; }

/* Porównanie wersji szafek + karta „Do pobrania” */
.cmp-table th, .cmp-table td{ text-align: center; vertical-align: middle; }
.cmp-table th:first-child, .cmp-table td:first-child{ text-align: left; }
.cmp-yes{ color: var(--success, #2f8a4a); font-weight: 800; font-size: 18px; }
.cmp-no{ color: var(--text-muted); }
.download-card .btn{ width: fit-content; }
.download-card{ border-left: 4px solid var(--accent); }
.card > .badge{ align-self: flex-start; }

/* =========================================================================
   MOTYW 2 (17.11.2026) — układ sklepu jak jannowak.com, kolorystyka EBLE
   biel + czerwień EBLE, font Plus Jakarta Sans
   ========================================================================= */
:root{
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;
  --text: #16181D;
  --text-muted: #5E6472;
  --border: #E5E7EB;
  --accent: #D93D33;
  --accent-ink: #B02E26;
  --accent-soft: #FDEDEB;
  --highlight: #EC574E;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgb(16 24 40 / .05), 0 6px 18px rgb(16 24 40 / .06);
}
body{ font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); }
h1{ font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; }
h2{ font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.015em; }
.sr-only{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-primary{ background: var(--accent); color: #fff; }
.btn-primary:hover{ background: var(--accent-ink); filter: none; }
.btn-light{ background: #fff; color: var(--text); border-color: #fff; }
.btn-light:hover{ background: var(--surface-2); }
.btn-outline:hover{ background: var(--surface-2); border-color: var(--text); }
.eyebrow{ background: var(--accent-soft); color: var(--accent-ink); }
.promo-banner{ color: #fff; }
.tag-recommended{ color: #fff; }
.card{ border-color: var(--border); }
.hero{ background: var(--surface-2); }

/* górny pasek: atuty jak „Wysyłka w 24h · Gwarancja · Atest” */
.topbar{ background: var(--surface-2); color: var(--text-muted); font-size: 12.5px; border-bottom: 1px solid var(--border); }
.topbar .container{ padding-block: 6px; }
.topbar a{ color: var(--text); font-weight: 600; }
.usp-strip{ display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.usp-strip li{ display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 11.5px; }
.usp-strip li::before{ content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23D93D33' stroke-width='3'/%3E%3C/svg%3E") center/10px no-repeat; }
html.pg-narrow .usp-more, html.pg-narrow .topbar-links{ display: none; }

/* nagłówek: logo · wyszukiwarka · ikony */
header.site-header{ background: #fff; }
.header-row{ display: flex; align-items: center; gap: 12px 28px; padding-block: 14px; flex-wrap: wrap; }
.logo img{ height: 40px; width: auto; }
.logo span{ display: none; }
.site-search{ position: relative; flex: 1 1 360px; display: flex; align-items: center; background: var(--surface-2); border-radius: 10px; border: 1px solid transparent; }
.site-search:focus-within{ border-color: var(--text); background: #fff; }
.site-search input{ flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 12px 14px; min-height: 46px; outline: none; }
.site-search button{ border: 0; background: none; color: var(--text); min-width: 46px; min-height: 46px; cursor: pointer; display: grid; place-items: center; }
.search-results{ position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card); z-index: 60; overflow: hidden; }
.search-results a{ display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a.is-active{ background: var(--surface-2); }
.search-results img, .search-results .sr-noimg{ width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--border); }
.search-results .sr-t{ font-size: 13.5px; line-height: 1.3; }
.search-results .sr-t strong{ display: block; font-size: 14.5px; }
.search-results .sr-p{ font-size: 13px; font-weight: 700; white-space: nowrap; }
.search-results .sr-all{ display: block; text-align: center; font-weight: 700; font-size: 14px; color: var(--accent-ink); border-top: 1px solid var(--border); padding: 12px; grid-template-columns: none; }
.search-results .sr-none{ padding: 14px; font-size: 14px; color: var(--text-muted); }
.header-actions{ display: flex; gap: 18px; align-items: center; }
.hdr-icon{ position: relative; display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--text); font-size: 12px; font-weight: 600; min-width: 48px; min-height: 48px; align-content: center; }
.hdr-icon .cart-count{ position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.cart-link{ display: none !important; }
html.pg-narrow .header-row{ padding-block: 10px; }
html.pg-narrow .site-search{ order: 3; flex-basis: 100%; }
html.pg-narrow .logo{ flex: 1; }
html.pg-narrow .hdr-icon span:not(.cart-count){ display: none; }
.cat-bar nav.main-nav a{ font-weight: 600; font-size: 14.5px; }
.cat-bar nav.main-nav a:first-child{ color: var(--accent-ink); }

/* nagłówek kategorii jak w sklepie */
.cat-head{ padding-block: clamp(18px, 3vw, 28px) 4px; }
.cat-head .lede{ font-size: 16px; max-width: 75ch; margin-top: 8px; }
.sec-tight{ padding-block: clamp(14px, 2.5vw, 24px); }
.sec-row{ display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-row .btn{ width: fit-content; }

/* kafel produktu */
.pt-grid{ display: grid; gap: 16px 18px; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
html.pg-narrow .pt-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html.pg-wide .pt-grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pt{ display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 12px; position: relative; }
.pt-img{ display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pt-img img{ width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.pt:hover .pt-img img{ transform: scale(1.03); }
.pt-pending{ width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--surface-2); color: var(--text-muted); text-align: center; padding: 12px; }
.pt-pending img{ width: 72px; height: auto; object-fit: contain; }
.pt-pending small{ font-size: 12px; font-weight: 600; }
.pt-body{ display: grid; gap: 6px; padding-inline: 2px; }
.pt-cat{ font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.pt-title{ text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.4; }
.pt-title strong{ display: block; font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.pt-title::after{ content: ""; position: absolute; inset: 0; }
.pt-title:hover strong{ color: var(--accent-ink); }
.pt-price{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pt-price strong{ font-size: 18px; font-weight: 800; }
.pt-price span{ font-size: 12.5px; color: var(--text-muted); }
.pt-price small{ flex-basis: 100%; font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.pt-ask{ font-size: 14px !important; font-weight: 700; color: var(--accent-ink) !important; }

/* listing z filtrami */
.listing{ display: grid; gap: 20px 28px; }
html.pg-wide .listing.has-flt{ grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
.flt-wrap > summary{ list-style: none; }
.flt-title{ font-size: 20px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
html.pg-wide .flt-title{ pointer-events: none; }
html.pg-narrow .flt-title{ background: var(--surface-2); border-radius: 10px; padding: 0 14px; font-size: 16px; }
html.pg-narrow .flt-title::after{ content: "▾"; }
.flt-group{ background: var(--surface-2); border-radius: 10px; margin-top: 10px; }
.flt-group > summary{ cursor: pointer; font-weight: 700; padding: 12px 14px; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.flt-group > summary::after{ content: "▾"; font-size: 13px; transition: transform .2s; }
.flt-group[open] > summary::after{ transform: rotate(180deg); }
.flt-group > div{ display: grid; gap: 2px; padding: 0 14px 12px; }
.flt-opt{ display: flex; align-items: center; gap: 10px; font-size: 14.5px; min-height: 36px; cursor: pointer; }
.flt-opt input{ width: 18px; height: 18px; accent-color: var(--accent); }
.flt-opt span{ margin-left: auto; color: var(--text-muted); font-size: 13px; }
.flt-clear{ margin-top: 12px; width: 100%; }
.lst-bar{ display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.lst-count{ font-size: 14px; color: var(--text-muted); font-weight: 600; }
.lst-sort{ display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.lst-sort select{ font: inherit; font-size: 14.5px; color: var(--text); background: var(--surface-2); border: 0; border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.lst-empty{ padding: 30px 0; color: var(--text-muted); }

/* strona główna */
.home-hero{ padding-block: 16px 8px; }
.hh-banner{ position: relative; border-radius: 16px; overflow: hidden; min-height: clamp(300px, 38vw, 440px); display: grid; align-items: center; background: #222; }
.hh-banner > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-banner::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 12 16 / .78) 0%, rgb(10 12 16 / .45) 45%, rgb(10 12 16 / 0) 75%); }
html.pg-narrow .hh-banner::after{ background: linear-gradient(0deg, rgb(10 12 16 / .85) 0%, rgb(10 12 16 / .35) 70%, rgb(10 12 16 / .1) 100%); }
html.pg-narrow .hh-banner{ align-items: end; min-height: 440px; }
.hh-copy{ position: relative; z-index: 1; color: #fff; padding: clamp(20px, 4vw, 48px); max-width: 600px; display: grid; gap: 12px; }
.hh-copy h1{ color: #fff; font-size: clamp(28px, 4.2vw, 44px); }
.hh-copy p{ font-size: clamp(15px, 1.6vw, 18px); color: rgb(255 255 255 / .9); }
.hh-kicker{ font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFB4AE; }
.hh-actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.cat-circles{ display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px; margin-top: 22px; }
html.pg-narrow .cat-circles{ display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin-right: -16px; padding-right: 16px; }
html.pg-narrow .cat-circle{ flex: 0 0 104px; }
.cat-circle{ display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--text); text-align: center; }
.cc-img{ width: clamp(92px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; border: 2px solid var(--border); transition: border-color .2s; }
.cc-img img{ width: 82%; height: 82%; object-fit: contain; }
.cc-all{ background: var(--accent-soft); color: var(--accent-ink); }
.cat-circle:hover .cc-img{ border-color: var(--accent); }
.cc-label{ font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.promo-strip{ display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; background: var(--accent); color: #fff; text-decoration: none; border-radius: 16px; padding: clamp(20px, 3.5vw, 36px); }
.promo-strip h2{ color: #fff; margin-top: 4px; }
.promo-strip p{ color: rgb(255 255 255 / .92); max-width: 60ch; margin-top: 6px; }
.promo-strip .hh-kicker{ color: #FFE1DE; }
.sector-grid, .gain-grid{ display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.sector{ display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--text); background: var(--surface-2); border-radius: 14px; padding: 20px; border: 1px solid transparent; transition: border-color .2s; }
.sector:hover{ border-color: var(--text); }
.sector h3{ font-size: 18px; }
.sector p{ font-size: 14px; color: var(--text-muted); }
.sector-go{ font-weight: 700; font-size: 14px; color: var(--accent-ink); margin-top: 6px; }
.gain{ border-top: 3px solid var(--accent); padding-top: 14px; display: grid; gap: 6px; }
.gain h3{ font-size: 17px; }
.gain p{ font-size: 14px; color: var(--text-muted); }
.cat-bar nav.main-nav{ gap: 0 22px; }
.cat-bar nav.main-nav a{ font-size: 14px; }
.lst-sort{ white-space: nowrap; }
.pt-img, .pt-img:hover{ text-decoration: none; }
.cat-head .container > h1{ margin-top: 4px; }
main > section:first-child{ padding-top: clamp(12px, 2vw, 20px); }
.breadcrumb{ padding-top: 12px; }
.wide-figure{ margin: 0; border-radius: 16px; overflow: hidden; max-height: 460px; }
.wide-figure img{ width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

/* Realizacje — galeria z dostaw */
.rl-fig{ margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md, 12px); overflow: hidden; }
.rl-fig img{ display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.rl-fig figcaption{ font-size: 14px; color: var(--text-muted); padding: 12px 14px; }

/* ---------- promocja: transport gratis na meble akustyczne (do 31.12.2026) ---------- */
.promo-modal{
  position: fixed; inset: 0; z-index: 65;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.promo-modal[hidden]{ display: none; }
.promo-backdrop{ position: absolute; inset: 0; background: oklch(20% 0.02 255 / 0.55); }
.promo-panel{
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  width: 100%; max-width: 880px; max-height: calc(100dvh - 24px); overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  box-shadow: 0 24px 64px oklch(20% 0.02 255 / 0.3);
  animation: promo-in .28s ease-out;
}
@keyframes promo-in{ from{ opacity: 0; transform: translateY(16px) scale(.98); } to{ opacity: 1; transform: none; } }
.promo-media{ background: #FFFCEB; display: flex; align-items: center; }
.promo-media img{ width: 100%; height: auto; max-height: clamp(200px, 40vh, 560px); object-fit: contain; display: block; }
.promo-body{ padding: clamp(18px, 4vw, 32px); display: grid; gap: 12px; align-content: center; }
.promo-body h2{ font-size: clamp(24px, 4.2vw, 34px); font-weight: 800; line-height: 1.1; margin: 0; }
.promo-body p{ margin: 0; }
.promo-eyebrow{
  justify-self: start; background: var(--highlight); color: #fff; font-weight: 700; font-size: 13px;
  padding: 6px 14px; border-radius: var(--radius-pill); letter-spacing: .02em; text-transform: uppercase;
}
.promo-actions{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.promo-actions .btn{ flex: 1 1 auto; justify-content: center; }
.promo-small{ font-size: 12.5px; color: oklch(45% 0.02 255); }
.promo-x{
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: var(--tap); height: var(--tap); border-radius: 50%; border: 0;
  background: oklch(100% 0 0 / 0.92); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px oklch(20% 0.02 255 / 0.15);
}
.promo-x:focus-visible, .promo-actions .btn:focus-visible{ outline: 3px solid var(--highlight); outline-offset: 2px; }
.promo-note{
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: oklch(96% 0.03 25); border: 1px solid oklch(88% 0.06 25); border-radius: var(--radius-md); padding: 10px 14px;
}
.promo-note[hidden]{ display: none; }
.promo-note-badge{ background: var(--highlight); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); text-transform: uppercase; }
@media (prefers-reduced-motion: reduce){ .promo-panel{ animation: none; } }

/* Grafika z napisami (infografika) — pokazujemy w całości, bez przycinania */
.hero-media.hero-media--full{ aspect-ratio: auto; background: #fff; align-self: center; }
.hero-media.hero-media--full img{ height: auto; object-fit: contain; display: block; }

/* Formularz: dwa pola obok siebie, gdy jest miejsce (bez @media) */
.form-row-2{ display: flex; flex-wrap: wrap; gap: 16px 12px; }
.form-row-2 > label{ flex: 1 1 200px; }
