/* site.css - style strony dmuchance.pro.
   Wdrozenie projektu Claude Design "AK Service strona v02" (13.09.2026):
   strona glowna, kategorie, produkty, serwis, kontakt i koszyk.

   Zmieniamy WYLACZNIE wyglad. Nazwy klas sa kontraktem: uzywaja ich szablony,
   generator i trzy skrypty (search.js, filters.js, inquiry.js), wiec zadna nie
   znika ani nie zmienia znaczenia. Klasy z projektu (.phero, .crumbs, .kcard,
   .sidebar, .svc, .info, .cart-grid...) doszly obok nich.

   Rytm pionowy z projektu: odstepy miedzy blokami = --strip (64 px); naglowek
   sekcji siedzi WEWNATRZ tej przerwy, dosuniety do dolu. Sekcje nie maja
   wlasnych paddingow - odstep robi naglowek albo margines bloku.

   Paleta granatowo-zolta pochodzi z projektu (decyzja zamawiajacego). Znak
   firmowy zostaje magentowo-turkusowy zgodnie z ksiega znaku - jest jedynym
   elementem w tych barwach i celowo nie jest przekolorowany.

   Tokeny marki z theme.css zostaja nietkniete; tutaj nadpisujemy te, ktore
   niosa wyglad tej strony. Zrodlem prawdy systemu projektowego dalej jest
   docs/design-system/tokens/. */

/* ---------- Tokeny ---------- */

:root {
  /* Paleta projektu: granat #012F5A, zolty #F5C518, tekst #14213D, tlo strony
     #F3F6FA (cala strona jest jasnoszara, karty sa biale), link #1E5FBF. */
  --color-bg: #f3f6fa;
  --color-bg-soft: #f3f6fa;
  --color-surface: #ffffff;
  --color-text: #14213d;
  --color-body: #4b5563;
  --color-text-muted: #6b7280;
  --color-primary: #1e5fbf;
  --color-primary-hover: #184e9e;
  --color-primary-soft: #eaf2fb;
  --color-accent: #f5c518;
  --color-accent-hover: #e0b10a;
  --color-border: #e3e8f0;
  --color-dark: #012f5a;
  --color-dark-700: #0a3f74;
  --color-dark-900: #01224a;
  /* Tlo pod zdjeciem, zanim obraz sie wczyta. */
  --color-media: #e9eef5;
  --color-success: #1e9e4a;

  --gray-0: #ffffff;
  --gray-50: #f3f6fa;
  --gray-100: #eef2f7;
  --gray-200: #e3e8f0;
  --gray-300: #c6d2e2;
  --gray-400: #91a2b8;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #2c405c;
  --gray-800: #10365f;
  --gray-900: #14213d;

  /* Promienie z projektu: karty 10 px, wieksze bloki 14 px, przyciski 8 px. */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* Kontener z projektu: 1060 px z odstepem 24 px (16 px na telefonie). */
  --container: 1060px;
  --container-pad: 24px;
  /* Wysokosc pasow i odstepow z projektu. */
  --strip: 64px;
  --strip-m: 26px;

  --shadow-card: 0 1px 2px rgba(15, 45, 92, .04);
  --shadow-hover: 0 2px 6px rgba(15, 45, 92, .06), 0 10px 28px rgba(15, 45, 92, .08);
  --focus-ring: 0 0 0 3px rgba(30, 95, 191, .35);

  --ease: cubic-bezier(.2, 0, 0, 1);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sora: var(--font-display);
}

body {
  background: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--color-text); }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
svg { flex: none; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------- Uklad ---------- */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* Sekcje nie maja paddingu - rytm robi naglowek (64 px) i marginesy blokow. */
.section { padding: 0; }
.section--dark { background: var(--color-dark); color: #fff; }

/* Naglowek sekcji: 64 px wysokosci, tekst dosuniety do dolu. Odmiany z projektu:
   --stack (sam naglowek), --split (naglowek + przycisk / link po prawej). */
.section-head,
.strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  height: var(--strip);
  padding-bottom: 10px;
}
.section-head h2,
.strip-head h2 {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.section-head--stack { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; padding-bottom: 8px; }
.section-head--split { padding-bottom: 8px; }
.section-head--split .eyebrow { margin-bottom: 2px; }
.section-head--lg h2 { font-size: 24px; }
.section-head .btn { margin-bottom: 2px; }
.more,
.strip-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.more svg, .strip-head__link svg { width: 16px; height: 16px; }

/* ---------- Typografia ---------- */

.eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow--yellow { color: var(--color-accent); }
.eyebrow--light { color: rgba(255, 255, 255, .8); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--color-dark);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.lead { max-width: 62ch; margin: 10px 0 0; color: var(--color-body); font-size: 15px; line-height: 1.5; }
.section-intro { max-width: 62ch; margin: 8px 0 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* Okruszki: jasne na granatowym hero, ciemne (--dark) na jasnym tle. */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }
.crumbs span { color: #fff; font-weight: 600; }
.crumbs--dark, .crumbs--dark a { color: var(--color-text-muted); }
.crumbs--dark a:hover { color: var(--color-primary); }
.crumbs--dark span { color: var(--color-text); }
.breadcrumb { margin: 0 0 16px; color: var(--color-text-muted); font-size: 14px; }
.breadcrumb a { color: var(--color-text-muted); }

/* ---------- Logo ---------- */

/* Znak z pliku: assets/img/logo/logo.webp, w barwach ksiegi - nie przebarwiany.
   Atrybuty width/height trzymaja proporcje 398:118, wiec naglowek nie skacze. */
.site-logo { display: inline-flex; flex: none; align-items: center; line-height: 1; }
.site-logo:hover { text-decoration: none; }
/* Znak z 13.09 (logo.webp q90, 1248x179; logo.png dla danych strukturalnych): przy 40 px ma ok. 279 px szerokosci (13.09: -10% na dyspozycje wlasciciela). */
.site-logo img { display: block; width: auto; height: 46px; }

/* ---------- Naglowek (projekt v02) ---------- */

/* Cienki granatowy pasek: telefon, e-mail, jezyk. Nie jest przyklejony -
   przykleja sie dopiero belka menu pod nim. */
.topbar-band { background: var(--color-dark); color: #fff; }
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  height: 30px;
  font-size: 12.5px;
  font-weight: 600;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; }
.lang a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-surface); }
.mainbar-band { background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); }
.mainbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  height: var(--strip);
}

