/*
Theme Name: U2T Theme
Theme URI: https://example.com/u2t
Author: kickass.group
Author URI: https://kickass.group
Version: 1.0.1
Text Domain: u2t-theme
*/

:root {
  --bg: #eaeaea;
  --text: #0d0d0c;
  --muted: #666666;
  --accent: #ff4d00;
  --accent-soft: #f2a154;
  --border: #e8e8e8;
  --header-height: 84px;
  --header-height-sticky: 59px; /* ~70% of 84px (−30% przy is-sticky) */
  --header-border: #0d0d0c;
  --page-gutter: 16px;
  /* Wysokość viewportu: svh (stabilne). Bez 100dvh globalnie — na iOS kurczy pierwszy ekran. */
  --viewport-fill: 100vh;
  --viewport-fill: 100svh;
  /* Fallback bez lvh: JS ustawia --app-vh (patrz main.js) */
  --app-vh: 1vh;
  /* Mobile hero: bufor pod dolny pasek Safari (wydłuża sekcję, nie tylko kształt) */
  --hero-safari-ui-buffer: clamp(56px, 12vw, 80px);
  --product-chip-ok: #44da8f;
  --product-chip-muted: #bcc3be;
  --product-chip-used: #0032ff;
  --product-chip-refurb: #7b85ff;
  --product-chip-on-dark: #ffffff;
  --product-chip-rented: #ff5c14;
  --product-chip-reserved: #f0b878;
  --product-chip-sold-bg: #c5cac6;
  --product-chip-sold-text: #1a1a18;
  --product-chip-sold-border: #8f9591;
  --product-hero-grey: #d9d9d9;
}

@font-face {
  font-family: "N27";
  src: url("assets/fonts/n27-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "N27";
  src: url("assets/fonts/n27-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "N27";
  src: url("assets/fonts/n27-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "N27", Arial, sans-serif;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

@supports (text-wrap: pretty) {
  body {
    text-wrap: pretty;
  }
}

a {
  color: inherit;
}

main {
  padding-top: var(--header-height);
}

#kontakt {
  scroll-margin-top: var(--header-height);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.container {
  width: min(1200px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  width: 100%;
  /* Zawsze: lekki blur + dolna linia (marginesy / .container bez zmian) */
  background: rgba(234, 234, 234, 0.2);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition:
    transform 0.28s ease,
    min-height 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    backdrop-filter 0.24s ease,
    -webkit-backdrop-filter 0.24s ease;
  will-change: transform;
}

/* Menu mobilne: lekki backdrop, żeby pasek był czytelny nad hero */
html.has-open-menu .site-header {
  background: rgba(234, 234, 234, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header.is-sticky {
  min-height: var(--header-height-sticky);
  border-bottom-color: var(--header-border);
  background: rgba(234, 234, 234, 0.74);
}

/* Rozmyta warstwa nad treścią (pod headerem), gdy otwarty dropdown desktop */
.site-header__dropdown-scrim {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  top: var(--header-height);
  background: rgba(234, 234, 234, 0.2);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.admin-bar .site-header__dropdown-scrim {
  top: calc(32px + var(--header-height));
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header__dropdown-scrim {
    top: calc(46px + var(--header-height));
  }
}

html.has-offer-dropdown-open:not(.has-open-menu) .site-header__dropdown-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 899px) {
  .site-header__dropdown-scrim {
    display: none;
  }
}

html.has-open-menu .site-header__dropdown-scrim {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height-sticky);
  transition: min-height 0.24s ease, transform 0.24s ease;
}

.site-header.is-sticky .site-header__bar {
  min-height: var(--header-height-sticky);
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(44vw, 240px);
  transition: height 0.24s ease;
}

.site-header.is-sticky .site-logo {
  height: calc(34px * var(--header-height-sticky) / var(--header-height));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-left: auto;
}

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

body.u2t-gtranslate-ready .gtranslate_wrapper a {
  color: inherit;
  text-decoration: none;
}

.site-footer__form-notice {
  margin: 0 0 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid var(--border);
}

.site-footer__form-notice--success {
  background: rgba(68, 218, 143, 0.12);
  border-color: rgba(68, 218, 143, 0.45);
}

.site-footer__form-notice--error {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.35);
}

.site-nav {
  --site-nav-gap-ref: 1920;
  display: none;
  /* Desktop: 100px odstęp między pozycjami; poniżej skala vw, max 100px */
  gap: clamp(20px, calc(100vw * 100 / var(--site-nav-gap-ref)), 100px);
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.site-nav > li > a {
  text-decoration: none;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

/* Hover: tekst zostaje ciemny (czytelny na blur + pomarańczowe kształty w tle), akcent tylko w linii */
.site-nav > li > a:hover,
.site-nav > li > a:focus-visible {
  color: var(--text);
}

.site-nav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav > li > a:hover::after,
.site-nav > li > a:focus-visible::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(1);
}

/* Dropdown „Oferta” (panel #EAEAEA, obramowanie boki+dół FF4D00, bez górnej krawędzi — przyklejony pod czarną linią headera) */
.site-nav__item--dropdown {
  position: relative;
}

.site-nav__dropdown {
  position: absolute;
  left: 50%;
  /* Przyklejony do dolnej krawędzi <li> (= dół paska, linia z header border-bottom) */
  top: 100%;
  z-index: 140;
  min-width: min(320px, 70vw);
  max-width: min(420px, 92vw);
  margin: 0;
  padding: clamp(22px, 2.4vw, 30px) clamp(24px, 2.6vw, 36px);
  list-style: none;
  background: var(--bg);
  border: 0 solid var(--accent);
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-radius: 0;
  box-shadow: 0 20px 48px rgba(13, 13, 12, 0.12);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-nav__dropdown a {
  text-decoration: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
  padding: 0;
  transition: color 0.18s ease;
}

.site-nav__dropdown a::after {
  display: none;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
  color: var(--accent);
}

.mobile-menu__item--dropdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.mobile-menu__sublist {
  list-style: none;
  margin: 0 0 8px;
  padding: 6px 0 8px 14px;
  border-left: 2px solid rgba(255, 77, 0, 0.4);
  display: grid;
  gap: 4px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(13, 13, 12, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(255, 77, 0, 0.09);
}

.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.mobile-menu a:focus-visible {
  outline: 2px solid #0d0d0c;
  outline-offset: 3px;
}

.menu-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: #0d0d0c;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

.mobile-menu,
.mobile-menu__panel {
  /* Typografia mobilnego menu: jedna skala (główne vs podmenu) */
  --mm-link: clamp(17px, 4vw, 20px);
  --mm-sublink: clamp(14px, 3.25vw, 16px);
}

.mobile-menu__inner {
  display: grid;
  align-content: start;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: inline-flex;
  width: 100%;
  font-size: var(--mm-link);
  line-height: 1.25;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Po ogólnym selektorze — wcześniej był nadpisywany przez .mobile-menu a */
.mobile-menu__sublist a {
  font-size: var(--mm-sublink);
  font-weight: 400;
  line-height: 1.3;
  padding: 6px 0;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--accent);
  transform: translateX(4px);
}

.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
  color: var(--accent);
}

html.has-open-menu body {
  overflow: hidden;
}

/* Przewiń na górę — elipsa ~34px, obramowanie #FF4D00, strzałka -90deg; widoczne blisko końca strony */
.scroll-top {
  --scroll-top-ref: 1920;
  position: fixed;
  z-index: 105;
  right: clamp(16px, calc(100vw * 48 / var(--scroll-top-ref)), 48px);
  bottom: clamp(16px, 5vw, 40px);
  width: 33.81px;
  height: 33.81px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(234, 234, 234, 0.88);
  backdrop-filter: saturate(130%) blur(8px);
  -webkit-backdrop-filter: saturate(130%) blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--text);
  outline: none;
}

.scroll-top:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.35);
}

.scroll-top__arrow {
  display: block;
  font-family: "N27", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--accent);
  transform: rotate(-90deg);
  transform-origin: center center;
  margin: 0;
  user-select: none;
}

.scroll-top:hover .scroll-top__arrow,
.scroll-top:focus-visible .scroll-top__arrow {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none !important;
  }

  .site-header,
  .site-header__bar,
  .site-logo,
  .menu-toggle__line,
  .mobile-menu,
  .site-nav > li > a::after,
  .site-nav__dropdown,
  .site-header__dropdown-scrim {
    transition: none !important;
    animation: none !important;
  }
}

/* Hero: układ referencyjny 1920px, skalowanie % / vw. */
/* Pierwszy hero: pełna szerokość do górnej krawędzi viewportu, header nad nim (fixed) */
main > .hero:first-child {
  margin-top: calc(-1 * var(--header-height));
}

.hero {
  --hero-ref: 1920;
  --hero-shape-w: 1170;
  --hero-shape-h: 1213;
  --hero-shape-left: 750;
  --hero-shape-top: 2;
  /* CTA: odstęp 112px przy 1920px → skala vw z limitem */
  --hero-cta-gap: clamp(20px, calc(100vw * 112 / var(--hero-ref)), 112px);
  position: relative;
  /* Pełna grafika może nachodzić w dół na następną sekcję; poziomy scroll blokuje html { overflow-x: clip } */
  overflow: visible;
  background: var(--bg);
  box-sizing: border-box;
  /* Pełna wysokość okna; treść wyśrodkowana w pasie pod fixed header */
  min-height: var(--viewport-fill);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: clamp(32px, 5vw, 72px);
}

.hero__shape {
  position: absolute;
  /* Warstwa grafiki: 1170×1213, left 750 (przyklejone do prawej), top 2 */
  top: clamp(0px, calc(var(--hero-shape-top) / var(--hero-ref) * 100vw), 2px);
  right: 0;
  left: auto;
  width: min(calc(100% * var(--hero-shape-w) / var(--hero-ref)), calc(var(--hero-shape-w) * 1px));
  aspect-ratio: 1170 / 1213;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}

.hero__shape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top right;
  /* PNG ma czarne tło — screen sprawia, że na jasnym tle widać sam kształt */
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  z-index: 1;
  /* .container trzyma boczne marginesy — bez width:100% (rozjeżdżało desktop) */
  /* rezerwa pod kształt — skala z 1920 (1170px), % od viewportu (nie od wąskiego .container) */
  padding-right: min(
    calc(100% * var(--hero-shape-w) / var(--hero-ref) * 0.42 + var(--page-gutter)),
    520px
  );
  padding-top: 0;
}

/* Typografia hero: dokładnie 82px / 33px przy 1920px, poniżej proporcjonalnie (clamp min czytelność) */
.hero__title {
  margin: 0 0 clamp(16px, calc(100vw * 30 / var(--hero-ref)), 30px);
  max-width: min(926.34px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, calc(100vw * 82 / var(--hero-ref)), 82px);
  line-height: 1.08;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.hero__title-line {
  display: inline-block;
}

.hero__subtitle {
  margin: 0 0 clamp(28px, calc(100vw * 83 / var(--hero-ref)), 83px);
  max-width: min(415.77px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(16px, calc(100vw * 33 / var(--hero-ref)), 33px);
  line-height: calc(40 / 33);
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.hero__rule {
  max-width: min(757.83px, 100%);
  height: 0;
  margin: 0 0 clamp(12px, calc(100vw * 32 / var(--hero-ref)), 32px);
  border: 0;
  border-top: 1px solid #ff4d00;
}

.hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hero-cta-gap);
  max-width: min(100%, 1200px);
}

/* Wiersz CTA ~19px wysokości; tekst w nawiasach małymi literami */
.hero__cta {
  display: inline-block;
  position: relative;
  font-family: "N27", Arial, sans-serif;
  font-size: clamp(13px, calc(100vw * 16 / var(--hero-ref)), 16px);
  font-weight: 500;
  line-height: calc(19 / 16);
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: none;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
  padding: 2px 0;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.hero__cta::before {
  content: "[";
  font-weight: 500;
}

.hero__cta::after {
  content: "]";
  font-weight: 500;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  color: var(--accent);
  outline: none;
}

.hero__cta:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.35);
  border-radius: 2px;
}

/* Desktop: hero dopasowany do treści + rezerwa na dół kształtu (bez pustego 100vh) */
@media (min-width: 721px) {
  .hero {
    --hero-shape-overflow: clamp(
      100px,
      calc(
        min(calc(100% * var(--hero-shape-w) / var(--hero-ref)), calc(var(--hero-shape-w) * 1px)) *
          var(--hero-shape-h) / var(--hero-shape-w) * 0.24
      ),
      280px
    );
    min-height: auto;
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + clamp(28px, 3.5vw, 56px));
    padding-bottom: var(--hero-shape-overflow);
  }
}

