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

:root {
  --bg: #eaeaea;
  --text: #0d0d0c;
  --muted: #666666;
  --accent: #ff4d00;
  --accent-soft: #f2a154;
  --border: #e8e8e8;
  --header-height: 84px;
  --header-height-sticky: 68px;
  --header-border: #0d0d0c;
  --page-gutter: 16px;
  --product-chip-ok: #44da8f;
  --product-chip-muted: #bcc3be;
  --product-chip-used: #0032ff;
  --product-chip-refurb: #9095ff;
  --product-chip-on-dark: #eaeaea;
  --product-chip-rented: rgba(255, 76, 0, 0.68);
  --product-chip-reserved: rgba(255, 119, 0, 0.15);
  --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;
}

@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, 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 {
  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: 28px;
}

.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;
  /* Figma 1920: 100px 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 {
  /* Typografia mobilnego menu: jedna skala (główne vs podmenu) — bez „billboard” 7vw */
  --mm-link: clamp(17px, 4vw, 20px);
  --mm-sublink: clamp(14px, 3.25vw, 16px);
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: #eaeaea;
  z-index: 110;
  padding: calc(var(--header-height) + 24px) var(--page-gutter) 24px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

html.has-open-menu .mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.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 (Figma), obramowanie #FF4D00, „→” obrócone -90deg; widać 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 layout reference: 1920px artboard (Figma). Scale with % / 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;
  /* Figma 1920: CTA gap 112px → skala vw z limitem */
  --hero-cta-gap: clamp(20px, calc(100vw * 112 / var(--hero-ref)), 112px);
  position: relative;
  /* hidden obcinał dół wysokiego kształtu (.hero__shape); pełna grafika może nachodzić na następną sekcję */
  overflow: visible;
  background: var(--bg);
  padding: 0 0 clamp(40px, 6vw, 120px);
}

.hero__shape {
  position: absolute;
  /* Figma 1920: 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(100vw * 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;
}

.hero__inner {
  position: relative;
  z-index: 1;
  /* rezerwa pod kształt — skala z 1920 (1170px), % od viewportu (nie od wąskiego .container) */
  padding-right: min(
    calc(100vw * var(--hero-shape-w) / var(--hero-ref) * 0.42 + var(--page-gutter)),
    520px
  );
  /* Odstęp pod fixed header + większy oddech na desktopie (Figma ref. 1920, max +56px pod header) */
  padding-top: calc(var(--header-height) + clamp(16px, calc(100vw * 56 / var(--hero-ref)), 56px));
}

/* 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);
}

/* Figma: 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;
}

@media (max-width: 720px) {
  .hero__inner {
    padding-right: 0;
    padding-top: clamp(12px, 3vw, 24px);
  }

  .hero__shape {
    left: auto;
    right: 0;
    width: min(72vw, 320px);
    max-width: none;
    aspect-ratio: 1170 / 1213;
    opacity: 0.92;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    --hero-cta-gap: 12px;
  }

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

.section {
  padding: 40px 0;
}

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

.product-archive-hero {
  --pa-ref: 1920;
  --pa-hero-h: 822; /* Figma 1920: wysokość bloku od dolnej krawędzi headera */
  --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 artboardu 1920×2164 (Figma) */
.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 --- */
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;
  margin-top: clamp(
    28px,
    calc(
      min(100vw * var(--hero-shape-w) / var(--home-ref), calc(var(--hero-shape-w) * 1px)) * var(--hero-shape-h) /
        var(--hero-shape-w) * 0.36
    ),
    460px
  );
  padding-top: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(40px, 5vw, 96px);
  position: relative;
  z-index: 1;
}

/*
 * „Poznaj nas” — ramka 1670: siatka 323.5 + 17.5 + 656 (997px treści).
 * Offset lewej kolumny: mniejszy niż Figma 673 — 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;
  left: max(0px, calc((100vw - var(--home-boxed-max, 1920px)) / 2));
  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(calc(100vw * 685 / var(--home-ref, 1920)), 685px);
  max-width: 85vw;
  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: center;
    text-align: center;
  }

  .home-about__title {
    margin-inline: auto;
  }

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

  /* 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) {
  main > .hero:first-child + .home-page-stack .section.home-about {
    --hero-shape-h: 1213;
    --hero-shape-w: 1170;
    margin-top: clamp(
      20px,
      calc(min(72vw, 320px) * var(--hero-shape-h) / var(--hero-shape-w) * 0.36),
      200px
    );
  }
}

/* --- 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 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 26% 11.4% 12%;
  border: 1px solid var(--accent);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  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 {
  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;
  max-width: min(245px, 78%);
}

.home-offer__card-more {
  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: center;
    margin-inline: auto;
  }

  .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;
  }

}

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

  .home-offer__card {
    padding: clamp(20px, 6vw, 28px) clamp(18px, 5vw, 24px);
    aspect-ratio: unset;
    min-height: min(220px, 48vw);
  }

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

.product-grid {
  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;
}

/* Karta katalogu — jeden box (Figma): #EAEAEA, obramowanie #FF4D00, r15 */
.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 {
  margin: 0;
  padding: 0;
  line-height: 0;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 318 / 341.63;
  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__media-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  text-decoration: none;
}

.product-card__media-zone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  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(--text);
}

.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);
}

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

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

@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;
  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__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;
}

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