.site-nav { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
/* :not(.btn) - bez tego szare tlo najechanej pozycji menu nadpisaloby zolty
   przycisk "Zapytaj o oferte" (ta sama nawigacja, wyzsza specyficznosc). */
.site-nav a:not(.btn):not(.iconbtn),
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav a:not(.btn):not(.iconbtn):hover,
.site-nav__trigger:hover { background: var(--color-bg); color: var(--color-text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.site-nav__trigger svg { width: 14px; height: 14px; opacity: .7; transition: transform 160ms var(--ease); }
.site-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .btn { margin-left: 8px; }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
}
.iconbtn:hover { background: var(--color-bg); color: var(--color-dark); text-decoration: none; }
.iconbtn svg { width: 18px; height: 18px; }

/* Koszyk: ikona z zoltym licznikiem. Odnosnik pokazuje sie dopiero, gdy
   wystartuje inquiry.js (koszyk zyje w przegladarce). */
.cartbtn { position: relative; }
.cartbtn[hidden] { display: none; }
.site-nav .cartbtn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
}
.cart-count:empty { display: none; }

.nav-toggle span { display: inline-flex; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* Pasek telefonu i dolny pasek skrotow istnieja tylko ponizej 960 px. */
.mobilebar,
.tabbar { display: none; }


/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 120ms var(--ease), border-color 120ms var(--ease),
              color 120ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--xs { min-height: 32px; padding: 0 12px; gap: 8px; font-size: 12.5px; }
.btn--xs svg { width: 13px; height: 13px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--color-accent); color: var(--color-dark); }
.btn--primary:hover { background: var(--color-accent-hover); color: var(--color-dark); }
.btn--secondary { background: var(--color-primary); color: #fff; }
.btn--secondary:hover { background: var(--color-primary-hover); color: #fff; }
.btn--outline { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
.btn--outline:hover { background: var(--color-bg); color: var(--color-text); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn--inverse { background: #fff; color: var(--color-text); }
.btn--inverse:hover { background: var(--color-bg); color: var(--color-text); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.circle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: transform 200ms var(--ease);
}
.circle--navy { border: 1.5px solid var(--color-dark); color: var(--color-dark); }
.circle--yellow { background: var(--color-accent); color: var(--color-dark); }
.circle--navy-fill { background: var(--color-dark); color: #fff; }
.circle--lg { width: 46px; height: 46px; }
.circle--lg svg { width: 18px; height: 18px; }

/* ---------- Hero strony glownej ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--color-dark-900) 0%, var(--color-dark) 45%, var(--color-dark-700) 100%);
  color: #fff;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  height: 300px;
}
.hero__copy { position: relative; z-index: 2; max-width: 520px; }
.hero__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__title {
  margin: 12px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.25vw, 38px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero__lead { margin: 12px 0 0; max-width: 440px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; margin-top: 22px; }
.hero .btn, .phero .btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
/* Zdjecia hero (13.09) sa komponowane na cala szerokosc z granatowym
   przejsciem po lewej, wiec obraz idzie pod caly pas, a gradient CSS tylko
   dociemnia lewa strone pod tekstem. */
.hero__media { position: absolute; inset: 0; z-index: 1; }
/* --focus na .hero__media / .phero__media ustawia kadr per strona (pas jest
   duzo nizszy niz zdjecie, wiec pokazujemy gorna czesc atrakcji, nie sam srodek). */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 60% 30%); }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--color-dark-900) 0%, rgba(1, 34, 74, .82) 22%, rgba(1, 34, 74, .35) 42%, rgba(1, 34, 74, 0) 58%);
}

/* ---------- Hero podstron (projekt: .phero) ---------- */

.phero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--color-dark-900) 0%, var(--color-dark) 45%, var(--color-dark-700) 100%);
  color: #fff;
}
.phero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 210px;
}
.phero--tall .wrap { height: 250px; }
.phero__media { position: absolute; inset: 0; z-index: 1; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 60% 28%); }
.phero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--color-dark-900) 0%, rgba(1, 34, 74, .85) 28%, rgba(1, 34, 74, .4) 50%, rgba(1, 34, 74, 0) 65%);
}
.phero h1 {
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.phero p { margin: 10px 0 0; max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; }
.phero .hero__actions { margin-top: 20px; }
/* Landing swiateczny: tekst hero tylko nad granatowa czescia zdjecia (produkty w prawych 40%). */
.phero--xmas p { max-width: 440px; }

/* Naglowek strony bez zdjecia (koszyk, szukaj): bialy pas z okruszkami. */
.cart-head { background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); }
.cart-head .wrap { padding-top: 22px; padding-bottom: 22px; }
.cart-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 14px; }
.cart-title h1 {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.cart-title p { margin: 8px 0 0; max-width: 640px; color: var(--color-body); font-size: 14px; }
.stepper { display: flex; gap: 18px; margin: 0; padding: 4px 0 0; list-style: none; font-size: 12.5px; color: var(--color-text-muted); white-space: nowrap; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  font-size: 12px;
  font-weight: 700;
}
.stepper .on { color: var(--color-text); font-weight: 700; }
.stepper .on span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---------- Pasek zalet ---------- */

.features { background: var(--color-surface); box-shadow: 0 1px 0 var(--color-border); }
.features .wrap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-inline: 0; }
.features .wrap:has(.feature:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features .wrap:has(.feature:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--strip);
  padding: 0 18px;
  border-left: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.feature:first-child { border-left: 0; }
.feature svg { width: 26px; height: 26px; color: var(--color-dark); }
/* Pod koszykiem pasek stoi tuz nad stopka, bez odstepu. */
.cart + .features { margin-top: 0; }

/* ---------- Strona glowna: kategorie i produkty ---------- */

.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.cat:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--color-text); text-decoration: none; }
.cat__media { height: 98px; overflow: hidden; background: var(--color-media); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease); }
.cat:hover .cat__media img { transform: scale(1.04); }
/* Nazwy naszych galezi sa dluzsze niz atrapy z projektu ("Dmuchance do
   skakania"), wiec wiersz moze urosnac do dwoch linii zamiast ucinac tekst. */
.cat__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 4px 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}
.cat__name { min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cat .circle { width: 24px; height: 24px; }
.cat .circle svg { width: 12px; height: 12px; }

.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.prod {
  display: flex;
  flex-direction: column;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.prod:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--color-text); text-decoration: none; }
/* Bez bialej ramki (dyspozycja 13.09): zdjecia z generacji wypelniaja kafel
   po brzegi - odstep 4% z projektu byl pod wycinane PNG na bialym tle. */
.prod__media { flex: 1; min-height: 0; display: flex; overflow: hidden; background: var(--color-media); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease); }
.prod:hover .prod__media img { transform: scale(1.04); }
.prod__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px 10px; border-top: 1px solid var(--color-border); }
.prod__text { min-width: 0; }
.prod__name {
  margin: 0;
  overflow: hidden;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -.01em;
  /* Jedna linia (dyspozycja 13.09): krotkie nazwy z home.json, dluzsze
     konczy wielokropek; pelna nazwa jest w title kafla. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod__dims { margin: 2px 0 0; overflow: hidden; color: var(--color-text-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
.prod .circle { width: 28px; height: 28px; }
.prod .circle svg { width: 13px; height: 13px; }

.promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  height: 190px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  color: #fff;
}
.promo > * { position: relative; z-index: 1; }
.promo img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(3px); }
.promo__title { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: -.02em; }
.promo__text { margin: 8px 0 0; color: rgba(255, 255, 255, .85); font-size: 11.5px; line-height: 1.4; }
.promo .btn { align-self: flex-start; }

/* ---------- Pas "dla kogo" ---------- */

.audience-band { margin-top: var(--strip); background: var(--color-dark); color: #fff; }
.audience-band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 0; }
.aud {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--strip);
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.aud:first-child { border-left: 0; }
.aud svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Strona glowna: "dlaczego my" ---------- */

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pillar { padding: 26px 26px 30px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.pillar svg { width: 32px; height: 32px; color: var(--color-primary); }
.pillar h3 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; color: var(--color-text); }
.pillar p { margin: 8px 0 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }

/* ---------- Strona glowna: serwis i czesci (projekt: .svc) ---------- */

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 180px;
  padding: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.svc:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); text-decoration: none; }