@media (max-width: 720px) {
  :root {
    /* Pomarańczowy separator: mniej nad, więcej pod */
    --u2t-rule-space-above: clamp(6px, 1.6vw, 10px);
    --u2t-rule-space-below: clamp(20px, 5vw, 32px);
    --u2t-mobile-stack: clamp(16px, 4vw, 24px);
  }

  /* --- Hero mobile: pełny viewport (bez -webkit-fill-available — psuje wysokość) --- */
  main > .hero:first-child:not(.hero--shape-mobile-bottom) {
    margin-top: calc(-1 * var(--header-height));
    min-height: var(--viewport-fill);
  }

  main > .hero.hero--shape-mobile-bottom:first-child {
    margin-top: calc(-1 * var(--header-height));
  }

  .hero:not(.hero--shape-mobile-bottom) {
    box-sizing: border-box;
    width: 100%;
    min-height: var(--viewport-fill);
    align-items: stretch;
    justify-content: center;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 12px);
    padding-right: var(--page-gutter);
    padding-bottom: max(clamp(20px, 5vw, 36px), env(safe-area-inset-bottom, 0px));
    padding-left: var(--page-gutter);
  }

  .hero__inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-right: min(42vw, 168px);
    padding-top: 0;
    text-align: left;
  }

  .hero__title,
  .hero__subtitle,
  .hero__rule {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  .hero__title {
    font-size: clamp(26px, 7.2vw, 40px);
    margin-bottom: var(--u2t-rule-space-above);
  }

  .hero__rule {
    margin-top: 0;
    margin-bottom: var(--u2t-rule-space-below);
  }

  .hero__subtitle {
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: var(--u2t-mobile-stack);
  }

  /* Kształt: zaokrąglony prawy górny róg, bez przyciemnienia */
  .hero__shape {
    top: calc(env(safe-area-inset-top, 0px) + 4px);
    right: 0;
    left: auto;
    bottom: auto;
    width: min(88vw, 360px);
    max-width: none;
    aspect-ratio: 1170 / 1213;
    opacity: 1;
    z-index: 0;
  }

  .hero__shape img {
    object-fit: contain;
    object-position: top right;
  }

  /*
   * Mobile hero (iOS Safari): pełny pierwszy ekran — kolejna sekcja dopiero po scrollu.
   * min-height = max(lvh,svh) + safe-area + bufor UI Safari (nie 100dvh — kurczy się z paskiem).
   * Kształt absolutny wewnątrz hero, zakotwiczony do dołu sekcji (overflow: hidden = brak poz. scrolla).
   */
  .hero.hero--shape-mobile-bottom {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: calc(100svh + env(safe-area-inset-bottom, 0px) + var(--hero-safari-ui-buffer));
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 8px) var(--page-gutter)
      env(safe-area-inset-bottom, 0px);
    overflow: hidden;
    margin-bottom: 0;
    justify-content: flex-start;
    align-items: stretch;
  }

  @supports (height: 100lvh) {
    .hero.hero--shape-mobile-bottom {
      min-height: calc(100lvh + env(safe-area-inset-bottom, 0px) + var(--hero-safari-ui-buffer));
    }
  }

  @supports not (height: 100lvh) {
    .hero.hero--shape-mobile-bottom {
      min-height: calc(
        var(--app-vh, 1vh) * 100 + env(safe-area-inset-bottom, 0px) + var(--hero-safari-ui-buffer)
      );
    }
  }

  .hero.hero--shape-mobile-bottom .hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 clamp(12px, 3vh, 20px);
    padding-right: min(34vw, 132px);
  }

  .hero.hero--shape-mobile-bottom .hero__title {
    margin-top: clamp(10px, 2.5vw, 16px);
  }

  .hero.hero--shape-mobile-bottom .hero__shape {
    position: absolute;
    z-index: 1;
    right: -18vw;
    bottom: 0;
    left: auto;
    top: auto;
    width: min(118vw, 640px);
    height: clamp(360px, 80lvh, 760px);
    max-height: none;
    margin: 0;
    opacity: 1;
    pointer-events: none;
    line-height: 0;
  }

  @supports not (height: 100lvh) {
    .hero.hero--shape-mobile-bottom .hero__shape {
      height: clamp(360px, 80svh, 760px);
    }
  }

  .hero.hero--shape-mobile-bottom .hero__shape picture {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
  }

  .hero.hero--shape-mobile-bottom .hero__shape img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    mix-blend-mode: screen;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--u2t-mobile-stack);
    --hero-cta-gap: var(--u2t-mobile-stack);
  }

  .hero__cta {
    width: auto;
    max-width: 100%;
  }

  /* Globalnie: odstępy przy pomarańczowych separatorach */
  .home-about__title,
  .product-archive-hero__title {
    margin-bottom: var(--u2t-rule-space-above);
  }

  .home-about__rule,
  .product-archive-hero__rule,
  .product-archive-hero__rule--wide,
  .blog-single-header__rule,
  .blog-related__rule {
    margin-top: 0;
    margin-bottom: var(--u2t-rule-space-below);
  }

  .home-about__more {
    margin-bottom: var(--u2t-mobile-stack);
  }

  .home-about__body {
    padding-top: var(--u2t-mobile-stack);
  }

  .home-about__body p {
    margin-bottom: var(--u2t-mobile-stack);
  }

  .home-about__body p:last-child {
    margin-bottom: 0;
  }

  .section {
    padding-top: var(--u2t-mobile-stack);
    padding-bottom: var(--u2t-mobile-stack);
  }
}

.section {
  padding: 40px 0;
}

/* Archiwum produktów: hero nad filtrami (skala 1920px) */
.section.section--product-archive {
  padding-top: 0;
}

/* Oferta z filtrami / kategorią z menu — kompaktowy nagłówek zamiast pełnego hero */
.section.section--product-archive--filtered {
  padding-top: 0;
}

.product-archive-filtered-head {
  padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 2.8vw, 36px);
  background: var(--bg);
}

.product-archive-filtered-head__inner {
  max-width: min(1200px, 92vw);
  margin: 0 auto;
}

.product-archive-filtered-head__title {
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  max-width: min(926px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, calc(100vw * 52 / 1200), 52px);
  line-height: 1.1;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.product-archive-filtered-head__rule {
  display: block;
  max-width: min(758px, 100%);
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--accent);
}

.section.section--product-archive--filtered > .container {
  padding-top: clamp(4px, 1vw, 12px);
}

.section.section--product-archive--filtered .filters-modern {
  margin-top: clamp(8px, 1.5vw, 16px);
}

.product-archive-hero {
  --pa-ref: 1920;
  --pa-hero-h: 822; /* Wysokość bloku hero od dolnej krawędzi headera (1920px) */
  --pa-visual-w: 597;
  --pa-cta-gap: clamp(20px, calc(100vw * 112 / var(--pa-ref)), 112px);
  box-sizing: border-box;
  min-height: clamp(320px, calc(100vw * var(--pa-hero-h) / var(--pa-ref)), calc(var(--pa-hero-h) * 1px));
  background: var(--bg);
  padding: clamp(24px, 3vw, 48px) 0 clamp(28px, 3.5vw, 64px);
}

.product-archive-hero__inner {
  position: relative;
  z-index: 1;
}

.product-archive-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(
    calc(100vw * var(--pa-visual-w) / var(--pa-ref)),
    calc(var(--pa-visual-w) * 1px)
  );
  gap: clamp(16px, 2.5vw, 40px);
  align-items: start;
}

.product-archive-hero__visual {
  line-height: 0;
  width: 100%;
  max-width: calc(var(--pa-visual-w) * 1px);
  justify-self: end;
}

.product-archive-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-archive-hero__title {
  margin: 0 0 clamp(16px, calc(100vw * 30 / var(--pa-ref)), 30px);
  max-width: min(926.34px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, calc(100vw * 82 / var(--pa-ref)), 82px);
  line-height: 1.08;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.product-archive-hero__rule {
  max-width: min(758px, 100%);
  height: 0;
  margin: 0 0 clamp(16px, calc(100vw * 48 / var(--pa-ref)), 48px);
  border: 0;
  border-top: 1px solid var(--accent);
}

.product-archive-hero__rule--wide {
  max-width: min(1670px, 100%);
  margin: clamp(24px, 3vw, 48px) 0 clamp(20px, calc(100vw * 40 / var(--pa-ref)), 40px);
}

.product-archive-hero__lead {
  margin: 0;
  max-width: min(759.36px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(15px, calc(100vw * 20 / var(--pa-ref)), 20px);
  line-height: 1.45;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.product-archive-hero__copy .product-archive-hero__ctas {
  margin-top: clamp(20px, calc(100vw * 40 / var(--pa-ref)), 40px);
}

.product-archive-hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pa-cta-gap);
}

@media (max-width: 900px) {
  .product-archive-hero__top {
    grid-template-columns: 1fr;
  }

  .product-archive-hero__visual {
    justify-self: end;
    max-width: min(72vw, 320px);
  }
}

@media (max-width: 720px) {
  .product-archive-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    --pa-cta-gap: 12px;
  }
}

/* Strona główna: wspólna skala z układu 1920×2164 */
.home-page-stack {
  --home-ref: 1920;
  --home-board: 1670;
  --home-gutter: clamp(var(--page-gutter), calc(100vw * 125 / var(--home-ref)), 125px);
  --home-board-w: min(calc(var(--home-board) * 1px), calc(100vw - 2 * var(--home-gutter)));
}

/* --- Odstęp pod kształt hero (desktop/tablet: skala z artboardu, mniejszy niż wcześniej 0.36) --- */
main > .hero:first-child + .home-page-stack .section.home-about {
  --home-boxed-max: 1920px; /* bridge + boxed layout */
  --hero-shape-w: 1170;
  --hero-shape-h: 1213;
  --hero-about-gap-ratio: 0.22;
  margin-top: clamp(
    24px,
    calc(
      min(100vw * var(--hero-shape-w) / var(--home-ref), calc(var(--hero-shape-w) * 1px)) * var(--hero-shape-h) /
        var(--hero-shape-w) * var(--hero-about-gap-ratio)
    ),
    260px
  );
  padding-top: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(40px, 5vw, 96px);
  position: relative;
  z-index: 1;
}

@media (min-width: 721px) {
  main > .hero:first-child + .home-page-stack .section.home-about {
    padding-top: clamp(24px, 3vw, 56px);
  }
}

/*
 * „Poznaj nas” — ramka 1670: siatka 323.5 + 17.5 + 656 (997px treści).
 * Offset lewej kolumny: mniejszy niż w makiecie 673px — więcej miejsca na siatkę przy węższej ramce.
 */
.home-about__inner {
  --home-ref: 1920;
  --about-pad-left: 500;
  --about-rule-w: 316px;
  box-sizing: border-box;
  width: var(--home-board-w);
  max-width: 100%;
  margin-inline: auto;
  padding-left: calc(100% * var(--about-pad-left) / var(--home-board));
  padding-right: 0;
  display: grid;
  grid-template-columns: minmax(0, calc(323.5 / 997 * 100%)) minmax(0, calc(656 / 997 * 100%));
  column-gap: calc(100% * 17.5 / 997);
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-about__left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-about__more {
  margin: 0 0 clamp(10px, 1.6vw, 18px);
  font-family: "N27", Arial, sans-serif;
  font-size: clamp(13px, calc(100vw * 16 / var(--home-ref)), 16px);
  font-weight: 700;
  line-height: calc(20 / 16);
  text-decoration: none;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: #0d0d0c;
  transition: color 0.2s ease;
}

.home-about__more:hover,
.home-about__more:focus-visible {
  color: var(--accent);
  outline: none;
}

.home-about__title {
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  width: 100%;
  max-width: min(323.5px, 100%);
  font-family: "N27", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, calc(100vw * 82 / var(--home-ref)), 82px);
  line-height: 1.08;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: #0d0d0c;
}

