/* EnergoKlimat – arkusz stylów (2026) */
:root {
  --sun: #ffc342;
  --sun-600: #f2a900;
  --sun-50: #fff7e3;
  --ink: #1c1f23;
  --ink-2: #2b2f35;
  --text: #33373d;
  --muted: #5f656d;
  --line: #e6e3dc;
  --bg: #ffffff;
  --bg-soft: #f7f5f0;
  --green: #2f9e44;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 31, 35, .06), 0 8px 24px rgba(28, 31, 35, .06);
  --shadow-lg: 0 18px 50px rgba(28, 31, 35, .14);
  --wrap: 1200px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun-600); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #d6d8dc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--sun-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--sun); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--dark .lead { color: #b8bcc3; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 169, 0, .3); }
.btn--sun:hover { background: #ffcd5e; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font: 600 .95rem var(--font-head); color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 200px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav .nav-drop > button { white-space: nowrap; display: block; padding: 10px 14px; border-radius: 999px; font: 500 .98rem var(--font-head); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .main-nav .nav-drop > button:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] { background: var(--sun-50); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; margin-left: 6px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .nav-sub { flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.nav-sub li { display: block; }
.main-nav .nav-drop.open .nav-sub { display: flex; }
@media (hover: hover) and (min-width: 1101px) { .main-nav .nav-drop:hover .nav-sub, .main-nav .nav-drop:focus-within .nav-sub { display: flex; } .nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } }
/* Oferta: dwie kolumny – usługi | narzędzia online */
.main-nav .nav-mega { flex-direction: row; align-items: stretch; gap: 10px; min-width: 590px; padding: 12px; }
.main-nav .nav-col { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.main-nav .nav-col > ul { flex-direction: column; align-items: stretch; gap: 2px; }
.nav-col-head { display: block; padding: 6px 14px 8px; font: 700 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #8a8f96; }
.main-nav .nav-col a { border-radius: 10px; }
.main-nav .nav-col--tools { background: var(--sun-50); border-radius: 12px; padding: 4px 6px 8px; }
.nav-col--tools .nav-col-head { color: #9a6b00; }
.main-nav .nav-tool { display: flex; align-items: center; gap: 12px; white-space: normal; padding: 10px 10px; }
.main-nav .nav-tool:hover { background: #fff; }
.nav-tool-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sun); color: var(--ink); }
.nav-tool-ico svg { width: 20px; height: 20px; }
.nav-tool strong { display: block; font: 600 .95rem var(--font-head); color: var(--ink); }
.nav-tool small { display: block; font: 400 .8rem var(--font-body); color: var(--muted); margin-top: 1px; }
.header-cta .btn { white-space: nowrap; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font: 600 .98rem var(--font-head); text-decoration: none; color: var(--ink); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.header-phone svg { width: 18px; height: 18px; color: var(--sun-600); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle span.sr-only { position: absolute; width: 1px; height: 1px; background: none; overflow: hidden; clip: rect(0 0 0 0); }
.nav-toggle span.sr-only::before, .nav-toggle span.sr-only::after { content: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .brand img { width: 170px; }
  /* Nagłówek ma backdrop-filter, więc to on (nie okno) jest odniesieniem dla position: fixed –
     dlatego wysokość menu liczymy od wysokości ekranu, a nie przez bottom: 0. */
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: auto; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: #fff; padding: 16px 20px 32px; overflow-y: auto; overscroll-behavior: contain; display: none; }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .main-nav .nav-drop > button { font-size: 1.1rem; padding: 14px 12px; border-radius: 12px; width: 100%; text-align: left; white-space: normal; }
  .main-nav .nav-sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .main-nav .nav-mega { flex-direction: column; gap: 8px; padding: 0; min-width: 0; }
  .nav-col-head { padding: 10px 12px 4px; }
  .main-nav .nav-col--tools { padding: 4px 4px 6px; margin-bottom: 6px; }
  .main-nav .nav-tool { padding: 10px 8px; }
  .nav-drop > button { display: none !important; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #c9ccd2; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: min(640px, 80vh); padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #c9ccd2; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: .95rem; }
.hero-badges li { display: flex; gap: 8px; align-items: center; }
.hero-badges li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f23' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
.hero .btn--ghost { color: #fff; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 0; } .hero-media { margin: 0 -20px; } }

/* Nagłówek podstron */
.page-hero { background: var(--ink); color: #c9ccd2; padding: 36px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 195, 66, .28), rgba(255, 195, 66, 0) 70%); pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 18em; margin-top: 18px; }
.page-hero .lead { color: #c9ccd2; max-width: 44em; }
.page-hero .hero-actions { margin-top: 22px; }
.page-hero .btn--ghost { color: #fff; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: #e9eaec; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--sun); }

/* Siatki i karty */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.service-card:hover img { transform: scale(1.04); }
.service-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card .link-arrow::before { content: ""; position: absolute; inset: 0; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat strong { display: block; font: 700 1.15rem var(--font-head); color: var(--ink); margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: .95rem; }
.about > * { min-width: 0; }
.about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .stat { padding: 18px 16px; } .stat strong { font-size: 1.02rem; } }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* Dotacje */
.grant-card { display: flex; flex-direction: column; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; text-decoration: none; color: #c9ccd2; transition: background-color .2s, border-color .2s, transform .2s; position: relative; }
.grant-card:hover { background: rgba(255, 195, 66, .08); border-color: rgba(255, 195, 66, .5); transform: translateY(-3px); }
.grant-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sun); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.grant-card .icon svg { width: 24px; height: 24px; }
.grant-card p { flex: 1; font-size: .97rem; }
.grant-card .link-arrow { color: var(--sun); }
.section--soft .grant-card, .grant-card--light { background: #fff; border-color: var(--line); color: var(--muted); }
.grant-card--light h3 { color: var(--ink); }
.grant-card--light .link-arrow { color: var(--ink); }

/* Opinie */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; margin: 0; }
.review .stars { color: var(--sun-600); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; flex: 1; font-size: .98rem; }
.review figcaption { font: 600 .95rem var(--font-head); color: var(--ink); }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.2rem; }
.reviews-nav button:hover { background: var(--sun); border-color: var(--sun); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }

/* Zestawy */
.kit { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.kit:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.kit-img { background: #fff; padding: 18px 18px 0; }
.kit-img img { width: 100%; aspect-ratio: 559 / 366; object-fit: contain; }
.kit-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kit-body h3 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kit-tag { font: 600 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; background: var(--sun-50); color: #8a6100; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.kit dl { margin: 0 0 18px; display: grid; gap: 8px; font-size: .93rem; flex: 1; }
.kit dl div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.kit dt { color: var(--muted); }
.kit dd { margin: 0; font-weight: 600; color: var(--ink); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 16px; }
.price del { color: var(--muted); font-size: .95rem; }
.price strong { font: 700 1.6rem var(--font-head); color: var(--ink); }
.price small { color: var(--muted); }
.kit .btn { width: 100%; }
.note { font-size: .9rem; color: var(--muted); margin-top: 24px; }

/* Kroki */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font: 700 1rem var(--font-head); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 60px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Blog */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; position: relative; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card h3 { flex: 1; margin-top: 14px; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card .link-arrow::before { content: ""; position: absolute; inset: 0; }
.chip { display: inline-block; align-self: flex-start; font: 600 .78rem var(--font-head); padding: 6px 12px; border-radius: 999px; background: var(--sun-50); color: #8a6100; text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button { font: 500 .95rem var(--font-head); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Treść podstron */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: b; }
.benefits li { counter-increment: b; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.benefits li::before { content: counter(b); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 700 1.05rem var(--font-head); margin-bottom: 16px; }
.benefits p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.summary-box { background: var(--ink); color: #c9ccd2; border-radius: var(--radius); padding: 32px; position: sticky; top: 100px; }
.summary-box h2, .summary-box h3 { color: #fff; }
.summary-box h2 { font-size: 1.5rem; }
.summary-box ul { margin: 0; padding: 0; list-style: none; }
.summary-box li { padding: 10px 0 10px 30px; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.summary-box li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--sun-600); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: #8a6100; }

.brand-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.brand-card h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.brand-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sun); flex: none; }
.brand-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.brand-card .btn { align-self: flex-start; }
.brand-logo { height: 44px; display: flex; align-items: center; margin-bottom: 14px; padding-bottom: 14px; box-sizing: content-box; border-bottom: 1px solid var(--line); }
.brand-logo img { width: auto; height: auto; max-height: 34px; max-width: 150px; }

.types { display: grid; gap: 20px; }
.type { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.type img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.type .text { columns: 2 320px; column-gap: 32px; color: var(--muted); font-size: .97rem; }
.type .text p { break-inside: avoid; }
@media (max-width: 800px) { .type { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery--portrait img { aspect-ratio: 3 / 4; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); }
.lightbox::backdrop { background: rgba(10, 12, 14, .85); }
.lightbox img { display: block; width: auto; max-width: 100%; max-height: 88vh; margin: 0 auto; border-radius: 12px; }
.lightbox button { position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 1.3rem; cursor: pointer; }

/* Konfigurator */
.config { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.config fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.config legend { font: 600 1rem var(--font-head); color: var(--ink); margin-bottom: 10px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; inset: 0; }
.options span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); cursor: pointer; font-size: .95rem; transition: background-color .15s, border-color .15s; }
.options input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--ink); font-weight: 600; }
.options input:focus-visible + span { outline: 3px solid var(--sun-600); outline-offset: 2px; }

/* Formularz */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .9rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid #d5d2ca; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun-600); box-shadow: 0 0 0 4px rgba(255, 195, 66, .3); }
.field textarea { min-height: 150px; resize: vertical; }
.form-status { position: relative; z-index: 1; margin-top: 22px; max-width: 44em; padding: 16px 20px; border-radius: var(--radius-sm); border-left: 5px solid; font-size: 1rem; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-status--ok { background: #e8f6ec; border-color: var(--green); color: #1d4d2b; }
.form-status--err { background: #fdecea; border-color: #c62828; color: #6b1a1a; }
.form-status a { color: inherit; font-weight: 600; }
.consent { display: flex; gap: 12px; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sun-600); flex: none; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sun-50); color: #8a6100; display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* CTA */
.cta-band { background: var(--sun); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #4a3a12; max-width: 36em; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stopka */
.site-footer { background: #15171a; color: #a7abb2; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d9dbdf; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Pływający przycisk telefonu (mobile) */
.fab-call { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--sun); color: var(--ink); display: none; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.fab-call svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .fab-call { display: grid; } }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; } .mt-l { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .fab-call, .cta-band { display: none; } body { font-size: 12pt; } }

/* Status naboru na kartach dotacji */
.grant-status { display: inline-block; align-self: flex-start; font: 600 .74rem var(--font-head); letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; background: rgba(47, 158, 68, .16); color: #7ddc8f; margin-bottom: 12px; }
.section--soft .grant-status, .grant-card--light .grant-status { background: #e6f6e9; color: #23753a; }
.grant-card--cta { background: rgba(255, 195, 66, .1); border-color: rgba(255, 195, 66, .45); }
.grant-card--cta .grant-status { background: rgba(255, 195, 66, .2); color: var(--sun); }
.section--soft .grant-card--cta { background: var(--sun-50); border-color: #f3dfa6; }
.section--soft .grant-card--cta .grant-status { background: #fff; color: #8a6100; }
.section--soft .grant-card h3 { color: var(--ink); }
.section--soft .grant-card .link-arrow { color: var(--ink); }

/* Zestawy PV + magazyn energii */
.kit-head { background: var(--ink); color: #c9ccd2; padding: 22px 24px 20px; position: relative; overflow: hidden; }
.kit-head::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 195, 66, .35), rgba(255, 195, 66, 0) 70%); }
.kit-no { font: 600 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--sun); }
.kit-spec { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; font-family: var(--font-head); }
.kit-spec strong { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.kit-spec span { color: var(--sun); font-size: 1.4rem; font-weight: 600; }
.kit-use { margin: 0; font-size: .88rem; }
.kit--featured { border: 2px solid var(--sun); box-shadow: var(--shadow-lg); }
.kit dl div { grid-template-columns: 118px 1fr; }
.kit-price { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: .9rem; }
.kit-price .row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.kit-price .row b { white-space: nowrap; color: var(--ink); }
.kit-price .minus { color: var(--green); }
.kit-price .minus b { color: var(--green); }
.kit-price .total { border-top: 1px solid var(--line); padding-top: 10px; margin: 10px 0 0; font-weight: 600; color: var(--ink); align-items: baseline; }
.kit-price .total b { font: 700 1.45rem var(--font-head); }
.kit-notes { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; font-size: .92rem; color: var(--muted); }
.kit-notes h3 { font-size: 1.05rem; }
.kit-notes ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.kit-notes a { color: #8a6100; }
.kit dl div { grid-template-columns: 1fr 1.3fr; }
@media (min-width: 641px) and (max-width: 1100px) { #zestawy .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mozaika zdjęć w hero */
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.hero-mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hero-mosaic img:nth-child(2), .hero-mosaic img:nth-child(4) { transform: translateY(36px); }
.hero-mosaic img:first-child { outline: 3px solid var(--sun); outline-offset: -3px; }
.hero-badge { position: absolute; left: -14px; bottom: -6px; background: var(--sun); color: var(--ink); font: 700 .85rem var(--font-head); padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.hero-grid { padding-bottom: 48px; min-height: 0; padding-top: 36px; row-gap: 52px; }
.hero-text h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.hero-text .hero-badges { margin-top: 26px; }
/* Kafle usług w hero – od razu widać pełną ofertę */
.hero-services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hs-tile { position: relative; display: flex; align-items: flex-end; min-height: 136px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: #2a2e34; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.hs-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.hs-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 26, .15) 0%, rgba(20, 22, 26, .88) 72%); }
.hs-tile:hover, .hs-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.hs-tile:hover img { transform: scale(1.05); }
.hs-body { display: block; padding: 16px 18px; }
.hs-body strong { display: flex; align-items: center; gap: 8px; font: 700 1.15rem var(--font-head); color: #fff; }
.hs-body strong::after { content: "→"; color: var(--sun); transition: transform .2s; }
.hs-tile:hover .hs-body strong::after { transform: translateX(4px); }
.hs-body small { display: block; margin-top: 4px; color: #d5d8dd; font-size: .88rem; line-height: 1.35; }
@media (max-width: 1000px) { .hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero-grid { row-gap: 28px; padding-bottom: 8px; }
  .hero-services { order: 2; }
  .hero-media { order: 3; }
  .hs-tile { min-height: 118px; }
  .hs-body { padding: 12px 14px; }
  .hs-body strong { font-size: 1.02rem; }
  .hero-badges { margin-top: 24px; }
}
.service-card { overflow: hidden; }
@media (max-width: 900px) { .hero-mosaic { margin: 0 0 40px; gap: 10px; } .hero-mosaic img:nth-child(2), .hero-mosaic img:nth-child(4) { transform: translateY(20px); } .hero-badge { left: 8px; } }
.kit-visual { background: #e8f6ff; border-bottom: 1px solid var(--line); }
.kit-visual img { width: 100%; aspect-ratio: 560 / 340; display: block; }
/* Cena w stylu ulotki: przed dotacją -> dotacja -> cena końcowa */
.kit-price { background: #fff; border: 1px solid var(--line); }
.kit-price .row:first-child b { font-size: 1.05rem; }
.kit-price .minus { font-weight: 600; }
.kit-price .total { flex-direction: column; align-items: flex-start; gap: 2px; border-top: 2px dashed #e8d9b0; }
.kit-price .total span { font: 700 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: #9a6b00; }
.kit-price .total b { font: 800 2rem/1.1 var(--font-head); color: #b07a00; }
.kit--featured .kit-price .total b { color: #c58a00; }
/* Zdjęcie zestawu z etykietami */
.kit-visual { position: relative; background: #eef3f6; }
.kit-visual img { aspect-ratio: 460 / 486; object-fit: cover; }
.kv-badge { position: absolute; font: 700 1rem/1 var(--font-head); padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(15, 23, 42, .25); }
.kv-pv { top: 14px; left: 14px; background: var(--ink); color: var(--sun); }
.kv-bat { left: 14px; bottom: 44px; background: var(--sun); color: var(--ink); }
.kv-note { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; color: #4b5563; background: rgba(255, 255, 255, .85); padding: 3px 8px; border-radius: 6px; }

/* Okienko z formularzem zapytania o zestaw */
.modal { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); background: #fff; color: var(--text); }
.modal::backdrop { background: rgba(15, 17, 20, .62); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-form { padding: 30px 30px 24px; position: relative; gap: 14px; }
.modal-form .eyebrow { margin-bottom: 0; }
.modal-title { font-size: 1.45rem; margin: 0; padding-right: 40px; }
.modal-lead { margin: 0; color: var(--muted); font-size: .95rem; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--bg-soft); }
.modal-form .field textarea { min-height: 84px; }
.modal-form .btn { width: 100%; }
.modal-alt { margin: 0; text-align: center; font-size: .9rem; color: var(--muted); }
.modal-alt a { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .modal-form { padding: 24px 18px 18px; } }
.kit-price .sub { border-top: 1px solid var(--line); padding-top: 6px; color: var(--ink); font-weight: 600; }
.kit-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 32px; }
.kit-info .kit-notes { margin-top: 0; }
@media (max-width: 900px) { .kit-info { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f23' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
/* Kotwica "Gotowe zestawy": zatrzymanie tuż pod menu, nad napisem OFERTA */
#zestawy { scroll-margin-top: 0; }
.kit-spec { flex-wrap: wrap; row-gap: 0; }
.kit-spec strong { white-space: nowrap; font-size: clamp(1.45rem, 2.3vw, 2rem); }

/* Polityka prywatności */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.policy table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.policy th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }
.policy tr:last-child td { border-bottom: 0; }
.policy td:first-child { font-weight: 600; color: var(--ink); width: 42%; }
.policy h2 { scroll-margin-top: 100px; }
.consent a { color: inherit; text-decoration: underline; }

/* ===== Konfigurator klimatyzacji ===== */
.page-hero--compact { padding-bottom: 44px; }
.kf-section { padding-top: 40px; background: var(--bg-soft); }
.kf { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.kf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.kf-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.kf-step-title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin: 0 0 16px; }
.kf-step-title > span:first-child { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: .95rem; flex: none; }
.kf-hint { color: var(--muted); font-size: .92rem; margin: 8px 0 0; }
.kf-hint a { color: var(--ink); }
.kf-intro { margin: 0 0 14px; }
.kf-label { font: 600 .92rem var(--font-head); color: var(--ink); margin: 0 0 10px; }
.kf-choice, .kf-classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kf-choice { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kf-tile { position: relative; display: block; cursor: pointer; }
.kf-tile input { position: absolute; opacity: 0; inset: 0; }
.kf-tile > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; transition: border-color .15s, background-color .15s; }
.kf-tile strong { font: 600 1rem var(--font-head); color: var(--ink); }
.kf-tile small { color: var(--muted); font-size: .85rem; }
.kf-tile--sm > span { padding: 11px 14px; }
.kf-tile input:checked + span { border-color: var(--sun-600); background: var(--sun-50); }
.kf-tile input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255, 195, 66, .4); }
.kf-size { margin-bottom: 14px; }
.kf-size label { display: block; font: 600 .92rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.kf-size-input { display: inline-flex; align-items: center; gap: 8px; }
.kf-size-input input { width: 110px; font: inherit; font-size: 1.05rem; padding: 10px 12px; border: 1px solid #d5d2ca; border-radius: 12px; }
.kf-filters { display: grid; gap: 12px; margin-bottom: 8px; }
.kf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: 500 .9rem var(--font-body); color: var(--ink); cursor: pointer; }
.kf-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* marki jako logo */
.kf-chip--logo { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.kf-chip--logo:hover { border-color: #b9bec6; }
.kf-chip--logo[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--sun); box-shadow: 0 0 0 2px var(--sun) inset; }
.kf-chip-logo, .kf-brand { display: inline-flex; align-items: center; gap: 6px; }
.kf-chip-logo img { height: 20px; width: auto; max-width: 104px; object-fit: contain; display: block; }
.kf-chip-logo span, .kf-brand span { font: 600 .8rem var(--font-head); color: #0b419b; white-space: nowrap; }
.kf-brand img { height: 18px; width: auto; max-width: 110px; object-fit: contain; display: block; }
.kf-filter-row { display: flex; flex-wrap: wrap; gap: 12px; }
.kf-select { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.kf-select select { font: inherit; color: var(--ink); padding: 8px 12px; border: 1px solid #d5d2ca; border-radius: 10px; background: #fff; }
.kf-count { font-size: .88rem; color: var(--muted); margin: 6px 0 12px; }
.kf-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kf-product { display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.kf-product.is-selected { border-color: var(--sun-600); box-shadow: 0 6px 18px rgba(242, 169, 0, .18); background: #fffdf6; }
.kf-product-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 22px; }
.kf-brand { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--sun-600); }
.kf-type { font-size: .78rem; color: var(--muted); text-align: right; }
.kf-product h3 { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.kf-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 2px; }
.kf-more-link { font-size: .8rem; color: var(--muted); }
.kf-power { margin: 0; font-size: .88rem; color: var(--muted); }
.kf-variants { display: flex; flex-wrap: wrap; gap: 6px; }
.kf-var { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: .82rem; cursor: pointer; color: var(--ink); }
.kf-var[aria-pressed="true"] { border-color: var(--sun-600); background: var(--sun-50); font-weight: 600; }
.kf-product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 6px; }
.kf-product-foot small { display: block; font-size: .75rem; color: var(--muted); }
.kf-product-foot strong { font: 700 1.2rem var(--font-head); color: var(--ink); white-space: nowrap; }
.kf-empty, .kf-loading { grid-column: 1 / -1; color: var(--muted); }
.kf-more { grid-column: 1 / -1; justify-self: center; }
.kf-opts { display: grid; gap: 10px; }
.kf-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.kf-opt-text { display: flex; flex-direction: column; gap: 3px; }
.kf-opt-text strong { font: 600 .95rem var(--font-head); color: var(--ink); }
.kf-opt-text small { color: var(--muted); font-size: .84rem; }
.kf-opt--check { justify-content: flex-start; cursor: pointer; }
.kf-opt--check input { width: 20px; height: 20px; flex: none; accent-color: var(--sun-600); }
.kf-stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.kf-stepper button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #d5d2ca; background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.kf-stepper input { width: 56px; text-align: center; font: inherit; padding: 7px 4px; border: 1px solid #d5d2ca; border-radius: 10px; -moz-appearance: textfield; }
.kf-stepper input::-webkit-outer-spin-button, .kf-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kf-stepper span { font-size: .85rem; color: var(--muted); min-width: 24px; }
.kf-summary { position: sticky; top: 92px; display: grid; gap: 16px; }
.kf-summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.kf-summary-card h2 { font-size: 1.2rem; margin: 0 0 12px; }
.kf-sum-title { font: 700 1.05rem var(--font-head); color: var(--ink); margin: 0; }
.kf-sum-sub { color: var(--muted); font-size: .88rem; margin: 2px 0 10px; }
.kf-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.kf-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--text); }
.kf-lines li small { display: block; color: var(--muted); font-size: .8rem; }
.kf-lines li strong { white-space: nowrap; color: var(--ink); }
.kf-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--ink); }
.kf-total span { font: 600 .95rem var(--font-head); }
.kf-total strong { font: 700 1.6rem var(--font-head); color: var(--ink); }
.kf-total-alt { margin: 4px 0 0; font-size: .85rem; color: var(--muted); text-align: right; }
.kf-sum-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.kf-sum-head h2 { margin: 0; }
.kf-vat-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.kf-vat-toggle button { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font: 600 .82rem var(--font-body); color: var(--muted); cursor: pointer; }
.kf-vat-toggle button small { font-weight: 400; font-size: .72rem; }
.kf-vat-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.kf-more-filters { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kf-more-filters > summary { cursor: pointer; padding: 10px 14px; font: 600 .92rem var(--font-head); list-style: none; }
.kf-more-filters > summary::-webkit-details-marker { display: none; }
.kf-more-filters > summary::after { content: '+'; float: right; font-weight: 700; }
.kf-more-filters[open] > summary::after { content: '–'; }
.kf-more-body { display: grid; gap: 14px; padding: 4px 14px 14px; }
.kf-more-body .kf-label { margin: 0 0 6px; }
.kf-more-body > .btn { justify-self: start; }
.kf-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.kf-fchip { font-size: .85rem; padding: 6px 12px; }
.kf-vat { font-size: .78rem; color: var(--muted); margin: 6px 0 14px; }
.kf-actions { display: grid; gap: 8px; }
.kf-actions .btn { width: 100%; }
.kf-actions .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--ghost-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.kf-copied { font-size: .85rem; color: var(--green); margin: 8px 0 0; }
.kf-included { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.kf-included li { padding-left: 22px; position: relative; }
.kf-included li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.kf-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.kf-order[hidden] { display: none; }
.kf-order h3 { margin: 0; font-size: 1.1rem; }
.kf-order .field textarea { min-height: 90px; }
.kf-bar { display: none; }
.kf-print-head { display: none; }
@media (max-width: 979px) {
  .kf { grid-template-columns: 1fr; }
  .kf-summary { position: static; }
  .kf-step { padding: 18px; }
  .kf-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); }
  .kf-bar small { display: block; font-size: .75rem; color: #b8bcc3; }
  .kf-bar strong { font: 700 1.2rem var(--font-head); }
  body:has(.kf-bar:not([hidden])) .fab-call { bottom: 84px; }
  .kf-section { padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .kf-opt { flex-direction: column; align-items: stretch; }
  .kf-opt--check { flex-direction: row; align-items: flex-start; }
  .kf-stepper { align-self: flex-start; }
}
@media print {
  .kf-section { background: #fff; padding: 0; }
  .page-hero, .kf-main, .kf-actions, .kf-order, .kf-bar, .kf-copied, .kf-vat-toggle { display: none !important; }
  .kf-print-head { display: block !important; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #000; font-size: 11pt; }
  .kf { grid-template-columns: 1fr; }
  .kf-summary { position: static; order: -1; }
  .kf-summary-card { box-shadow: none; border: 0; padding: 0; }
  .kf-opt { break-inside: avoid; }
  .kf-stepper button { display: none; }
}

/* ===== Katalog klimatyzatorów ===== */
.kat-section { padding-top: 36px; background: var(--bg-soft); }
.kat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.kat-filters { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kat-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.kat-filters-head h2 { font-size: 1.05rem; margin: 0; }
.kat-reset, .kat-reset-inline { background: none; border: 0; color: var(--sun-600); font: 600 .85rem var(--font-head); cursor: pointer; padding: 4px; }
.kat-fs { border: 0; padding: 12px 0; margin: 0; border-top: 1px solid var(--line); }
.kat-fs legend { font: 600 .88rem var(--font-head); color: var(--ink); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.kat-opts { clear: both; display: grid; gap: 6px; }
.kat-opts label { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; cursor: pointer; color: var(--text); }
.kat-opts input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--sun-600); flex: none; }
.kat-opts small { color: var(--muted); }
.kat-swatches { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.kat-sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; width: 52px; }
.kat-sw input { position: absolute; opacity: 0; }
.kat-sw span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #cfccc4; box-shadow: inset 0 0 0 3px #fff; }
.kat-sw input:checked + span { outline: 3px solid var(--sun-600); outline-offset: 1px; }
.kat-sw input:focus-visible + span { outline: 3px solid var(--ink); }
.kat-sw small { font-size: .72rem; color: var(--muted); text-align: center; }
.kat-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.kat-count { margin: 0; color: var(--muted); font-size: .92rem; }
.kat-filters-btn { display: none; }
.kat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.kat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.kat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.kat-media { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.kat-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.kat-noimg { display: grid; place-items: center; height: 100%; color: #c9c5bb; }
.kat-noimg svg { width: 45%; }
.kat-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.kat-brand { margin: 0; font: 700 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-600); }
.kat-brand span { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.kat-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.kat-card h3 a { color: var(--ink); text-decoration: none; }
.kat-dots { display: flex; gap: 5px; }
.kat-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #cfccc4; }
.kat-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.kat-badges li { font-size: .74rem; background: #eef6f0; color: #23753a; border-radius: 6px; padding: 3px 7px; }
.kat-soon { margin: 0; font-size: .8rem; color: var(--muted); }
.kat-vars { display: grid; gap: 4px; margin-top: auto; padding-top: 4px; }
.kat-var { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--bg-soft); text-decoration: none; color: var(--text); font-size: .88rem; }
.kat-var strong { color: var(--ink); font: 700 .98rem var(--font-head); }
.kat-var:hover { background: var(--sun-50); }
.kat-actions { display: flex; gap: 8px; margin-top: 6px; }
.kat-actions .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
.kat-empty { grid-column: 1 / -1; color: var(--muted); }
.kat-note { font-size: .82rem; color: var(--muted); margin-top: 22px; }
@media (max-width: 899px) {
  .kat { grid-template-columns: 1fr; }
  .kat-filters { display: none; position: static; max-height: none; }
  .kat.filters-open .kat-filters { display: block; }
  .kat-filters-btn { display: inline-flex; }
}

/* Strona modelu */
.kp-section { padding-top: 36px; }
.kp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.kp-main-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.kp-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.kp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.kp-thumb { width: 76px; height: 58px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; cursor: pointer; }
.kp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.kp-thumb[aria-pressed="true"] { border-color: var(--sun-600); }
.kp-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.kp-brand { margin: 0; font: 700 .85rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sun-600); }
.kp-info h1 { margin: 4px 0 6px; color: var(--ink); }
.kp-type { color: var(--muted); margin: 0 0 18px; }
.kp-h { font-size: 1rem; margin: 0 0 10px; }
.kp-vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.kp-var { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; }
.kp-var strong { font: 700 1rem var(--font-head); color: var(--ink); }
.kp-var small { font-size: .78rem; color: var(--muted); }
.kp-var[aria-pressed="true"] { border-color: var(--sun-600); background: var(--sun-50); }
.kp-price { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 8px; padding: 16px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.kp-price small { display: block; color: #b8bcc3; font-size: .8rem; }
.kp-price strong { font: 700 1.7rem var(--font-head); }
.kp-small { font-size: .84rem; color: var(--muted); }
.kp-small a { color: var(--ink); }
.kp-features { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.kp-features li { padding-left: 24px; position: relative; }
.kp-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.kp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.kp-table th, .kp-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.kp-table thead th { background: var(--bg-soft); font-family: var(--font-head); }
.kp-table tbody th { font-weight: 500; color: var(--muted); }
.kp-table tr:last-child th, .kp-table tr:last-child td { border-bottom: 0; }
@media (max-width: 899px) { .kp { grid-template-columns: 1fr; gap: 24px; } }

/* Strona modelu – rozszerzony opis */
.kp-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 16px; font-size: .88rem; color: var(--muted); }
.kp-color { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.kp-color span { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #cfccc4; }
.kp-color.is-current { border-color: var(--sun-600); background: var(--sun-50); font-weight: 600; }
.kp-usp { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kp-usp li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font: 600 .9rem var(--font-head); color: var(--ink); line-height: 1.25; }
.kp-usp svg { width: 26px; height: 26px; flex: none; color: var(--sun-600); }
.kp-about { padding-top: 56px; padding-bottom: 56px; }
.kp-about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.kp-about h2 { margin: 0; }
.kp-about-text p { font-size: 1.04rem; color: var(--text); margin: 0 0 14px; }
.kp-about-text p:first-child { font-size: 1.12rem; color: var(--ink); }
.kp-fun { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.kp-fun-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s; }
.kp-fun-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kp-fun-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sun-50); color: #8a6100; margin-bottom: 14px; }
.kp-fun-ic svg { width: 30px; height: 30px; }
.kp-fun-card h3 { font-size: 1.04rem; margin: 0 0 6px; }
.kp-fun-card p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 899px) { .kp-about-grid { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 420px) { .kp-usp { grid-template-columns: 1fr; } }
.kp-table .kp-group th { background: var(--ink); color: #fff; font: 600 .86rem var(--font-head); letter-spacing: .02em; padding-top: 9px; padding-bottom: 9px; }
.kp-thumbs { gap: 6px; }
.kp-thumb { width: 70px; height: 52px; }

/* Ładowarki EV (11.2026) */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ev-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.ev-card h3 { font-size: 1.15rem; margin: 0 0 12px; }
.ev-card p { color: var(--muted); }
.ev-card .btn { margin-top: auto; align-self: flex-start; }
.ev-card--empty { grid-column: 1 / -1; max-width: 640px; }
.ev-moc { display: inline-block; align-self: flex-start; background: var(--sun); color: var(--ink); font: 700 .85rem var(--font-head); border-radius: 999px; padding: 4px 12px; margin: 0 0 12px; }
.ev-cena { margin: 0 0 18px; }
.ev-cena b { display: block; font: 700 1.6rem var(--font-head); color: var(--ink); }
.ev-cena span { font-size: .88rem; }
.ev-promo { display: flex; align-items: center; gap: 18px; margin-top: 28px; background: var(--ink); color: #c9ccd2; border-radius: var(--radius); padding: 20px 26px; text-decoration: none; transition: transform .2s; }
.ev-promo:hover { transform: translateY(-2px); }
.ev-promo-ikona { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.ev-promo-ikona svg { width: 24px; height: 24px; }
.ev-promo-tekst { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ev-promo-tekst strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.ev-promo-tekst b { color: var(--sun); white-space: nowrap; }
.ev-promo .link-arrow { color: var(--sun); white-space: nowrap; }
@media (max-width: 640px) { .ev-promo { flex-wrap: wrap; padding: 18px; } .ev-promo .link-arrow { width: 100%; } }

/* ===== Kalkulator fotowoltaiki (pvk) ===== */
.pvk-section { padding-top: 40px; }
.pvk { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.pvk-form { display: grid; gap: 18px; }
.pvk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.pvk-title { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin: 0 0 16px; }
.pvk-title span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: .95rem; }
.pvk-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.pvk-field > label, .pvk-field legend { display: block; font: 600 .95rem var(--font-head); color: var(--ink); margin-bottom: 8px; padding: 0; }
.pvk-input { display: flex; align-items: center; max-width: 280px; border: 1px solid #d5d9de; border-radius: 12px; background: #fff; overflow: hidden; }
.pvk-input:focus-within { border-color: var(--sun-600); box-shadow: 0 0 0 3px var(--sun-50); }
.pvk-input input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; font: 600 1.1rem var(--font-head); color: var(--ink); background: none; outline: none; }
.pvk-input span { padding: 0 14px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.pvk-range { width: 100%; max-width: 520px; margin-top: 12px; accent-color: var(--sun-600); }
.pvk-hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.pvk-intro { margin: -6px 0 14px; }
.pvk-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg-soft); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.pvk-seg label { cursor: pointer; }
.pvk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pvk-seg span { display: block; padding: 8px 14px; border-radius: 9px; font: 500 .9rem var(--font-body); color: var(--muted); }
.pvk-seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.pvk-seg input:focus-visible + span { outline: 2px solid var(--sun-600); }
.pvk-seg--sm { margin: 0; } .pvk-seg--sm span { padding: 6px 11px; font-size: .84rem; }
.pvk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pvk-tiles label, .pvk-check { cursor: pointer; }
.pvk-tiles input, .pvk-check input { position: absolute; opacity: 0; pointer-events: none; }
.pvk-tiles span { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.pvk-tiles strong, .pvk-check strong { display: block; font: 600 .95rem var(--font-head); color: var(--ink); }
.pvk-tiles small, .pvk-check small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.pvk-tiles input:checked + span { border-color: var(--sun-600); background: var(--sun-50); }
.pvk-tiles input:focus-visible + span, .pvk-check input:focus-visible + span { outline: 2px solid var(--sun-600); outline-offset: 2px; }
.pvk-dev { display: grid; gap: 10px; }
.pvk-check span { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px 12px 50px; transition: border-color .15s, background .15s; }
.pvk-check span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid #c3c9cf; border-radius: 6px; background: #fff; }
.pvk-check input:checked + span { border-color: var(--sun-600); background: var(--sun-50); }
.pvk-check input:checked + span::before { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc342' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.pvk-check--row { display: block; margin-bottom: 16px; }
.pvk-dev-opt { padding: 4px 0 6px 18px; border-left: 3px solid var(--sun); margin-left: 24px; }
.pvk-dev-opt label { display: block; font: 600 .88rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.pvk-field select { width: 100%; max-width: 360px; padding: 11px 12px; border: 1px solid #d5d9de; border-radius: 12px; font: 500 .95rem var(--font-body); background: #fff; color: var(--ink); }
.pvk-more { border-top: 1px solid var(--line); padding-top: 12px; }
.pvk-more summary { cursor: pointer; font: 600 .95rem var(--font-head); color: var(--ink); }
.pvk-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pvk-more-grid .pvk-field { margin: 0; }
.pvk-more-grid .pvk-field > label { font-size: .84rem; min-height: 2.6em; }

.pvk-wynik { position: sticky; top: 96px; }
.pvk-wynik-card { background: var(--ink); color: #d6d9de; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
.pvk-wynik-eyebrow { font: 700 .78rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin: 0 0 6px; }
.pvk-dobrany { font-size: .85rem; color: #aab0b8; margin: 0 0 10px; }
.pvk-wroc { background: none; border: 0; padding: 0; color: var(--sun); text-decoration: underline; cursor: pointer; font: inherit; }
.pvk-set-name { font: 600 1rem var(--font-head); color: #fff; margin: 0; }
.pvk-tag { display: inline-block; font-size: .72rem; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.pvk-set-spec { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 8px; color: #fff; }
.pvk-set-spec strong { font: 700 1.9rem var(--font-head); color: #fff; }
.pvk-set-spec span { color: var(--sun); font-weight: 700; }
.pvk-set-parts { list-style: none; padding: 0; margin: 0 0 12px; font-size: .82rem; color: #aab0b8; }
.pvk-wynik .kit-price { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; }
.pvk-wynik .kit-price .row { display: flex; justify-content: space-between; gap: 10px; margin: 4px 0; font-size: .88rem; color: #c9cdd3; }
.pvk-wynik .kit-price .row b { color: #fff; white-space: nowrap; }
.pvk-wynik .kit-price .minus b { color: #7fd99a; }
.pvk-wynik .kit-price .total { border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; margin-top: 8px; font-size: 1rem; }
.pvk-wynik .kit-price .total b { color: var(--sun); font: 700 1.2rem var(--font-head); }
.pvk-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.pvk-kpi > div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.pvk-kpi .pvk-kpi-wide { grid-column: 1 / -1; }
.pvk-kpi dt { font-size: .78rem; color: #aab0b8; }
.pvk-kpi dd { margin: 2px 0 0; font: 700 1.15rem var(--font-head); color: #fff; }
.pvk-kpi dd s { color: #8d949c; font-weight: 500; }
.pvk-kpi small { display: block; font: 400 .74rem var(--font-body); color: #8d949c; }
.pvk-actions { display: grid; gap: 8px; }
.pvk-actions .btn { width: 100%; justify-content: center; }
.pvk-wynik .btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.pvk-copied { font-size: .85rem; color: #7fd99a; margin: 8px 0 0; }

.pvk-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.pvk-head-row h2 { font-size: 1.35rem; margin: 0; }
.pvk-head-row .pvk-hint { margin: 0; }
.pvk-sets { margin-top: 44px; }
.pvk-sets-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pvk-set { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 14px 14px; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.pvk-set:hover { border-color: #c9ced4; transform: translateY(-2px); }
.pvk-set.is-active { border-color: var(--sun-600); box-shadow: 0 0 0 2px var(--sun) inset, var(--shadow); }
.pvk-set-badge { position: absolute; top: -10px; left: 12px; background: var(--sun); color: var(--ink); font: 700 .7rem var(--font-head); border-radius: 999px; padding: 3px 9px; }
.pvk-set-title { font: 600 .85rem var(--font-head); color: var(--muted); }
.pvk-set-spec2 { font: 700 1.05rem var(--font-head); color: var(--ink); margin-bottom: 4px; }
.pvk-set-row { display: flex; justify-content: space-between; gap: 6px; font-size: .8rem; color: var(--muted); }
.pvk-set-row b { color: var(--ink); white-space: nowrap; }
.pvk-set-cost { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }

.pvk-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.pvk-chart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.pvk-chart--wide { grid-column: 1 / -1; }
.pvk-svg svg { display: block; width: 100%; height: auto; }
.pvk-svg .g { stroke: #eceae5; stroke-width: 1; }
.pvk-svg .ax { font: 500 12px var(--font-body); fill: #7a8088; }
.pvk-svg .ax-soc { fill: #3d9fdb; }
.pvk-svg .ax-mark { font: 700 13px var(--font-head); fill: var(--ink); }
.pvk-svg .b-pv { fill: var(--sun); } .pvk-svg .b-bat { fill: #3d9fdb; } .pvk-svg .b-grid { fill: #c9ced4; }
.pvk-svg .l-prod { fill: none; stroke: #ef8434; stroke-width: 2.5; stroke-linejoin: round; }
.pvk-svg .d-prod { fill: #fff; stroke: #ef8434; stroke-width: 2.5; }
.pvk-svg .a-prod { fill: rgba(255, 195, 66, .35); }
.pvk-svg .l-load { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.pvk-svg .l-soc { fill: none; stroke: #3d9fdb; stroke-width: 2.5; stroke-dasharray: 6 4; }
.pvk-svg .a-save { fill: rgba(47, 158, 68, .12); }
.pvk-svg .l-save { fill: none; stroke: var(--green); stroke-width: 3; }
.pvk-svg .l-cost { stroke: #d0453a; stroke-width: 2; stroke-dasharray: 7 5; }
.pvk-svg .l-mark { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.pvk-svg .d-mark { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.pvk-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 10px 0 0; font-size: .84rem; color: var(--muted); }
.pvk-legend li { display: flex; align-items: center; gap: 7px; }
.pvk-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.pvk-legend .l-pv { background: var(--sun); } .pvk-legend .l-bat { background: #3d9fdb; } .pvk-legend .l-grid { background: #c9ced4; }
.pvk-legend .l-prod { height: 4px; border-radius: 2px; background: #ef8434; }
.pvk-legend .l-load { height: 3px; background: var(--ink); }
.pvk-legend .l-soc { height: 0; border-top: 3px dashed #3d9fdb; border-radius: 0; }
.pvk-legend .l-save { height: 4px; background: var(--green); }
.pvk-legend .l-cost { height: 0; border-top: 3px dashed #d0453a; border-radius: 0; }
.pvk-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.pvk-mini > div { background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; }
.pvk-mini dt { font-size: .74rem; color: var(--muted); }
.pvk-mini dd { margin: 0; font: 700 .98rem var(--font-head); color: var(--ink); }

.pvk-compare { margin-top: 36px; }
.pvk-compare h2 { font-size: 1.35rem; margin: 0 0 4px; }
.pvk-cmp { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pvk-cmp-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); align-items: center; font-size: .92rem; }
.pvk-cmp-row > span:not(:first-child) { display: flex; flex-direction: column; gap: 5px; }
.pvk-cmp-head { border-top: 0; background: var(--bg-soft); font: 600 .85rem var(--font-head); color: var(--muted); }
.pvk-pbar { display: block; height: 6px; border-radius: 3px; background: #eceae5; overflow: hidden; max-width: 160px; }
.pvk-pbar i { display: block; height: 100%; border-radius: 3px; }
.pvk-pbar.is-off i { background: #b9bec5; } .pvk-pbar.is-on i { background: var(--green); }

.pvk-order { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); max-width: 820px; }
.pvk-order h2 { font-size: 1.35rem; margin: 0 0 6px; }
.pvk-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 14px; }
.pvk-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pvk-how > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pvk-how h3 { font-size: 1.05rem; margin: 0 0 8px; }
.pvk-how p { color: var(--muted); font-size: .94rem; margin: 0; }
.kalk-promo { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--ink); color: #d6d9de; text-decoration: none; }
.kalk-promo strong { display: block; font: 600 1.05rem var(--font-head); color: #fff; }
.kalk-promo small { color: #aab0b8; }
.kalk-promo .ikona { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sun); color: var(--ink); }
.kalk-promo .ikona svg { width: 24px; height: 24px; }
.kalk-promo .link-arrow { margin-left: auto; color: var(--sun); white-space: nowrap; }

@media (max-width: 1100px) { .pvk { grid-template-columns: minmax(0, 1fr) 340px; } .pvk-sets-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pvk { grid-template-columns: 1fr; }
  .pvk-wynik { position: static; }
  .pvk-charts { grid-template-columns: 1fr; }
  .pvk-how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pvk-card { padding: 18px 16px; }
  .pvk-tiles { grid-template-columns: 1fr; }
  .pvk-more-grid { grid-template-columns: 1fr; }
  .pvk-more-grid .pvk-field > label { min-height: 0; }
  .pvk-sets-grid { grid-template-columns: 1fr 1fr; }
  .pvk-chart { padding: 16px 12px; }
  .pvk-cmp-row { grid-template-columns: 1fr 1fr; padding: 10px 12px; }
  .pvk-cmp-row > span:first-child { grid-column: 1 / -1; font-weight: 600; color: var(--ink); }
  .pvk-cmp-head > span:first-child { display: none; }
  .pvk-order { padding: 18px 16px; }
  .pvk-order-grid { grid-template-columns: 1fr; }
  .kalk-promo { flex-wrap: wrap; } .kalk-promo .link-arrow { margin-left: 62px; }
}
.pvk-uwaga { background: rgba(255, 195, 66, .14); border-left: 3px solid var(--sun); border-radius: 8px; padding: 8px 12px; font-size: .84rem; color: #f1e3bf; margin: 0 0 12px; }
@media (min-width: 901px) { .pvk-bar { display: none !important; } }
@media (max-width: 900px) { .pvk-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); } .pvk-bar small { display: block; font-size: .75rem; color: #b8bcc3; } .pvk-bar strong { font: 700 1.15rem var(--font-head); } body:has(.pvk-bar) .fab-call { bottom: 84px; } body:has(.pvk-bar) .site-footer { padding-bottom: 80px; } }
.pvk-order[hidden] { display: none; }
/* ===== Kalkulator pompy ciepła (pck – korzysta ze stylów pvk) ===== */
.pvk-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pvk-tiles--3x2 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.pvk-tiles--3x2 span { display: flex; flex-direction: column; justify-content: center; min-height: 56px; }
.pvk-opt { font-weight: 400; color: var(--muted); }
.pvk-svg .b-now { fill: var(--ink); } .pvk-svg .b-alt { fill: #c9ced4; } .pvk-svg .b-pc { fill: var(--sun); }
.pvk-svg .ax-row { font: 500 13px var(--font-body); fill: var(--text); }
.pvk-svg .ax-strong { font: 700 13px var(--font-head); fill: var(--ink); }
.pvk-svg .b-heat { fill: #f6c9a8; } .pvk-svg .b-el { fill: #3d9fdb; }
.pvk-svg .a-diff { fill: rgba(47, 158, 68, .12); }
.pvk-svg .l-cost2 { fill: none; stroke: var(--ink); stroke-width: 3; }
.pvk-legend .l-heat { background: #f6c9a8; } .pvk-legend .l-el { background: #3d9fdb; }
.pck-dot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.pck-dot > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.pck-dot strong { display: block; font: 600 1.05rem var(--font-head); color: var(--ink); margin-bottom: 6px; }
.pck-dot p { color: var(--muted); font-size: .94rem; margin: 0 0 10px; }
.pck-oferta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pck-model { cursor: default; }
@media (max-width: 1100px) { .pvk-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pvk-tiles--3x2 { grid-template-columns: 1fr 1fr; } .pvk-tiles--4 { grid-template-columns: 1fr 1fr; } .pck-dot, .pck-oferta-grid { grid-template-columns: 1fr; } }
/* ===== Pasek „Twoje wybory / dane” – widoczny po przewinięciu poniżej formularza ===== */
.sel-bar { position: fixed; left: 0; right: 0; top: 77px; z-index: 45; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(28, 31, 35, .08); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
.sel-bar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.sel-bar-in { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-top: 7px; padding-bottom: 7px; }
.sel-bar-lbl { flex: none; font: 600 .82rem var(--font-head); color: var(--muted); }
.sel-bar-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sel-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 10px; font: 500 .82rem var(--font-body); color: var(--ink); white-space: nowrap; }
button.sel-chip { cursor: pointer; }
button.sel-chip:hover { border-color: #c9ced4; }
.sel-chip b { font-size: 1rem; line-height: 1; color: var(--muted); }
.sel-chip i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.sel-chip--info { background: var(--bg-soft); border-color: transparent; }
.sel-chip--set { background: var(--sun-50); border-color: #f1d98f; font-weight: 600; }
.sel-count { font: 600 .82rem var(--font-head); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.sel-bar-btn { flex: none; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 .84rem var(--font-head); cursor: pointer; }
.sel-bar-btn:hover { background: var(--ink-2); }
@media (max-width: 1100px) { .sel-bar { top: 76px; } }
@media (max-width: 760px) {
  .sel-bar-lbl { display: none; }
  .sel-bar-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .sel-bar-chips::-webkit-scrollbar { display: none; }
  .sel-bar-in { gap: 8px; min-height: 48px; }
}
@media print { .sel-bar, .cmp-tray { display: none !important; } }

/* ===== Porównywarka klimatyzatorów ===== */
.kf-cmp-btn { align-self: flex-start; background: none; border: 1px dashed #c9ced4; border-radius: 999px; padding: 6px 12px; margin-top: 2px; font: 600 .82rem var(--font-head); color: var(--ink); cursor: pointer; }
.kf-cmp-btn:hover { border-color: var(--ink); }
.kf-cmp-btn.is-on { border-style: solid; border-color: #2f9e44; background: #eaf7ee; color: #1f7a34; }
.cmp-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 44; width: min(980px, calc(100% - 32px)); background: var(--ink); color: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.cmp-tray-in { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; }
.cmp-tray-lbl { flex: none; font: 700 .8rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.cmp-tray-list { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cmp-tray-list::-webkit-scrollbar { display: none; }
.cmp-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 4px 6px 4px 4px; font-size: .82rem; max-width: 240px; }
.cmp-pill img { width: 40px; height: 30px; object-fit: contain; background: #fff; border-radius: 6px; }
.cmp-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-pill small { color: #aab0b8; }
.cmp-pill button { border: 0; background: none; color: #aab0b8; font-size: 1.1rem; cursor: pointer; padding: 0 4px; }
.cmp-tray .btn:disabled { opacity: .55; cursor: default; }
.cmp-tray-clear { flex: none; border: 0; background: none; color: #aab0b8; font: 500 .82rem var(--font-body); cursor: pointer; text-decoration: underline; }
body.has-cmp .fab-call { bottom: 96px; }
@media (max-width: 979px) { body.has-cmp .cmp-tray { bottom: calc(12px + env(safe-area-inset-bottom)); } body.has-cmp:has(#kf-pasek:not([hidden])) .cmp-tray { bottom: calc(76px + env(safe-area-inset-bottom)); } body.has-cmp .fab-call { bottom: 92px; } body.has-cmp:has(#kf-pasek:not([hidden])) .fab-call { bottom: 156px; } }
@media (max-width: 640px) { .cmp-tray-lbl, .cmp-tray-clear { display: none; } .cmp-pill { max-width: 170px; } }
.cmp-dialog { width: min(1180px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cmp-dialog[open] { display: flex; flex-direction: column; }
.cmp-dialog::backdrop { background: rgba(20, 22, 26, .55); }
.cmp-dialog-head { position: relative; padding: 20px 64px 12px 24px; border-bottom: 1px solid var(--line); }
.cmp-dialog-head h2 { font-size: 1.35rem; margin: 0 0 4px; }
.cmp-dialog-head .kf-hint { margin: 0; }
.cmp-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cmp-scroll { overflow: auto; flex: 1; }
.cmp-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tbody th { position: sticky; left: 0; z-index: 1; background: #fff; font: 500 .86rem var(--font-body); color: var(--muted); width: 220px; min-width: 160px; }
.cmp-table thead th { position: sticky; top: 0; z-index: 2; background: #fff; vertical-align: bottom; border-bottom: 2px solid var(--line); }
.cmp-table thead th:not(.cmp-corner) { position: sticky; min-width: 180px; }
.cmp-table thead th img.cmp-img { display: block; width: 100%; max-width: 200px; height: 90px; object-fit: contain; margin-bottom: 8px; }
.cmp-table thead .kf-brand img { height: 18px; width: auto; max-width: 110px; }
.cmp-table thead th strong { display: block; font: 600 1rem var(--font-head); color: var(--ink); margin: 4px 0 6px; }
.cmp-table thead th select { padding: 6px 8px; border: 1px solid #d5d9de; border-radius: 8px; font: 500 .85rem var(--font-body); }
.cmp-table thead .cmp-corner { left: 0; z-index: 3; font: 500 .82rem var(--font-body); color: var(--muted); }
.cmp-table thead th:not(.cmp-corner) { position: sticky; }
.cmp-moc { font: 600 .85rem var(--font-head); color: var(--muted); }
.cmp-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); }
.cmp-table thead th { position: sticky; }
.cmp-table thead th:not(.cmp-corner) { padding-top: 14px; }
.cmp-group th { position: static !important; background: var(--bg-soft) !important; font: 700 .76rem var(--font-head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important; padding: 8px 14px !important; }
.cmp-table td.is-best { background: #eaf7ee; color: #1f7a34; font-weight: 600; }
.cmp-yes { color: #1f7a34; font-weight: 700; } .cmp-no { color: #b9bec5; }
.cmp-table td ul { margin: 0; padding-left: 16px; } .cmp-table td li { margin: 2px 0; }
.cmp-foot td { border-bottom: 0; } .cmp-foot td .btn { margin-bottom: 6px; } .cmp-foot td .kf-more-link { display: block; }
@media (max-width: 640px) { .cmp-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; } .cmp-table tbody th { width: 120px; min-width: 120px; font-size: .78rem; } .cmp-table thead th:not(.cmp-corner) { min-width: 150px; } }
/* ===== Konfigurator: filtry w przyklejonej kolumnie po lewej (komputer) ===== */
.kf-filters-title { display: none; }
@media (min-width: 1101px) {
  .kf { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
  .kf-browse { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 20px; align-items: start; }
  .kf-browse > .kf-filters { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 14px; background: var(--bg-soft); border-radius: 14px; gap: 14px; align-content: start; scrollbar-width: thin; }
  .kf-filters-title { display: block; margin: 0; font: 700 .78rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
  .kf-browse .kf-chips#kf-marki { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .kf-browse #kf-marki .kf-chip:first-child { grid-column: 1 / -1; }
  .kf-browse #kf-marki .kf-chip--logo { justify-content: center; padding: 6px 8px; min-height: 36px; }
  .kf-browse #kf-marki .kf-chip-logo img { height: 16px; max-width: 80px; }
  .kf-browse .kf-filter-row { flex-direction: column; gap: 10px; }
  .kf-browse .kf-filter-row .kf-select, .kf-browse .kf-filter-row select, .kf-browse .kf-fgroup select { width: 100%; }
  .kf-browse .kf-more-filters { margin-top: 0; border: 0; background: none; }
  .kf-browse .kf-more-filters > summary { display: none; }
  .kf-browse .kf-more-body { padding: 0; display: grid; gap: 14px; }
  .kf-browse #kf-funkcje { display: flex; flex-wrap: wrap; gap: 6px; }
  .kf-browse #kf-funkcje .kf-chip { font-size: .8rem; padding: 6px 10px; }
  .kf-browse .kf-products { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
  .kf-browse .kf-count { margin-top: 0; }
  /* przy filtrach z boku pasek „Twoje wybory” nie jest potrzebny */
  .kf-section .sel-bar { display: none; }
}
@media (min-width: 1101px) {
  .kf-browse > .kf-filters { overflow-x: hidden; }
  .kf-browse > .kf-filters > * { min-width: 0; }
  .kf-browse .kf-select { flex-direction: column; align-items: stretch; gap: 4px; font-size: .8rem; }
  .kf-browse .kf-select select { width: 100%; min-width: 0; padding: 7px 8px; font-size: .86rem; }
  .kf-browse .kf-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 2px; }
  .kf-browse .kat-sw { width: auto; }
  .kf-browse .kat-sw span { width: 26px; height: 26px; }
  .kf-browse .kat-sw small { font-size: .68rem; }
  .kf-browse #kf-marki .kf-chip--logo { min-width: 0; overflow: hidden; }
  .kf-browse #kf-marki .kf-chip-logo { min-width: 0; }
  .kf-browse #kf-marki .kf-chip-logo span { display: none; }
  .kf-browse .kf-label { margin: 0 0 6px; font-size: .8rem; }
  .kf-browse [data-reset] { width: 100%; justify-content: center; }
}
@media (min-width: 1101px) { .kf-browse #kf-marki .kf-chip-logo span { display: inline; font-size: .62rem; overflow: hidden; text-overflow: ellipsis; } .kf-browse #kf-marki .kf-chip-logo img[src*="fuji"] { height: 14px; } }
/* ===== Lista urządzeń: widok listy (jeden model w wierszu) i kafelków ===== */
.kf-results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.kf-results-head .kf-count { margin: 0; }
.kf-view { display: inline-flex; gap: 2px; background: var(--bg-soft); border-radius: 10px; padding: 3px; }
.kf-view button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; border-radius: 8px; padding: 6px 10px; font: 500 .82rem var(--font-body); color: var(--muted); cursor: pointer; }
.kf-view button svg { width: 16px; height: 16px; }
.kf-view button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.kf-p-img, .kf-p-main, .kf-p-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kf-p-side { margin-top: auto; }
.kf-p-img .kat-dots { justify-content: center; }
/* kafelki – jak dotychczas */
.kf-products.is-tiles .kf-only-list { display: none; }
.kf-products.is-tiles .kf-p-side .kf-product-foot { order: 0; }
/* lista */
.kf-products.is-list { grid-template-columns: 1fr !important; gap: 12px; }
.kf-products.is-list .kf-only-tile { display: none; }
.kf-products.is-list .kf-product { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 18px; align-items: stretch; padding: 16px 18px; }
.kf-products.is-list .kf-p-img { justify-content: center; }
.kf-products.is-list .kf-thumb { aspect-ratio: 4 / 3; }
.kf-products.is-list .kf-p-main { gap: 8px; }
.kf-products.is-list .kf-product h3 { font-size: 1.12rem; }
.kf-products.is-list .kf-p-side { margin: 0; border-left: 1px solid var(--line); padding-left: 18px; justify-content: center; gap: 10px; }
.kf-products.is-list .kf-product-foot { flex-direction: column; align-items: stretch; margin: 0; padding: 0; gap: 10px; }
.kf-products.is-list .kf-product-foot strong { font-size: 1.35rem; }
.kf-products.is-list .kf-pick { width: 100%; justify-content: center; }
.kf-products.is-list .kf-cmp-btn { align-self: stretch; text-align: center; }
.kf-products.is-list .kf-more-link { text-align: center; }
.kf-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 2px 0 0; }
.kf-spec > div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed #ebe8e1; padding-bottom: 4px; font-size: .84rem; }
.kf-spec dt { color: var(--muted); }
.kf-spec dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.kf-eclass { display: inline-block; background: #2f9e44; color: #fff; font: 700 .74rem var(--font-head); border-radius: 4px; padding: 1px 6px; }
.kf-eclass--g { background: #e8590c; }
@media (min-width: 1101px) and (max-width: 1280px) { .kf-products.is-list .kf-product { grid-template-columns: 140px minmax(0, 1fr) 170px; gap: 14px; } .kf-spec { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .kf-products.is-list .kf-product { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .kf-products.is-list .kf-p-side { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .kf-products.is-list .kf-product-foot { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .kf-products.is-list .kf-pick { width: auto; }
  .kf-products.is-list .kf-p-main .kf-only-list { grid-column: 1 / -1; }
  .kf-spec { grid-template-columns: 1fr; }
  .kf-view button span { display: none; }
}
/* lista – układ: zdjęcie | parametry, pod spodem cena i przyciski (mieści się obok filtrów i podsumowania) */
.kf-products.is-list .kf-product { grid-template-columns: 150px minmax(0, 1fr); grid-template-areas: "img main" "img side"; gap: 10px 18px; }
.kf-products.is-list .kf-p-img { grid-area: img; justify-content: flex-start; }
.kf-products.is-list .kf-p-main { grid-area: main; }
.kf-products.is-list .kf-p-side { grid-area: side; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.kf-products.is-list .kf-product-foot { flex-direction: row; align-items: center; gap: 14px; margin-right: auto; }
.kf-products.is-list .kf-pick { width: auto; }
.kf-products.is-list .kf-cmp-btn { align-self: center; margin: 0; }
.kf-products.is-list .kf-more-link { text-align: left; }
.kf-spec { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; }
@media (max-width: 760px) {
  .kf-products.is-list .kf-product { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img main" "spec spec" "side side"; }
  .kf-products.is-list .kf-p-side { display: flex; }
  .kf-products.is-list .kf-product-foot { width: 100%; justify-content: space-between; margin: 0; }
}
@media (min-width: 1101px) { .kf-section > .wrap { max-width: 1440px; } .kf-section .sel-bar .wrap { max-width: 1440px; } }
.kf-products.is-list .kf-spec { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 4px 20px; } @media (max-width: 760px) { .kf-products.is-list .kf-spec { grid-template-columns: 1fr !important; } }
.kf-products.is-list .kf-spec { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)) !important; gap: 6px !important; }
.kf-products.is-list .kf-spec > div { flex-direction: column; justify-content: flex-start; gap: 1px; border: 0; background: var(--bg-soft); border-radius: 8px; padding: 6px 9px; }
.kf-products.is-list .kf-spec dt { font-size: .72rem; }
.kf-products.is-list .kf-spec dd { text-align: left; white-space: normal; font-size: .86rem; line-height: 1.3; }
.kf-products.is-list .kf-power { display: none; }
@media (max-width: 760px) { .kf-products.is-list .kf-spec { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 760px) {
  .kf-products.is-list .kf-product { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: none; gap: 8px 12px; }
  .kf-products.is-list .kf-p-img { grid-area: auto; grid-column: 1; grid-row: 1 / span 2; }
  .kf-products.is-list .kf-p-main { display: contents; }
  .kf-products.is-list .kf-p-main > * { grid-column: 2; }
  .kf-products.is-list .kf-p-main > .kf-only-list, .kf-products.is-list .kf-p-main > .kat-badges, .kf-products.is-list .kf-p-main > .kf-variants { grid-column: 1 / -1; }
  .kf-products.is-list .kf-p-side { grid-area: auto; grid-column: 1 / -1; }
  .kf-products.is-list .kf-product h3 { align-self: start; }
}
