/* ==========================================================================
   drukarnia-wielkoformatowa.pl — szablon — style.css  (v4)
   Szerokości jak na fototapeta24.pl: treść max 1816px (+40px marginesu),
   szerokie powierzchnie (hero, stopka) max 1944px, promień 22px.
   Kolorystyka: baza czarno-biało-szara. CMYK tylko jako sygnatura
   (znaczek w górnym pasku, pasek kontrolny w hero), magenta wyłącznie
   do linii wymiarowych i licznika koszyka, zieleń tylko na odznace ECOLOGO.
   Font: Geist + Geist Mono.
   ========================================================================== */
@import url('fonts.css');

:root{
  /* CMYK — używane oszczędnie, patrz nagłówek pliku */
  --c: #00A0E3;
  --m: #E5007D;
  --y: #FFE500;
  --k: #111214;
  --m-text: #C8006D;     /* magenta do tekstu (wymiary) — kontrast AA */
  --eco: #8FD400;        /* tylko odznaki UL ECOLOGO */

  --bg: #F3F4F6;
  --paper: #FFFFFF;
  --paper-soft: #F7F8F9;
  --line: #E4E6EA;
  --line-soft: #EDEFF2;
  --line-strong: #C9CED6;
  --muted: #5D636B;
  --muted-2: #8E949C;
  --ink-soft: #2E3238;
  --ph: #D9DDE3;
  --on-dark: #C3C8CF;
  --dark-line: #2A2D32;

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 22px;          /* = --radius-lg z fototapeta24.pl */
  --wrap: 1816px;        /* = .container z fototapeta24.pl */
  --wide: 1944px;        /* = hero/stopka z fototapeta24.pl */
  --gutter: 40px;

  --shadow-sm: 0 1px 2px rgba(17,18,20,.06), 0 8px 20px rgba(17,18,20,.05);
  --shadow-md: 0 12px 28px rgba(17,18,20,.10);
  --shadow-lg: 0 30px 60px rgba(17,18,20,.16);
}
@media (max-width: 1080px){ :root{ --gutter: 20px; } }
@media (max-width: 720px){ :root{ --gutter: 16px; --r-lg: 16px; } }
@media (prefers-reduced-motion: reduce){ *,*::before,*::after{ transition:none!important; animation:none!important; } }