.home-about__rule {
  width: min(var(--about-rule-w), 100%);
  height: 0;
  margin: 0;
  margin-left: clamp(0px, calc(100vw * 5.09 / var(--home-ref)), 5.09px);
  border: 0;
  border-top: 1px solid #ff4d00;
  flex-shrink: 0;
}

.home-about__body {
  grid-column: 2;
  grid-row: 1;
  max-width: min(656px, 100%);
  padding-top: clamp(48px, calc(100vw * 105 / var(--home-ref)), 105px);
  padding-left: clamp(6px, calc(100vw * 16 / var(--home-ref)), 16px);
  justify-self: start;
}

.home-about__body p {
  margin: 0 0 1em;
  font-family: "N27", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, calc(100vw * 20 / var(--home-ref)), 20px);
  line-height: 24px;
  font-feature-settings: "ss01" on, "salt" on;
  color: #0d0d0c;
}

.home-about__body p:last-child {
  margin-bottom: 0;
}

/* Kształt bridge: strefa z Figmy ~685px szer.; przyklejony do lewej, >1920 w boxed */
.home-bridge-shape {
  position: absolute;
  /* Desktop: kształt ma dochodzić do krawędzi viewportu. */
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.home-bridge-shape img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: min(685px, 36vw);
  max-width: 36vw;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
  filter: drop-shadow(0 14px 32px rgba(13, 13, 12, 0.1));
}

@media (max-width: 900px) {
  /* Czytelny stacking: dekoracja z lewej pod treścią */
  main > .hero:first-child + .home-page-stack .section.home-about {
    isolation: isolate;
  }

  .home-about__inner {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-inline: var(--home-gutter, var(--page-gutter));
    column-gap: clamp(12px, 3vw, 20px);
    z-index: 2;
  }

  .home-about__rule {
    margin-left: 0;
  }

  .home-about__body {
    grid-column: 1;
    grid-row: auto;
    padding-top: clamp(8px, 2vw, 16px);
    padding-left: 0;
    max-width: none;
  }

  .home-about__left {
    align-items: flex-start;
    text-align: left;
  }

  .home-about__title {
    margin-inline: 0;
    text-align: left;
  }

  .home-about__rule {
    margin-inline: 0;
  }

  /* Kształt jak na desktopie — od lewej krawędzi sekcji, nie na środku */
  .home-bridge-shape {
    left: 0;
    z-index: 0;
  }

  .home-bridge-shape img {
    left: 0;
    width: min(46vw, 220px);
    max-width: none;
    transform: translate(-22%, -38%);
    object-position: left center;
    opacity: 0.88;
    z-index: 0;
  }
}

@media (max-width: 720px) {
  /* Przerwa hero → „Poznaj nas” + widoczny kształt 2 (lewa krawędź) */
  main > .hero:first-child + .home-page-stack .section.home-about {
    margin-top: clamp(32px, 8vw, 64px);
    padding-top: clamp(56px, 14vw, 96px);
    padding-bottom: clamp(140px, 32vw, 220px);
    overflow: visible;
  }

  main > .hero.hero--shape-mobile-bottom:first-child + .home-page-stack .section.home-about {
    margin-top: 0;
  }

  .home-about__title {
    font-size: clamp(26px, 7vw, 40px);
  }

  .home-bridge-shape img {
    width: min(56vw, 260px);
    max-width: none;
    transform: translate(-6%, -48%);
    opacity: 0.92;
  }

  /* Duża przerwa „Poznaj nas” → „Nasza oferta” */
  .section.home-offer {
    margin-top: clamp(72px, 16vw, 128px);
    padding-top: clamp(40px, 9vw, 64px);
  }

  .home-offer__scene {
    max-width: none;
  }
}

/* --- Nasza Oferta: artboard 1670×965 (mozaika) --- */
.section.home-offer {
  --home-ref: 1920;
  --offer-board-w: 1670;
  --offer-board-h: 965;
  --offer-card-pct: calc(318 * 100% / var(--offer-board-w)); /* 318×318 px */
  position: relative;
  z-index: 2;
  padding-top: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 88px);
}

.home-page-stack .home-offer__shell {
  padding-inline: var(--home-gutter);
}

.home-offer__shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(var(--page-gutter), calc(100vw * 125 / var(--home-ref, 1920)), 125px);
  box-sizing: border-box;
}

.home-offer__scene {
  position: relative;
  width: var(--home-board-w, min(1670px, calc(100vw - 2 * var(--page-gutter))));
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: var(--offer-board-w) / var(--offer-board-h);
  isolation: isolate;
  overflow: hidden;
}

/* „Nasza Oferta”: left 673px / top 78px w ramce 1670×965 */
.home-offer__scene-head {
  position: absolute;
  left: calc(100% * 673 / var(--offer-board-w));
  top: calc(100% * 78 / var(--offer-board-h));
  transform: none;
  z-index: 3;
  max-width: min(52vw, 480px);
  width: auto;
  box-sizing: border-box;
  text-align: left;
}

.home-offer__title {
  margin: 0;
  font-family: "N27", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, calc(100vw * 82 / var(--home-ref)), 82px);
  line-height: 1.08;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--text);
}