.svc__body { position: relative; z-index: 1; flex: 1; max-width: 400px; }
.svc h3 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -.025em; }
.svc__text { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.svc .circle { position: relative; z-index: 1; align-self: flex-end; }
.svc--dark { background: var(--color-dark); color: #fff; }
.svc--dark h3 { color: #fff; }
.svc--dark .svc__text { color: rgba(255, 255, 255, .85); }
.svc__bg { position: absolute; right: 50px; top: 50%; width: 130px; height: 130px; transform: translateY(-50%); color: rgba(255, 255, 255, .08); }
.svc__bg svg { width: 100%; height: 100%; }
.svc--light { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); }
.svc--light .svc__text { color: var(--color-text-muted); }
/* Nasze zdjecia katalogowe pokazuja produkt na srodku kadru (w projekcie byl
   wykadrowany PNG), wiec obraz jest mniejszy i siedzi blizej prawej krawedzi,
   a tekst konczy sie wczesniej - inaczej naglowek chowalby sie za zdjeciem. */
.svc--light .svc__body { max-width: 330px; }
.svc__img {
  position: absolute;
  right: 40px;
  top: 50%;
  width: 170px;
  max-width: 36%;
  height: 130px;
  object-fit: contain;
  transform: translateY(-52%);
  /* Zdjecia katalogowe maja biale tlo (projekt mial PNG z przezroczystoscia):
     mnozenie chowa biel na bialej karcie, wiec zostaje sam produkt. */
  mix-blend-mode: multiply;
}

/* ---------- Strona glowna: blok kontaktu (projekt: .cta) ---------- */

.cta-block {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .7fr);
  gap: 40px;
  align-items: center;
  margin-top: var(--strip);
  padding: 40px 48px;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  color: #fff;
}
.cta-block h2 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -.025em; }
.cta-block__lead { margin: 18px 0 0; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.5; }
.cta-block .btn { margin-top: 24px; }
.cta-block__bg { position: absolute; right: 48px; top: 50%; width: 160px; height: 160px; transform: translateY(-50%); color: rgba(255, 255, 255, .08); }
.cta-block__bg svg { width: 100%; height: 100%; }

.contact-cards { position: relative; z-index: 1; display: grid; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
}
.contact-card__avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 800;
}
.contact-card__avatar--alt { background: var(--color-primary); color: #fff; }
.contact-card__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.contact-card__name { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.contact-card__reach { display: flex; flex-direction: column; gap: 3px; text-align: right; font-size: 14px; }
.contact-card__reach a { color: #fff; }
.contact-card__reach a:hover { color: var(--color-accent); }
.contact-card__reach .tel { font-weight: 700; }

/* ---------- Katalog: kategorie i produkty (projekt: .catalog) ---------- */

/* Odstep pod paskiem zalet 15 px (dyspozycja 13.09), nie caly --strip. */
.catalog-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-top: 15px; padding-bottom: var(--strip); }
.sidebar {
  position: sticky;
  top: calc(var(--strip) + 16px);
  align-self: start;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.sidebar h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: var(--color-dark); }
.sidebar h4 { margin: 18px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-text); }
.sidebar .btn--block { margin-top: 18px; }
.flist { display: flex; flex-direction: column; gap: 2px; }
.flist a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 600;
}
.flist a span { color: var(--color-text-muted); font-size: 12px; font-weight: 600; }
.flist a:hover { background: var(--color-bg); text-decoration: none; }
.flist a.on { background: var(--color-primary); color: #fff; }
.flist a.on span { color: rgba(255, 255, 255, .85); }
.flist__child { padding-left: 22px !important; font-weight: 500 !important; }

.results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.results-head h2, .results-head h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.025em; color: var(--color-dark); }
.results-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--color-text-muted); }
.tools { display: flex; align-items: center; gap: 10px; }
.select,
.filters-bar__sort select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.tools .btn--outline { min-height: 40px; padding: 0 14px; font-size: 13.5px; }

.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.kcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.kcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--color-text); text-decoration: none; }
.kcard__media { aspect-ratio: 1.65; overflow: hidden; background: var(--color-media); }
.kcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease); }
.kcard:hover .kcard__media img { transform: scale(1.04); }
.kcard__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.kcard h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--color-text); }
.kcard p { margin: 2px 0 0; font-size: 12.5px; color: var(--color-text-muted); }

.help {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.help__icon { width: 40px; height: 40px; color: var(--color-primary); }
.help__icon svg { width: 100%; height: 100%; }
.help > div { flex: 1; }
.help h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--color-text); }
.help p { margin: 4px 0 0; font-size: 14px; color: var(--color-text-muted); }
.help--strip { margin-top: var(--strip); }

/* Karta produktu na listach (projekt: .pcard). Klasy `.product-card*` sa
   kontraktem - rysuje je generator i filters.js. */