.product-single-page__chip--status-dostepny {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.product-single-page__chip--status-sprzedany {
  background: transparent;
  border-color: var(--product-chip-muted);
  color: var(--product-chip-muted);
}

.product-single-page__chip--status-rezerwacja {
  background: var(--product-chip-reserved);
  border-color: transparent;
  color: var(--text);
}

.product-single-page__chip--status-wynajety {
  background: var(--product-chip-rented);
  border-color: rgba(255, 76, 0, 0.9);
  color: var(--text);
}

.product-single-page__chip--condition-nowy {
  background: var(--product-chip-ok);
  border-color: var(--product-chip-ok);
  color: var(--text);
}

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

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

.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);
}

.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__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.product-single-page__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 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;
}

.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 {
    gap: 8px 12px;
    margin-bottom: clamp(12px, 2vw, 22px);
  }

  .product-single-page__action {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 12px;
  }

  .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) {
  @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--next {
      bottom: 0;
      transform: translate(-50%, calc(100% + 10px));
    }

    .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) + 16px);
}

.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 {
  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: 28px;
}

.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: 28px;
}

.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: 28px;
}

.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;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.35;
  color: var(--text);
  min-height: 0;
  resize: vertical;
}

.product-inquiry__field textarea {
  min-height: 110px;
}

.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 — pas do min(100vw, 1920px), wyśrodkowany powyżej 1920; kształt od lewej krawędzi pasu */
.product-spec-panel {
  width: 100vw;
  margin-top: clamp(24px, 4vw, 48px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(24px, 3.5vw, 44px) 0;
  box-sizing: border-box;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.product-spec-panel__band {
  width: min(100vw, 1920px);
  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;
}

.product-spec-panel__deco {
  position: relative;
  align-self: start;
}

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

.product-spec-panel__column {
  min-width: 0;
}

.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-bottom: clamp(14px, 2.2vw, 24px);
  overflow: hidden;
}

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

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

.product-spec-panel__head,
.product-spec-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(23rem, 1.28fr) 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;
}

.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;
}

.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);
}

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

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

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

@media (max-width: 520px) {
  .product-spec-panel__head,
  .product-spec-panel__row {
    grid-template-columns: minmax(0, 0.52fr) minmax(17rem, auto) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
  }

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

  .product-spec-panel__cell--unit {
    font-size: clamp(13px, 3.4vw, 15px);
  }

  .product-spec-panel__cell--value {
    font-weight: 500;
  }
}

.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 {
  opacity: 0.42;
  transform: translateY(4px);
}

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

.product-grid.product-grid--animate-in > *:nth-child(2) { animation-delay: 0.04s; }
.product-grid.product-grid--animate-in > *:nth-child(3) { animation-delay: 0.08s; }
.product-grid.product-grid--animate-in > *:nth-child(4) { animation-delay: 0.12s; }
.product-grid.product-grid--animate-in > *:nth-child(5) { animation-delay: 0.16s; }
.product-grid.product-grid--animate-in > *:nth-child(6) { animation-delay: 0.20s; }
.product-grid.product-grid--animate-in > *:nth-child(7) { animation-delay: 0.24s; }
.product-grid.product-grid--animate-in > *:nth-child(8) { animation-delay: 0.28s; }

@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 {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.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;
}

.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 {
  border: 1px solid rgba(13, 13, 12, 0.14);
  border-radius: 10px;
  padding: 12px;
  background: rgba(13, 13, 12, 0.06);
  will-change: height, opacity;
}

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

.filter-chip-fieldset__legend {
  padding: 0;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  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 {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.filter-chip-pill__input:checked + .product-single-page__chip {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.filter-chip-pill .product-single-page__chip {
  white-space: nowrap;
}

.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__canvas {
  --footer-scale: min(1, calc((100vw - 0px) / 2048px));
  /* Na mobile / tablet brak dodatkowego offsetu figmowego */
  --site-footer-pad-top: 0px;
  --site-footer-contact-gap: 0px;
  position: relative;
  width: 100%;
  height: calc((1832px + var(--site-footer-pad-top) + var(--site-footer-contact-gap)) * var(--footer-scale));
  min-height: 820px;
  margin: 0 auto;
}

.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;
  min-height: calc(1832px + var(--site-footer-pad-top) + var(--site-footer-contact-gap));
  padding-top: 0;
  transform: scale(var(--footer-scale));
  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 {
  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: 28px;
}

.site-footer__field--email::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;
  min-height: 0;
  padding: 0;
  font: inherit;
  line-height: 1.2;
}

.site-footer__field textarea {
  height: 110px;
  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;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 0;
  cursor: pointer;
}

.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;
  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: 400;
}

.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: absolute;
  left: 253px;
  top: calc(1578px + var(--site-footer-pad-top));
  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);
  }
}

@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);
    width: 100%;
    min-height: 0;
    padding-top: 40px;
    transform: none;
    display: grid;
    gap: var(--site-footer-stack-gap);
    padding-right: var(--page-gutter);
    padding-bottom: 140px;
    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__logo-link,
  .site-footer__icon {
    position: static;
    width: auto;
  }

  .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 {
    margin-bottom: 18px;
  }

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

  .site-footer__field--email::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: 18px;
  }

  .site-footer__label {
    margin: 0 0 10px;
  }

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

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

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

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

  .site-footer__logo-link {
    margin-top: 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: 112px;
    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 p,
  .site-footer__label {
    font-size: 16px;
    line-height: 1.35;
  }

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

@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);
  }

  .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: rgba(13, 13, 12, 0.07);
    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;
  }
}