.home-offer__mosaic {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.home-offer__tile {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: var(--offer-card-pct);
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  height: auto;
  box-sizing: border-box;
}

.home-offer__card {
  --offer-card-pad-x: clamp(16px, 11.4%, 36px);
  --offer-card-pad-top: clamp(20px, 26%, 83px);
  --offer-card-pad-bottom: clamp(16px, 12%, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(8px, 3%, 14px);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: var(--offer-card-pad-top) var(--offer-card-pad-x) var(--offer-card-pad-bottom);
  border: 1px solid var(--accent);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  overflow: hidden;
  transition: box-shadow 0.22s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-offer__card--filled {
  background: var(--bg);
}

.home-offer__card:hover,
.home-offer__card:focus-visible {
  box-shadow: 0 16px 40px rgba(13, 13, 12, 0.1);
  outline: none;
}

.home-offer__card-title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: "N27", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(14px, calc(100vw * 33 / var(--home-ref)), 33px);
  line-height: calc(40 / 33);
  font-feature-settings: "ss01" on, "salt" on;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.home-offer__card-more {
  display: block;
  flex-shrink: 0;
  font-family: "N27", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(12px, calc(100vw * 16 / var(--home-ref)), 16px);
  line-height: 1.25;
  text-transform: uppercase;
  font-feature-settings: "ss01" on, "salt" on;
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 900px) {
  .section.home-offer {
    --offer-card-pct: 31%;
  }

  .home-offer__scene {
    aspect-ratio: unset;
    min-height: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 36px);
    max-width: 720px;
  }

  .home-offer__scene-head {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    text-align: left;
    margin-inline: 0;
  }

  .home-offer__mosaic {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 3vw, 20px);
  }

  .home-offer__tile {
    position: static;
    width: 100%;
    aspect-ratio: 1;
    max-width: none;
  }

  .home-offer__card {
    --offer-card-pad-x: clamp(16px, 4.8vw, 24px);
    --offer-card-pad-top: clamp(18px, 5.5vw, 26px);
    --offer-card-pad-bottom: clamp(16px, 4.8vw, 22px);
    padding: var(--offer-card-pad-top) var(--offer-card-pad-x) var(--offer-card-pad-bottom);
    gap: clamp(10px, 2.5vw, 14px);
  }

}

@media (max-width: 520px) {
  .home-offer__mosaic {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-offer__card {
    --offer-card-pad-x: clamp(16px, 5vw, 22px);
    --offer-card-pad-top: clamp(18px, 6vw, 26px);
    --offer-card-pad-bottom: clamp(16px, 5vw, 22px);
    padding: var(--offer-card-pad-top) var(--offer-card-pad-x) var(--offer-card-pad-bottom);
    aspect-ratio: unset;
    min-height: min(220px, 48vw);
  }

  .home-offer__tile {
    aspect-ratio: unset;
  }
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  row-gap: 28px;
  align-items: stretch;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.product-grid__empty {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 52ch;
  margin: clamp(20px, 3vw, 32px) 0;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.5;
  color: var(--muted);
}

/* Karta katalogu: tło #EAEAEA, obramowanie #FF4D00, radius 15px */
.product-card {
  --product-card-radius: 15px;
  --product-card-cta-half: 22px;
  margin: 0;
  padding-bottom: var(--product-card-cta-half);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.product-card__box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--accent);
  border-radius: var(--product-card-radius);
  background: var(--bg);
  overflow: visible;
}

.product-card__media-zone {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border-bottom: 1px solid var(--accent);
  overflow: hidden;
  border-radius: calc(var(--product-card-radius) - 1px) calc(var(--product-card-radius) - 1px) 0 0;
  background: var(--bg);
}

.product-card__badge-cluster {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

/* Mobile: na zdjęciu — stan lewo, status prawo. */
.product-card__badge-cluster--overlay {
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 5;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.product-card__badge-cluster--overlay .product-card__badge--start {
  margin-right: auto;
}

.product-card__badge-cluster--overlay .product-card__badge--end {
  margin-left: auto;
}

/* Desktop: nad tytułem — domyślnie wyłączone (mobile). */
.product-card__badge-cluster--inline {
  display: none !important;
  position: static;
  flex-wrap: nowrap;
  justify-content: flex-start !important;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

/* Karty katalogu — kompaktowe chipy; font N27 jak w filtrach (bez powiększania jak w panelu). */
.product-card__badge-cluster .product-single-page__chip {
  font-family: "N27", Arial, sans-serif;
  flex: 0 1 auto;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
  background-clip: padding-box;
  -webkit-font-smoothing: antialiased;
}

.product-card__badge-cluster--overlay .product-single-page__chip {
  max-width: calc(50% - 4px);
}

/* Katalog ≥3 kolumny od 900px — ten sam próg dla badge’y. */
@media (min-width: 900px) {
  .product-card__media-zone > .product-card__badge-cluster--overlay {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    pointer-events: none !important;
  }

  .product-card__body {
    align-items: flex-start;
    gap: 0;
  }

  .product-card__badge-cluster--inline {
    display: flex !important;
    visibility: visible;
    justify-content: flex-start !important;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0;
  }

  .product-card__badge-cluster--inline .product-card__badge--start,
  .product-card__badge-cluster--inline .product-card__badge--end {
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-card__badge-cluster--inline .product-single-page__chip {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
  }

  .product-card__price {
    margin-top: 10px;
  }
}

@media (max-width: 899px) {
  .product-card__badge-cluster--inline {
    display: none !important;
    visibility: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
  }
}

.product-card__badge-cluster .product-single-page__chip--status-dostepny {
  background: var(--accent);
  border-color: #c93d00;
  color: #ffffff;
}

.product-card__badge-cluster .product-single-page__chip--status-sprzedany {
  background: var(--product-chip-sold-bg);
  border-color: var(--product-chip-sold-border);
  color: var(--product-chip-sold-text);
}

.product-card__badge-cluster .product-single-page__chip--status-rezerwacja {
  background: var(--product-chip-reserved);
  border-color: #c8872e;
  color: var(--product-chip-sold-text);
}

.product-card__badge-cluster .product-single-page__chip--status-wynajety {
  background: var(--product-chip-rented);
  border-color: #c93d00;
  color: #ffffff;
}

.product-card__badge-cluster .product-single-page__chip--condition-nowy {
  background: var(--product-chip-ok);
  border-color: #2db872;
  color: var(--product-chip-sold-text);
}

.product-card__badge-cluster .product-single-page__chip--condition-uzywany {
  background: var(--product-chip-used);
  border-color: #0026c7;
  color: var(--product-chip-on-dark);
}

.product-card__badge-cluster .product-single-page__chip--condition-odnowiony {
  background: var(--product-chip-refurb);
  border-color: #5a62d4;
  color: var(--product-chip-on-dark);
}

.product-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  text-decoration: none;
}

.product-card__media-zone img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card__media-zone--placeholder {
  background: #f4f1ec;
}

.product-card__placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  width: 100%;
  padding: clamp(18px, 5vw, 28px) clamp(18px, 5vw, 28px)
    calc(clamp(20px, 5.5vw, 32px) + var(--product-card-cta-half));
  gap: 0;
  box-sizing: border-box;
}

.product-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: anywhere;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover,
.product-card__title a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* W makiecie tylko tytuł + cena; specyfikacja zostaje dla SEO / czytników */
.product-card__specs {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.product-card__price {
  margin: 0;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
}

.product-card__price--condition-nowy {
  color: #2a9d62;
}

.product-card__price--condition-uzywany {
  color: var(--product-chip-used);
}

.product-card__price--condition-odnowiony {
  color: #5a60d6;
}

.product-card__price--status-dostepny {
  color: var(--accent);
}

.product-card__price--status-rezerwacja {
  color: #e86a00;
}

.product-card__price--status-wynajety {
  color: var(--accent-soft);
}

.product-card__price--status-sprzedany {
  color: var(--product-chip-muted);
}

.product-card__price--on-request {
  font-weight: 700;
}

.product-card__price-net {
  margin-left: 0.35em;
  font-size: 0.75em;
  font-weight: 500;
  color: var(--muted);
  text-transform: lowercase;
}

.product-card__cta {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translate(-50%, 50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(188px, calc(100% - 24px));
  min-height: 34px;
  padding: 7px 24px;
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.product-card__cta:hover,
.product-card__cta:focus-visible {
  /* Pełne krycie — półprzezroczyste tło pokazywało treść body pod spodem */
  background: #ebe6e4;
  background: color-mix(in srgb, var(--bg) 86%, var(--accent));
  border-color: var(--accent);
  color: var(--text);
  outline: none;
}

.product-card__cta:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

/* --- Single produkt (oferta) — layout z Figmy, responsywnie --- */
.section--product-single {
  padding-top: clamp(40px, 5vw + 24px, 80px);
  padding-bottom: clamp(48px, 8vw, 100px);
}

.product-single-page {
  padding-top: clamp(4px, 1.5vw, 20px);
}

.product-single-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

@media (min-width: 960px) {
  .product-single-page__grid {
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(36px, 4vw, 80px);
  }
}

.product-single-page__media-col {
  min-width: 0;
  overflow: visible;
  container-type: inline-size;
  container-name: product-media;
}

.product-single-page__hero {
  width: 100%;
  max-width: min(560px, 100%);
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 960px) {
  .product-single-page__hero {
    margin-inline: 0;
    max-width: none;
  }
}

.product-single-page__hero-mosaic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.product-single-page__thumb-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin-top: clamp(16px, 3vw, 28px);
}

.product-single-page__thumb-scroll {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.product-single-page__thumb-scroll-icon {
  display: grid;
  place-items: center;
  line-height: 0;
  transition: transform 0.28s ease;
}

.product-single-page__thumb-scroll-icon img {
  display: block;
  width: 22px;
  height: 22px;
  filter: none;
}

.product-single-page__thumb-scroll:hover:not(:disabled),
.product-single-page__thumb-scroll:focus-visible:not(:disabled) {
  opacity: 1;
}

.product-single-page__thumb-scroll:hover:not(:disabled) .product-single-page__thumb-scroll-icon img,
.product-single-page__thumb-scroll:focus-visible:not(:disabled) .product-single-page__thumb-scroll-icon img {
  filter: grayscale(0.45) brightness(0.72);
}

.product-single-page__thumb-scroll:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.product-single-page__thumb-scroll:disabled {
  opacity: 0.22;
  cursor: default;
}

.product-single-page__thumb-scroll:disabled .product-single-page__thumb-scroll-icon img {
  filter: grayscale(0.6) brightness(1.1);
}

/* Domyślnie (poziomy pasek miniatur): strzałki w lewo / prawo */
.product-single-page__thumb-scroll--prev .product-single-page__thumb-scroll-icon {
  transform: rotate(-90deg);
}

.product-single-page__thumb-scroll--next .product-single-page__thumb-scroll-icon {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .product-single-page__thumb-scroll-icon {
    transition: none;
  }

  .product-single-page__thumb-scroll {
    transition: none;
  }
}

.product-single-page__hero-frame {
  position: relative;
  width: 100%;
  max-width: min(560px, 100%);
  aspect-ratio: 1;
  border-radius: 15px;
  border: 1px solid var(--accent);
  background: var(--product-hero-grey);
  overflow: hidden;
}

.product-single-page__hero-shape {
  position: absolute;
  inset: -8% -12% auto -12%;
  width: 124%;
  height: auto;
  max-height: 118%;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.product-single-page__hero-photo-view {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 14px;
}

.product-single-page__hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transition: transform 0.45s ease, opacity 0.32s ease;
  will-change: transform, opacity;
}

@media (hover: hover) and (pointer: fine) {
  .product-single-page__hero-photo-view:hover .product-single-page__hero-photo,
  .product-single-page__hero-photo-view:focus-within .product-single-page__hero-photo {
    transform: scale(1.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-single-page__hero-photo {
    transition: opacity 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .product-single-page__hero-photo-view:hover .product-single-page__hero-photo,
    .product-single-page__hero-photo-view:focus-within .product-single-page__hero-photo {
      transform: none;
    }
  }
}

.product-single-page__hero--no-photos .product-single-page__hero-shape {
  inset: auto;
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
  width: 128%;
  max-width: none;
  max-height: 112%;
  height: auto;
  transform: none;
  object-fit: cover;
  object-position: left bottom;
  opacity: 0.34;
}

.product-single-page__hero-empty {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 32vw, 360px);
  margin: 0;
  padding: clamp(20px, 4vw, 36px);
  box-sizing: border-box;
  font-family: "N27", Arial, sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}

.product-single-page__thumb-strip .product-single-page__thumbs {
  flex: 1 1 auto;
  min-width: 0;
}

.product-single-page__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 16px);
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-single-page__thumb {
  flex: 0 0 auto;
}

.product-single-page__thumb-btn {
  display: block;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: none;
  cursor: pointer;
  font: inherit;
  line-height: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-single-page__thumb-btn:hover,
.product-single-page__thumb-btn:focus-visible {
  border-color: rgba(255, 77, 0, 0.45);
  outline: none;
}

.product-single-page__thumb-btn.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.product-single-page__thumb-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.product-single-page__thumb-frame {
  display: block;
  width: clamp(100px, 22vw, 148px);
  height: clamp(100px, 22vw, 148px);
  border-radius: 15px;
  background: var(--product-hero-grey);
  overflow: hidden;
  border: 1px solid rgba(13, 13, 12, 0.08);
}

.product-single-page__thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.product-single-page__thumb-btn:not(.is-selected) .product-single-page__thumb-frame img {
  opacity: 0.9;
}

@media (hover: hover) and (pointer: fine) {
  .product-single-page__thumb-btn:hover .product-single-page__thumb-frame img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-single-page__thumb-frame img {
    transition: opacity 0.18s ease;
  }

  .product-single-page__thumb-btn:hover .product-single-page__thumb-frame img {
    transform: none;
  }
}

.product-single-page__title {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  overflow-wrap: anywhere;
}

.product-single-page__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px clamp(10px, 1.8vw, 25px);
  margin-bottom: clamp(14px, 2vw, 22px);
  max-width: 677px;
}

.product-single-page__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 clamp(14px, 2.4vw, 28px);
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
}

@media (max-width: 520px) {
  .product-single-page__chip {
    font-size: 14px;
    padding: 0 12px;
    min-height: 38px;
  }
}

:is(
    .product-single-page__chip--status-dostepny,
    .filter-chip-row .product-single-page__chip--status-dostepny,
    a.active-filter-chip.product-single-page__chip--status-dostepny
  ) {
  background: var(--accent);
  border-color: #c93d00;
  color: #ffffff;
}

:is(
    .product-single-page__chip--status-sprzedany,
    .filter-chip-row .product-single-page__chip--status-sprzedany,
    a.active-filter-chip.product-single-page__chip--status-sprzedany
  ) {
  background: var(--product-chip-sold-bg);
  border-color: var(--product-chip-sold-border);
  color: var(--product-chip-sold-text);
}

:is(
    .product-single-page__chip--status-rezerwacja,
    .filter-chip-row .product-single-page__chip--status-rezerwacja,
    a.active-filter-chip.product-single-page__chip--status-rezerwacja
  ) {
  background: var(--product-chip-reserved);
  border-color: #c8872e;
  color: var(--product-chip-sold-text);
}

:is(
    .product-single-page__chip--status-wynajety,
    .filter-chip-row .product-single-page__chip--status-wynajety,
    a.active-filter-chip.product-single-page__chip--status-wynajety
  ) {
  background: var(--product-chip-rented);
  border-color: #c93d00;
  color: #ffffff;
}

:is(
    .product-single-page__chip--condition-nowy,
    .filter-chip-row .product-single-page__chip--condition-nowy,
    a.active-filter-chip.product-single-page__chip--condition-nowy
  ) {
  background: var(--product-chip-ok);
  border-color: #2db872;
  color: var(--product-chip-sold-text);
}

:is(
    .product-single-page__chip--condition-uzywany,
    .filter-chip-row .product-single-page__chip--condition-uzywany,
    a.active-filter-chip.product-single-page__chip--condition-uzywany
  ) {
  background: var(--product-chip-used);
  border-color: var(--product-chip-used);
  color: var(--product-chip-on-dark);
}

:is(
    .product-single-page__chip--condition-odnowiony,
    .filter-chip-row .product-single-page__chip--condition-odnowiony,
    a.active-filter-chip.product-single-page__chip--condition-odnowiony
  ) {
  background: var(--product-chip-refurb);
  border-color: var(--product-chip-refurb);
  color: var(--product-chip-on-dark);
}

:is(
    .product-single-page__chip--condition-default,
    .filter-chip-row .product-single-page__chip--condition-default,
    a.active-filter-chip.product-single-page__chip--condition-default
  ) {
  background: var(--product-chip-muted);
  border-color: var(--product-chip-muted);
  color: var(--text);
}

.product-single-page__chip--year {
  background: var(--product-chip-muted);
  border-color: var(--product-chip-muted);
  color: var(--text);
}

:is(
    .product-single-page__chip--filter-all,
    .filter-chip-row .product-single-page__chip--filter-all,
    a.active-filter-chip.product-single-page__chip--filter-all
  ) {
  background: var(--product-chip-muted);
  border-color: var(--product-chip-muted);
  color: var(--text);
}

.product-single-page__price {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  font-size: clamp(22px, 2.8vw, 33px);
  font-weight: 500;
  color: var(--text);
}

.product-single-page__price-net {
  margin-left: 0.35em;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--muted);
  text-transform: lowercase;
}

.product-single-page__price--on-request {
  font-weight: 700;
}

.product-single-page__actions {
  --product-action-h: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.product-single-page__action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--product-action-h);
  min-height: var(--product-action-h);
  max-height: var(--product-action-h);
  padding: 0 22px;
  border-radius: 15px;
  border: 1px solid var(--product-chip-muted);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.product-single-page__action:hover,
.product-single-page__action:focus-visible {
  border-color: var(--accent);
  background: #ebe6e4;
  background: color-mix(in srgb, var(--bg) 88%, var(--accent));
  outline: none;
}

.product-single-page__action:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.product-single-page__action-icon {
  flex-shrink: 0;
  display: block;
  width: 22px;
  height: 22px;
}

.product-single-page__details {
  margin-top: clamp(8px, 2vw, 16px);
}

/* Laptop / 14" — zwarty układ: mniejszy hero, miniatury, typografia (więcej w jednym ekranie) */
@media (max-width: 1512px), (max-height: 880px) {
  .section--product-single {
    padding-bottom: clamp(28px, 4vw, 72px);
  }

  .product-single-page {
    padding-top: 0;
  }

  .product-single-page__grid {
    gap: clamp(14px, 2vw, 28px);
  }

  @media (min-width: 960px) {
    .product-single-page__grid {
      grid-template-columns: minmax(240px, 0.92fr) minmax(260px, 1.08fr);
      gap: clamp(18px, 2.2vw, 36px);
    }
  }

  .product-single-page__hero-frame {
    max-width: min(100%, 360px);
    margin-left: 0;
    margin-right: auto;
  }

  .product-single-page__thumb-strip {
    margin-top: clamp(8px, 1.5vw, 16px);
  }

  .product-single-page__thumbs {
    gap: clamp(6px, 1vw, 12px);
  }

  .product-single-page__thumb-frame {
    width: clamp(64px, 14vw, 108px);
    height: clamp(64px, 14vw, 108px);
    border-radius: 12px;
  }

  .product-single-page__title {
    margin-bottom: clamp(10px, 1.5vw, 16px);
    font-size: clamp(20px, 2.6vw, 36px);
  }

  .product-single-page__chips {
    margin-bottom: clamp(8px, 1.2vw, 14px);
  }

  .product-single-page__chip {
    min-height: 36px;
    font-size: 13px;
    padding: 0 clamp(10px, 1.8vw, 18px);
    border-radius: 15px;
  }

  .product-single-page__price {
    margin-bottom: clamp(10px, 1.5vw, 16px);
    font-size: clamp(17px, 2vw, 26px);
  }

  .product-single-page__actions {
    --product-action-h: 42px;
    gap: 8px 12px;
    margin-bottom: clamp(12px, 2vw, 22px);
  }

  .product-single-page__action {
    padding: 0 16px;
    font-size: 14px;
    border-radius: 12px;
  }

  .product-single-page__action-icon {
    width: 18px;
    height: 18px;
  }

  .product-single-page__details {
    margin-top: clamp(4px, 1vw, 10px);
  }

  .product-single-page__details-toggle-label {
    font-size: clamp(18px, 2vw, 26px);
  }
}

@supports (container-type: inline-size) {
  @media (min-width: 960px) {
  @container product-media (min-width: 400px) {
    .product-single-page__hero {
      max-width: none;
      width: 100%;
      overflow: visible;
    }

    .product-single-page__hero-mosaic {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-rows: minmax(0, auto);
      gap: clamp(12px, 2vw, 22px);
      align-items: stretch;
      min-width: 0;
      min-height: 0;
      width: 100%;
      overflow: visible;
    }

    .product-single-page__hero-frame {
      grid-column: 2;
      grid-row: 1;
      width: 100%;
      min-width: 0;
      align-self: start;
    }

    .product-single-page__thumb-strip {
      grid-column: 1;
      grid-row: 1;
      position: relative;
      display: block;
      align-self: stretch;
      justify-self: start;
      width: auto;
      min-width: 0;
      min-height: 0;
      height: 100%;
      max-height: none;
      margin-top: 0;
      overflow: visible;
    }

    .product-single-page__thumb-scroll--prev,
    .product-single-page__thumb-scroll--next {
      position: absolute;
      left: 50%;
      z-index: 2;
    }

    .product-single-page__thumb-scroll--prev {
      top: 0;
      transform: translate(-50%, calc(-100% - 10px));
    }

    .product-single-page__thumb-scroll--prev .product-single-page__thumb-scroll-icon {
      transform: rotate(180deg);
    }

    .product-single-page__thumb-scroll--next {
      bottom: 0;
      transform: translate(-50%, calc(100% + 10px));
    }

    .product-single-page__thumb-scroll--next .product-single-page__thumb-scroll-icon {
      transform: none;
    }

    .product-single-page__thumb-strip .product-single-page__thumbs {
      flex: none;
      height: 100%;
      max-height: none;
      min-height: 0;
      width: 100%;
    }

    .product-single-page__thumbs {
      flex-direction: column;
      flex-wrap: nowrap;
      align-items: stretch;
      justify-content: flex-start;
      gap: clamp(8px, 1.2vw, 14px);
      max-width: none;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding-right: 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .product-single-page__thumbs::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    .product-single-page__thumb-frame {
      width: clamp(76px, 18cqw, 104px);
      height: clamp(76px, 18cqw, 104px);
      border-radius: 12px;
    }
  }
  }
}

html.has-gallery-lightbox {
  overflow: hidden;
  touch-action: none;
}

.product-single-page__hero-photo-view[data-gallery-lightbox-trigger] {
  cursor: zoom-in;
  outline: none;
}

.product-single-page__hero-photo-view[data-gallery-lightbox-trigger]:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--accent);
  border-radius: 14px;
}

.product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  box-sizing: border-box;
}

.product-gallery-lightbox[hidden] {
  display: none !important;
}

.product-gallery-lightbox__scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(8, 8, 7, 0.94);
  cursor: pointer;
  z-index: 0;
}

.product-gallery-lightbox__shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 16px);
  padding: max(48px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  pointer-events: none;
  box-sizing: border-box;
}

.product-gallery-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  max-width: min(94vw, 1400px);
  max-height: 100%;
  pointer-events: auto;
}