.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--color-text); text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1.2; display: flex; overflow: hidden; background: var(--color-media); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex: 1; padding: 12px 12px 12px 14px; }
.product-card__text { min-width: 0; }
.product-card__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.25; letter-spacing: -.01em; color: var(--color-text); }
.product-card__dims { margin: 3px 0 0; color: var(--color-text-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.product-card__price { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--color-dark); }
.product-card__price span { color: var(--color-text-muted); font-size: 11.5px; font-weight: 600; }
.product-card__scope { margin: 2px 0 0; color: var(--color-text); font-size: 11.5px; font-weight: 600; }
.product-card__meta { margin: 4px 0 0; color: var(--color-text-muted); font-size: 11.5px; }
.product-card .circle { width: 30px; height: 30px; }
.product-card .circle svg { width: 14px; height: 14px; }

.showcase__note { margin: 20px 0 0; color: var(--color-text-muted); font-size: 13px; }

/* Pasek rodzenstwa kategorii: na szerokim ekranie zastepuje go panel boczny,
   na telefonie zostaje jako jedyna nawigacja po kategoriach. */
.chips { display: none; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.chip:hover { border-color: var(--color-primary); color: var(--color-text); text-decoration: none; }
.chip span { color: var(--color-text-muted); font-size: 12px; }
.chip--active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.chip--active:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }
.chip--active span { color: rgba(255, 255, 255, .7); }

/* Filtry (filters.js). Panel rozwija sie pod naglowkiem wynikow. */
.filters-bar { display: contents; }
.filters-bar__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--color-text-muted); }
.filters-bar__count:not(:empty) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 2px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
}
.filters-panel { margin-top: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.filters-panel[hidden] { display: none; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; padding: 18px 20px; }
.filters__group { margin: 0; padding: 0; border: 0; }
.filters__group legend { padding: 0 0 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--color-text); }
.filters__option { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13.5px; cursor: pointer; }
.filters__option input { width: 16px; height: 16px; margin: 0; accent-color: var(--color-primary); }
.filters__option span { margin-left: auto; color: var(--color-text-muted); font-size: 12px; }
.filters-panel__foot { display: none; }
.filters-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.filters-summary:empty { display: none; }
.filters__active, .filters__clear {
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.filters__active:hover { border-color: var(--color-primary); }
.filters__clear { border-color: var(--color-text); background: var(--color-text); color: #fff; }
.filters__empty { grid-column: 1 / -1; margin: 0; padding: 48px 0; color: var(--color-text-muted); text-align: center; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.pager .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.pager__count { color: var(--color-text-muted); font-size: 13.5px; }
.pager__off { opacity: .45; cursor: default; }
#filters-pager:empty { display: none; }

/* ---------- Strona produktu ---------- */

.product { padding: 20px 0 var(--strip); }
.product-layout { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 20px; }
.product__info {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.product__info .eyebrow { margin-bottom: 8px; }
@media (min-width: 960px) { .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }

/* align-content: start - prawa kolumna jest duzo wyzsza, wiec bez tego wiersz
   z miniaturami rozciaga sie na reszte wysokosci. */
.gallery { display: grid; gap: 12px; align-content: start; align-self: start; }
.gallery__r { position: absolute; opacity: 0; pointer-events: none; }
.gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
/* Zdjecia leza jedno na drugim, wiec bez `visibility` ostatnie z nich zostaje
   na wierzchu i to ono trafia do "Otworz grafike w nowej karcie" - niezaleznie
   od tego, ktore widac (zgloszenie wlasciciela 21.09). Ukryte zdjecie wypada
   tez z odczytu dla czytnikow ekranu. Zwloka 200 ms przy chowaniu trzyma je
   widoczne przez caly czas zanikania, a `pointer-events` pilnuje, zeby przez
   te 200 ms zanikajace zdjecie juz nic nie lapalo. */
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px; object-fit: contain; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms var(--ease), visibility 0s linear 200ms; }
.gallery__thumbs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.gallery__thumb { display: block; width: 74px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); cursor: pointer; }
.gallery__thumb img { display: block; width: 100%; height: 52px; object-fit: contain; }
.gallery__thumb:hover { border-color: var(--color-primary); }

/* Galeria dziala bez JavaScriptu - wybor zdjecia trzymaja ukryte radia. */
.gallery__r:nth-of-type(1):checked ~ .gallery__stage .gallery__img:nth-of-type(1),
.gallery__r:nth-of-type(2):checked ~ .gallery__stage .gallery__img:nth-of-type(2),
.gallery__r:nth-of-type(3):checked ~ .gallery__stage .gallery__img:nth-of-type(3),
.gallery__r:nth-of-type(4):checked ~ .gallery__stage .gallery__img:nth-of-type(4),
.gallery__r:nth-of-type(5):checked ~ .gallery__stage .gallery__img:nth-of-type(5),
.gallery__r:nth-of-type(6):checked ~ .gallery__stage .gallery__img:nth-of-type(6),
.gallery__r:nth-of-type(7):checked ~ .gallery__stage .gallery__img:nth-of-type(7),
.gallery__r:nth-of-type(8):checked ~ .gallery__stage .gallery__img:nth-of-type(8) { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.gallery__r:nth-of-type(1):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(1),
.gallery__r:nth-of-type(2):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(2),
.gallery__r:nth-of-type(3):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(3),
.gallery__r:nth-of-type(4):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(4),
.gallery__r:nth-of-type(5):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(5),
.gallery__r:nth-of-type(6):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(6),
.gallery__r:nth-of-type(7):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(7),
.gallery__r:nth-of-type(8):checked ~ .gallery__thumbs .gallery__thumb:nth-of-type(8) { border-color: var(--color-primary); border-width: 2px; }
.gallery__r:nth-of-type(1):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(1),
.gallery__r:nth-of-type(2):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(2),
.gallery__r:nth-of-type(3):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(3),
.gallery__r:nth-of-type(4):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(4),
.gallery__r:nth-of-type(5):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(5),
.gallery__r:nth-of-type(6):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(6),
.gallery__r:nth-of-type(7):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(7),
.gallery__r:nth-of-type(8):focus-visible ~ .gallery__thumbs .gallery__thumb:nth-of-type(8) { box-shadow: var(--focus-ring); }

.price { margin: 16px 0 0; }
.price__amount { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--color-dark); }
.price__note { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: 13px; }
.price__scope { display: block; margin: 8px 0 4px; padding-left: 10px; border-left: 3px solid var(--color-border); color: var(--color-text); font-size: 13.5px; font-weight: 600; }

.spec-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.spec-table th { width: 46%; color: var(--color-text-muted); font-weight: 500; }
.spec-table td { color: var(--color-text); font-weight: 600; }

.users, .configurator { margin-top: 28px; }
.users__head { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--color-text); }
.users__notice { margin: 12px 0 0; color: var(--color-text-muted); font-size: 13.5px; }
.users__module th { background: var(--color-bg); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.configurator__note { margin: 0 0 14px; color: var(--color-text-muted); font-size: 13.5px; }
.options { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.options legend { padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.options__hint { margin: 0 0 8px; color: var(--color-text); font-size: 13.5px; font-weight: 600; }
.option { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; cursor: pointer; }
.option input { accent-color: var(--color-primary); }
.option__name { flex: 1; }
.option__qty { color: var(--color-text-muted); font-size: 13.5px; white-space: nowrap; }

/* Poprawki importera 13.09: propozycje akcesoriow dostawcy (bez checkboxow),
   pelny opis z redakcji i uwaga w koszyku przy wyborze, ktory przestal byc
   czescia konfiguracji produktu. */
.recs { margin: 0 0 14px; padding: 12px 16px; border: 1px dashed var(--color-border); border-radius: var(--radius-md); }
.recs__head { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--color-text); }
.recs__list { margin: 0; padding-left: 18px; font-size: 14px; }
.recs__list li { padding: 3px 0; }
.product-description { margin-top: 28px; font-size: 14.5px; line-height: 1.6; color: var(--color-text); }
.product-description p { margin: 0 0 10px; }
.product-description ul { margin: 0 0 10px; padding-left: 18px; }
.cprod__review { margin-top: 6px; padding: 6px 10px; border-left: 3px solid var(--color-accent); background: var(--color-bg-soft); font-size: 13px; line-height: 1.45; list-style: none; }
.cprod__review a { font-weight: 600; }

.add-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 22px; }
.add-row[hidden] { display: none; }
/* Pole ilosci i "Dodaj do koszyka" w linii, ktora sie nie lamie - przycisk stoi
   zawsze po prawej od pola (dyspozycja wlasciciela 14.09). Pole miesci dwie cyfry,
   a podpis stoi nad nim, wiec w kolumnie produktu (444 px) obok staje jeszcze
   "Idz do koszyka". Ten pokazuje sie dopiero po dodaniu i stoi za "Dodaj", wiec
   nie przesuwa go; gdzie miejsca brak (telefon), schodzi do nastepnej linii.
   Komunikat "Dodano do koszyka" ma osobna linie. */
.add-row__main { display: inline-flex; flex-wrap: nowrap; align-items: flex-end; gap: 10px; }
.add-row__go:not(.is-on) { display: none; }
.add-row__done { flex-basis: 100%; }
/* Ciasniejsze przyciski na kazdej szerokosci: pole (60) + "Dodaj" (146) + "Idz"
   (153) z odstepami to 379 px, a kolumna produktu przy 960 px ekranu ma ok. 396. */
.add-row .btn { padding: 0 14px; font-size: 14px; }
.add-row__qty { display: inline-flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--color-text-muted); }
.add-row__qty input,
.search__input,
.inquiry-form input,
.inquiry-form textarea {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}
.add-row__qty input:focus, .search__input:focus, .inquiry-form input:focus, .inquiry-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 95, 191, .15);
  outline: 0;
}
.add-row__qty input { width: 60px; height: 46px; padding: 0 6px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
/* Bez strzalek przegladarki - w polu na dwie cyfry zabieraly miejsce liczbie. */
.add-row__qty input::-webkit-outer-spin-button,
.add-row__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inquiry-form textarea { padding: 12px; line-height: 1.5; }
.add-row__done { color: var(--color-primary); font-size: 14px; font-weight: 700; }

/* ---------- Podstrony: uklad z kolumna boczna (serwis) ---------- */

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; align-items: start; padding-bottom: var(--strip); }
.side-card {
  position: sticky;
  top: calc(var(--strip) + 16px);
  margin-top: var(--strip);
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
}
.side-card__head { display: flex; gap: 12px; align-items: flex-start; }
.side-card__icon { width: 30px; height: 30px; color: var(--color-primary); }
.side-card__icon svg { width: 100%; height: 100%; }
.side-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; color: var(--color-text); }
.side-card p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--color-body); }
.side-card .btn--block { margin-top: 16px; }
.side-contact { display: grid; gap: 12px; margin-top: 20px; }
.side-contact a { display: flex; gap: 10px; align-items: flex-start; color: var(--color-text); font-size: 13.5px; }
.side-contact svg { width: 18px; height: 18px; margin-top: 2px; color: var(--color-primary); }
.side-contact span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-contact strong { word-break: break-word; }
.side-contact small { color: var(--color-text-muted); font-size: 12.5px; }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.svc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--color-text); text-decoration: none; }
.svc-card__media { aspect-ratio: 1.6; overflow: hidden; background: var(--color-media); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 12px 14px 14px; }
.svc-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; color: var(--color-text); }
.svc-card p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--color-text-muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 10px; align-items: flex-start; }
.steps__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}
.steps__icon { flex: none; width: 30px; height: 30px; color: var(--color-dark); }
.steps__icon svg { width: 100%; height: 100%; }
.steps h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-text); }
.steps p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--color-text-muted); }