/* ---------- baza ---------- */
*,*::before,*::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{ -webkit-text-size-adjust: 100%; }
body{ margin: 0; font-family: var(--font); color: var(--k); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img{ max-width: 100%; display: block; }
a{ color: var(--k); text-decoration: none; }
a:hover{ color: var(--ink-soft); }
h1,h2,h3,h4{ margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h1{ letter-spacing: -.04em; }
p{ margin: 0; }
b, strong{ font-weight: 700; }
button,input,select,textarea{ font: inherit; color: inherit; }
button{ cursor: pointer; }
:focus-visible{ outline: 2px solid var(--k); outline-offset: 2px; }
.sr-only{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap{ width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono{ font-family: var(--mono); }
.skip-link{ position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--k); color: #fff; padding: 10px 14px; font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus{ top: 8px; color: #fff; }

/* sygnatura CMYK */
.swatch-row{ display: inline-flex; flex: 0 0 auto; }
.swatch-row span{ width: 10px; height: 10px; }
.swatch-row span:nth-child(1){ background: var(--c); }
.swatch-row span:nth-child(2){ background: var(--m); }
.swatch-row span:nth-child(3){ background: var(--y); }
.swatch-row span:nth-child(4){ background: #fff; }
.swatch-row--bar{ border: 1px solid var(--k); }
.swatch-row--bar span{ width: 20px; height: 14px; }
.swatch-row--bar span:nth-child(4){ background: var(--k); }

/* ---------- przyciski ---------- */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: var(--r); border: 1.5px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.1; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn--k{ background: var(--k); color: #fff; }
.btn--k:hover{ background: #2A2D32; color: #fff; }
.btn--light{ background: #fff; color: var(--k); }
.btn--light:hover{ background: var(--bg); color: var(--k); }
.btn--outline{ border-color: var(--line-strong); background: var(--paper); color: var(--k); }
.btn--outline:hover{ border-color: var(--k); }
.btn:disabled{ opacity: .45; cursor: not-allowed; }
.icon-btn{ position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r); display: grid; place-items: center; color: var(--k); }
.icon-btn:hover{ background: var(--bg); }
.badge-count{ position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--m); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.link-underline{ font-weight: 700; font-size: 15px; border-bottom: 1.5px solid var(--k); padding-bottom: 2px; }

/* etykieta sekcji — szara, monospace */
.kicker{ font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kicker--on-dark{ color: var(--muted-2); }

.section{ padding-top: 72px; }
.section--tight{ padding-top: 22px; }
.section-head{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.section-head h2{ font-size: clamp(30px, 3vw, 40px); margin-top: 6px; }

/* placeholder zdjęcia */
.ph{ background: var(--ph); color: #7A818B; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; padding: 12px; }
.ph svg{ width: 52px; height: 42px; }

.panel{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.panel--lg{ border-radius: var(--r-lg); }

/* ==========================================================================
   NAGŁÓWEK
   ========================================================================== */
.topbar{ background: var(--k); color: #fff; font-size: 13px; font-weight: 600; }
.topbar__in{ display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar__usp{ display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--on-dark); }
.topbar__right{ display: flex; gap: 20px; align-items: center; color: var(--on-dark); }
.topbar a{ color: #fff; font-weight: 700; }
@media (max-width: 720px){ .topbar__usp span:last-child{ display: none; } }

.site-header{ background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main{ display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.logo{ display: flex; align-items: center; gap: 2px; font-weight: 900; font-size: 25px; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.logo__box{ background: var(--k); color: #fff; padding: 6px 9px 5px; border-radius: var(--r-sm); }
.logo:hover{ color: var(--k); }
.logo--light{ font-size: 22px; }
.logo--light .logo__box{ background: #fff; color: var(--k); }
.logo--light .logo__rest{ color: #fff; }

.products-btn{ display: flex; gap: 10px; align-items: center; background: var(--k); color: #fff; border: 0; border-radius: 8px; padding: 12px 16px; font-weight: 700; font-size: 15px; margin-left: 12px; }
.products-btn[aria-expanded="true"]{ background: #2A2D32; }
.search{ flex: 1 1 320px; max-width: 760px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 0 14px; min-height: 46px; background: var(--paper-soft); color: var(--muted); transition: border-color .15s; }
.search:focus-within{ border-color: var(--k); background: var(--paper); }
.search input{ flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--k); }
.header-actions{ display: flex; gap: 4px; align-items: center; margin-left: auto; }
.quote-link{ display: flex; flex-direction: column; padding: 6px 14px; font-size: 12px; color: var(--muted); line-height: 1.2; }
.quote-link b{ font-size: 15px; color: var(--k); }

.cat-nav{ border-top: 1px solid var(--line-soft); }
.cat-nav__list{ display: flex; gap: 30px; list-style: none; margin: 0 auto; font-weight: 600; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
.cat-nav__list::-webkit-scrollbar{ display: none; }
.cat-nav__list a{ display: block; padding: 12px 0 10px; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--ink-soft); }
.cat-nav__list a:hover{ color: var(--k); }
.cat-nav__list a[aria-current="page"], .cat-nav__list a.is-active{ border-bottom-color: var(--k); color: var(--k); font-weight: 700; }
.cat-nav__promo{ margin-left: auto; }

/* mega menu */
.mega{ position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
.mega__grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.mega__col h3{ font-size: 16px; margin-bottom: 10px; }
.mega__col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.mega__col ul a{ color: var(--ink-soft); }
.mega__col ul a:hover{ color: var(--k); text-decoration: underline; }
@media (max-width: 900px){ .mega__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 900px){
  .quote-link{ display: none; }
  .search{ order: 5; flex-basis: 100%; max-width: none; }
}
@media (max-width: 720px){
  .header-main{ gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .logo{ font-size: 19px; }
  .products-btn{ padding: 11px 12px; margin-left: 0; }
  .products-btn span{ display: none; }
}

/* ==========================================================================
   HERO — szeroki panel (max 1944px), zaokrąglony jak slider na fototapecie
   ========================================================================== */
.grid-paper{ background-color: var(--paper); background-image: linear-gradient(#F0F1F3 1px, transparent 1px), linear-gradient(90deg, #F0F1F3 1px, transparent 1px); background-size: 24px 24px; }
.hero{ max-width: var(--wide); margin: 0 auto; padding: 20px 20px 0; }
.hero__panel{ border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.hero__in{ display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero__copy{ flex: 1 1 560px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1{ font-size: clamp(42px, 5vw, 76px); line-height: 1; }
.hero__lead{ font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 620px; }
.hero__alt{ display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; color: var(--muted); }
.hero__alt a{ text-decoration: underline; text-underline-offset: 4px; }
.hero__alt b{ color: var(--k); }
@media (max-width: 720px){ .hero{ padding: 12px 8px 0; } .hero__in{ padding-top: 36px; padding-bottom: 40px; gap: 32px; } }

/* szybki kalkulator */
.quick{ max-width: 760px; background: var(--paper); border: 1.5px solid var(--k); border-radius: 12px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; box-shadow: var(--shadow-md); }
.quick__f{ flex: 1 1 90px; display: flex; flex-direction: column; padding: 6px 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; min-width: 0; }
.quick__f + .quick__f{ border-left: 1px solid var(--line); }
.quick__f--wide{ flex: 2 1 200px; }
.quick__f select, .quick__f input{ border: 0; outline: 0; background: transparent; padding: 2px 0; font-size: 18px; font-weight: 600; color: var(--k); letter-spacing: 0; min-width: 0; text-transform: none; }
.quick__f select{ font-family: var(--font); font-weight: 700; font-size: 17px; }
.quick__f input{ font-family: var(--mono); }
.quick .btn{ flex: 1 1 160px; }
@media (max-width: 560px){ .quick__f + .quick__f{ border-left: 0; } .quick__f{ flex-basis: 40%; } }

/* arkusz ze znacznikami cięcia */
.sheet-wrap{ flex: 1 1 640px; display: flex; justify-content: center; min-width: 0; }
.sheet{ position: relative; padding: 48px 56px 72px 44px; width: 100%; max-width: 820px; }
.dim{ display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--m-text); }
.dim::before, .dim::after{ content: ""; flex: 1; border-top: 1.5px solid var(--m); }
.dim--h{ position: absolute; top: 8px; left: 44px; right: 56px; }
.dim--v{ position: absolute; top: 48px; bottom: 72px; right: 12px; flex-direction: column; }
.dim--v::before, .dim--v::after{ border-top: 0; border-left: 1.5px solid var(--m); }
.dim--v span{ writing-mode: vertical-rl; }
.sheet__art{ position: relative; aspect-ratio: 3 / 2; box-shadow: var(--shadow-lg); }
.sheet__art .ph, .sheet__art img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__eco{ position: absolute; top: 16px; left: 16px; background: var(--eco); color: var(--k); border-radius: 8px; padding: 8px 10px; font-weight: 800; font-size: 12px; line-height: 1.1; text-align: center; }
.sheet__bar{ position: absolute; left: 44px; bottom: 28px; }
.sheet__note{ position: absolute; right: 56px; bottom: 28px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); }

/* znaczniki cięcia — element z klasą .crop + 8× <i> */
.crop{ position: relative; }
.crop > i{ position: absolute; display: block; pointer-events: none; z-index: 1; }
.crop > i:nth-of-type(1){ top: -22px; left: 0; height: 16px; border-left: 1px solid var(--k); }
.crop > i:nth-of-type(2){ left: -22px; top: 0; width: 16px; border-top: 1px solid var(--k); }
.crop > i:nth-of-type(3){ top: -22px; right: 0; height: 16px; border-left: 1px solid var(--k); }
.crop > i:nth-of-type(4){ right: -22px; top: 0; width: 16px; border-top: 1px solid var(--k); }
.crop > i:nth-of-type(5){ bottom: -22px; left: 0; height: 16px; border-left: 1px solid var(--k); }
.crop > i:nth-of-type(6){ left: -22px; bottom: 0; width: 16px; border-top: 1px solid var(--k); }
.crop > i:nth-of-type(7){ bottom: -22px; right: 0; height: 16px; border-left: 1px solid var(--k); }
.crop > i:nth-of-type(8){ right: -22px; bottom: 0; width: 16px; border-top: 1px solid var(--k); }
@media (max-width: 720px){ .sheet{ padding: 40px 34px 60px 26px; } .dim--h{ left: 26px; right: 34px; } .sheet__bar{ left: 26px; } .sheet__note{ right: 34px; } }

/* pas zaufania */
.trust{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; list-style: none; margin: 0; }
.trust li{ display: flex; gap: 14px; align-items: center; font-weight: 700; font-size: 15px; }
.trust svg{ flex: 0 0 auto; }
@media (max-width: 1080px){ .trust{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .trust{ grid-template-columns: 1fr; padding: 18px 20px; } }

/* ==========================================================================
   KARTY
   ========================================================================== */
.cards{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 22px; }
.cards--home{ grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.card:hover{ color: var(--k); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.card__img{ position: relative; aspect-ratio: 16 / 10; }
.card__img .ph, .card__img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__badge{ position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--k); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--r-sm); }
.card__badge--eco{ background: var(--eco); color: var(--k); }
.card__body{ padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3{ font-size: 21px; line-height: 1.2; }
.card__sub{ font-size: 14px; color: var(--muted); line-height: 1.45; }
.card__tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag{ font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 4px 8px; border-radius: 4px; background: var(--bg); color: var(--ink-soft); text-transform: uppercase; }
.card__foot{ margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card__price{ font-family: var(--mono); font-size: 14px; font-weight: 600; }
.card__price small{ font-family: var(--font); font-size: 12px; color: var(--muted); font-weight: 400; }
.card__cta{ font-weight: 700; font-size: 14px; }

/* ==========================================================================
   KROKI (ciemna sekcja)
   ========================================================================== */
.steps{ background: var(--k); color: #fff; border-radius: var(--r-lg); padding: 44px 48px; display: flex; flex-direction: column; gap: 32px; }
.steps .section-head{ margin: 0; }
.steps h2{ color: #fff; font-size: clamp(30px, 3vw, 44px); margin-top: 8px; }
.steps__list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* Jedyna sekcja z pełnymi kolorami CMYK: kolor kroku z inline --step (C, M, Y, biały) */
.steps__list li{ border-top: 4px solid var(--step, #3A3D42); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps__num{ font-family: var(--mono); font-weight: 600; font-size: 32px; line-height: 1; color: var(--step-text, var(--step, #fff)); }
.kicker--on-dark.kicker--m{ color: #F280BE; display: flex; gap: 8px; align-items: center; }
.kicker--on-dark.kicker--m::before{ content: ""; width: 12px; height: 12px; background: var(--m); }
.btn--y{ background: var(--y); color: var(--k); }
.btn--y:hover{ background: #F2D900; color: var(--k); }
.steps__list b{ font-size: 19px; }
.steps__list span:last-child{ color: var(--on-dark); font-size: 15px; }
@media (max-width: 1080px){ .steps__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .steps{ padding: 28px 20px; } .steps__list{ grid-template-columns: 1fr; } }

/* pas B2B */
.b2b{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.b2b__copy{ flex: 1 1 520px; display: flex; flex-direction: column; gap: 8px; }
.b2b__copy h2{ font-size: clamp(24px, 2.4vw, 32px); }
.b2b__copy p{ color: var(--ink-soft); font-size: 16px; }
.b2b__actions{ display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.b2b__phone{ font-family: var(--mono); font-weight: 600; font-size: 18px; }
@media (max-width: 560px){ .b2b{ padding: 24px 20px; } }

/* ==========================================================================
   STOPKA — max 1944px, zaokrąglona u góry jak na fototapeta24.pl
   ========================================================================== */
.site-footer{ max-width: var(--wide); margin: 80px auto 0; background: var(--k); color: var(--on-dark); font-size: 14px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.site-footer a{ color: var(--on-dark); }
.site-footer a:hover{ color: #fff; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 28px; }
.footer-col{ display: flex; flex-direction: column; gap: 9px; }
.footer-col p{ line-height: 1.6; max-width: 300px; margin-top: 6px; }
.footer-col b{ color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col .mono{ color: #fff; }
.footer-bar{ border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: var(--muted-2); }
.footer-bar nav{ display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bar a{ color: var(--muted-2); }
.pay{ font-weight: 700; color: #fff; font-size: 15px; display: flex; gap: 16px; }
@media (max-width: 1080px){ .footer-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } }

/* ==========================================================================
   PODSTRONY — wspólne
   ========================================================================== */
.crumbs{ font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 22px; }
.crumbs a{ color: var(--muted); }
.crumbs a:hover{ color: var(--k); }
.crumbs [aria-current]{ color: var(--k); }

/* nagłówek kategorii */
.cat-hero{ margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-wrap: wrap; }
.cat-hero__copy{ flex: 1 1 640px; padding: 44px 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.cat-hero h1{ font-size: clamp(38px, 4vw, 60px); line-height: 1; }
.cat-hero p{ color: var(--ink-soft); font-size: 18px; max-width: 620px; line-height: 1.55; }
.cat-hero__img{ flex: 1 1 560px; min-height: 320px; position: relative; }
.cat-hero__img .ph, .cat-hero__img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px){ .cat-hero__copy{ padding: 28px 20px; } .cat-hero__img{ min-height: 200px; } }
.chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip{ padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--k); font-weight: 600; font-size: 14px; }
.chip:hover{ border-color: var(--k); }
.chip[aria-pressed="true"]{ background: var(--k); border-color: var(--k); color: #fff; }

.listing{ margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.filters{ flex: 0 0 300px; padding: 24px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px){ .filters{ flex: 1 1 100%; } }
.filters fieldset{ border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.filters legend{ font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.check{ display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; cursor: pointer; }
.check input{ width: 18px; height: 18px; accent-color: var(--k); }
.help-box{ background: var(--bg); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.help-box b{ font-size: 15px; }
.help-box a{ font-family: var(--mono); font-weight: 600; }
.listing__main{ flex: 1 1 800px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.listing__bar{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.select{ padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); font-weight: 500; }
.empty{ padding: 28px; text-align: center; color: var(--muted); }

.table-box{ overflow-x: auto; }
.spec-table{ width: 100%; min-width: 620px; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.spec-table th{ text-align: left; padding: 10px 12px; border-bottom: 1.5px solid var(--k); font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.spec-table td{ padding: 12px; border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child td{ border-bottom: 0; }
.spec-table td:first-child{ font-family: var(--font); font-weight: 700; font-size: 15px; }
.prose{ max-width: 900px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.prose h2{ font-size: 26px; color: var(--k); }

/* ==========================================================================
   PRODUKT — konfigurator (monochromatyczny)
   ========================================================================== */
.product{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.product__main{ flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product__title{ display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.product__title h1{ font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
.pill{ font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--k); color: #fff; }
.pill--eco{ background: var(--eco); color: var(--k); }

.preview{ position: relative; height: 620px; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.preview__label{ position: absolute; top: 18px; left: 20px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.preview__stage{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.preview__row{ display: flex; align-items: center; gap: 14px; }
.preview__dim-w{ font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--m-text); display: flex; align-items: center; gap: 8px; }
.preview__dim-w::before, .preview__dim-w::after{ content: ""; flex: 1; border-top: 1.5px solid var(--m); }
.preview__dim-h{ font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--m-text); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.preview__dim-h::before, .preview__dim-h::after{ content: ""; flex: 1; border-left: 1.5px solid var(--m); }
.preview__dim-h span{ writing-mode: vertical-rl; }
.preview__foot{ position: absolute; left: 20px; bottom: 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.banner{ position: relative; background: var(--ph); box-shadow: 0 16px 34px rgba(17,18,20,.14); }
.banner .ph{ position: absolute; inset: 0; background: transparent; color: var(--muted); }
.banner img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__weld{ position: absolute; inset: 6px; border: 1.5px dashed var(--k); }
.banner__tunnel{ position: absolute; left: 0; right: 0; height: 14px; background: var(--on-dark); }
.banner__tunnel--t{ top: 0; border-bottom: 1.5px dashed var(--k); }
.banner__tunnel--b{ bottom: 0; border-top: 1.5px dashed var(--k); }
.banner__eyelets{ position: absolute; inset: 9px; }
.eyelet{ position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; border: 3px solid var(--k); }
@media (max-width: 720px){ .preview{ height: 380px; } }

.features{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.features li{ background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }

.tabs [role="tablist"]{ display: flex; flex-wrap: wrap; gap: 0 26px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.tabs [role="tab"]{ border: 0; background: transparent; padding: 14px 0 12px; border-bottom: 2px solid transparent; font-weight: 500; font-size: 15px; color: var(--muted); }
.tabs [role="tab"]:hover{ color: var(--k); }
.tabs [role="tab"][aria-selected="true"]{ border-bottom-color: var(--k); color: var(--k); font-weight: 700; }
.tabs [role="tabpanel"]{ padding: 22px 24px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); display: grid; gap: 10px; }

.config{ flex: 0 1 520px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 12px 28px rgba(17,18,20,.06); position: sticky; top: 140px; }
@media (max-width: 1080px){ .config{ position: static; flex: 1 1 100%; } }
.config__head{ padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.config__head h2{ font-size: 20px; }
.vat-toggle{ display: flex; background: var(--bg); border-radius: 999px; padding: 3px; }
.vat-toggle button{ border: 0; border-radius: 999px; padding: 6px 12px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.vat-toggle button[aria-pressed="true"]{ background: var(--paper); color: var(--k); box-shadow: 0 1px 3px rgba(17,18,20,.16); }
.config__body{ padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 22px; }
.step{ border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step__title{ display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 15px; padding: 0; }
.step__num{ font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted-2); }
.opts{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt{ text-align: left; border-radius: var(--r); padding: 11px 13px; border: 1.5px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background-color .15s; }
.opt:hover{ border-color: var(--line-strong); }
.opt[aria-pressed="true"]{ border-color: var(--k); background: var(--bg); }
.opt b{ font-size: 14px; font-weight: 600; }
.opt small{ font-size: 12px; color: var(--muted); }
.opt small.mono{ font-size: 11px; }
.dims{ display: flex; gap: 10px; align-items: flex-end; }
.dims label{ flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.dims input{ font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--k); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r); min-width: 0; outline: 0; }
.dims input:focus{ border-color: var(--k); }
.dims__x{ font-size: 18px; padding-bottom: 12px; color: var(--muted-2); }
.presets{ display: flex; flex-wrap: wrap; gap: 6px; }
.presets button{ font-family: var(--mono); font-size: 12px; font-weight: 500; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 11px; color: var(--ink-soft); }
.presets button:hover{ border-color: var(--k); color: var(--k); }
.hint{ font-size: 13px; color: var(--muted); }
.hint:empty{ display: none; }
.hint--err{ color: var(--m-text); font-weight: 600; }
.row-2{ display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.row-2 > .step:first-child{ flex: 1 1 220px; }
.qty{ display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); }
.qty button{ width: 44px; height: 44px; border: 0; background: transparent; font-size: 18px; }
.qty input{ width: 40px; border: 0; text-align: center; font-family: var(--mono); font-weight: 600; font-size: 16px; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0; }
.upload{ position: relative; display: flex; gap: 12px; align-items: center; border: 1.5px dashed var(--line-strong); background: var(--paper-soft); border-radius: 12px; padding: 13px 14px; font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s; }
.upload:hover, .upload.is-dragover{ border-color: var(--k); }
.upload input{ position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__ic{ width: 38px; height: 38px; flex: 0 0 auto; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.upload small{ display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.upload small.hint--err{ color: var(--m-text); font-weight: 600; }
.config__sum{ border-top: 1px solid var(--line); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; background: #FAFAFB; }
.config__spec{ font-size: 13px; color: var(--muted); line-height: 1.5; }
.price{ display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__val{ font-weight: 700; font-size: 42px; line-height: 1; letter-spacing: -.03em; }
.price__vat{ font-size: 14px; font-weight: 500; color: var(--muted); }
.config__buy{ display: flex; gap: 8px; margin-top: 4px; }
.config__buy .btn--k{ flex: 1; min-height: 54px; }
.square-btn{ width: 54px; height: 54px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; flex: 0 0 auto; }
.square-btn:hover{ border-color: var(--k); }

/* toast */
.toast{ position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--k); color: #fff; padding: 14px 20px; border-radius: var(--r); font-weight: 600; box-shadow: var(--shadow-md); transition: opacity .2s, transform .2s; z-index: 200; }
.toast.is-on{ opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   WYCENA
   ========================================================================== */
.quote{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.quote__aside{ flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.quote__aside h1{ font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; }
.quote__aside ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.quote__aside li{ display: flex; gap: 12px; }
.quote__aside li::before{ content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--k); }
.contact-box{ padding: 20px; display: grid; gap: 4px; }
.contact-box .mono{ font-weight: 600; font-size: 22px; }
.form{ flex: 2 1 640px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-radius: var(--r-lg); }
@media (max-width: 560px){ .form{ grid-template-columns: 1fr; padding: 20px; } }
.form .full{ grid-column: 1 / -1; }
.field{ display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea{ font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); min-width: 0; outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--k); }
.field textarea{ resize: vertical; }
.consent{ display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.consent input{ margin-top: 3px; accent-color: var(--k); }
.form__ok{ grid-column: 1 / -1; background: var(--bg); border-left: 4px solid var(--k); padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