.product-gallery-lightbox__img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(84dvh, calc(100vh - 96px));
  object-fit: contain;
}

.product-gallery-lightbox__close {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  z-index: 2;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product-gallery-lightbox__close:hover,
.product-gallery-lightbox__close:focus-visible {
  color: rgba(255, 255, 255, 0.65);
  outline: none;
}

.product-gallery-lightbox__nav {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 2.25rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product-gallery-lightbox__nav:hover,
.product-gallery-lightbox__nav:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}

.product-gallery-lightbox__counter {
  position: absolute;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-lightbox__close,
  .product-gallery-lightbox__nav {
    transition: none;
  }
}

.product-single-page__details-title {
  margin: 0 0 12px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.product-single-page__details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.product-single-page__details-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.product-single-page__details-toggle-label {
  font-size: clamp(22px, 2.5vw, 33px);
  font-weight: 700;
  text-transform: lowercase;
}

.product-single-page__details-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  line-height: 0;
  transition: transform 0.28s ease;
}

.product-single-page__details-arrow img {
  display: block;
  width: 24px;
  height: 24px;
}

.product-single-page__details--collapsed .product-single-page__details-arrow {
  transform: rotate(-180deg);
}

.product-single-page__details-collapse {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
}

.product-single-page__details--collapsed .product-single-page__details-collapse {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.product-single-page__details-body {
  overflow: hidden;
  min-height: 0;
  max-width: 42rem;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .product-single-page__details-arrow,
  .product-single-page__details-collapse {
    transition: none;
  }
}

.product-single-page__details-body p {
  margin: 0 0 0.75em;
}

.product-single-page__details-body p:last-child {
  margin-bottom: 0;
}

.product-single-page__highlights {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(8px, 2vw, 16px);
}

.product-single-page__highlights--fullbleed {
  /* Zostaje w szerokości rodzica (.container); bez 100vw — unika obcięcia z prawej (scrollbar / boxed). */
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.product-single-page__highlights-inner {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.product-single-page__highlights-title {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(22px, 2.6vw, 33px);
  font-weight: 500;
  color: var(--text);
}

.product-single-page__feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 32px);
}

@media (min-width: 520px) {
  .product-single-page__feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-single-page__feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(14px, 2vw, 24px);
  }

  .product-single-page__feature-grid .product-single-page__feature {
    min-width: 0;
  }
}

.product-single-page__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}

.product-single-page__feature-icon-wrap {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-single-page__feature-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.product-single-page__feature-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
}

.product-single-page__below {
  margin-top: clamp(40px, 6vw, 80px);
}

.product-single-page__inquiry-heading {
  margin: clamp(40px, 5vw, 64px) 0 16px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--text);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* —— Zapytanie o produkt —— */
.product-inquiry {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.product-inquiry__notice {
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 14px 18px;
  font-size: 0.9375rem;
  line-height: 1.45;
  border: 1px solid var(--border);
}

.product-inquiry__notice--success {
  background: rgba(68, 218, 143, 0.12);
  border-color: rgba(68, 218, 143, 0.45);
  color: #0d4d2e;
}

.product-inquiry__notice--error {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.35);
  color: #7c2b00;
}

.product-inquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.product-inquiry__intro {
  min-width: 0;
}

.product-inquiry__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.0625rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
}

.product-inquiry__rule {
  width: min(120px, 40%);
  height: 0;
  margin: 0 0 clamp(16px, 2vw, 24px);
  border: 0;
  border-top: 1px solid var(--accent);
}

.product-inquiry__hint {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36ch;
}

.product-inquiry__form {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.product-inquiry__fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.product-inquiry__field {
  --u2t-field-rail-h: 36px;
  --inquiry-input-rail: var(--u2t-field-rail-h);
  display: block;
  position: relative;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding-left: 14px;
}

.product-inquiry__fields-row .product-inquiry__field {
  margin-bottom: 0;
}

.product-inquiry__field::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  background: #ff8a63;
}

.product-inquiry__field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background: #ff8a63;
}

.product-inquiry__field--phone::before {
  height: var(--inquiry-input-rail);
}

.product-inquiry__field--phone::after {
  width: min(100%, 420px);
}