.parts-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  margin-top: var(--strip);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
}
.parts-band > div { position: relative; z-index: 1; flex: 1; }
.parts-band h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: var(--color-text); }
.parts-band p { margin: 3px 0 0; font-size: 13px; color: var(--color-text-muted); }
.parts-band .btn { position: relative; z-index: 1; min-height: 40px; font-size: 13.5px; }
.parts-band .help__icon { position: relative; z-index: 1; }
.parts-band__img {
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask: linear-gradient(90deg, transparent, #000 40%);
  mask: linear-gradient(90deg, transparent, #000 40%);
}

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.contact { padding-bottom: var(--strip); }

/* Mapa Google (iframe) z przyciskiem w rogu i kafel "odwiedz nas" - projekt v02. */
.map { position: relative; aspect-ratio: 1.9; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-media); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__btn { position: absolute; top: 12px; right: 12px; min-height: 34px; padding: 0 12px; font-size: 12.5px; box-shadow: var(--shadow-hover); }
.visit { position: relative; aspect-ratio: 1.9; margin-top: 16px; overflow: hidden; border-radius: var(--radius-md); background: var(--color-media); }
.visit img { width: 100%; height: 100%; object-fit: cover; }
.visit__box { position: absolute; left: 0; bottom: 0; width: 52%; padding: 18px 20px; background: rgba(1, 47, 90, .92); color: #fff; }
.visit__box h3 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.visit__box p { margin: 6px 0 0; color: rgba(255, 255, 255, .85); font-size: 12.5px; line-height: 1.45; }
.visit__box .btn { margin-top: 12px; }

/* Formularz "Napisz do nas" (contact.js). Pola bez etykiet nad soba - podpis
   jest w placeholderze, a dla czytnika w .visually-hidden. */
.form { display: grid; gap: 10px; }
.form__lead { margin: 0 0 2px; color: var(--color-text-muted); font-size: 13.5px; line-height: 1.45; }
.form label { display: grid; gap: 5px; color: var(--color-body); font-size: 12.5px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 95, 191, .15); }
.form textarea { resize: vertical; }
.form__check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; cursor: pointer; }
.form__check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--color-primary); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn--block { margin-top: 6px; }
.form .btn[hidden] { display: none; }
.form__status { margin: 4px 0 0; padding: 12px 14px; border: 1px solid var(--color-accent); border-left-width: 4px; border-radius: 8px; background: #fffbe6; color: var(--color-text); font-size: 13.5px; }
.form__status--error { border-color: #c02626; background: #fdecec; }
.form__status[hidden], .form__note[hidden], .form__done[hidden], .form[hidden] { display: none; }
.form__note { margin: 4px 0 0; color: var(--color-text-muted); font-size: 12.5px; line-height: 1.45; }
.form__done { padding: 20px; border: 1px solid var(--color-primary); border-left-width: 4px; border-radius: var(--radius-md); background: var(--color-surface); }
.form__done strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--color-text); }
.form__done p { margin: 8px 0 0; font-size: 14px; }
.info-list { display: grid; gap: 10px; }
.info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
a.info:hover { border-color: var(--color-primary); color: var(--color-text); text-decoration: none; }
.info > svg { width: 22px; height: 22px; margin-top: 2px; color: var(--color-primary); }
.info > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.info span { font-size: 12.5px; color: var(--color-text-muted); }
.info strong { font-size: 14px; font-weight: 700; color: var(--color-dark); word-break: break-word; }
.info small { font-size: 12.5px; line-height: 1.45; color: var(--color-body); }
.info small a { color: var(--color-text); font-weight: 600; }

/* Karty tresci (o firmie). */
.card { padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.card h3 { margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--color-body); }
.person__contact { margin: 14px 0 0; }
.person__row { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.person__row dt { width: 38%; color: var(--color-text-muted); }
.person__row dd { margin: 0; font-weight: 600; color: var(--color-text); }

/* ---------- Koszyk ---------- */

/* Uklad z projektu v02 (site/koszyk.html): tabela pozycji w bialym pudle
   (produkt | cena za sztuke | ilosc | razem), po prawej podsumowanie z kwotami
   i formularzem oferty, pod spodem pas "Moze Cie rowniez zainteresowac".
   Wiersze sklada inquiry.js z szablonu #inquiry-row. */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; padding-top: 24px; }
.cart-box { padding: 8px 16px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.cart-empty { margin: 0; padding: 24px 0 16px; color: var(--color-body); font-size: 14px; }
.cart-empty[hidden] { display: none; }

.chead, .crow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px 110px; gap: 16px; align-items: center; }
.chead { padding: 12px 0; border-bottom: 1px solid var(--color-border); font-size: 13px; font-weight: 700; color: var(--color-text); }
.chead[hidden] { display: none; }
.chead span:not(:first-child), .cprice, .ctotal { text-align: right; }
.chead span:nth-child(3) { text-align: center; }
.crow { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.crows .crow:last-child { border-bottom: 0; }
/* Akcesorium, ktore przyszlo z produktem (dmuchawa, mata), stoi pod nim z wcieciem
   i z malym zdjeciem: osobna pozycja z wlasna iloscia, ale nie dominuje produktu
   (dyspozycja wlasciciela 14.09). */
.crow--part { padding-top: 10px; padding-bottom: 10px; padding-left: 28px; }
.crow--part .cprod__media { width: 56px; height: 41px; }
.crow--part .cprod h3 { font-size: 13.5px; }
.cprod { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.cprod__media { flex: none; display: block; width: 110px; height: 80px; overflow: hidden; border-radius: 6px; background: var(--color-media); }
.cprod__media img { width: 100%; height: 100%; object-fit: cover; }
.cprod h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.3; letter-spacing: 0; }
.cprod h3 a { color: var(--color-text); }
.cprod p { margin: 3px 0 0; font-size: 12.5px; color: var(--color-text-muted); }
.cprod p:empty, .cprod__parts:empty { display: none; }
.cprod__parts { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.45; color: var(--color-body); }
/* "Usun" wyglada jak link z ikona kosza, ale jest przyciskiem. */
.remove { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--color-primary); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; }
.remove:hover { color: #c02626; text-decoration: underline; }
.remove[hidden] { display: none; }
.remove svg { width: 16px; height: 16px; }
.cprice strong, .ctotal strong { display: block; font-size: 14.5px; color: var(--color-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cprice span, .ctotal span { font-size: 11.5px; color: var(--color-text-muted); }
.cqty { display: inline-flex; justify-self: center; overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); }
.cqty button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--color-text); cursor: pointer; }
.cqty button:hover { background: var(--color-bg); }
.cqty button:disabled { background: transparent; color: var(--color-border); cursor: default; }
.cqty svg { width: 16px; height: 16px; }
.cqty input { width: 40px; border: 0; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); background: transparent; text-align: center; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--color-text); outline: 0; }
.cqty input:focus { background: var(--color-primary-soft); }
.remove-m { display: none; }
.cart-box .cfoot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.cfoot .remove { margin: 0; }
.inquiry__note { margin: 0; color: var(--color-text-muted); font-size: 13px; line-height: 1.5; }