.product-inquiry__field--message {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.product-inquiry__field--message::before {
  height: clamp(120px, 18vw, 160px);
}

.product-inquiry__field--message::after {
  width: 100%;
}

.product-inquiry__fields-row .product-inquiry__field--email::before {
  height: var(--inquiry-input-rail);
}

.product-inquiry__fields-row .product-inquiry__field--email::after,
.product-inquiry__fields-row .product-inquiry__field:first-child::after {
  width: 100%;
}

.product-inquiry__fields-row .product-inquiry__field:first-child::before {
  height: var(--inquiry-input-rail);
}

.product-inquiry__field-label {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.25;
  color: var(--text);
}

.product-inquiry__field input,
.product-inquiry__field textarea {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  margin: 0;
  font: inherit;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.25;
  color: var(--text);
  box-sizing: border-box;
  resize: vertical;
}

.product-inquiry__field input {
  height: var(--u2t-field-rail-h);
  min-height: var(--u2t-field-rail-h);
  max-height: var(--u2t-field-rail-h);
  padding: 0 12px 0 8px;
  line-height: var(--u2t-field-rail-h);
  -webkit-appearance: none;
  appearance: none;
}

.product-inquiry__field textarea {
  min-height: 110px;
  padding: 8px 12px 10px 8px;
  line-height: 1.45;
}

.product-inquiry__field input:focus,
.product-inquiry__field textarea:focus {
  outline: none;
}

.product-inquiry__field:focus-within::after {
  background: var(--accent);
}

.product-inquiry__actions {
  display: flex;
  justify-content: flex-end;
}

.product-inquiry__submit {
  display: inline-block;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.product-inquiry__submit:hover,
.product-inquiry__submit:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.product-inquiry__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

@media (max-width: 900px) {
  .product-inquiry__layout {
    grid-template-columns: 1fr;
  }

  .product-inquiry__fields-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .product-inquiry__fields-row .product-inquiry__field {
    margin-bottom: 0;
  }
}

/* Parametry — pełna szerokość sekcji (poza .container); kształt przyklejony do lewej krawędzi viewportu */
.product-spec-panel {
  width: 100%;
  margin-top: clamp(24px, 4vw, 48px);
  margin-left: 0;
  margin-right: 0;
  padding: clamp(24px, 3.5vw, 44px) 0;
  box-sizing: border-box;
  background: var(--bg);
}

.product-spec-panel__band {
  width: min(100%, 1920px);
  margin-inline: auto;
  box-sizing: border-box;
}

.product-spec-panel__inner {
  width: 100%;
  margin: 0;
  padding: 0 var(--page-gutter) 0 0;
  box-sizing: border-box;
}

.product-spec-panel__layout {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
  gap: clamp(16px, 3.5vw, 48px);
  align-items: start;
  position: relative;
  isolation: isolate;
}

.product-spec-panel__deco {
  position: relative;
  z-index: 0;
  align-self: start;
  max-width: 100%;
  overflow: visible;
  pointer-events: none;
}

.product-spec-panel__deco-img {
  display: block;
  width: 100%;
  max-width: min(480px, 100%);
  height: auto;
  margin-left: 0;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 1921px) {
  .product-spec-panel__deco-img {
    /* Na ultra-wide kształt ma zostać przy lewej krawędzi viewportu. */
    margin-left: calc(-1 * (100vw - 1920px) / 2);
    width: clamp(560px, 30vw, 980px);
    max-width: none;
    transform: none;
    transform-origin: left top;
  }
}

.product-spec-panel__column {
  position: relative;
  z-index: 1;
  min-width: 0;
  background: var(--bg);
}

.product-spec-panel__table-wrap {
  width: 100%;
  max-width: min(958px, 100%);
  min-width: 0;
}

.product-spec-panel__rule {
  width: calc(100% - clamp(24px, 3.5vw, 48px));
  height: 1px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(8px, 1.2vw, 14px);
  margin-bottom: clamp(14px, 2.2vw, 24px);
  overflow: hidden;
}

.product-spec-panel__body {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vw, 10px);
  width: 100%;
}

.product-spec-panel__rule-svg {
  display: block;
  width: 100%;
  height: 1px;
}

.product-spec-panel__table {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.product-spec-panel__head,
.product-spec-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(3.5rem, 0.32fr) minmax(0, 1fr);
  column-gap: clamp(16px, 2.5vw, 32px);
  row-gap: 0;
  align-items: center;
}

.product-spec-panel__head-cell {
  font-size: clamp(22px, 2.4vw, 33px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.product-spec-panel__head-cell--name {
  text-align: left;
  white-space: nowrap;
}

.product-spec-panel__head-cell--unit {
  min-height: 1em;
  min-width: 0;
}

.product-spec-panel__head-cell--value {
  text-align: left;
}

.product-spec-panel__row {
  padding: clamp(13px, 1.7vw, 17px) clamp(14px, 2vw, 22px);
  border-radius: 0;
  background: transparent;
  transition: background-color 0.18s ease, border-radius 0.18s ease;
}

.product-spec-panel__row--striped {
  border-radius: 15px;
  background: rgba(255, 119, 0, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .product-spec-panel__row:hover {
    background: rgba(13, 13, 12, 0.06);
    border-radius: 15px;
  }

  .product-spec-panel__row--striped:hover {
    background: rgba(255, 119, 0, 0.24);
  }
}

.product-spec-panel__cell {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
}

.product-spec-panel__cell--name {
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.product-spec-panel__cell--unit {
  text-align: center;
  min-width: 0;
  font-size: clamp(15px, 1.35vw, 18px);
}

.product-spec-panel__cell--value {
  text-align: left;
}

.product-spec-panel__empty {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

/* --- Single produkt: galeria na mobile (stack: duże zdjęcie + poziome miniatury) --- */
@media (max-width: 959px) {
  .product-single-page__hero {
    max-width: none;
    width: 100%;
  }

  .product-single-page__hero-mosaic {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(14px, 3.5vw, 20px);
    width: 100%;
  }

  .product-single-page__hero-frame {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 1;
    min-height: min(88vw, 420px);
  }

  .product-single-page__hero-shape {
    inset: -6% -10% auto -10%;
    width: 118%;
    opacity: 0.88;
  }

  .product-single-page__thumb-strip {
    order: 2;
    position: static;
    display: block;
    width: 100%;
    margin-top: 0;
    height: auto;
    max-height: none;
  }

  /* Mobile: bez strzałek — przewijanie palcem */
  .product-single-page__thumb-scroll {
    display: none !important;
  }

  .product-single-page__thumb-strip .product-single-page__thumbs {
    flex: none;
    flex-direction: row;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
  }

  .product-single-page__thumb-strip .product-single-page__thumbs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .product-single-page__thumb-frame {
    width: clamp(72px, 20vw, 96px);
    height: clamp(56px, 15vw, 72px);
    flex-shrink: 0;
  }
}

@media (max-width: 719px) {
  .product-spec-panel__inner {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .product-spec-panel__layout {
    grid-template-columns: 1fr;
  }

  .product-spec-panel__deco {
    display: none;
  }

  .product-spec-panel__table-wrap {
    max-width: none;
  }

  .product-spec-panel__rule {
    width: 100%;
    margin-bottom: 16px;
  }

  /* Nagłówek tabeli — kompaktowy pas */
  .product-spec-panel__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    padding: 0 4px 0;
    margin-bottom: 0;
  }

  .product-spec-panel__head-cell {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .product-spec-panel__head-cell--unit {
    display: none;
  }

  .product-spec-panel__head-cell--value {
    text-align: right;
  }

  /* Wiersze jako czytelne karty */
  .product-spec-panel__body {
    gap: 8px;
  }

  .product-spec-panel__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name name"
      "unit value";
    gap: 6px 12px;
    align-items: baseline;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .product-spec-panel__row--striped {
    background: rgba(255, 119, 0, 0.12);
  }

  .product-spec-panel__cell {
    font-size: 16px;
    line-height: 1.35;
  }

  .product-spec-panel__cell--name {
    grid-area: name;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
  }

  .product-spec-panel__cell--unit {
    grid-area: unit;
    text-align: left;
    font-size: 13px;
    color: var(--muted);
    min-height: 0;
  }

  .product-spec-panel__cell--unit:empty {
    display: none;
  }

  .product-spec-panel__cell--value {
    grid-area: value;
    text-align: right;
    font-size: 17px;
    font-weight: 500;
  }

  /* Pusta komórka jednostki — wartość na pełną szerokość */
  .product-spec-panel__row:has(.product-spec-panel__cell--unit:empty) {
    grid-template-areas:
      "name name"
      "value value";
  }

  .product-spec-panel__row:has(.product-spec-panel__cell--unit:empty) .product-spec-panel__cell--value {
    text-align: left;
  }
}

.product-single__media {
  margin: 0 0 clamp(20px, 3vw, 32px);
  line-height: 0;
  background: rgba(13, 13, 12, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
  max-height: min(70vh, 520px);
  overflow: hidden;
}

.product-single__media img {
  max-width: 100%;
  max-height: min(64vh, 480px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-grid.is-filtering,
.product-grid.is-loading {
  opacity: 0.42;
  transform: translateY(4px);
  pointer-events: none;
}

.product-archive-pagination.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.product-archive-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.product-archive-pagination .page-numbers li {
  margin: 0;
}

.product-archive-pagination .page-numbers a,
.product-archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease;
}

.product-archive-pagination .page-numbers a:hover,
.product-archive-pagination .page-numbers a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.product-archive-pagination .page-numbers .current,
.product-archive-pagination .page-numbers span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.product-grid.product-grid--animate-in > * {
  opacity: 0;
  transform: translateY(8px);
  animation: u2tCardIn 0.2s ease forwards;
  animation-delay: 0s;
}

@keyframes u2tCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filters {
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 20px;
  background: #fff;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.filters-modern {
  position: relative;
  z-index: 40;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.filters-modern.filters-modern--taxonomy-open {
  z-index: 80;
}

.filters-toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  width: max-content;
  min-width: 100%;
  min-height: 34px;
}

.filter-trigger {
  border: 1px solid rgba(13, 13, 12, 0.16);
  background: rgba(13, 13, 12, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.filter-trigger[aria-expanded="true"] {
  border-color: var(--accent);
  background: rgba(255, 77, 0, 0.12);
  color: var(--accent);
}

.filter-trigger:hover,
.filter-trigger:focus-visible {
  border-color: rgba(255, 77, 0, 0.45);
  background: rgba(255, 77, 0, 0.1);
  color: var(--text);
  outline: none;
}

.filter-trigger:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

@media (min-width: 900px) {
  .filter-trigger {
    background: rgba(13, 13, 12, 0.05);
    border-color: rgba(13, 13, 12, 0.14);
    box-shadow: none;
  }

  .filter-trigger[aria-expanded="true"] {
    background: rgba(255, 77, 0, 0.1);
    border-color: rgba(255, 77, 0, 0.55);
    color: var(--accent);
  }

  .filter-trigger:hover,
  .filter-trigger:focus-visible {
    background: rgba(255, 77, 0, 0.12);
    border-color: rgba(255, 77, 0, 0.45);
    color: var(--text);
  }

  .filters-scroll-btn {
    background: rgba(13, 13, 12, 0.06);
    border-color: rgba(13, 13, 12, 0.16);
    color: var(--text);
  }

  .filters-scroll-btn:hover {
    background: rgba(255, 77, 0, 0.1);
    border-color: rgba(255, 77, 0, 0.45);
    color: var(--text);
  }
}

.filters-toolbar-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.filters-toolbar-shell.is-centered {
  grid-template-columns: 1fr;
  justify-items: stretch;
  align-items: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.filters-toolbar-shell.is-centered .filters-scroll-btn {
  display: none;
}

.filters-toolbar-shell.is-centered .filters-toolbar-scroll {
  justify-content: flex-start;
  overflow: visible;
  width: 100%;
}

.filters-toolbar-shell.is-centered .filters-toolbar {
  min-width: 100%;
  width: 100%;
  margin: 0;
  justify-content: space-between;
  gap: 10px;
}

.filters-toolbar-shell.is-centered .filter-trigger {
  flex: 1 1 0;
  text-align: center;
}

.filters-toolbar-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  align-items: center;
}

.filters-toolbar-scroll::-webkit-scrollbar {
  display: none;
}

.filters-scroll-btn {
  border: 1px solid rgba(13, 13, 12, 0.16);
  background: rgba(13, 13, 12, 0.06);
  color: var(--text);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  transition: all 0.18s ease;
  align-self: center;
  padding: 0;
}

.filters-scroll-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.filters-scroll-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(-1px);
}

.filters-scroll-btn:hover {
  background: rgba(255, 77, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.45);
  color: var(--text);
}

.filters-scroll-btn.is-hidden {
  display: none;
}

.filters-panels {
  margin-top: 0;
  display: grid;
  gap: 10px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
}

.filters-modern.has-open-filter-panel .filters-panels {
  margin-top: 14px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 12px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-items: center;
}

a.active-filter-chip.product-single-page__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding-right: clamp(12px, 2vw, 18px);
  transition: filter 0.18s ease, outline-color 0.18s ease;
}

a.active-filter-chip.product-single-page__chip:hover {
  filter: brightness(0.97);
}

a.active-filter-chip.product-single-page__chip:focus-visible {
  filter: brightness(0.97);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.active-filter-chip__text {
  min-width: 0;
}

.active-filter-chip__remove {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.85;
}

.active-filters-clear {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  min-height: 30px;
  border: 1px solid rgba(13, 13, 12, 0.18);
  border-radius: 999px;
  background: rgba(13, 13, 12, 0.05);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.active-filters-clear:hover,
.active-filters-clear:focus-visible {
  background: rgba(255, 77, 0, 0.12);
  border-color: rgba(255, 77, 0, 0.45);
  color: var(--text);
  outline: none;
}

.active-filters-clear:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.filter-panel {
  position: relative;
  z-index: 0;
  border: 1px solid rgba(13, 13, 12, 0.14);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg);
  overflow: visible;
  will-change: height, opacity;
}

.filter-panel:has([data-filter-taxonomy-toggle][aria-expanded='true']) {
  z-index: 5;
}

.filter-chip-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.filter-chip-fieldset__legend {
  padding: 0;
  margin: 0 0 10px;
  font-size: inherit;
  font-weight: 400;
  color: var(--text);
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.filter-chip-pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  vertical-align: top;
}

.filter-chip-pill__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.filter-chip-pill__input:focus-visible + .product-single-page__chip {
  box-shadow: 0 0 0 2px var(--text);
  outline: none;
}

.filter-chip-pill__input:checked + .product-single-page__chip {
  box-shadow: 0 0 0 2px var(--text);
  outline: none;
}

.filter-chip-pill .product-single-page__chip {
  white-space: nowrap;
  transition: box-shadow 0.15s ease;
}

/* Etykiety w panelach filtrów — jak „Producent”, bez pogrubienia */
.filter-panel .field label {
  font-weight: 400;
}

.filter-taxonomy-select.field {
  max-width: none;
}

.filter-taxonomy-select__control {
  position: relative;
  z-index: 1;
}

.filter-taxonomy-select:has([data-filter-taxonomy-toggle][aria-expanded='true']) {
  z-index: 10;
}

/* Wygląd jak natywny <select> w .field */
.filter-taxonomy-select__toggle {
  position: relative;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 32px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.filter-taxonomy-select__toggle:hover {
  border-color: rgba(13, 13, 12, 0.28);
}

.filter-taxonomy-select__toggle:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.filter-taxonomy-select__toggle-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: translateY(-50%) rotate(45deg);
  flex-shrink: 0;
  pointer-events: none;
}

.filter-taxonomy-select__toggle[aria-expanded='true'] .filter-taxonomy-select__toggle-icon {
  margin-top: 2px;
  transform: translateY(-50%) rotate(-135deg);
}

.filter-taxonomy-select__dropdown {
  position: absolute;
  z-index: 200;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 13, 12, 0.12);
  overflow: hidden;
  isolation: isolate;
}

.filter-taxonomy-select__search-wrap {
  padding: 10px;
  border-bottom: 1px solid rgba(13, 13, 12, 0.1);
}

.filter-taxonomy-select__search {
  width: 100%;
  min-height: 38px;
  padding: 8px 8px 8px 34px;
  border: 1px solid var(--border);
  border-radius: 0;
  font: inherit;
  font-weight: 400;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23666' stroke-width='1.5' d='M7 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z'/%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-width='1.5' d='m11 11 3 3'/%3E%3C/svg%3E") no-repeat 10px center;
}

.filter-taxonomy-select__options {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 260px;
  overflow: auto;
}

.filter-taxonomy-select__option {
  margin: 0;
}

.filter-taxonomy-select__option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
}

.filter-taxonomy-select__option-label:hover {
  background: rgba(255, 77, 0, 0.08);
}

.filter-taxonomy-select__checkbox {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.filter-taxonomy-select__option[hidden] {
  display: none;
}

.range-filter {
  display: grid;
  gap: 10px;
}

.range-filter__label {
  font-size: 14px;
  font-weight: 600;
}

.range-filter__track-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}

.range-filter__track-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
  background: rgba(13, 13, 12, 0.12);
  z-index: 0;
}

.range-filter__track-progress {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 77, 0, 0.45);
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.range-filter input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 28px;
  background: transparent;
  pointer-events: none;
  border: 0;
  padding: 0;
  min-height: auto;
  z-index: 2;
}

.range-filter input[type="range"][data-range-max] {
  z-index: 3;
}

.range-filter input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 999px;
}

.range-filter input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 999px;
}

.range-filter input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(13, 13, 12, 0.25);
  margin-top: -7px;
  pointer-events: auto;
  cursor: pointer;
}

.range-filter input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(13, 13, 12, 0.25);
  pointer-events: auto;
  cursor: pointer;
}

.filter-panel__actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #e84700;
  border-color: #e84700;
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 77, 0, 0.06);
  color: #9a3500;
  border-color: rgba(255, 77, 0, 0.45);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 77, 0, 0.16);
  color: #7c2b00;
  border-color: #d94800;
}

.field {
  display: grid;
  gap: 6px;
}

.field-hint {
  color: #5f6368;
  font-size: 12px;
  line-height: 1.35;
}

input,
textarea,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border);
  padding: 8px;
}

textarea {
  min-height: 120px;
}

.site-footer {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
  background: #eaeaea;
  border-top: 1px solid rgba(13, 13, 12, 0.14);
}

.site-footer__brand {
  position: absolute;
  left: 253px;
  top: calc(1578px + var(--site-footer-pad-top));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.2vw, 22px);
  max-width: min(320px, 42vw);
}

.site-footer__credits-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35em 0.5em;
  margin: 0;
  font-family: "N27", Arial, sans-serif;
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: left;
}

.site-footer__credits-label {
  color: var(--muted);
}

.site-footer__credits-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credits-link:hover,
.site-footer__credits-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.site-footer__credits-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.35);
  border-radius: 2px;
}

.site-footer__canvas {
  /* Na mobile / tablet brak dodatkowego offsetu figmowego */
  --site-footer-pad-top: 0px;
  --site-footer-contact-gap: 0px;
  --site-footer-artboard-h: calc(1832px + var(--site-footer-pad-top) + var(--site-footer-contact-gap));
  position: relative;
  width: 100%;
  /* Mnożnik bez jednostki: length × ratio (nie length × vw — invalid) */
  height: calc(var(--site-footer-artboard-h) * min(1, 100vw / 2048px));
  min-height: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.site-footer__gradient {
  position: absolute;
  width: 220px;
  height: 100%;
  left: 0;
  top: 0;
  transform: none;
  background: linear-gradient(90deg, rgba(255, 76.5, 0, 0.63) 0%, rgba(234.16, 234.16, 234.16, 0.63) 62%, rgba(234.16, 234.16, 234.16, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.site-footer__content {
  position: relative;
  width: 2048px;
  height: var(--site-footer-artboard-h, calc(1832px + var(--site-footer-pad-top) + var(--site-footer-contact-gap)));
  min-height: 0;
  padding-top: 0;
  /* scale() + var(calc(vw)) bywa odrzucane — jawny calc w transform */
  transform: scale(min(1, calc(100vw / 2048px)));
  transform-origin: left top;
  z-index: 1;
}

.site-footer__lead {
  position: absolute;
  left: 925px;
  top: calc(34px + var(--site-footer-pad-top));
  width: 926px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 32px);
  z-index: 1;
}

.site-footer__headline {
  margin: 0;
  position: static;
  width: auto;
  max-width: 926px;
  font-size: 82px;
  line-height: 1.08;
  text-transform: uppercase;
  font-weight: 500;
}

.site-footer__intro {
  margin: 0;
  position: static;
  width: auto;
  max-width: 491px;
  font-size: 20px;
  line-height: 24px;
}

.site-footer__icon {
  position: absolute;
  color: #0d0d0c;
}

/* Ikony call + mail — jedna linia; cała sekcja kontaktowa odsunięta od leadu */
.site-footer__icon--call,
.site-footer__icon--mail {
  top: calc(452px + var(--site-footer-pad-top) + var(--site-footer-contact-gap));
}

.site-footer__icon--call {
  left: 251px;
  width: 45px;
  height: 45px;
}

.site-footer__icon--mail {
  left: 1223px;
  width: 45px;
  height: 36px;
}

.site-footer__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer__contact-grid {
  position: absolute;
  left: 253px;
  top: calc(564px + var(--site-footer-pad-top) + var(--site-footer-contact-gap));
  width: 583px;
  display: flex;
  flex-direction: column;
  /* 48px w przestrzeni layoutu 2048px — przy skalowaniu canvasu zachowuje proporcje z makietą */
  gap: 48px;
}

.site-footer__line {
  display: grid;
  grid-template-columns: 175px 1fr;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid #ff8a63;
  border-left: 1px solid #ff8a63;
  padding: 0 0 0 12px;
}

.site-footer__line:last-child {
  border-bottom: 1px solid #ff8a63;
}

.site-footer__line a {
  text-decoration: none;
}

.site-footer__contact-box {
  position: absolute;
  left: 1222px;
  top: calc(564px + var(--site-footer-pad-top) + var(--site-footer-contact-gap));
  width: 677px;
  min-height: 296px;
  display: block;
  margin: 0;
  padding: 0;
}

.site-footer__field {
  --u2t-field-rail-h: 28px;
  display: block;
  position: relative;
  margin: 0 0 42px;
  padding-left: 18px;
}

.site-footer__field::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  background: #ff8a63;
}

.site-footer__field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background: #ff8a63;
}

.site-footer__field--email::before {
  height: var(--u2t-field-rail-h);
}

.site-footer__field--email::after {
  width: 338px;
}

.site-footer__field--phone::before {
  height: var(--u2t-field-rail-h);
}

.site-footer__field--phone::after {
  width: 338px;
}

.site-footer__field--message {
  margin-bottom: 24px;
}

.site-footer__field--message::before {
  height: 160px;
}

.site-footer__field--message::after {
  width: 677px;
}

.site-footer__field span {
  display: block;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 24px;
}

.site-footer__field input,
.site-footer__field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--text);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.site-footer__field input {
  height: var(--u2t-field-rail-h);
  min-height: var(--u2t-field-rail-h);
  max-height: var(--u2t-field-rail-h);
  padding: 0 12px 0 8px;
  line-height: var(--u2t-field-rail-h);
}

.site-footer__field textarea {
  min-height: 110px;
  height: 110px;
  padding: 8px 12px 10px 8px;
  line-height: 1.45;
  resize: none;
}

.site-footer__field input:focus,
.site-footer__field textarea:focus {
  outline: none;
}

.site-footer__submit {
  display: block;
  width: fit-content;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__submit:hover,
.site-footer__submit:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.site-footer__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.site-footer__info {
  position: absolute;
  left: 253px;
  top: calc(1212px + var(--site-footer-pad-top));
  width: 803px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.site-footer__label {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
}

.site-footer__label--location {
  margin-top: 96px;
}

.site-footer__info p:not(.site-footer__label):not(.site-footer__meta-block) {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 24px;
}

.site-footer__info a {
  text-decoration: none;
}

.site-footer__info strong {
  font-weight: 500;
}

.site-footer__meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 20px;
}

.site-footer__meta-block:last-child {
  margin-bottom: 0;
}

.site-footer__meta-icon {
  display: flex;
  align-items: center;
  line-height: 0;
}

.site-footer__meta-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.site-footer__meta-icon--mail img {
  width: 20px;
  height: 16px;
}

.site-footer__meta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.site-footer__meta-text--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.5em;
}

.site-footer__meta-text--inline a {
  text-decoration: underline;
  word-break: break-word;
}

.site-footer__meta-line {
  display: block;
  width: 100%;
}

.site-footer__meta-text a.site-footer__meta-line {
  text-decoration: underline;
  word-break: break-word;
}

.site-footer__info .site-footer__meta-line strong,
.site-footer__info .site-footer__meta-text--inline strong {
  font-weight: 500;
}

.site-footer__social {
  display: flex;
  gap: 56px;
  margin-top: 34px;
}

.site-footer__more {
  position: absolute;
  text-decoration: none;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  font-weight: 700;
}

.site-footer__more--hero {
  left: 929px;
  top: var(--site-footer-pad-top);
}

.site-footer__more--call {
  left: 744px;
  top: calc(952px + var(--site-footer-pad-top));
}

.site-footer__logo-link {
  position: static;
  display: inline-flex;
}

.site-footer__logo {
  width: 132px;
  height: auto;
  max-width: 100%;
}

.site-footer__shape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 774.72px;
  height: 769.77px;
  display: grid;
  place-items: end;
  pointer-events: none;
  z-index: 1;
}

.site-footer__shape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  background: transparent;
}

/* Desktop: odstęp nad [KONTAKT] + przerwa lead → sekcja formularzy (115px @ 1920) */
@media (min-width: 1181px) {
  .site-footer__canvas {
    --site-footer-pad-top: clamp(72px, 7.5vw, 160px);
    --site-footer-contact-gap: clamp(48px, calc(100vw * 115 / 1920), 115px);
  }
}

/* Ultra-wide (≥2049): wypełnij szerokość viewportu — bez pustej przerwy po prawej. */
@media (min-width: 2049px) {
  .site-footer__canvas {
    height: calc(var(--site-footer-artboard-h) * (100vw / 2048px));
  }

  .site-footer__content {
    left: 50%;
    transform: translateX(-50%) scale(calc(100vw / 2048px));
    transform-origin: top center;
  }

  .home-page-stack {
    --home-board-w: calc(100vw - 2 * var(--home-gutter));
  }

  /* Siatka rośnie proporcjonalnie (padding z Figmy), tekst wypełnia kolumnę */
  .home-about__body {
    max-width: 100%;
  }

  .home-about__title {
    max-width: 100%;
  }

  .home-bridge-shape img {
    width: min(685px, calc(100vw * 685 / var(--home-ref, 1920)));
  }
}