.summary { display: grid; gap: 14px; }
.sum-box { padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.sum-box[hidden] { display: none; }
.sum-box h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--color-dark); }
.sum-box dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 16px 0 0; font-size: 13.5px; }
.sum-box dt { color: var(--color-body); }
.sum-box dd { margin: 0; font-weight: 700; color: var(--color-text); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--color-bg); font-weight: 700; color: var(--color-text); }
.sum-total strong { font-size: 17px; color: var(--color-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--color-text-muted); }
.sum-hint[hidden] { display: none; }
/* Formularz oferty siedzi pod kwotami - w projekcie w tym miejscu stal zolty
   przycisk przejscia do zapytania; tu od razu wysylamy oferte. */
.inquiry-form { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--color-border); }
.inquiry-form[hidden] { display: none; }
.inquiry-form__grid { display: grid; gap: 12px; margin-top: 12px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--color-body); }
.inquiry-form .btn--block { margin-top: 14px; min-height: 44px; font-size: 14px; }
.inquiry__status { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--color-accent); border-left-width: 4px; border-radius: 8px; background: #fffbe6; color: var(--color-text); font-size: 13.5px; }
.inquiry__status--error { border-color: #c02626; background: #fdecec; }
.inquiry-form__company { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--color-bg); color: var(--color-text-muted); font-size: 13px; line-height: 1.5; }
.inquiry-form__company strong { display: block; color: var(--color-text); font-size: 14px; }
/* Pole-pulapka dla botow: poza ekranem, a nie display:none - czesc botow pomija ukryte pola. */
.inquiry-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form .btn[disabled] { opacity: .6; cursor: progress; }
.inquiry__done { padding: 20px; border: 1px solid var(--color-primary); border-left-width: 4px; border-radius: var(--radius-md); background: var(--color-surface); }
.inquiry__done[hidden] { display: none; }
.inquiry__done strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--color-text); }
.inquiry__done p { margin: 8px 0 0; font-size: 14px; }
.inquiry-form #inquiry-fallback { margin-top: 12px; }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-md); background: var(--color-primary-soft); }
.note > svg { width: 22px; height: 22px; margin-top: 2px; color: var(--color-primary); }
.note h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--color-primary); }
.note p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--color-body); }

/* Pas "Moze Cie rowniez zainteresowac" pod koszykiem (projekt v02): cztery
   akcesoria w rzedzie, na telefonie jedno pod drugim. Odstep od koszyka robi
   naglowek sekcji, odstep od paska zalet - dolny padding. */
.related { padding-bottom: var(--strip); }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rel { display: flex; gap: 14px; align-items: center; min-width: 0; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); transition: box-shadow 200ms var(--ease); }
.rel:hover { color: var(--color-text); text-decoration: none; box-shadow: var(--shadow-hover); }
.rel img { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--color-media); }
.rel > div { min-width: 0; }
.rel h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1.3; letter-spacing: 0; }
.rel p { margin: 2px 0 0; font-size: 12px; color: var(--color-text-muted); }
.rel .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--color-primary); }
.rel .more svg { width: 13px; height: 13px; }

/* ---------- Wyszukiwarka ---------- */

.search { position: fixed; inset: 0; z-index: 100; }
.search[hidden] { display: none; }
.search__backdrop { position: absolute; inset: 0; background: rgba(1, 34, 74, .5); }
.search__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 660px;
  max-height: 78vh;
  margin: 8vh auto 0;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}
.search__bar { display: flex; align-items: center; gap: 8px; padding: 16px; border-bottom: 1px solid var(--color-border); }
.search__input { flex: 1; }
.search__close { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--color-text-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.search__close:hover { background: var(--color-bg); color: var(--color-text); }
.search__status { margin: 0; padding: 14px 16px; color: var(--color-text-muted); font-size: 13.5px; }
.search__status:empty { display: none; }
.search__results { margin: 0; padding: 0 12px 14px; list-style: none; overflow-y: auto; }

.hits { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hit { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); }
.hit:hover { border-color: var(--color-primary); color: var(--color-text); text-decoration: none; }
.hit__thumb { flex: none; width: 60px; height: 46px; object-fit: contain; border-radius: 6px; background: var(--color-bg); }
.hit__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hit__name { font-weight: 700; }
.hit__meta { color: var(--color-text-muted); font-size: 13px; }
.hit__note { color: var(--color-primary); font-size: 12px; font-weight: 600; }
.hit--action { justify-content: center; font-weight: 700; color: var(--color-primary); }
.search__results .hit { border-color: transparent; }
.search__results .hit:hover { border-color: var(--color-border); }

.search-page__form { display: flex; gap: 10px; max-width: 640px; margin-top: 16px; }
.search-page__form .search__input { flex: 1; }
.search-page { padding: 24px 0 var(--strip); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Stopka ---------- */

.site-footer { margin-top: var(--strip); border-top: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: var(--strip); }
.site-footer .site-logo img { height: 34px; }
.footer-top { display: flex; align-items: center; gap: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13.5px; font-weight: 600; }
.footer-nav a { color: var(--color-text-muted); }
.footer-nav a:hover { color: var(--color-primary); }
.footer-bottom { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }
/* Pasek zalet albo pas "dla kogo" tuz przed stopka: bez podwojnego odstepu. */
.features + .site-footer, .audience-band + .site-footer { margin-top: 0; }

/* Ostatni blok strony bez wlasnego dolnego odstepu (stopka ma margines). */
.cta-block + .site-footer { margin-top: var(--strip); }

/* ---------- Blok CTA na podstronach tekstowych (o firmie) ---------- */

.cta-band { padding: 32px 36px; border-radius: var(--radius-md); background: var(--color-dark); color: #fff; }
.cta-band h2 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.025em; }
.cta-band p { margin: 12px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .85); font-size: 15px; }

/* ---------- Strony prawne i mapa strony ---------- */

.text-page { padding: 32px 0 var(--strip); }
.text-page__inner { max-width: 820px; }
.text-page__inner h2 { margin: 32px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--color-dark); }
.text-page__inner h2:first-child { margin-top: 0; }
.text-page__inner p, .text-page__inner li { margin: 0 0 14px; color: var(--color-body); font-size: 15px; line-height: 1.65; }
.text-page__inner strong { color: var(--color-text); }
.text-page__notice { padding: 12px 14px; border: 1px solid var(--color-accent); border-left-width: 4px; border-radius: 8px; background: #fffbe6; color: var(--color-text) !important; font-size: 13.5px !important; }

.sitemap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 34px; }
.sitemap__group { padding: 22px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.sitemap__group--wide { margin-top: 24px; }
.sitemap__group h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--color-dark); }
.sitemap__group h3 { margin: 18px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--color-text); }
.sitemap__group ul { margin: 0; padding: 0; list-style: none; }
.sitemap__group li + li { margin-top: 6px; }
.sitemap__group ul ul { margin: 6px 0 4px 16px; }
.sitemap__group a { color: var(--color-text); font-size: 14px; }
.sitemap__group a:hover { color: var(--color-primary); }
.sitemap__products ul { columns: 3; column-gap: 28px; }
.sitemap__products li { break-inside: avoid; }
.sitemap__xml { margin: 24px 0 0; color: var(--color-text-muted); font-size: 13.5px; }