@media (max-width: 1180px) {
  .site-footer__canvas {
    --footer-scale: 1;
    height: auto;
    min-height: 0;
  }

  .site-footer__content {
    --site-footer-stack-gap: clamp(20px, 3vw, 28px);
    position: relative;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding-top: 40px;
    transform: none;
    display: grid;
    gap: var(--site-footer-stack-gap);
    padding-right: var(--page-gutter);
    padding-bottom: max(200px, calc(72px + env(safe-area-inset-bottom, 0px)));
    padding-left: var(--page-gutter);
  }

  .site-footer__gradient {
    width: 100%;
    height: 340px;
    left: 0;
    top: 0;
    transform: none;
    background: linear-gradient(180deg, rgba(255, 77, 0, 0.28) 0%, rgba(234, 234, 234, 0) 100%);
  }

  .site-footer__lead {
    display: contents;
  }

  .site-footer__headline,
  .site-footer__intro,
  .site-footer__contact-grid,
  .site-footer__contact-box,
  .site-footer__info,
  .site-footer__more,
  .site-footer__brand,
  .site-footer__logo-link,
  .site-footer__icon {
    position: static;
    width: auto;
  }

  .site-footer__brand {
    display: contents;
    max-width: none;
    margin-top: 0;
    gap: 0;
  }

  .site-footer__logo-link {
    margin-top: clamp(24px, 5vw, 40px);
  }

  .site-footer__credits-text {
    position: absolute;
    left: var(--page-gutter);
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    z-index: 4;
    margin: 0;
  }

  .site-footer__headline {
    font-size: clamp(34px, 8vw, 62px);
    line-height: 1.06;
    max-width: 16ch;
  }

  .site-footer__intro {
    max-width: 60ch;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .site-footer__icon {
    display: none;
  }

  .site-footer__contact-grid {
    border-top: 1px solid #ff4d00;
    gap: clamp(20px, 2.5vw, 48px);
    margin-top: clamp(48px, calc(100vw * 115 / 1920), 115px);
  }

  .site-footer__line {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0 12px 12px;
    min-height: 0;
  }

  .site-footer__contact-box {
    min-height: 0;
    padding: 0;
  }

  .site-footer__field {
    --u2t-field-rail-h: 32px;
    margin-bottom: 18px;
  }

  .site-footer__field--email::before,
  .site-footer__field--phone::before {
    height: var(--u2t-field-rail-h);
  }

  .site-footer__field span {
    font-size: 18px;
  }

  .site-footer__field--email::after,
  .site-footer__field--phone::after,
  .site-footer__field--message::after {
    width: 100%;
  }

  .site-footer__field--message::before {
    height: 112px;
  }

  .site-footer__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--u2t-mobile-stack, clamp(16px, 4vw, 24px));
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 500;
    line-height: 1.35;
  }

  .site-footer__info > div {
    display: flex;
    flex-direction: column;
    gap: var(--u2t-mobile-stack, clamp(16px, 4vw, 24px));
  }

  .site-footer__info p:not(.site-footer__label):not(.site-footer__meta-block),
  .site-footer__info .site-footer__meta-line,
  .site-footer__info .site-footer__meta-text,
  .site-footer__info .site-footer__meta-text--inline,
  .site-footer__info .site-footer__meta-text--inline a,
  .site-footer__info .site-footer__meta-text--inline strong,
  .site-footer__label,
  .site-footer__info strong {
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
  }

  .site-footer__label {
    margin: 0;
  }

  .site-footer__info > div + div > .site-footer__label:first-of-type {
    margin-top: clamp(20px, 4vw, 32px);
  }

  .site-footer__label--location {
    margin-top: clamp(20px, 4vw, 32px);
  }

  .site-footer__more--hero {
    margin-top: clamp(20px, 4vw, 32px);
  }

  .site-footer__info p:not(.site-footer__label):not(.site-footer__meta-block) {
    margin: 0;
  }

  .site-footer__meta-block {
    margin: 0;
    gap: var(--u2t-mobile-stack, clamp(16px, 4vw, 24px));
  }

  .site-footer__social {
    margin-top: 12px;
    gap: 28px;
  }

  .site-footer__more {
    display: inline-flex;
    width: fit-content;
    margin: 0;
  }

  .site-footer__logo {
    width: 108px;
  }

  .site-footer__shape {
    right: 0;
    bottom: 0;
    width: 220px;
    height: 220px;
  }

  .site-footer__shape img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 40px;
  }

  .site-footer__content {
    --site-footer-stack-gap: clamp(16px, 4vw, 22px);
    padding-top: 32px;
    padding-right: var(--page-gutter);
    padding-bottom: max(180px, calc(64px + env(safe-area-inset-bottom, 0px)));
    padding-left: var(--page-gutter);
    gap: var(--site-footer-stack-gap);
  }

  .site-footer__headline {
    font-size: clamp(28px, 10vw, 40px);
  }

  .site-footer__intro,
  .site-footer__line,
  .site-footer__field span,
  .site-footer__info,
  .site-footer__info p,
  .site-footer__info .site-footer__meta-line,
  .site-footer__info .site-footer__meta-text--inline,
  .site-footer__info .site-footer__meta-text--inline strong,
  .site-footer__info strong,
  .site-footer__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
  }

  .site-footer__logo-link {
    margin-top: clamp(28px, 7vw, 48px);
  }

  .site-footer__credits-text {
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }

  .site-footer__field--message::before {
    height: 86px;
  }

  /* Wyraźniejsze przerwy między blokami info i linkami */
  .site-footer__info > div + div > .site-footer__label:first-of-type {
    margin-top: clamp(24px, 6vw, 40px);
  }

  .site-footer__info .site-footer__label--location {
    margin-top: clamp(24px, 6vw, 40px);
  }

  .site-footer__more--hero {
    margin-top: clamp(24px, 6vw, 40px);
  }
}

@media (min-width: 900px) {
  :root {
    --page-gutter: 24px;
  }

  /* Pasek na pełną wysokość headera — dół <li> = czarna linia border-bottom; bez width:100% (psuje .container) */
  .site-header {
    align-items: stretch;
  }

  .site-header__bar {
    align-items: stretch;
    align-self: stretch;
    min-height: var(--header-height);
  }

  .site-header.is-sticky .site-header__bar {
    min-height: var(--header-height-sticky);
  }

  .site-logo-link {
    align-self: center;
  }

  .site-header__actions {
    align-items: stretch;
  }

  .site-nav {
    display: flex;
    align-items: stretch;
    height: 100%;
  }

  .site-nav > li {
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters-modern .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-modern {
    padding: 12px 0 18px;
  }

  .filters-toolbar-shell {
    gap: 12px;
  }

  .filters-modern.has-open-filter-panel .filters-panels {
    margin-top: 24px;
  }

  .filters-panels {
    gap: 16px;
  }

  .filter-panel {
    padding: 24px 28px 28px;
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(13, 13, 12, 0.05);
    border-color: rgba(13, 13, 12, 0.14);
  }

  .filter-panel .field {
    gap: 8px;
  }

  .filter-panel .field-hint {
    margin-top: 4px;
    display: block;
  }

  .filter-panel__actions {
    margin-top: 20px;
    padding-top: 12px;
  }

  .active-filters {
    margin-top: 16px;
  }

  .site-footer__canvas {
    min-height: clamp(760px, 42vw, 1832px);
  }

}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* —— Blog: listing —— */
.section--blog-archive {
  padding-top: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: clamp(24px, 4vw, 48px) 0;
}

.blog-grid--related {
  margin-top: clamp(16px, 2vw, 24px);
}

.blog-card__box {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(13, 13, 12, 0.1);
  background: transparent;
  box-shadow: 0 12px 40px rgba(13, 13, 12, 0.05);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card__box:hover,
.blog-card__box:focus-visible {
  border-color: rgba(255, 77, 0, 0.35);
  box-shadow: 0 16px 48px rgba(13, 13, 12, 0.1);
}

.blog-card__box:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .blog-card__box:hover {
    transform: translateY(-2px);
  }
}

.blog-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--product-hero-grey);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card__body {
  flex: 1;
  padding: clamp(16px, 2.5vw, 24px);
  background: rgba(234, 234, 234, 0.2);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid rgba(13, 13, 12, 0.08);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 10px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card__category {
  color: var(--accent);
  font-weight: 700;
}

.blog-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.blog-card__box:hover .blog-card__title,
.blog-card__box:focus-visible .blog-card__title {
  color: var(--accent);
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted);
}

.blog-card__cta {
  display: block;
  margin-top: auto;
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(13, 13, 12, 0.08);
  background: rgba(234, 234, 234, 0.35);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-card__box:hover .blog-card__cta,
.blog-card__box:focus-visible .blog-card__cta {
  background: var(--accent);
  color: #fff;
  border-top-color: var(--accent);
}

.blog-pagination {
  margin: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
}

.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.blog-pagination__item a,
.blog-pagination__item span {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.875rem;
  text-align: center;
}

.blog-pagination__item .current {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.blog-pagination__item a:hover,
.blog-pagination__item a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-empty {
  margin: 48px 0;
  font-size: 1.125rem;
  color: var(--muted);
}

/* —— Blog: single —— */
body.u2t-blog-hero-under-header main {
  padding-top: 0;
}

.blog-single-header {
  background: var(--bg);
}

.blog-single-header--has-cover {
  position: relative;
  z-index: 1;
}

.blog-single-header__stage {
  position: relative;
}

.blog-single-header--has-cover .blog-single-header__stage {
  min-height: calc(var(--header-height) + clamp(380px, 52vh, 620px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: var(--header-height);
}

body.admin-bar .blog-single-header--has-cover .blog-single-header__stage {
  min-height: calc(var(--header-height) + 32px + clamp(380px, 52vh, 620px));
  padding-top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .blog-single-header--has-cover .blog-single-header__stage {
    min-height: calc(var(--header-height) + 46px + clamp(380px, 52vh, 620px));
    padding-top: calc(var(--header-height) + 46px);
  }
}

.blog-single-header__cover {
  position: absolute;
  inset: 0;
  background-image: var(--blog-cover);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-single-header__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 12, 0.08) 0%,
    rgba(234, 234, 234, 0.18) 18%,
    rgba(234, 234, 234, 0.55) 48%,
    rgba(234, 234, 234, 0.92) 78%,
    var(--bg) 100%
  );
}

.blog-single-header__inner {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px);
}

.blog-single-header--has-cover .blog-single-header__inner {
  align-self: center;
}

.blog-single-header:not(.blog-single-header--has-cover) .blog-single-header__inner {
  padding-top: clamp(24px, 3vw, 40px);
}

.blog-single-header__eyebrow {
  margin: 0 0 12px;
}

.blog-single-header__back {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.blog-single-header__back:hover,
.blog-single-header__back:focus-visible {
  color: var(--accent);
}

.blog-single-header__title {
  margin: 0 0 16px;
  max-width: none;
  width: 100%;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.blog-single-header--has-cover .blog-single-header__title {
  text-shadow: 0 1px 24px rgba(234, 234, 234, 0.85);
}

.blog-single-header__rule {
  max-width: min(200px, 50%);
  margin: 0 0 16px;
  border: 0;
  border-top: 1px solid var(--accent);
}

.blog-single-header__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.blog-single-header__meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.blog-single-header__sep {
  margin: 0 6px;
}

.blog-single__content-wrap {
  padding: 40px 0 48px;
}

.blog-single__content {
  max-width: none;
  margin: 0;
}

.blog-single__footer {
  max-width: none;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.blog-single__tags {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--muted);
}

.blog-single__tags a {
  color: var(--accent);
  font-weight: 500;
}

.blog-single__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
  margin: 0;
}

.blog-related__title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-related__rule {
  max-width: 120px;
  margin: 0 0 clamp(20px, 3vw, 28px);
  border: 0;
  border-top: 1px solid var(--accent);
}

@media (max-width: 720px) {
  .blog-single__cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