/* "Powrot na gore" - jak na viv1.com: pigulka w prawym dolnym rogu, widoczna
   dopiero po przewinieciu (nav.js dodaje .is-visible). */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px 0 12px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), background 120ms var(--ease);
}
.backtop[hidden] { display: none; }
.backtop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.backtop:hover { background: var(--color-dark-700); color: #fff; }
.backtop svg { width: 18px; height: 18px; }

.error-page { display: grid; place-items: center; min-height: 100vh; text-align: center; }
.error-page .section-intro { margin-inline: auto; }

/* ---------- Responsywnosc ---------- */

@media (max-width: 1100px) {
  .contact-card { flex-wrap: wrap; }
  .contact-card__reach { width: 100%; padding-left: 62px; text-align: left; }
}

/* Prog 960 px z projektu. nav.js pilnuje tego samego progu. */
@media (max-width: 960px) {
  :root { --container-pad: 16px; }

  /* Naglowek telefonu: menu, znak, lupa, koszyk i zolte kolko z telefonem.
     Belka desktopowa znika; z niej zostaje sama nawigacja, ktora rozwija sie
     pod paskiem jako lista po nacisnieciu menu. */
  .topbar-band { display: none; }
  .mobilebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; box-shadow: 0 1px 0 var(--color-border); }
  .mobilebar__side { display: flex; align-items: center; gap: 2px; }
  .mobilebar__side--end { justify-content: flex-end; }
  /* Znak jest szeroki (7:1): przy 20 px ma 139 px i miesci sie miedzy menu a trzema ikonami na 360 px. */
  .mobilebar .site-logo img { height: 26px; }
  .mobilebar .iconbtn { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .mobilebar .iconbtn svg { width: 22px; height: 22px; }
  .mobilebar .cart-count { top: 4px; right: 2px; }
  .iconbtn--call { background: var(--color-accent); }
  .iconbtn--call:hover { background: var(--color-accent-hover); }

  .mainbar-band { box-shadow: none; }
  .mainbar { display: block; height: auto; }
  .mainbar > .site-logo { display: none; }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 64px);
    padding: 4px 16px 16px;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
  }
  .site-nav[hidden] { display: none; }
  .site-nav a:not(.btn):not(.iconbtn),
  .site-nav__trigger { width: 100%; justify-content: space-between; padding: 13px 0; border-radius: 0; font-size: 16px; }
  .site-nav a:not(.btn):not(.iconbtn):hover,
  .site-nav__trigger:hover { background: transparent; }
  .site-nav__search, .site-nav .cartbtn { display: none; }
  .site-nav .btn { width: 100%; margin: 12px 0 0; }

  /* Hero: zdjecie u gory na cala szerokosc, tekst pod nim na granacie. */
  .hero .wrap { grid-template-columns: 1fr; height: auto; }
  .hero__copy { max-width: none; padding: 190px 0 32px; }
  .hero__title { font-size: 30px; }
  .hero__media { inset: 0 0 auto 0; height: 300px; }
  .hero__media::before { background: linear-gradient(180deg, rgba(15, 45, 92, .25) 0%, rgba(15, 45, 92, .7) 55%, var(--color-dark) 100%); }
  .hero__media img { object-position: var(--focus-m, 72% 40%); }
  .hero__actions .btn--ghost { display: none; }

  .phero .wrap, .phero--tall .wrap { height: auto; padding-top: 22px; padding-bottom: 24px; }
  .phero__media img { object-position: var(--focus-m, 72% 45%); }
  .phero__media::before { background: linear-gradient(90deg, rgba(1, 34, 74, .92) 0%, rgba(1, 34, 74, .75) 60%, rgba(1, 34, 74, .4) 100%); }
  .phero p { font-size: 14px; }

  /* Pasek zalet przewija sie w bok; ikona nad podpisem. */
  .features .wrap,
  .features .wrap:has(.feature:nth-child(4):last-child),
  .features .wrap:has(.feature:nth-child(5):last-child) { display: flex; overflow-x: auto; scrollbar-width: none; }
  .features .wrap::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 25%; min-width: 110px; height: auto; flex-direction: column; gap: 8px; padding: 16px 8px; text-align: center; font-size: 12px; }
  .feature svg { width: 28px; height: 28px; }

  .section-head, .strip-head { height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 8px; }
  .section-head--split { flex-wrap: wrap; gap: 10px; }
  .strip-head__extra { display: none; }

  .cats { display: flex; gap: 12px; margin-right: -16px; padding: 0 16px 6px 0; overflow-x: auto; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 158px; }

  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prod, .promo { height: auto; min-height: 190px; }
  .prod__media { flex: none; aspect-ratio: 1.2; }
  .promo { grid-column: span 2; }
  .prod__name { font-size: 14px; }

  .audience-band { margin-top: var(--strip-m); }
  .audience-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud { height: auto; gap: 12px; padding: 18px 16px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .aud:nth-child(-n+2) { border-top: 0; }
  .aud:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .14); }

  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 20px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc { min-height: 0; padding: 22px; }
  .svc h3 { font-size: 22px; }
  .svc__bg, .svc__img { display: none; }

  .cta-block { grid-template-columns: 1fr; gap: 24px; margin-top: var(--strip-m); padding: 28px 20px; }
  .cta-block h2 { font-size: 26px; }
  .cta-block__bg { display: none; }
  .contact-card { gap: 12px; }
  .contact-card__reach { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding-left: 0; }

  .catalog-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; padding-bottom: var(--strip-m); }
  .sidebar { display: none; }
  .chips { display: flex; }
  .results-head h2, .results-head h1 { font-size: 22px; }
  .tools { width: 100%; }
  .tools .btn--outline { flex: 1; }
  .filters-bar__sort { flex: 1; }
  .filters-bar__sort select { flex: 1; min-width: 0; }
  .kgrid { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .kcard { flex-direction: row; align-items: center; padding: 10px; }
  .kcard__media { flex: 0 0 130px; aspect-ratio: 1.55; border-radius: 6px; }
  .kcard__row { flex: 1; padding: 0 4px 0 14px; }
  .help, .parts-band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .help .btn, .parts-band .btn { width: 100%; }
  .help--strip { margin-top: var(--strip-m); }

  .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .product-card { flex-direction: row; align-items: center; padding: 10px; }
  .product-card__media { flex: 0 0 120px; aspect-ratio: 1.3; border-radius: 6px; }
  .product-card__body { flex: 1; padding: 0 4px 0 14px; }

  .two-col { grid-template-columns: 1fr; gap: 16px; padding-bottom: var(--strip-m); }
  .side-card { position: static; margin-top: var(--strip-m); }
  .svc-grid { display: flex; gap: 12px; margin-right: -16px; padding: 0 16px 4px 0; overflow-x: auto; scrollbar-width: none; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 150px; }
  .svc-card p { display: none; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .parts-band { margin-top: var(--strip-m); }
  .parts-band__img { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact { padding-bottom: var(--strip-m); }
  .visit { display: none; }
  .sitemap__grid { grid-template-columns: 1fr; gap: 12px; }
  .sitemap__products ul { columns: 1; }
  .text-page { padding: 20px 0 var(--strip-m); }
  /* Nad dolnym paskiem skrotow, po prawej - lewa strona zostaje dla kciuka. */
  .backtop { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); min-height: 40px; padding: 0 13px 0 10px; font-size: 13px; }
  .backtop span { display: none; }
  .backtop { padding: 0; width: 44px; height: 44px; justify-content: center; }

  .cart-head .wrap { padding-top: 16px; padding-bottom: 16px; }
  .stepper { display: none; }
  .cart-title h1 { font-size: 28px; }
  .cart-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  /* Na telefonie pozycje sa osobnymi kartami, a biale pudlo znika (projekt). */
  .cart-box { padding: 0; border: 0; background: transparent; }
  .chead, .chead[hidden] { display: none; }
  .crow { position: relative; grid-template-columns: 1fr; gap: 0; margin-bottom: 10px; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
  .crows .crow:last-child { border-bottom: 1px solid var(--color-border); }
  .crow--part { margin-left: 16px; }
  .cprod { padding-right: 36px; }
  .cprod__media { width: 96px; height: 70px; }
  .cprod .remove { display: none; }
  .cprice { display: none; }
  /* Licznik pod tekstem, na wysokosci sumy wiersza - jak w projekcie. */
  .cqty { position: absolute; left: 124px; bottom: 12px; }
  .crow--part .cqty { left: 84px; }
  .ctotal { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; min-height: 38px; margin-top: 8px; }
  .remove-m { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--color-primary); cursor: pointer; }
  .remove-m svg { width: 18px; height: 18px; }
  .cart-empty { padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
  .cart-box .cfoot { padding-top: 4px; border-top: 0; }
  .cart-box .cfoot .btn { display: none; }
  .rel-grid { grid-template-columns: 1fr; gap: 10px; }
  .related { padding-bottom: var(--strip-m); }

  .product { padding-bottom: var(--strip-m); }
  .search-page { padding-bottom: var(--strip-m); }
  .site-footer { margin-top: var(--strip-m); padding: 16px 0 8px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 14px; height: auto; }
  .footer-top { flex-wrap: wrap; gap: 16px; }
  .footer-nav { flex-wrap: wrap; gap: 18px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px; white-space: normal; }

  /* Dolny pasek skrotow z projektu. Strona dostaje dolny margines o jego
     wysokosci - inaczej stopka chowalaby sie pod paskiem. */
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 6px 0; color: var(--color-dark); font-size: 11.5px; font-weight: 600; }
  .tabbar a:hover { color: var(--color-dark); text-decoration: none; }
  .tabbar a.on, .tabbar a[aria-current="page"] { color: var(--color-primary); }
  .tabbar svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 800px) {
  /* Panel filtrow wjezdza od dolu jako arkusz, a nie rozpycha listy w gore. */
  .filters-panel {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -12px 32px rgba(11, 31, 58, .18);
  }
  .filters-panel[hidden] { display: none; }
  .filters { grid-template-columns: 1fr; overflow-y: auto; }
  .filters-panel__foot { display: block; padding: 16px; border-top: 1px solid var(--color-border); }
  .filters-panel__foot .btn { width: 100%; }
  .search__panel { height: 100%; max-height: 100vh; margin: 0; border-radius: 0; }
  .cart-title { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 30px; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Landing swiateczny 2026 (/pl/christmas-2026.html, 12.10.2026) ----------
   Uklad newslettera Dmuchance PRO, o ktory prosil wlasciciel: jedna kolumna 640 px,
   zdjecie na cala szerokosc (kafel #EFF9F9 jest w samym pliku), pod nim wysrodkowany
   numer, nazwa, opis, cena i przycisk. */
.xmas { max-width: 640px; margin: 0 auto; padding-top: 32px; text-align: center; }
.xmas__head { margin: 8px 0 24px; }
.xmas__head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: var(--color-dark); }
/* Wstep kolekcji ma szerokosc kolumn produktow (13.10, wlasciciel): jedna kolumna = 640 px
   (.xmas), dwie kolumny = szerokosc siatki (--xmas-w nizej). */
.xmas__lead { margin: 10px 0 0; color: var(--color-body); font-size: 16px; line-height: 1.5; }
.xmas-item { margin: 0 0 52px; }
.xmas-item__media { display: block; overflow: hidden; border-radius: var(--radius-lg); }
.xmas-item__media img { display: block; width: 100%; height: auto; }
.xmas-item__media picture { display: block; }
/* Telefon (12.10.2026, wlasciciel: "zdjecia sprzedaja"): zdjecie prawie na szerokosc ekranu -
   8 px od krawedzi zamiast marginesu kontenera; kadr ciasno wokol produktu daje <picture>. */
@media (max-width: 760px) {
  .xmas-item__media { margin-inline: calc(8px - var(--container-pad)); border-radius: 12px; }
}
.xmas-item__meta { margin: 18px 0 0; color: var(--color-text-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.xmas-item__name { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; color: var(--color-dark); }
.xmas-item--lead .xmas-item__name { font-size: 32px; }
/* Dopisek przy nazwie, np. "(wymienna dekoracja)" - mniejszy i bez pogrubienia (13.10, wlasciciel). */
.xmas-item__variant { font-family: var(--font-body); font-size: .69em; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.xmas-item__text { margin: 8px auto 0; max-width: 52ch; color: var(--color-body); font-size: 16px; line-height: 1.5; }
.xmas-item__price { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--color-dark); }
.xmas-item__note { margin: 2px 0 0; color: var(--color-text-muted); font-size: 12px; }
.xmas-item .btn { margin-top: 16px; }
.xmas-panel { margin: 0 0 52px; padding: 24px 20px; border-radius: var(--radius-lg); background: var(--color-primary-soft); }
.xmas-panel p { margin: 0; color: var(--color-text); font-size: 18px; line-height: 1.4; }
.xmas-panel strong { display: block; margin-top: 8px; font-family: var(--font-display); color: var(--color-dark); font-size: 17px; }
.xmas-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.xmas__all { margin: 0 0 8px; }
/* Dwie kolumny produktow na komputerze (12.10.2026, wlasciciel: "nie zmniejszaj zdjec"):
   siatka 2 x 640 px wychodzi poza .wrap (1060 px), w ktorym kolumny mialyby po ~490 px.
   100vw liczy pasek przewijania, stad zapas 80 px zamiast 2 x --container-pad. */
.xmas-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .xmas { --xmas-w: min(1312px, calc(100vw - 80px)); }
  .xmas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
  .xmas-grid, .xmas__lead {
    width: var(--xmas-w);
    margin-left: calc((100% - var(--xmas-w)) / 2);
  }
}
@media (max-width: 760px) {
  .xmas__head h2 { font-size: 26px; }
  .xmas-item { margin-bottom: 44px; }
  .xmas-item__name, .xmas-item--lead .xmas-item__name { font-size: 24px; }
  .xmas-panel__actions .btn { width: 100%; }
}
