/* --- Inter, wersja lokalna --------------------------------------------------
   Krój leży u nas, nie u Google. Powody trzy: polityka bezpieczeństwa treści
   sklepu (style-src 'self') i tak blokuje zewnętrzny arkusz, adres IP
   odwiedzającego nie wycieka do usługi w USA, a pierwsze malowanie nie czeka
   na obcy serwer. Subset latin-ext jest obowiązkowy — bez niego znikają ą, ć,
   ę, ł, ń, ó, ś, ź i ż. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/tp/fonty/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =============================================================================
   Truck-Parts — powłoka sklepu wg projektu 1.0 (design/truck-parts-projekt-sklepu.pdf)

   Arkusz wczytywany PO main.css i celowo używa własnych klas `tp-`. Dzięki temu
   nie walczy o specyficzność ze starymi regułami nagłówka i stopki — one po
   prostu nie mają czego dopasować. Stare bloki w main.css zostają na czas
   przebudowy i idą do usunięcia, gdy wszystkie ekrany będą przeniesione.

   Paleta i wymiary pochodzą z planszy C01 „System komponentów".
   ========================================================================== */

/* --- Normalizacja między przeglądarkami --------------------------------------
   Chrome, Firefox i WebKit mają różne wartości domyślne dla pól formularzy,
   marginesu body i skalowania tekstu. Bez tego ten sam układ mierzy się inaczej
   w każdej przeglądarce, a różnica bierze się z ustawień domyślnych, nie
   z arkusza. Selektory są elementowe, czyli o najniższej specyficzności —
   każda reguła komponentu je bije i nic tu nie przechwytuje grubości pisma,
   jak stało się kiedyś przy regule z selektorem .tp-shell button. Panel
   administracyjny nie wczytuje tego pliku, więc reguły nie sięgają poza sklep. */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Miejsce na pasek przewijania rezerwujemy zawsze — inaczej strona krótsza
     od ekranu jest o kilkanaście pikseli szersza od dłuższej i przy przejściu
     między nimi cały układ skacze w bok. */
  scrollbar-gutter: stable;
}

body { margin: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { appearance: none; -webkit-appearance: none; }

img,
svg { display: block; max-width: 100%; }

:root {
  /* Finalny system v2 — nazwy źródłowe z paczki wdrożeniowej. */
  --tp-red-700: #a9001b;
  --tp-red-600: #c90020;
  --tp-red-500: #e80025;
  --tp-red-100: #ffe9ed;
  --tp-red-050: #fff4f6;

  --tp-ink: #17191d;
  --tp-text: #252930;
  --tp-muted: #66707b;
  --tp-subtle: #8a929d;
  --tp-border: #dfe3e8;
  --tp-border-strong: #c8ced6;
  --tp-surface: #ffffff;
  --tp-surface-soft: #f6f7f9;
  --tp-surface-muted: #eef1f4;

  --tp-success: #0d8f5a;
  --tp-success-bg: #eaf7f0;
  --tp-warning: #9a6a00;
  --tp-warning-bg: #fff6dc;
  --tp-error: #c5222a;
  --tp-error-bg: #fff0f1;
  --tp-info: #365c9d;
  --tp-info-bg: #edf3ff;

  --tp-font-sans: "Inter", Arial, sans-serif;
  --tp-weight-regular: 400;
  --tp-weight-semibold: 600;
  --tp-weight-bold: 700;
  --tp-text-xs: 12px;
  --tp-text-sm: 14px;
  --tp-text-md: 16px;
  --tp-text-lg: 18px;
  --tp-title-sm: 24px;
  --tp-title-md: 32px;
  --tp-title-lg: 42px;
  --tp-leading-xs: 16px;
  --tp-leading-sm: 20px;
  --tp-leading-md: 24px;
  --tp-leading-lg: 28px;
  --tp-leading-title-sm: 32px;
  --tp-leading-title-md: 40px;
  --tp-leading-title-lg: 48px;

  --tp-space-1: 4px;
  --tp-space-2: 8px;
  --tp-space-3: 12px;
  --tp-space-4: 16px;
  --tp-space-5: 20px;
  --tp-space-6: 24px;
  --tp-space-8: 32px;
  --tp-space-10: 40px;
  --tp-space-12: 48px;
  --tp-space-16: 64px;
  --tp-space-20: 80px;

  --tp-radius-sm: 6px;
  --tp-radius-md: 10px;
  --tp-radius-lg: 14px;
  --tp-radius-pill: 999px;
  --tp-shadow-sm: 0 1px 2px rgb(23 25 29 / 6%);
  --tp-shadow-md: 0 8px 24px rgb(23 25 29 / 10%);

  --tp-container-max: 1320px;
  --tp-grid-gap: 24px;
  --tp-section-gap: 72px;
  --tp-gutter: 60px;
  --tp-header-utility-h: 38px;
  --tp-header-main-h: 74px;
  --tp-header-nav-h: 48px;
  --tp-header-search-h: 64px;
  --tp-control-h: 48px;
  --tp-control-h-mobile: 52px;
  --tp-tap-min: 44px;

  --tp-motion-fast: 120ms;
  --tp-motion-base: 180ms;
  --tp-ease: cubic-bezier(.2, .8, .2, 1);

  /* Aliasy utrzymują istniejące komponenty przy jednej, spójnej palecie v2. */
  --tp-red: var(--tp-red-500);
  --tp-red-dark: var(--tp-red-600);
  --tp-red-hover: var(--tp-red-600);
  --tp-graphite: var(--tp-text);
  --tp-bg: var(--tp-surface-soft);
  --tp-soft: var(--tp-surface-soft);
  --tp-accent: var(--tp-red-050);
  --tp-pale: var(--tp-red-050);
  --tp-ok: var(--tp-success);
  --tp-warn: var(--tp-warning);
  --tp-line: var(--tp-border);
  --tp-check: var(--tp-border-strong);
  --tp-white: var(--tp-surface);
  --tp-touch: var(--tp-tap-min);
  --tp-control: var(--tp-control-h);
  --tp-radius-btn: var(--tp-radius-md);
  --tp-radius: var(--tp-radius-lg);
  --tp-max: var(--tp-container-max);
}

/* --- Wspólne stany interfejsu: select, aktywne menu, minikoszyk i cookies --- */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px !important;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6469' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
select::-ms-expand { display: none; }
select:focus {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e80025' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
select:disabled { background-image: none; }

.tp-nav-link[aria-expanded="true"] { color: var(--tp-red); }
.tp-nav-link[aria-expanded="true"]::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--tp-red);
}

.tp-footer-cookie-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tp-footer-cookie-button:hover { color: var(--tp-red); text-decoration: underline; }

.tp-global-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 220;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: min(390px, calc(100% - 32px));
  min-height: 62px;
  padding: 13px 16px;
  border: 1px solid #d9dfe5;
  border-radius: 12px;
  background: #fff;
  color: var(--tp-graphite);
  box-shadow: 0 18px 46px rgba(18, 23, 31, .18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.tp-global-toast::before { content: 'i'; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 800; }
.tp-global-toast.is-visible { opacity: 1; transform: translateY(0); }
.tp-global-toast.is-success { border-color: #bfe4cc; background: #eef9f2; color: #176b3b; }
.tp-global-toast.is-success::before { content: '✓'; }
.tp-global-toast.is-error { border-color: #f0b9c0; background: #fff1f3; color: #b1001e; }
.tp-global-toast.is-error::before { content: '!'; }

.tp-mini-cart-backdrop {
  position: fixed;
  z-index: 230;
  inset: 0;
  border: 0;
  background: rgba(25, 29, 34, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.tp-mini-cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.tp-mini-cart {
  position: fixed;
  z-index: 231;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(420px, 100%);
  background: #fff;
  box-shadow: -20px 0 55px rgba(20, 24, 30, .2);
  transform: translateX(105%);
  transition: transform .22s ease;
}
.tp-mini-cart.is-open { transform: translateX(0); }
.tp-mini-cart-head { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 18px 22px; border-bottom: 1px solid var(--tp-line); }
.tp-mini-cart-head strong { font-size: 22px; }
.tp-mini-cart-close { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; color: var(--tp-graphite); font-size: 25px; cursor: pointer; }
.tp-mini-cart-items { overflow-y: auto; padding: 8px 22px; }
.tp-mini-cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--tp-line); }
.tp-mini-cart-item img { width: 72px; height: 72px; padding: 5px; border-radius: 9px; background: var(--tp-bg); object-fit: contain; }
.tp-mini-cart-item a { color: var(--tp-graphite); font-size: 14px; font-weight: 700; text-decoration: none; }
.tp-mini-cart-item span { display: block; margin-top: 5px; color: var(--tp-muted); font-size: 12px; }
.tp-mini-cart-item b { white-space: nowrap; font-size: 13px; }
.tp-mini-cart-empty { display: grid; min-height: 280px; place-items: center; color: var(--tp-muted); text-align: center; }
.tp-mini-cart-foot { padding: 20px 22px 24px; border-top: 1px solid var(--tp-line); background: #fff; }
.tp-mini-cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.tp-mini-cart-total span { color: var(--tp-muted); font-size: 13px; }
.tp-mini-cart-total strong { font-size: 23px; }
.tp-mini-cart-actions { display: grid; gap: 9px; }
.tp-mini-cart-actions .tp-btn { width: 100%; }
body.tp-mini-cart-open { overflow: hidden; }

.tp-cookie-banner {
  position: fixed;
  z-index: 240;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  width: min(calc(100% - 48px), var(--tp-max));
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(22, 26, 32, .2);
}
.tp-cookie-banner[hidden] { display: none; }
.tp-cookie-copy { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.tp-cookie-copy svg { width: 25px; height: 25px; color: var(--tp-red); }
.tp-cookie-copy strong { display: block; font-size: 17px; }
.tp-cookie-copy p { margin: 5px 0 0; color: var(--tp-muted); font-size: 12px; line-height: 18px; }
.tp-cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.tp-cookie-actions .tp-btn { min-height: 42px; padding-inline: 18px; font-size: 12px; }
.tp-cookie-customize { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--tp-line); }
.tp-cookie-customize[hidden] { display: none; }
.tp-cookie-customize label { display: flex; align-items: flex-start; gap: 10px; color: var(--tp-graphite); font-size: 13px; cursor: pointer; }
.tp-cookie-customize input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--tp-red); }
.tp-cookie-customize small { display: block; margin-top: 3px; color: var(--tp-muted); }

@media (max-width: 760px) {
  .tp-cookie-banner { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; width: auto; padding: 18px; }
  .tp-cookie-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
  .tp-cookie-actions .tp-btn { width: 100%; }
  .tp-global-toast { right: 16px; bottom: 16px; }
}

/* D16 — potwierdzenie zamówienia, desktop. */
.tp-confirmation-main { background: #f5f6f8; }
.tp-confirmation-section { min-height: 760px; padding: 48px 0 96px; }
.tp-confirmation-section > .container {
  width: min(1320px, calc(100% - 120px));
  max-width: none;
}
.tp-confirmation-card {
  width: min(880px, 100%);
  min-height: 620px;
  margin: 0 auto;
  padding: 20px 64px 32px;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.tp-confirmation-illustration {
  display: block;
  width: 200px;
  height: 167px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.tp-confirmation-card h1 {
  margin: 0;
  color: var(--tp-ink);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.tp-confirmation-number { margin: 12px 0 0; color: var(--tp-muted); font-size: 15px; }
.tp-confirmation-number strong { color: inherit; font-weight: 500; }
.tp-confirmation-alert {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 32px 0 26px;
  padding: 20px 22px;
  border-radius: 10px;
  background: #fff0f3;
  text-align: left;
}
.tp-confirmation-alert > svg { width: 28px; height: 28px; color: var(--tp-red); }
.tp-confirmation-alert > div { display: grid; gap: 8px; }
.tp-confirmation-alert strong { color: var(--tp-ink); font-size: 17px; line-height: 1.35; }
.tp-confirmation-alert span { color: var(--tp-muted); font-size: 13px; line-height: 1.55; }
.tp-confirmation-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  text-align: left;
}
.tp-confirmation-value span { color: var(--tp-muted); font-size: 14px; }
.tp-confirmation-value strong { color: var(--tp-ink); font-size: 26px; white-space: nowrap; }
.tp-confirmation-return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  font-size: 14px;
}
.tp-confirmation-return > svg { width: 20px; height: 20px; }
.tp-confirmation-footnote { margin: 26px 0 0; color: var(--tp-muted); font-size: 12px; }
.tp-confirmation-error-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 42px auto 24px;
  border-radius: 50%;
  background: #fff0f3;
  color: var(--tp-red);
  font-size: 32px;
  font-weight: 800;
}
.tp-confirmation-secondary { display: inline-block; margin-top: 18px; color: var(--tp-red); font-size: 13px; font-weight: 750; }

/* D11–D12 — karta produktu i dane produktu, desktop. */
.tp-product-page .tp-media-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 56px 28px 28px;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 28, 45, .24);
}
.tp-product-page .tp-media-dialog::backdrop { background: rgba(22, 29, 39, .72); }
.tp-product-page .tp-media-dialog > button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tp-graphite);
  cursor: pointer;
}
.tp-product-page .tp-media-dialog > button svg { width: 22px; height: 22px; }
.tp-product-page .tp-media-dialog > img { display: block; width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.tp-product-page .tp-diagram-dialog { width: min(1320px, calc(100vw - 48px)); }
.tp-product-page .tp-diagram-dialog > img { min-height: min(760px, calc(100vh - 140px)); }

@media (min-width: 768px) {
  .tp-product-page main > .section { padding: 0 0 76px; }
  .tp-product-page main > .section > .container {
    width: min(calc(100% - 120px), 1320px);
    max-width: none;
    padding: 0;
  }
  .tp-pdp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    overflow: hidden;
    color: var(--tp-muted);
    font-size: var(--tp-text-xs);
    white-space: nowrap;
  }
  .tp-pdp-breadcrumbs a { color: inherit; text-decoration: none; }
  .tp-pdp-breadcrumbs a:hover { color: var(--tp-red); }
  .tp-pdp-breadcrumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }

  .tp-pdp-layout { display: grid; grid-template-columns: minmax(0, 588px) minmax(0, 1fr); gap: 44px; align-items: start; }
  .tp-pdp-gallery { min-width: 0; }
  .tp-pdp-gallery-main {
    position: relative;
    display: grid;
    width: 100%;
    height: 540px;
    place-items: center;
    overflow: hidden;
    border-radius: var(--tp-radius-lg);
    background: #f6f7f9;
  }
  .tp-pdp-gallery-main > img { width: 100%; height: 100%; padding: 26px; object-fit: contain; mix-blend-mode: multiply; }
  .tp-pdp-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--tp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tp-graphite);
    cursor: pointer;
  }
  .tp-pdp-zoom svg { width: 20px; height: 20px; }
  .tp-pdp-thumbs { display: grid; grid-template-columns: repeat(6, 64px); gap: 12px; margin-top: 14px; }
  .tp-pdp-thumbs button { width: 64px; height: 64px; padding: 4px; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; cursor: pointer; }
  .tp-pdp-thumbs button.active { border: 2px solid var(--tp-red); }
  .tp-pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
  .tp-pdp-image-note { margin: 10px 0 0; color: var(--tp-muted); font-size: 12px; }

  .tp-pdp-summary { min-width: 0; padding-top: 18px; }
  .tp-pdp-kicker { color: var(--tp-red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .tp-pdp-summary h1 { max-width: 680px; margin: 12px 0 8px; font-size: 36px; line-height: 43px; letter-spacing: -.025em; }
  .tp-pdp-subtitle { margin: 0 0 24px; color: var(--tp-muted); font-size: 16px; }
  .tp-pdp-number {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 42px;
    align-items: center;
    gap: 18px;
    min-height: 69px;
    margin: 0 0 16px;
    padding: 12px 14px 12px 20px;
    border-radius: var(--tp-radius-sm);
    background: var(--tp-bg);
  }
  .tp-pdp-number span { color: var(--tp-muted); font-size: 12px; }
  .tp-pdp-number strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .tp-pdp-number button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; color: var(--tp-graphite); cursor: pointer; }
  .tp-pdp-number button svg { width: 19px; height: 19px; }
  .tp-pdp-stock { margin: 0 0 10px; color: #a86700; font-size: 13px; font-weight: 700; }
  .tp-pdp-stock.is-available { color: var(--tp-green, #16844a); }
  .tp-pdp-price { margin: 0; font-size: 34px; font-weight: 800; line-height: 42px; }
  .tp-pdp-price small { font-size: 14px; font-weight: 600; }
  .tp-pdp-price-inquiry { font-size: 25px; }
  .tp-pdp-net { margin: 2px 0 22px; color: var(--tp-muted); font-size: 12px; }
  .tp-pdp-purchase { display: grid; grid-template-columns: 133px minmax(0, 1fr); gap: 15px; }
  .tp-pdp-purchase:has(> a:only-child) { grid-template-columns: 1fr; }
  .tp-pdp-purchase .qty { display: grid; grid-template-columns: 40px 1fr 40px; height: 48px; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; }
  .tp-pdp-purchase .qty button { padding: 0; border: 0; background: transparent; font-size: 19px; cursor: pointer; }
  .tp-pdp-purchase .qty input { min-width: 0; border: 0; border-right: 1px solid var(--tp-line); border-left: 1px solid var(--tp-line); text-align: center; appearance: textfield; }
  .tp-pdp-purchase .tp-btn { width: 100%; height: 48px; gap: 10px; }
  .tp-pdp-purchase .tp-btn svg { width: 21px; height: 21px; }
  .tp-pdp-delivery-note { display: grid; grid-template-columns: 24px 1fr; gap: 13px; margin-top: 18px; color: var(--tp-muted); }
  .tp-pdp-delivery-note > svg { width: 23px; height: 23px; color: var(--tp-red); }
  .tp-pdp-delivery-note strong, .tp-pdp-delivery-note span { display: block; font-size: 12px; line-height: 18px; }
  .tp-pdp-delivery-note strong { color: var(--tp-graphite); }
  .tp-pdp-fit-callout {
    display: grid;
    grid-template-columns: 34px 1fr 22px;
    align-items: center;
    gap: 18px;
    min-height: 109px;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid #ffc1cb;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-red-soft);
    color: var(--tp-graphite);
    text-decoration: none;
  }
  .tp-pdp-fit-callout > svg:first-child { width: 32px; height: 32px; color: var(--tp-red); }
  .tp-pdp-fit-callout > svg:last-child { width: 20px; height: 20px; color: var(--tp-red); }
  .tp-pdp-fit-callout strong, .tp-pdp-fit-callout small { display: block; }
  .tp-pdp-fit-callout strong { margin-bottom: 5px; font-size: 16px; }
  .tp-pdp-fit-callout small { color: var(--tp-muted); font-size: 12px; line-height: 18px; }

  .tp-pdp-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 57px; margin-top: 48px; border-bottom: 1px solid var(--tp-line); }
  .tp-pdp-tabs a { position: relative; display: grid; place-items: center; padding: 0 12px; color: var(--tp-muted); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
  .tp-pdp-tabs a.active { color: var(--tp-red); }
  .tp-pdp-tabs a.active::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--tp-red); }
  .tp-pdp-description-grid { display: grid; grid-template-columns: minmax(0, 856px) minmax(300px, 1fr); gap: 28px; padding-top: 40px; }
  .tp-pdp-description h2 { margin: 0 0 14px; font-size: 28px; line-height: 36px; }
  .tp-pdp-description h3 { margin: 32px 0 10px; font-size: 18px; }
  .tp-pdp-description p { margin: 0; color: var(--tp-muted); line-height: 25px; white-space: pre-line; }
  .tp-pdp-full-description { margin-top: 18px; }
  .tp-pdp-full-description summary { width: fit-content; color: var(--tp-red); font-size: 13px; font-weight: 800; cursor: pointer; }
  .tp-pdp-full-description p { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--tp-line); }
  .tp-pdp-help-card { min-height: 226px; padding: 28px; border-radius: var(--tp-radius-lg); background: var(--tp-bg); }
  .tp-pdp-help-card h2 { margin: 0; font-size: 21px; }
  .tp-pdp-help-card p { margin: 10px 0 24px; color: var(--tp-muted); font-size: 13px; line-height: 20px; }
  .tp-pdp-help-card .tp-btn { width: 100%; gap: 10px; background: #fff; color: var(--tp-graphite); }
  .tp-pdp-help-card .tp-btn svg { width: 20px; height: 20px; color: var(--tp-red); }

  .tp-pdp-data-head { padding: 17px 0 7px; }
  .tp-pdp-back-product { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; margin: 0 0 18px; color: var(--tp-ink); font-size: 14px; font-weight: 750; text-decoration: none; }
  .tp-pdp-back-product svg { width: 19px; height: 19px; color: var(--tp-red); }
  .tp-pdp-back-product:hover, .tp-pdp-back-product:focus-visible { color: var(--tp-red); text-decoration: underline; text-underline-offset: 4px; }
  .tp-pdp-data-head h1 { max-width: 850px; margin: 12px 0 8px; font-size: 42px; line-height: 50px; letter-spacing: -.025em; }
  .tp-pdp-data-head p { margin: 0; color: var(--tp-muted); }
  .tp-pdp-data-head + .tp-pdp-tabs { margin-top: 25px; }
  .tp-pdp-data-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 34px; }
  .tp-pdp-data-card, .tp-pdp-diagram-card { min-width: 0; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg); background: #fff; }
  .tp-pdp-data-card { overflow: hidden; }
  .tp-pdp-data-card h2, .tp-pdp-diagram-card h2 { margin: 0; padding: 25px 28px 20px; font-size: 22px; }
  .tp-pdp-data-card table { width: 100%; border-collapse: collapse; }
  .tp-pdp-data-card tr { border-top: 1px solid var(--tp-line); }
  .tp-pdp-data-card th, .tp-pdp-data-card td { padding: 16px 28px; text-align: left; vertical-align: top; line-height: 22px; }
  .tp-pdp-data-card th { width: 37%; color: var(--tp-muted); font-size: 12px; font-weight: 600; }
  .tp-pdp-data-card td { font-size: 14px; font-weight: 700; }
  .tp-pdp-diagram-card { overflow: hidden; background: var(--tp-bg); }
  .tp-pdp-diagram-open { display: block; width: calc(100% - 32px); margin: 0 16px; padding: 0; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; cursor: zoom-in; }
  .tp-pdp-diagram-open img { display: block; width: 100%; height: 650px; padding: 12px; object-fit: contain; }
  .tp-pdp-diagram-open span { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--tp-line); color: var(--tp-red); font-size: 12px; font-weight: 800; }
  .tp-pdp-diagram-open span svg { width: 18px; height: 18px; }
  .tp-pdp-diagram-card > p { margin: 13px 18px 18px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-application { margin-top: 24px; padding: 29px 32px 32px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius-lg); }
  .tp-pdp-application > h2 { margin: 0; font-size: 27px; }
  .tp-pdp-application > p { margin: 7px 0 23px; color: var(--tp-muted); font-size: 13px; }
  .tp-pdp-application > label { display: block; width: 430px; max-width: 100%; margin-bottom: 20px; }
  .tp-pdp-application > label span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
  .tp-pdp-application > label input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--tp-line); border-radius: 8px; }
  .tp-pdp-model-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tp-pdp-model-card { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px; border: 1px solid var(--tp-line); border-radius: 9px; }
  .tp-pdp-model-card > svg { width: 26px; height: 26px; color: var(--tp-red); }
  .tp-pdp-model-card strong, .tp-pdp-model-card small { display: block; }
  .tp-pdp-model-card strong { font-size: 14px; }
  .tp-pdp-model-card small { margin-top: 3px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-empty-data, .tp-pdp-universal { margin: 0; padding: 18px; border-radius: 8px; background: var(--tp-bg); color: var(--tp-muted); }
  .tp-pdp-data-note { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 22px; padding: 17px 20px; border-radius: 8px; background: var(--tp-red-soft); color: var(--tp-muted); font-size: 12px; line-height: 19px; }
  .tp-pdp-data-note svg { width: 21px; height: 21px; color: var(--tp-red); }
  .tp-pdp-data-accordions { margin-top: 24px; border-top: 1px solid var(--tp-line); }
  .tp-pdp-data-accordions details { border-bottom: 1px solid var(--tp-line); }
  .tp-pdp-data-accordions summary { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 17px; min-height: 84px; padding: 14px 6px; cursor: pointer; }
  .tp-pdp-data-accordions summary > svg { width: 26px; height: 26px; color: var(--tp-red); }
  .tp-pdp-data-accordions summary strong, .tp-pdp-data-accordions summary small { display: block; }
  .tp-pdp-data-accordions summary small { margin-top: 3px; color: var(--tp-muted); font-size: 12px; }
  .tp-pdp-data-accordions details > div { padding: 0 53px 24px; color: var(--tp-muted); line-height: 24px; }
  .tp-pdp-document-list { display: grid; gap: 8px; }
  .tp-pdp-document-list a { display: grid; grid-template-columns: 22px 1fr 20px; align-items: center; gap: 10px; color: var(--tp-graphite); text-decoration: none; }
  .tp-pdp-document-list svg { width: 20px; height: 20px; color: var(--tp-red); }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .tp-product-page main > .section > .container { width: calc(100% - 64px); }
  .tp-pdp-layout { grid-template-columns: minmax(0, 47%) minmax(0, 53%); gap: 28px; }
  .tp-pdp-gallery-main { height: 460px; }
  .tp-pdp-summary h1 { font-size: 31px; line-height: 38px; }
  .tp-pdp-description-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); }
  .tp-pdp-model-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Typografia -------------------------------------------------------------
   Podział grubości ustalony z Kamilem:
     400 — opisy i dane techniczne
     600 — menu, przyciski, nazwy produktów
     700 — nagłówki i ceny
   Cieńszych odmian nie używamy: przy czerwonych akcentach i małych numerach
   katalogowych 300 robi się nieczytelne na telefonie. */
/* Krój narzucamy też kontrolkom formularzy — one nie dziedziczą go z body.
   Ale grubości już NIE: reguła z selektorem `.tp-shell button` bije
   specyficznością pojedyncze klasy komponentów, przez co każdy przycisk
   renderował się w 400 zamiast zaprojektowanych 600. Widać to było na
   "Części" w pasku, bo to jedyny przycisk obok zwykłych odnośników. */
.tp-shell,
.tp-shell input,
.tp-shell select,
.tp-shell textarea,
.tp-shell button {
  font-family: var(--tp-font-sans);
  /* Mamy Inter tylko w 400, 600 i 700. Bez tej blokady przeglądarka dorabia
     brakujące grubości sama — litery rozmazują się i tyją nierówno. Teraz
     zamiast podróbki dostaje najbliższą prawdziwą odmianę. */
  font-synthesis: none;
  font-synthesis-weight: none;
}
.tp-shell {
  min-width: 320px;
  color: var(--tp-text);
  background: var(--tp-surface);
  font-size: var(--tp-text-md);
  line-height: var(--tp-leading-md);
  font-weight: var(--tp-weight-regular);
}

.tp-container {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-container-max));
  margin-inline: auto;
}
.tp-grid { display: grid; gap: var(--tp-grid-gap); }
.tp-shell h1 { font-size: var(--tp-title-lg); line-height: var(--tp-leading-title-lg); }
.tp-shell h2 { font-size: var(--tp-title-md); line-height: var(--tp-leading-title-md); }
.tp-shell h3 { font-size: var(--tp-title-sm); line-height: var(--tp-leading-title-sm); }

:focus-visible {
  outline: 3px solid var(--tp-graphite);
  outline-offset: 3px;
}


/* Numery katalogowe i długie nazwy części muszą się łamać, a nie rozpychać
   karty. `anywhere` łamie też ciągi bez spacji w rodzaju AMB155-320000-000. */
.tp-break { overflow-wrap: anywhere; word-break: break-word; hyphens: none; }

/* --- Pasek informacyjny nad nagłówkiem -------------------------------------- */
.tp-topbar {
  background: var(--tp-red);
  color: #fff;
  font-size: .8rem;
  font-weight: 400;
}
.tp-topbar-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  min-height: var(--tp-header-utility-h);
  display: flex;
  align-items: center;
  gap: 46px;
}
.tp-topbar-note { white-space: nowrap; }
.tp-topbar-contact { margin-left: auto; display: flex; gap: 14px; white-space: nowrap; }
.tp-topbar a { color: #fff; text-decoration: none; }
.tp-topbar a:hover { text-decoration: underline; }

/* --- Nagłówek: logo, wyszukiwarka, konto i koszyk --------------------------- */
.tp-header { background: #fff; }
.tp-header-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--tp-header-main-h);
  border-bottom: 1px solid var(--tp-line);
}
.tp-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tp-logo img { width: 290px; height: auto; margin-block: -20px; }

/* 623 x 48 px wprost z instrukcji odwzorowania. Wcześniej pole rozciągało się
   na resztę rzędu i wychodziło i szersze, i wyższe od projektu. */
.tp-search { flex: 1 1 640px; min-width: 0; max-width: 640px; }
.tp-search-form {
  /* Kotwica dla panelu podpowiedzi — powstaje w JS i pozycjonuje się do formularza. */
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--tp-control-h);
  padding: 0 6px 0 18px;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-btn);
  background: #fff;
}
.tp-search-form:focus-within { border-color: var(--tp-red); box-shadow: 0 0 0 3px rgba(232, 0, 37, .12); }
.tp-search-icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--tp-muted); }
.tp-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  font-size: .95rem;
  color: var(--tp-graphite);
}
.tp-search-input::placeholder { color: #9aa1ab; }
.tp-search-input:focus { outline: none; }
.tp-search-submit {
  flex: 0 0 81px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--tp-radius-btn);
  background: var(--tp-red);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.tp-search-submit:hover { background: var(--tp-red-dark); }

.tp-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }
.tp-header-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: var(--tp-tap-min);
  min-height: var(--tp-tap-min);
  color: var(--tp-graphite);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-header-action:hover { color: var(--tp-red); }
.tp-header-action svg { width: 24px; height: 24px; flex: 0 0 auto; }
.tp-header-action-cart { position: relative; }
/* Licznik nad ikoną koszyka. Zero chowamy — pusty koszyk nie potrzebuje odznaki. */
.tp-cart-count {
  position: absolute;
  top: 2px;
  left: 15px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tp-red);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.tp-cart-count[data-empty="1"] { display: none; }

/* --- Pasek nawigacji -------------------------------------------------------- */
.tp-nav { background: #fff; border-bottom: 1px solid var(--tp-line); }
.tp-nav-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  gap: 34px;
}
.tp-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tp-header-nav-h);
  color: var(--tp-graphite);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.tp-nav-link:hover { color: var(--tp-red); }
/* Aktywna pozycja: czerwony tekst i podkreślenie dosunięte do dolnej krawędzi
   paska, tak jak na planszach D08-D10. */
.tp-nav-link.is-active { color: var(--tp-red); }
.tp-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--tp-red);
}
.tp-nav-chevron { width: 16px; height: 16px; transition: transform .16s ease; }
.tp-nav-link[aria-expanded="true"] .tp-nav-chevron { transform: rotate(180deg); }

.tp-nav-finder {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tp-header-nav-h);
  color: var(--tp-red);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-nav-finder svg { width: 22px; height: 22px; }
.tp-nav-finder-arrow { width: 20px; height: 20px; margin-left: 14px; }
.tp-nav-finder:hover { color: var(--tp-red-dark); }

/* --- Mega menu -------------------------------------------------------------- */
.tp-mega { display: none; background: var(--tp-bg); border-bottom: 1px solid var(--tp-line); }
.tp-mega.is-open { display: block; }
/* Jedna karta na szyny skrótów i siatkę kategorii, rozdzielona pionową kreską —
   tak to wygląda na planszy D02. Wcześniej stały tu dwa osobne pudełka z przerwą
   między nimi, przez co panel czytał się jak dwa niezwiązane elementy. */
.tp-mega-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin: 26px auto 34px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: stretch;
  min-height: 570px;
  border: 1px solid var(--tp-line);
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
}

/* Lewa kolumna: skróty. 290 px i szare tło — panel boczny na planszy D02 jest
   wycięty z tła strony, nie biały jak reszta karty. */
.tp-mega-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 568px;
  padding: 23px;
  background: var(--tp-bg);
  border-right: 1px solid var(--tp-line);
  border-radius: 16px 0 0 16px;
}
.tp-mega-eyebrow {
  margin: 0 0 4px;
  color: var(--tp-muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tp-mega-finder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 125px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--tp-red);
  color: #fff;
  text-decoration: none;
}
.tp-mega-finder-head { display: flex; align-items: flex-start; gap: 12px; }
.tp-mega-finder-head svg { width: 26px; height: 26px; flex: 0 0 auto; }
/* Celujemy w opis wewnątrz nagłówka kafla, nie we wszystkie spany. Selektor
   `.tp-mega-finder span` bił specyficznością klasę `.tp-mega-finder-go`
   i narzucał jej `display: block` zamiast `flex` — przez to strzałka kleiła się
   do tekstu zamiast stać przy prawej krawędzi. */
.tp-mega-finder-head strong { display: block; font-size: 1rem; font-weight: 700; }
.tp-mega-finder-head > span > span { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; }
/* Bez poziomej kreski nad odnośnikiem — na planszy D02 kafel jest jednolity. */
.tp-mega-finder-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: .84rem;
  font-weight: 600;
}
.tp-mega-finder-go svg { width: 20px; height: 20px; }
.tp-mega-finder:hover { background: var(--tp-red-dark); }

.tp-mega-service-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 13px 42px 13px 16px;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--tp-graphite);
  text-decoration: none;
}
.tp-mega-service-card > span { display: flex; align-items: center; gap: 10px; }
.tp-mega-service-card > span svg { width: 23px; height: 23px; flex: 0 0 auto; color: var(--tp-red); }
.tp-mega-service-card strong { font-size: 14px; line-height: 19px; }
.tp-mega-service-card small { color: var(--tp-muted); font-size: 11px; line-height: 16px; }
.tp-mega-service-arrow { position: absolute; right: 14px; bottom: 14px; width: 19px; height: 19px; color: var(--tp-red); }
.tp-mega-service-card:hover,
.tp-mega-service-card:focus-visible { border-color: var(--tp-red); background: var(--tp-red-soft); }

/* Odstępy robi `gap` na szynie, nie marginesy poszczególnych skrótów — kolejność
   ustala Kamil w panelu, więc reguły nie mogą zakładać, że czerwony kafel doboru
   stoi pierwszy. Kreska pojawia się tylko między dwoma zwykłymi skrótami;
   kafel doboru oddziela sam swoją bryłą. */
.tp-mega-shortcut { display: block; text-decoration: none; color: var(--tp-graphite); }
.tp-mega-shortcut + .tp-mega-shortcut { padding-top: 26px; border-top: 1px solid var(--tp-line); }
.tp-mega-shortcut-head { display: flex; align-items: center; gap: 10px; }
.tp-mega-shortcut-head svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--tp-graphite); }
.tp-mega-shortcut strong { font-size: .95rem; font-weight: 600; }
.tp-mega-shortcut p { margin: 6px 0 0; color: var(--tp-muted); font-size: .82rem; }
.tp-mega-shortcut-link { display: inline-block; margin-top: 10px; color: var(--tp-red); font-size: .84rem; font-weight: 600; }
.tp-mega-shortcut:hover strong { color: var(--tp-red); }
.tp-mega-shortcut-help .tp-mega-shortcut-head svg { color: var(--tp-red); }

/* Prawa część: siatka kategorii 3 x N. */
.tp-mega-main {
  position: relative;
  padding: 26px 30px;
}
.tp-mega-main h2 { margin: 0; font-size: 25px; font-weight: 700; color: var(--tp-graphite); }
.tp-mega-main-lead { margin: 6px 0 20px; color: var(--tp-muted); font-size: 13px; }
.tp-mega-close {
  position: absolute;
  top: 26px;
  right: 30px;
  width: var(--tp-touch);
  height: var(--tp-touch);
  display: grid;
  place-items: center;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-btn);
  background: #fff;
  color: var(--tp-graphite);
  cursor: pointer;
}
.tp-mega-close svg { width: 20px; height: 20px; }
.tp-mega-close:hover { border-color: var(--tp-red); color: var(--tp-red); }

/* Trzy kolumny po 300 px, nie ułamkowe — plansza D02 podaje stałą szerokość
   kafelka, a przy  rosły razem z oknem i siatka rozjeżdżała się z projektem. */
.tp-mega-grid { display: grid; grid-template-columns: repeat(3, 300px); column-gap: 19px; row-gap: 14px; }
.tp-cat-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  padding: 16px 18px;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--tp-graphite);
  transition: border-color .14s ease, background-color .14s ease;
}
.tp-cat-tile img { width: 48px; height: 48px; flex: 0 0 auto; }
/* Wymiary kafelka podaje instrukcja odwzorowania osobno dla mega menu: 300 x 99,
   ikona w polu 48 px, nazwa 15/600, opis 11/400. Kafelki na stronie głównej
   zostają przy swoich — plansza D01 ma je niższe. */
.tp-mega-grid .tp-cat-tile { min-height: 99px; gap: 14px; border-radius: 12px; }
.tp-mega-grid .tp-cat-tile img { width: 48px; height: 48px; }
.tp-mega-grid .tp-cat-tile-name { font-size: 15px; }
.tp-mega-grid .tp-cat-tile-desc { font-size: 11px; }
.tp-cat-tile-name { display: block; font-size: 15px; font-weight: 600; line-height: 21px; }
.tp-cat-tile-desc { display: block; margin-top: 3px; color: var(--tp-muted); font-size: 12px; font-weight: 400; line-height: 17px; }
.tp-cat-tile-combined { cursor: default; }
.tp-cat-tile-sublinks { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.tp-cat-tile-sublinks a { color: var(--tp-red); font-size: 11px; font-weight: 600; line-height: 16px; text-decoration: none; }
.tp-cat-tile-sublinks a:hover,
.tp-cat-tile-sublinks a:focus-visible { color: var(--tp-red-dark); text-decoration: underline; }
/* Stany z planszy „Szczegóły, które porządkują całość": najechanie zmienia
   otoczenie, nie rysunek ikony. */
.tp-cat-tile:hover { border-color: var(--tp-red); background: var(--tp-accent); }
.tp-cat-tile:focus-visible { outline: 2px solid var(--tp-graphite); outline-offset: 2px; }
.tp-cat-tile.is-selected {
  border-color: var(--tp-red);
  background: var(--tp-accent);
  box-shadow: inset 3px 0 0 var(--tp-red);
}
.tp-cat-tile.is-selected .tp-cat-tile-desc { color: var(--tp-red); font-weight: 600; }

/* Stopka panelu z planszy D02: kreska, pod nią szara wyliczanka kategorii, które
   nie zmieściły się w siatce, a najniżej czerwone przejście do pełnej listy. */
.tp-mega-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tp-line);
}
.tp-mega-foot-note { margin: 0 0 14px; color: var(--tp-muted); font-size: 13px; }
.tp-mega-foot-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.tp-mega-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--tp-red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.tp-mega-foot-link svg { width: 20px; height: 20px; flex: 0 0 auto; }
.tp-mega-foot-link:hover { color: var(--tp-red-dark); }

/* --- Czerwony baner pomocy -------------------------------------------------- */
.tp-help {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin: 46px auto;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 122px;
  padding: 26px 30px;
  border-radius: 15px;
  background: var(--tp-red);
  color: #fff;
}
.tp-help > svg { width: 40px; height: 40px; flex: 0 0 auto; }
.tp-help-copy { flex: 1 1 auto; min-width: 0; }
.tp-help-copy strong { display: block; font-size: 1.3rem; font-weight: 700; }
.tp-help-copy span { display: block; margin-top: 4px; font-size: .9rem; }
.tp-help-btn {
  flex: 0 0 auto;
  min-height: var(--tp-control);
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  border-radius: var(--tp-radius-btn);
  background: #fff;
  color: var(--tp-graphite);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-help-btn:hover { color: var(--tp-red); }

/* --- Stopka ----------------------------------------------------------------- */
.tp-footer { border-top: 3px solid var(--tp-red); background: var(--tp-bg); }
.tp-footer-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  padding: 40px 0 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.tp-footer-brand img { width: 254px; height: auto; margin-block: -17px; }
.tp-footer-brand p { margin: 16px 0 0; max-width: 330px; color: var(--tp-muted); font-size: .88rem; }
.tp-footer h2 { margin: 0 0 16px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--tp-graphite); }
.tp-footer-list { display: grid; gap: 12px; }
.tp-footer-list a,
.tp-footer-list span { color: var(--tp-muted); font-size: 13px; font-weight: 400; line-height: 20px; text-decoration: none; }
.tp-footer-list a:hover { color: var(--tp-red); }
.tp-footer-bottom {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--tp-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--tp-muted);
  font-size: .78rem;
}

/* --- Powłoka mobilna: nagłówek --------------------------------------------- */
.tp-mobile-head { display: none; }
.tp-mobile-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tp-header-main-h);
  padding-inline: var(--tp-gutter);
}
.tp-mobile-bar .tp-logo img { width: 232px; height: auto; margin-block: -16px; }
.tp-mobile-icons { margin-left: auto; display: flex; gap: 10px; }
.tp-icon-btn {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: #fff;
  color: var(--tp-graphite);
  text-decoration: none;
  cursor: pointer;
}
.tp-icon-btn svg { width: 24px; height: 24px; }
.tp-icon-btn:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tp-header-search-h);
  padding: calc((var(--tp-header-search-h) - var(--tp-control-h)) / 2) var(--tp-gutter);
}
.tp-mobile-search .tp-search-form { flex: 1 1 auto; min-width: 0; padding-left: 14px; }
/* 16 px w polach: mniejsza wartość każe iOS-owi przybliżyć stronę przy wejściu
   w pole, co przestawia cały układ. */
.tp-mobile-search .tp-search-input { font-size: 16px; height: 34px; }

/* --- Powłoka mobilna: szuflada menu ---------------------------------------- */
.tp-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tp-drawer.is-open { display: block; }
body.tp-drawer-open { overflow: hidden; }
.tp-drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) max(var(--tp-gutter), env(safe-area-inset-right)) 12px max(var(--tp-gutter), env(safe-area-inset-left));
  background: #fff;
  border-bottom: 1px solid var(--tp-line);
}
.tp-drawer-head strong { font-size: 1.25rem; font-weight: 700; }
.tp-drawer-body {
  padding: 18px max(var(--tp-gutter), env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(var(--tp-gutter), env(safe-area-inset-left));
}
.tp-drawer .tp-mega-finder { margin-bottom: 4px; }
.tp-drawer-group { border-top: 1px solid var(--tp-line); }
.tp-drawer-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.tp-drawer-group summary::-webkit-details-marker { display: none; }
.tp-drawer-chevron { width: 20px; height: 20px; transition: transform .16s ease; }
.tp-drawer-group[open] .tp-drawer-chevron { transform: rotate(180deg); }
.tp-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 0;
  border-top: 1px solid var(--tp-line);
  color: var(--tp-graphite);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-drawer-item img { width: 30px; height: 30px; flex: 0 0 auto; }
.tp-drawer-item svg { width: 24px; height: 24px; flex: 0 0 auto; }
.tp-drawer-item .tp-drawer-arrow { margin-left: auto; width: 20px; height: 20px; color: var(--tp-red); }
.tp-drawer-item.is-selected {
  padding-inline: 12px;
  border-radius: var(--tp-radius);
  border-color: transparent;
  background: var(--tp-accent);
  box-shadow: inset 3px 0 0 var(--tp-red);
}
.tp-drawer-item.is-selected small { display: block; color: var(--tp-red); font-size: .78rem; font-weight: 600; }
.tp-drawer-help {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--tp-radius);
  background: var(--tp-bg);
}
.tp-drawer-help-head { display: flex; align-items: center; gap: 10px; }
.tp-drawer-help-head svg { width: 24px; height: 24px; color: var(--tp-red); }
.tp-drawer-help strong { font-size: 1rem; font-weight: 600; }
.tp-drawer-help p { margin: 8px 0 12px; color: var(--tp-muted); font-size: .92rem; }
.tp-drawer-help a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--tp-red);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-drawer-help a svg { width: 20px; height: 20px; }

/* --- Stopka mobilna --------------------------------------------------------- */
.tp-footer-mobile { display: none; }

/* =============================================================================
   Telefon i tablet
   ========================================================================== */
@media (max-width: 1439px) {
  :root {
    --tp-gutter: 32px;
    --tp-grid-gap: 20px;
    --tp-section-gap: 64px;
    --tp-header-utility-h: 36px;
    --tp-header-main-h: 72px;
  }
}

@media (max-width: 1279px) {
  :root { --tp-gutter: 24px; }
}

@media (max-width: 1024px) {
  :root {
    --tp-grid-gap: 20px;
    --tp-section-gap: 56px;
    --tp-header-utility-h: 34px;
    --tp-header-main-h: 68px;
    --tp-header-nav-h: 46px;
  }
}

@media (max-width: 1180px) {
  :root { --tp-gutter: 24px; }
  /* Szyna skrótów zwęża się, zanim zacznie brakować miejsca na trzy kafelki. */
  .tp-mega-inner { grid-template-columns: 245px minmax(0, 1fr); min-height: 0; }
  .tp-mega-side { min-height: 0; padding: 22px; }
  .tp-mega-main { padding: 22px 24px; }
  /* Kolumny wracają do elastycznych. Sztywne 300 px z instrukcji dotyczy planszy
     1440 px — niżej trzecia kolumna nie mieściła się w panelu i ucinał ją
     `overflow: hidden` karty. */
  .tp-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Wariant 1024 px z planszy: opisy kategorii znikają, zanim zacznie brakować
     miejsca — nazwa zostaje zawsze. */
  .tp-cat-tile-desc { display: none; }
  .tp-cat-tile { min-height: 72px; }
}

@media (max-width: 980px) {
  .tp-topbar-note:nth-of-type(2) { display: none; }
  .tp-topbar-contact a:first-child { display: none; }
  .tp-header-action span { display: none; }
  .tp-nav-inner { gap: 22px; }
}

@media (max-width: 860px) {
  :root {
    --tp-gutter: 20px;
    --tp-grid-gap: 16px;
    --tp-header-utility-h: 32px;
    --tp-header-main-h: 64px;
    --tp-header-search-h: 56px;
  }
  /* Na telefonie nagłówek desktopowy schodzi w całości i wchodzi układ
     z plansz mobilnych: pasek, logo z ikonami, pole szukania z przyciskiem menu. */
  .tp-header, .tp-nav, .tp-mega { display: none !important; }
  .tp-mobile-head { display: block; background: #fff; border-bottom: 1px solid var(--tp-line); }
  .tp-topbar-inner { justify-content: center; gap: 0; }
  .tp-topbar-note:not(:first-of-type), .tp-topbar-contact { display: none; }
  .tp-topbar-note:first-of-type { margin-inline: auto; }

  .tp-help { margin: 28px auto; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .tp-help-copy strong { font-size: 1.15rem; }
  .tp-help-btn { width: 100%; justify-content: center; }

  /* Stopka mobilna: dane kontaktowe od razu widoczne, reszta zwinięta. */
  .tp-footer-inner { display: none; }
  .tp-footer-mobile { display: block; padding: 26px 0 8px; width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max)); margin-inline: auto; }
  .tp-footer-mobile img { width: 200px; max-height: 46px; object-fit: contain; object-position: left center; }
  .tp-footer-mobile > p { margin: 14px 0 18px; color: var(--tp-muted); font-size: 1rem; }
  .tp-footer-contact { display: grid; gap: 12px; margin-bottom: 18px; }
  .tp-footer-contact a { display: flex; align-items: center; gap: 12px; min-height: var(--tp-touch); color: var(--tp-graphite); font-size: 1rem; font-weight: 600; text-decoration: none; }
  .tp-footer-contact svg { width: 22px; height: 22px; color: var(--tp-red); }
  .tp-footer-fold { border-top: 1px solid var(--tp-line); }
  .tp-footer-fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: .98rem; font-weight: 600; cursor: pointer; list-style: none; }
  .tp-footer-fold summary::-webkit-details-marker { display: none; }
  .tp-footer-fold summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--tp-muted); }
  .tp-footer-fold[open] summary::after { content: '−'; }
  .tp-footer-fold .tp-footer-list { padding: 4px 0 16px; }
  .tp-footer-fold .tp-footer-list a { min-height: var(--tp-touch); display: flex; align-items: center; font-size: 1rem; }
  .tp-footer-bottom { border-top: 1px solid var(--tp-line); padding: 16px 0 24px; font-size: .82rem; }
  .tp-footer-bottom span:last-child { display: none; }
}

@media (max-width: 480px) {
  :root {
    --tp-gutter: 16px;
    --tp-grid-gap: 12px;
    --tp-section-gap: 48px;
    --tp-header-utility-h: 28px;
    --tp-header-main-h: 60px;
    --tp-header-search-h: 64px;
    --tp-control: var(--tp-control-h-mobile);
    --tp-title-lg: 32px;
    --tp-leading-title-lg: 38px;
    --tp-title-md: 26px;
    --tp-leading-title-md: 32px;
    --tp-title-sm: 22px;
    --tp-leading-title-sm: 28px;
  }
  .tp-mobile-bar .tp-logo img { width: 204px; margin-block: -14px; }
  .tp-mobile-search .tp-search-form { height: var(--tp-control-h-mobile); }
}

/* Przy 320 px logo 204 px razem z dwoma polami dotykowymi 44 px nie mieści się
   w pasku i wypycha stronę w bok o kilkanaście pikseli. To najwęższy ekran
   z instrukcji D03, więc ustępuje logo — pól dotykowych nie zmniejszamy,
   pakiet graficzny nie pozwala schodzić poniżej 44 px. */
@media (max-width: 360px) {
  :root {
    --tp-header-main-h: 58px;
    --tp-header-search-h: 62px;
  }
  .tp-mobile-bar .tp-logo img { width: 168px; margin-block: -11px; }
}

@media (max-width: 359px) {
  :root {
    --tp-gutter: 12px;
    --tp-header-utility-h: 26px;
    --tp-header-main-h: 56px;
    --tp-header-search-h: 60px;
    --tp-control: 50px;
    --tp-title-lg: 28px;
    --tp-leading-title-lg: 34px;
    --tp-title-md: 24px;
  }
  .tp-mobile-search .tp-search-form { height: 50px; }
}

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

/* =============================================================================
   Strona główna — plansze D01 (komputer) i M01 (telefon)
   ========================================================================== */

.tp-eyebrow {
  margin: 0 0 14px;
  color: var(--tp-red);
  /* 11 px wprost z instrukcji: .74rem dawało 11,84 px, czyli prawie punkt za dużo. */
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --- Przyciski --------------------------------------------------------------
   Jedna rodzina na cały sklep: 48 px wysokości i 10 px zaokrąglenia,
   zgodnie ze specyfikacją od designera. */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tp-control);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--tp-radius-btn);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.tp-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.tp-btn-primary { background: var(--tp-red); color: #fff; }
.tp-btn-primary:hover { background: var(--tp-red-dark); color: #fff; }
.tp-btn-secondary { background: #fff; border-color: var(--tp-line); color: var(--tp-graphite); }
.tp-btn-secondary:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-btn-outline { background: #fff; border-color: var(--tp-line); color: var(--tp-graphite); }
.tp-btn-outline:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }

/* --- Hero ------------------------------------------------------------------- */
.tp-hero { padding: 28px 0 0; }
.tp-hero-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  display: grid;
  /* Kolumna grafiki ma stałe 750 px, tekst bierze resztę. */
  grid-template-columns: minmax(0, 1fr) 750px;
  align-items: center;
  gap: 0;
  /* Brak marginesu z prawej: na planszy D01 baner dochodzi do krawędzi bloku
     hero, a nie kończy się 32 px przed nią. `overflow: hidden` sprawia, że
     jego prawe rogi obcina zaokrąglenie samego bloku. */
  padding: 30px 0 0 28px;
  /* 451 px z instrukcji. Wysokość bierze się z min-height, a nie z grafiki:
     zasób jest w proporcji 2:1, więc przy 750 px szerokości ma 375 px i sam
     w sobie nie dociągnąłby bloku do wysokości z planszy. */
  min-height: 451px;
  overflow: hidden;
  border-radius: 18px;
  /* Jednolite tło z instrukcji D03. Baner jest nieprzezroczysty (WebP bez
     kanału alfa, master PNG też RGB) i przy lewej krawędzi ma #fdfdfe, czyli
     praktycznie to samo — pionowego szwu nie widać. Górna krawędź jest
     ciemniejsza (#f4f3f3 w środku, #e0dedd przy prawej), więc ją wygaszamy
     maską niżej. Prawą i dolną obcina samo zaokrąglenie bloku. */
  background: #fffafb;
}
.tp-hero-copy { min-width: 0; align-self: start; }
.tp-hero h1 {
  margin: 0;
  font-size: 47px;
  font-weight: 700;
  line-height: 57px;
  letter-spacing: -.02em;
  color: var(--tp-graphite);
}
.tp-hero h1 span { color: var(--tp-red); }
.tp-hero-lead { margin: 18px 0 0; max-width: 510px; color: #4b5158; font-size: 16px; font-weight: 400; line-height: 25px; }
.tp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 45px; }
/* Przyciski banera są wyższe i szersze od zwykłych: 52 px i stała szerokość
   z planszy, żeby para trzymała ten sam rytm co nagłówek nad nią. */
.tp-hero-actions .tp-btn { min-height: 52px; border-radius: 9px; font-size: 14px; font-weight: 600; line-height: 20px; }
.tp-hero-actions .tp-btn-primary { min-width: 230px; }
.tp-hero-actions .tp-btn-outline { min-width: 219px; }
.tp-hero-note { margin: 30px 0 6px; color: var(--tp-muted); font-size: .88rem; }
.tp-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tp-red);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-hero-link svg { width: 20px; height: 20px; }
.tp-hero-link:hover { color: var(--tp-red-dark); }
/* Baner idzie w całości, w swojej proporcji 2:1. Żadnego kadrowania —
   to gotowa kompozycja z pakietu, a przycinanie ucina wózkowi widły
   i leżące obok części. */
.tp-hero-art { min-width: 0; align-self: start; }
/* Górna i dolna krawędź banera jest szara (#f3f3f3 u góry), a tło pod nim białe,
   więc bez wygaszenia rysowała się jako pozioma kreska. Maska zabiera ostatnie
   28 px z góry i z dołu — wózek stoi w środku kadru, więc nic z niego nie ginie.
   Prawa krawędź nie potrzebuje maski: obcina ją zaokrąglenie bloku hero. */
.tp-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

/* --- Pasek korzyści --------------------------------------------------------- */
.tp-trust { padding: 26px 0; }
.tp-trust-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tp-trust p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--tp-graphite);
  font-size: 13px;
  font-weight: 600;
  line-height: 25px;
}
.tp-trust svg { width: 25px; height: 25px; flex: 0 0 auto; color: var(--tp-red); }

/* --- Sekcje treści ---------------------------------------------------------- */
.tp-section { padding: calc(var(--tp-section-gap) / 2) 0; }
.tp-section-inner {
  width: min(calc(100% - 2 * var(--tp-gutter)), var(--tp-max));
  margin-inline: auto;
}
.tp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.tp-section-head h2,
.tp-section-title { margin: 0; font-size: var(--tp-title-md); font-weight: 700; line-height: var(--tp-leading-title-md); letter-spacing: -.015em; color: var(--tp-ink); }
.tp-section-head p { margin: 6px 0 0; color: var(--tp-muted); font-size: 13px; font-weight: 400; line-height: 20px; }
/* Przycisk obok nagłówka ma z planszy stałe 190 x 43 px — bez tego rósł
   i malał razem z długością napisu. */
.tp-section-head .tp-btn { min-width: 190px; min-height: 43px; font-size: 13px; line-height: 20px; }

/* Odstępy z instrukcji: 21 px w poziomie, 13 px w pionie. Przy 1320 px treści
   daje to kafelek 426 px, czyli dokładnie tyle, ile ma plansza. */
.tp-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 21px; row-gap: 13px; }

/* --- Karta produktu ---------------------------------------------------------
   Wysokość bierze się z treści, ale cena i przycisk są zawsze na dole — dzięki
   temu rząd kart nie faluje przy różnej długości nazwy. */
.tp-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tp-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.tp-card:hover { border-color: #cfd5dd; }
/* Zdjęcie siedzi we wnęce wsuniętej 12 px w kartę, a nie na całą jej szerokość.
   Proporcja pola to 310 × 169 z planszy D05 — szersza niż 4:3, w jakiej są
   zasoby. Dlatego `contain`, nie `cover`: grafika ma się zmieścić w całości
   i wyśrodkować, a nie zostać przyciętą. Przy prawdziwym zdjęciu części to ta
   sama zasada — nie ucinamy końcówki wideł, żeby wypełnić kadr. */
.tp-card-image {
  display: block;
  margin: 12px 12px 0;
  /* 291 x 169 z instrukcji D03: przy karcie 315 px i wcięciu 12 px z obu stron
     zostaje właśnie 291 px, więc proporcja liczy się od tej szerokości. */
  aspect-ratio: 291 / 169;
  border-radius: 6px;
  background: var(--tp-bg);
  overflow: hidden;
}
.tp-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tp-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
/* Trzy górne wiersze karty mają stałą wysokość, nawet gdy nie ma czego w nich
   pokazać. Bez tego karta bez marki albo bez numeru podciąga resztę treści o
   wiersz wyżej i rząd kart przestaje się równać — na planszy D05 wszystkie
   sześć kart trzyma jeden poziom. */
/* Rozmiary i grubości poniżej są zdjęte z pliku SVG planszy D05, nie zgadywane
   z renderu: nadpis 10/600, nazwa 16/22/600, numer 11/400, dostępność 12/600,
   cena 20/700, dopisek „brutto" 10/400. Podział grubości jak w całym sklepie —
   400 opisy i dane, 600 nazwy i przyciski, 700 nagłówki i ceny. */
.tp-card-brand {
  margin: 0 0 6px;
  min-height: 1.5em;
  color: var(--tp-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* Dwa wiersze na nazwę: krótsza zostawia zapas, dłuższa się przycina zamiast
   spychać cenę w dół. Zasada z planszy komponentów — długie nazwy i numery nie
   mogą nachodzić na cenę ani przycisk. */
.tp-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}
.tp-card h3 a { color: var(--tp-graphite); text-decoration: none; }
.tp-card h3 a:hover { color: var(--tp-red); }
.tp-card-number { margin: 12px 0 0; min-height: 1.5em; color: var(--tp-muted); font-size: 11px; }
/* Status zawsze z tekstem, nigdy sam kolor — zasada z planszy komponentów. */
.tp-card-stock { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12px; font-weight: 600; }
.tp-card-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tp-card-stock.is-available { color: var(--tp-ok); }
.tp-card-stock.is-order { color: var(--tp-warn); }
/* Siatka, nie flex: przycisk siedzi w pierwszym wierszu razem z kwotą, a „brutto"
   spada do drugiego wiersza pod kwotą. Przy flexie z align-items:flex-end
   przycisk równał się do dołu bloku kwota+brutto i wypadał kilka pikseli poniżej
   liczby, choć na planszach D01 i D05 stoi dokładnie na jej wysokości. */
.tp-card-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  /* Kreska nad ceną jest na planszy — oddziela dane części od strefy zakupu. */
  border-top: 1px solid var(--tp-line);
}
.tp-card-buy > .tp-btn { grid-column: 2; grid-row: 1; }
/* Przycisk w karcie jest niższy i drobniejszy od zwykłego „małego": 38 px
   i tekst 12/700, dokładnie jak na planszy D05. */
.tp-card-buy > .tp-btn { min-height: 38px; padding: 0 15px; font-size: 12px; font-weight: 600; }
.tp-card-price { grid-column: 1; display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tp-card-price-note { grid-column: 1; display: block; margin-top: 2px; color: var(--tp-muted); font-size: 10px; }

/* --- Marki ------------------------------------------------------------------ */
/* Na planszy D01 pigułki idą przez całą szerokość treści, równe i wyśrodkowane.
   Przy zwykłym flexie zbierały się z lewej, a po prawej zostawało kilkaset
   pikseli pustki. `flex: 1 1 auto` każe im dobrać resztę rzędu; górny limit
   pilnuje, żeby przy trzech markach nie urosły do rozmiaru banera. */
.tp-brand-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tp-brand-pill {
  /* Podstawa 0, nie auto: osiem przycisków ma być równych co do piksela,
     a przy auto szerokość brała się z długości nazwy i Jungheinrich wychodził
     szerszy od HELI. */
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid var(--tp-line);
  border-radius: 9px;
  background: #fff;
  color: var(--tp-graphite);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
}
.tp-brand-pill:hover { border-color: var(--tp-red); color: var(--tp-red); }

/* =============================================================================
   Strona główna — węższe ekrany i telefon
   ========================================================================== */
/* Poniżej szerokości z planszy dwa przyciski przestają się mieścić w kolumnie
   tekstu. Zwężamy je zamiast zwężać zdjęcie — inaczej zdjęcie robi się niskie
   i wokół niego rośnie różowy margines, którego na planszy nie ma. */
@media (max-width: 1300px) {
  /* Poniżej szerokości z planszy grafika przestaje mieć stałe 750 px i oddaje
     miejsce kolumnie tekstu — inaczej dwa przyciski nie mieszczą się obok
     siebie i łamią się jeden pod drugim. */
  /* Poniżej 1300 px wysokość banera przestaje być wiązana z planszy: grafika
     jest wtedy węższa, więc 451 px zostawiałoby nad nią kilkaset pikseli
     pustego różu. Wysokość bierze się z treści. */
  .tp-hero-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); min-height: 0; }
  .tp-hero-actions .tp-btn { min-width: 0; padding-inline: 14px; }
}

@media (max-width: 1100px) {
  .tp-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .tp-hero { padding: 16px 0 0; }
  .tp-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 20px; min-height: 0; }
  .tp-hero h1 { font-size: 33px; line-height: 40px; }
  /* 16 px w treści na telefonie — mniejszy tekst męczy przy czytaniu numerów. */
  .tp-hero-lead { font-size: 16px; }
  .tp-hero-actions { flex-direction: column; align-items: stretch; }
  .tp-hero-actions .tp-btn { width: 100%; }
  /* Na telefonie baner stoi w kolumnie z marginesem po obu stronach, więc nie
     obcina go już krawędź bloku — dostaje własne zaokrąglenie z powrotem.
     Maska tu nie ma sensu: baner jest osobnym kafelkiem o wyraźnych brzegach,
     a wygaszanie 28 px zjadałoby jedną trzecią jego wysokości. */
  .tp-hero-art { order: 2; border-radius: var(--tp-radius); overflow: hidden; }
  .tp-hero-art img { -webkit-mask-image: none; mask-image: none; }

  .tp-trust-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tp-section { padding: calc(var(--tp-section-gap) / 2) 0; }
  .tp-section-head { flex-direction: column; align-items: stretch; }
  .tp-section-head .tp-btn { width: 100%; }
  .tp-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Karta w poziomie: zdjęcie po lewej, dane po prawej — układ z planszy M01. */
  .tp-product-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tp-card { flex-direction: row; }
  /* Telefon ma własne pole zdjęcia: 106 × 112 z zasobem 1:1, też przez contain. */
  .tp-card-image { flex: 0 0 106px; margin: 12px 0 12px 12px; aspect-ratio: 106 / 112; }
  .tp-card-body { padding: 14px 16px; }
  .tp-card h3 { font-size: 14px; line-height: 20px; min-height: 40px; }
  .tp-card-number { font-size: 11px; }

  /* Na telefonie pigułki marek wracają do naturalnej szerokości. Rozciągnięte
     na pół ekranu wyglądają jak przyciski akcji, a to tylko odnośniki. */
  .tp-brand-pill { flex: 0 1 auto; padding-inline: 18px; }
}

@media (max-width: 359px) {
  .tp-card-image { flex-basis: 96px; }
}

/* =============================================================================
   Katalog — plansza D05 „Katalog i filtry" (komputer) oraz M07 (panel filtrów)

   Kolumna filtrów 247 px i odstęp 24 px zdjęte wprost z planszy: pole filtrów
   zajmuje tam 249 px z 1332 px treści, a między nim a siatką jest 24 px.
   ========================================================================== */

.tp-catalog { padding: 22px 0 40px; }

.tp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--tp-muted);
  font-size: .85rem;
}
.tp-breadcrumbs a { color: var(--tp-muted); text-decoration: none; }
.tp-breadcrumbs a:hover { color: var(--tp-red); }

.tp-catalog-title {
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tp-graphite);
}
.tp-catalog-lead { margin: 8px 0 0; color: var(--tp-muted); font-size: .95rem; }

/* Pasek doboru po wózku. Na planszy to jeden element na całą szerokość w tle
   akcentu, ze strzałką dosuniętą do prawej krawędzi. */
.tp-catalog-finder {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 22px 0 26px;
  padding: 18px 24px;
  border: 1px solid transparent;
  border-radius: var(--tp-radius);
  background: var(--tp-accent);
  color: var(--tp-graphite);
  text-align: left;
  cursor: pointer;
}
.tp-catalog-finder:hover { border-color: var(--tp-red); }
.tp-catalog-finder-icon { width: 30px; height: 30px; flex: 0 0 auto; color: var(--tp-red); }
.tp-catalog-finder-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tp-catalog-finder-copy strong { font-size: 1rem; font-weight: 600; }
.tp-catalog-finder-copy span { color: var(--tp-muted); font-size: .9rem; }
.tp-catalog-finder-arrow { width: 22px; height: 22px; flex: 0 0 auto; margin-left: auto; color: var(--tp-red); }

/* 248 + 24 + 1048 = 1320. Liczby z pliku SVG planszy D05, nie z oka. */
.tp-catalog-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* --- Kolumna filtrów -------------------------------------------------------- */
.tp-filters {
  padding: 20px;
  border-radius: var(--tp-radius);
  background: var(--tp-bg);
}
.tp-filters-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tp-filters-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--tp-graphite); }
.tp-filters-icon { width: 22px; height: 22px; margin-left: auto; color: var(--tp-graphite); }
/* Krzyżyk zamykania jest wyłącznie mobilny — na komputerze panel stoi na stałe. */
.tp-filters-close { display: none; }

.tp-filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--tp-line); }
.tp-filter-group:last-of-type { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.tp-filter-group h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--tp-graphite); }

.tp-filter-list { display: flex; flex-direction: column; gap: 2px; }
.tp-filter-list-scroll { max-height: none; overflow: visible; }
.tp-filter-more {
  width: 100%;
  min-height: 36px;
  margin-top: 5px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: var(--tp-red);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.tp-filter-more:hover,
.tp-filter-more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Kategoria i marka wyglądają tak samo — kwadratowe pole wyboru, nazwa, licznik.
   Kategoria jest technicznie przyciskiem (wybór jednokrotny), marka polem
   wielokrotnego wyboru, ale na planszy to jeden wzór, więc i tu jeden. */
/* Wiersz ma 36 px, jak na planszy. Pole klikalne i tak jest większe od samego
   kwadracika — paczka Inter mówi wprost: powiększaj obszar kliknięcia, nie
   rysunek. Na telefonie wiersz rośnie do 44 px, bo tam liczy się palec. */
.tp-filters .catalog-filter-choice,
.tp-filters .catalog-check {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 36px;
  padding: 4px 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tp-graphite);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.tp-filters .catalog-filter-choice:hover,
.tp-filters .catalog-check:hover { background: #fff; }
.tp-filters .catalog-filter-choice > span,
.tp-filters .catalog-check > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tp-filters .catalog-filter-choice > small,
.tp-filters .catalog-check > small { color: var(--tp-muted); font-size: .8rem; }

/* Kwadrat rysujemy pseudoelementem, bo kategoria nie ma pola formularza.
   18 × 18, promień 4, obrys #acb3bc — wymiary z planszy. */
.tp-filters .catalog-filter-choice::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid var(--tp-check);
  border-radius: 4px;
  background: #fff;
}
.tp-filters .catalog-filter-choice.active::before {
  border-color: var(--tp-red);
  background: var(--tp-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8.5 3.2 3.2L13 5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
/* Wybrany filtr poznaje się po czerwonym kwadraciku, nie po pogrubieniu —
   na planszy „Wszystkie części" ma dokładnie tę samą grubość co reszta listy. */

.tp-filters .catalog-check input[type="checkbox"],
.tp-filter-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--tp-red);
  cursor: pointer;
}

.tp-filter-check {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 36px;
  padding: 4px 6px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}
.tp-filter-check:hover { background: #fff; }
.tp-filter-check > span { flex: 1; }
.tp-filter-check > small { color: var(--tp-muted); font-size: .8rem; }

.tp-filter-price { display: flex; align-items: center; gap: 8px; }
.tp-filter-price label { flex: 1; min-width: 0; }
.tp-filter-price-dash { color: var(--tp-muted); }
.tp-filter-input {
  width: 100%;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tp-graphite);
  font-size: 12px;
}
.tp-filter-input:focus-visible { outline: 2px solid var(--tp-red); outline-offset: 1px; border-color: var(--tp-red); }

/* Lista rozwijana kategorii zostaje w drzewie dla skryptu, ale nie zajmuje miejsca. */
.tp-filter-select-hidden { display: none; }

.tp-filters-foot { margin-top: 22px; }
/* Przycisk filtrów jest niższy od zwykłego podstawowego: 44 px i tekst 13/600. */
.tp-filters-apply { width: 100%; min-height: 44px; font-size: 13px; }
.tp-filters-clear {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--tp-muted);
  font-size: 12px;
  cursor: pointer;
}
.tp-filters-clear:hover { color: var(--tp-red); }
/* „Pokaż wyniki" domyka szufladę filtrów — sens ma tylko na telefonie. */
.tp-filters-show { display: none; }
.tp-filters-overlay { display: none; }

/* --- Wyniki ----------------------------------------------------------------- */
.tp-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.tp-results-title { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.015em; color: var(--tp-graphite); }
.tp-results-count { margin: 6px 0 0; color: var(--tp-muted); font-size: 12px; }
.tp-results-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tp-sort { color: var(--tp-muted); font-size: 12px; }
.tp-sort-select {
  min-height: var(--tp-control);
  padding: 0 14px;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-btn);
  background: #fff;
  color: var(--tp-graphite);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
/* Przycisk otwierający filtry jest mobilny; na komputerze panel stoi obok wyników. */
.tp-filters-open { display: none; }

/* 3 × 334 px + 2 × 23 px = 1048 px. Pionowo 20 px — plansza ma inne odstępy
   w poziomie i w pionie, więc nie skracamy tego do jednego `gap`. */
.tp-product-grid-katalog { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 23px; row-gap: 20px; }

/* --- Stronicowanie ---------------------------------------------------------- */
.tp-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; }
.tp-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tp-touch);
  min-height: var(--tp-touch);
  padding: 0 14px;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-btn);
  background: #fff;
  color: var(--tp-graphite);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-pagination a:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-pagination a.active { border-color: var(--tp-red); background: var(--tp-red); color: #fff; }
/* Na planszy przy pierwszej stronie nie ma „Poprzedniej" — nieczynny odnośnik
   nie jest przygaszony, tylko go nie ma. */
.tp-pagination a[aria-disabled="true"] { display: none; }
.tp-pagination span { color: var(--tp-muted); }

/* --- Katalog: węższe ekrany i telefon --------------------------------------- */
@media (max-width: 1180px) {
  .tp-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .tp-product-grid-katalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 860px) {
  /* Panel filtrów staje się szufladą znad treści — wariant M07. */
  .tp-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-filters {
    position: fixed;
    z-index: 60;
    inset: 0 0 0 auto;
    width: min(360px, 92vw);
    display: flex;
    flex-direction: column;
    border-radius: 0;
    transform: translateX(100%);
    transition: transform .2s ease;
  }
  .tp-filters.open { transform: none; }
  .tp-filters-scroll { flex: 1; overflow-y: auto; }
  .tp-filters-head { position: sticky; top: 0; padding-bottom: 14px; background: var(--tp-bg); }
  .tp-filters-icon { display: none; }
  .tp-filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tp-touch);
    height: var(--tp-touch);
    margin-left: auto;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-btn);
    background: #fff;
    color: var(--tp-graphite);
    cursor: pointer;
  }
  .tp-filters-close svg { width: 20px; height: 20px; }
  .tp-filters-show { display: block; width: 100%; margin-top: 12px; }
  .tp-filters-overlay { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(34, 38, 44, .45); }
  .tp-filters-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--tp-control);
    padding: 0 16px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-btn);
    background: #fff;
    color: var(--tp-graphite);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
  }
  .tp-filters-open svg { width: 18px; height: 18px; }
  .tp-filters-open b {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--tp-red);
    color: #fff;
    font-size: .74rem;
  }
  body.catalog-filter-opened { overflow: hidden; }

  /* Na dotyku wiersz filtra wraca do 44 px. Sam kwadracik zostaje 18 px —
     rośnie obszar kliknięcia, nie rysunek. */
  .tp-filters .catalog-filter-choice,
  .tp-filters .catalog-check,
  .tp-filter-check { min-height: var(--tp-touch); }

  .tp-catalog-finder { flex-wrap: wrap; padding: 16px 18px; }
  .tp-catalog-finder-arrow { margin-left: 0; }
  .tp-results-head { flex-direction: column; align-items: stretch; }
  .tp-results-tools { justify-content: space-between; }
  .tp-product-grid-katalog { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* =============================================================================
   D03 — dokładne dopasowanie numeru katalogowego
   ========================================================================== */
body.catalog-page:not(.tp-catalog-model) .selected-forklift { display: none !important; }
.selected-forklift-main > svg {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}
.tp-selected-forklift-remove {
  display: grid;
  min-width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  line-height: 0;
}
.tp-selected-forklift-remove svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

body.tp-catalog-exact-match .tp-catalog-finder,
body.tp-catalog-exact-match .selected-forklift,
body.tp-catalog-exact-match .catalog-forklift-panel,
body.tp-catalog-exact-match .tp-special-category-guides,
body.tp-catalog-exact-match .tp-filters,
body.tp-catalog-exact-match .tp-filters-overlay,
body.tp-catalog-exact-match .tp-results-head,
body.tp-catalog-exact-match .active-filters,
body.tp-catalog-exact-match .tp-special-inline-help,
body.tp-catalog-exact-match .tp-pagination,
body.tp-catalog-exact-match > .tp-help { display: none !important; }

body.tp-catalog-exact-match .tp-catalog-layout { grid-template-columns: minmax(0, 1fr); }
body.tp-catalog-exact-match .tp-catalog-results { min-width: 0; }
body.tp-catalog-exact-match .tp-product-grid-katalog { display: block; }

.tp-exact-result {
  display: grid;
  gap: 24px;
  width: min(100%, 1060px);
  margin-inline: auto;
}
.tp-exact-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid color-mix(in srgb, var(--tp-success) 36%, var(--tp-border));
  border-radius: var(--tp-radius-md);
  background: var(--tp-success-bg);
  color: var(--tp-success);
}
.tp-exact-banner > svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: var(--tp-radius-pill);
  background: var(--tp-success);
  color: #fff;
}
.tp-exact-banner strong,
.tp-exact-banner small { display: block; }
.tp-exact-banner strong { font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
.tp-exact-banner small { margin-top: 2px; color: var(--tp-text); font-size: var(--tp-text-xs); line-height: var(--tp-leading-xs); }

.tp-exact-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 240px;
  overflow: hidden;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow-sm);
}
.tp-exact-image {
  display: grid;
  min-height: 220px;
  padding: 20px;
  place-items: center;
  border-right: 1px solid var(--tp-border);
  background: var(--tp-surface-soft);
}
.tp-exact-image img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; }
.tp-exact-copy { align-self: center; min-width: 0; padding: 28px 32px; }
.tp-exact-copy h2 { margin: 8px 0 22px; font-size: 24px; line-height: 32px; }
.tp-exact-copy h2 a { color: var(--tp-ink); text-decoration: none; }
.tp-exact-copy h2 a:hover { color: var(--tp-red); }
.tp-exact-copy dl { display: grid; gap: 8px; margin: 0; }
.tp-exact-copy dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.tp-exact-copy dt { color: var(--tp-muted); font-size: var(--tp-text-xs); line-height: var(--tp-leading-xs); }
.tp-exact-copy dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: var(--tp-text-sm); font-weight: 700; line-height: var(--tp-leading-sm); }

.tp-exact-commerce {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  border-left: 1px solid var(--tp-border);
  background: var(--tp-surface-soft);
}
.tp-exact-commerce p { margin: 0 0 22px; font-size: var(--tp-text-xs); font-weight: 700; line-height: var(--tp-leading-xs); }
.tp-exact-commerce p::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--tp-warning); }
.tp-exact-commerce p.is-available { color: var(--tp-success); }
.tp-exact-commerce p.is-available::before { background: var(--tp-success); }
.tp-exact-price { color: var(--tp-ink); font-size: 26px; line-height: 32px; }
.tp-exact-commerce > span { margin-top: 4px; color: var(--tp-muted); font-size: var(--tp-text-xs); }
.tp-exact-commerce .tp-btn { width: 100%; margin-top: 22px; }

.tp-exact-tips {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface);
}
.tp-exact-tips h2 { margin: 8px 0 0; font-size: 20px; line-height: 28px; }
.tp-exact-tips ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tp-exact-tips li { position: relative; padding-left: 18px; }
.tp-exact-tips li::before { content: ''; position: absolute; top: 7px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--tp-red); }
.tp-exact-tips li strong,
.tp-exact-tips li span { display: block; }
.tp-exact-tips li strong { font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
.tp-exact-tips li span { margin-top: 6px; color: var(--tp-muted); font-size: var(--tp-text-xs); line-height: var(--tp-leading-sm); }

.tp-exact-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border-radius: var(--tp-radius-lg);
  background: var(--tp-ink);
  color: #fff;
}
.tp-exact-help h2 { margin: 6px 0 4px; color: #fff; font-size: 20px; line-height: 28px; }
.tp-exact-help p { margin: 0; color: #d6d9de; font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
.tp-exact-help .tp-eyebrow { color: #ffb5c1; }
.tp-exact-help > div:last-child { display: flex; flex: 0 0 auto; gap: 10px; }

@media (max-width: 1023px) {
  .tp-exact-card { grid-template-columns: 180px minmax(0, 1fr); }
  .tp-exact-commerce { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-end; gap: 20px; border-top: 1px solid var(--tp-border); border-left: 0; }
  .tp-exact-commerce p { margin: 0 auto 0 0; }
  .tp-exact-commerce .tp-btn { width: auto; min-width: 190px; margin-top: 0; }
  .tp-exact-tips { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tp-exact-help { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .tp-exact-result { gap: 18px; }
  .tp-exact-banner { align-items: flex-start; padding: 14px 15px; }
  .tp-exact-card { grid-template-columns: minmax(0, 1fr); }
  .tp-exact-image { min-height: 176px; padding: 18px; border-right: 0; border-bottom: 1px solid var(--tp-border); }
  .tp-exact-image img { width: 128px; height: 128px; }
  .tp-exact-copy { padding: 24px 20px; }
  .tp-exact-copy h2 { margin-bottom: 20px; font-size: 22px; line-height: 28px; }
  .tp-exact-copy dl > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .tp-exact-commerce { grid-column: auto; align-items: stretch; flex-direction: column; gap: 0; padding: 24px 20px; }
  .tp-exact-commerce p { margin: 0 0 18px; }
  .tp-exact-commerce .tp-btn { width: 100%; margin-top: 20px; }
  .tp-exact-tips { padding: 24px 20px; }
  .tp-exact-tips ul { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tp-exact-help { padding: 26px 20px; }
  .tp-exact-help > div:last-child { width: 100%; flex-direction: column; }
  .tp-exact-help .tp-btn { width: 100%; }
}

/* Ostateczny układ D03 z planszy desktopowej. Stare reguły powyżej zachowują
   zgodność dla istniejących klas, a poniższy blok ustawia nową, jednopanelową
   strukturę dokładnego wyniku. */
body.tp-catalog-search-pending .tp-catalog,
body.tp-catalog-exact-match .tp-catalog {
  min-height: 760px;
  padding: 36px 0 88px;
  background: #f5f6f8;
}
body.tp-catalog-search-pending .tp-catalog > .tp-section-inner > .tp-breadcrumbs,
body.tp-catalog-search-pending .tp-catalog > .tp-section-inner > .tp-eyebrow,
body.tp-catalog-search-pending .tp-catalog > .tp-section-inner > .tp-catalog-title,
body.tp-catalog-search-pending .tp-catalog > .tp-section-inner > .tp-catalog-lead,
body.tp-catalog-exact-match .tp-catalog > .tp-section-inner > .tp-breadcrumbs,
body.tp-catalog-exact-match .tp-catalog > .tp-section-inner > .tp-eyebrow,
body.tp-catalog-exact-match .tp-catalog > .tp-section-inner > .tp-catalog-title,
body.tp-catalog-exact-match .tp-catalog > .tp-section-inner > .tp-catalog-lead {
  display: none;
}
body.tp-catalog-search-pending .tp-catalog-layout,
body.tp-catalog-exact-match .tp-catalog-layout { margin-top: 0; }

.tp-exact-result {
  display: grid;
  gap: 0;
  width: min(100%, 1060px);
  margin-inline: auto;
  padding: 20px 30px 28px;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
.tp-exact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  margin-bottom: 6px;
}
.tp-exact-head h1 {
  min-width: 0;
  margin: 0;
  color: var(--tp-graphite);
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.tp-exact-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid var(--tp-line);
  border-radius: 11px;
  background: #fff;
  color: var(--tp-graphite);
}
.tp-exact-close:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-exact-close svg { width: 20px; height: 20px; }

.tp-exact-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 270px);
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--tp-success-bg);
  color: var(--tp-success);
}
.tp-exact-banner > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: currentColor;
}
.tp-exact-banner strong { font-size: 13px; line-height: 20px; }

.tp-exact-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 250px;
  min-height: 226px;
  margin-top: 26px;
  padding-bottom: 28px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--tp-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.tp-exact-image {
  display: grid;
  width: 180px;
  min-height: 198px;
  padding: 18px;
  place-items: center;
  border: 0;
  background: var(--tp-surface-soft);
}
.tp-exact-image img { width: 144px; height: 144px; max-height: none; object-fit: contain; }
.tp-exact-copy {
  align-self: center;
  min-width: 0;
  padding: 8px 26px;
}
.tp-exact-category {
  display: block;
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .02em;
}
.tp-exact-copy h2 { margin: 8px 0 7px; font-size: 25px; line-height: 31px; }
.tp-exact-number { display: block; font-size: 17px; line-height: 24px; }
.tp-exact-model { margin: 12px 0 0; color: var(--tp-muted); font-size: 13px; line-height: 20px; }
.tp-exact-stock { margin: 12px 0 0; color: var(--tp-warning); font-size: 13px; font-weight: 700; line-height: 20px; }
.tp-exact-stock::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; }
.tp-exact-stock.is-available { color: var(--tp-success); }

.tp-exact-commerce {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 8px 22px;
  border: 0;
  background: #fff;
}
.tp-exact-price { font-size: 27px; line-height: 34px; }
.tp-exact-commerce > span { margin-top: 4px; font-size: 12px; }
.tp-exact-commerce .tp-btn { width: 100%; min-height: 48px; margin-top: 25px; }

.tp-exact-alternatives { padding: 21px 0 26px; }
.tp-exact-alternatives h2 { margin: 0 0 12px; font-size: 15px; line-height: 22px; }
.tp-exact-alternatives > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-exact-alternatives button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tp-graphite);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.tp-exact-alternatives button:hover,
.tp-exact-alternatives button:focus-visible { border-color: var(--tp-red); color: var(--tp-red); }

.tp-exact-help {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--tp-surface-soft);
  color: var(--tp-graphite);
}
.tp-exact-help > svg { width: 25px; height: 25px; color: var(--tp-red); }
.tp-exact-help h2 { margin: 0 0 4px; color: var(--tp-graphite); font-size: 17px; line-height: 24px; }
.tp-exact-help p { margin: 0; color: var(--tp-muted); font-size: 12px; line-height: 19px; }
.tp-exact-help .tp-btn { width: 100%; min-height: 44px; }
.tp-exact-help .tp-btn-secondary { border: 1px solid var(--tp-line); }

@media (max-width: 1023px) {
  .tp-exact-banner { width: 100%; }
  .tp-exact-card { grid-template-columns: 180px minmax(0, 1fr); }
  .tp-exact-commerce { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding: 20px 0 0; }
  .tp-exact-commerce .tp-btn { width: auto; min-width: 210px; margin: 0 0 0 auto; }
  .tp-exact-help { grid-template-columns: 34px minmax(0, 1fr); }
  .tp-exact-help .tp-btn { grid-column: 2; width: auto; justify-self: start; }
}

@media (max-width: 650px) {
  body.tp-catalog-search-pending .tp-catalog,
  body.tp-catalog-exact-match .tp-catalog { padding: 18px 0 44px; }
  .tp-exact-result { padding: 18px 16px 20px; }
  .tp-exact-head { align-items: flex-start; }
  .tp-exact-head h1 { padding-top: 5px; font-size: 21px; line-height: 28px; }
  .tp-exact-card { grid-template-columns: minmax(0, 1fr); }
  .tp-exact-image { width: 100%; min-height: 176px; border: 0; }
  .tp-exact-copy { padding: 22px 4px; }
  .tp-exact-copy h2 { font-size: 22px; line-height: 28px; }
  .tp-exact-commerce { grid-column: auto; align-items: stretch; flex-direction: column; padding: 0 4px; }
  .tp-exact-commerce .tp-btn { width: 100%; margin: 18px 0 0; }
  .tp-exact-help { grid-template-columns: 28px minmax(0, 1fr); padding: 20px 16px; }
  .tp-exact-help .tp-btn { grid-column: 1 / -1; width: 100%; }
}

/* =============================================================================
   D04 — dobór części po marce i modelu wózka

   Plansza wdrożeniowa definiuje dwa główne pola po 636 px przy 1440 px oraz
   po 476 px przy 1024 px. W wersji telefonicznej pola stają się osobnymi
   krokami M04 i M05, ale korzystają z tych samych danych i elementów formularza.
   ========================================================================== */
.tp-selection { padding: 18px 0 48px; }
.tp-selection-breadcrumbs { margin-bottom: 26px; }
.tp-selection-intro { margin-bottom: 32px; }
.tp-selection-intro h1,
.tp-selection-mobile-heading h1 {
  margin: 10px 0 6px;
  color: var(--tp-ink);
  font-size: var(--tp-title-lg);
  line-height: var(--tp-leading-title-lg);
  letter-spacing: -.035em;
}
.tp-selection-intro > p:last-child,
.tp-selection-mobile-heading > p:last-child {
  margin: 0;
  color: var(--tp-muted);
  font-size: var(--tp-text-lg);
  line-height: var(--tp-leading-lg);
}
.tp-selection-mobile-heading { display: none; }

.tp-selection-panel {
  width: 100%;
  padding: 24px 12px 18px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface);
}
.tp-selection-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 636px));
  gap: 24px;
  align-items: stretch;
}
.tp-selection-brand-column,
.tp-selection-second-column,
.tp-selection-model-column { min-width: 0; }
.tp-selection-brand-column { position: relative; min-height: 492px; padding: 0 12px; }
.tp-selection-second-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  gap: 20px;
}
.tp-selection-model-column { display: flex; flex-direction: column; }
.tp-selection-model-placeholder { min-width: 0; }
.tp-selection-model-placeholder[hidden] { display: none !important; }
.tp-selection-disabled-input {
  display: flex;
  align-items: center;
  min-height: var(--tp-control-h);
  padding: 0 14px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  background: var(--tp-surface-soft);
  color: var(--tp-subtle);
  font-size: var(--tp-text-sm);
}
.tp-selection-model-placeholder > p {
  margin: 20px 0 0;
  padding: 18px;
  border-radius: var(--tp-radius-md);
  background: var(--tp-surface-soft);
  color: var(--tp-muted);
  font-size: var(--tp-text-sm);
  line-height: var(--tp-leading-md);
}
.tp-selection-page .forklift-step-title { margin-bottom: 18px; }
.tp-selection-page .forklift-step-title > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: var(--tp-text-sm);
}
.tp-selection-page .forklift-step-title strong {
  color: var(--tp-ink);
  font-size: 20px;
  line-height: 28px;
}
.tp-selection-page .forklift-step-title small { display: none; }
.tp-selection-label {
  display: block;
  margin-bottom: 8px;
  color: var(--tp-text);
  font-size: var(--tp-text-xs);
  font-weight: var(--tp-weight-bold);
  line-height: var(--tp-leading-xs);
}
.tp-selection-page .finder-input {
  min-height: var(--tp-control-h);
  padding: 0 14px;
  border-color: var(--tp-border);
  border-radius: var(--tp-radius-md);
  color: var(--tp-ink);
  font-size: var(--tp-text-sm);
  font-weight: var(--tp-weight-regular);
}
.tp-selection-page .finder-input:focus {
  border-color: var(--tp-red);
  box-shadow: 0 0 0 3px rgb(232 0 37 / 10%);
}
.tp-selection-page .finder-options { max-height: none; overflow: visible; }
.tp-selection-brand-options { align-content: flex-start; margin-top: 20px; }
.tp-selection-page .finder-option-chip {
  min-height: 36px;
  padding: 7px 12px;
  border-color: var(--tp-border);
  border-radius: 8px;
  font-size: var(--tp-text-xs);
  line-height: var(--tp-leading-xs);
}
.tp-selection-page .finder-option-chip:hover,
.tp-selection-page .finder-option-chip.active {
  border-color: color-mix(in srgb, var(--tp-red) 28%, var(--tp-border));
  background: var(--tp-red-050);
  color: var(--tp-red);
}
.tp-selection-page .finder-option-chip small { color: var(--tp-muted); }
.tp-selection-page .finder-option-chip.is-empty,
.tp-selection-page .finder-option-chip:disabled {
  border-color: var(--tp-border);
  background: var(--tp-bg);
  color: var(--tp-muted);
  opacity: .58;
  cursor: not-allowed;
}
.tp-selection-page .finder-option-chip.is-empty:hover,
.tp-selection-page .finder-option-chip:disabled:hover {
  border-color: var(--tp-border);
  background: var(--tp-bg);
  color: var(--tp-muted);
}
.tp-selection-page .finder-more {
  min-height: var(--tp-tap-min);
  margin-top: 58px;
  color: var(--tp-red);
  font-size: var(--tp-text-xs);
  font-weight: var(--tp-weight-bold);
}
.tp-selection-forklift {
  position: absolute;
  top: 334px;
  right: 80px;
  bottom: auto;
  width: 176px;
  height: 176px;
  object-fit: contain;
}
.tp-selection-brand-next,
.tp-selection-brand-help,
.tp-selection-selected-brand { display: none; }

.tp-selection-page .finder-model-options {
  display: grid;
  gap: 8px;
  height: 256px;
  max-height: 256px;
  margin-top: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.tp-selection-page .finder-model-option {
  grid-template-columns: 22px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 10px 14px;
  border-color: var(--tp-border);
  border-radius: var(--tp-radius-md);
}
.tp-selection-page .finder-model-option:hover,
.tp-selection-page .finder-model-option.selected {
  border-color: color-mix(in srgb, var(--tp-red) 32%, var(--tp-border));
  background: var(--tp-red-050);
}
.tp-selection-page .finder-model-check {
  position: relative;
  width: 18px;
  height: 18px;
  border-color: var(--tp-border-strong);
  font-size: 0;
}
.tp-selection-page .finder-model-option.selected .finder-model-check {
  border-color: var(--tp-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(232 0 37 / 8%);
}
.tp-selection-page .finder-model-option.selected .finder-model-check::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--tp-red);
}
.tp-selection-page .finder-model-copy strong { font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
.tp-selection-page .finder-model-copy small { font-size: var(--tp-text-xs); line-height: var(--tp-leading-xs); }
.tp-selection-page .finder-model-side b {
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: var(--tp-weight-regular);
  white-space: nowrap;
}
.tp-selection-page .finder-model-option.selected .finder-model-side b { color: var(--tp-text); }
.tp-selection-page .finder-refine-toggle { margin-top: 10px; }

.tp-selection-page .finder-selected-card {
  grid-template-columns: minmax(0, 1fr) clamp(180px, 45%, 280px);
  gap: 12px;
  min-height: 66px;
  margin-top: auto;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--tp-border);
  border-radius: 0;
  background: var(--tp-surface);
  box-shadow: none;
}
@media (min-width: 769px) {
  .tp-selection-page .finder-selected-card[hidden] {
    display: grid !important;
    visibility: hidden;
    pointer-events: none;
  }
}
.tp-selection-page .finder-selected-card > img { display: none; }
.tp-selection-page .finder-selected-card > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}
.tp-selection-page .finder-selected-card span {
  color: var(--tp-text);
  font-size: var(--tp-text-xs);
  letter-spacing: 0;
  text-transform: none;
}
.tp-selection-page .finder-selected-card strong {
  overflow: hidden;
  color: var(--tp-ink);
  font-size: var(--tp-text-xs);
  line-height: var(--tp-leading-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-selection-page .finder-selected-card small { display: none; }
.tp-selection-page .finder-selected-card .tp-btn {
  min-height: var(--tp-control-h);
  margin: 0;
  white-space: nowrap;
}
.tp-selection-page .forklift-finder-notice { margin-top: 8px; }
.tp-selection-model-help { display: none; }

.tp-selection-help-card {
  align-self: stretch;
  min-width: 0;
  padding: 22px 18px;
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface-soft);
}
.tp-selection-help-card > svg { width: 24px; height: 24px; color: var(--tp-red); }
.tp-selection-help-card h2 { margin: 12px 0 28px; font-size: 17px; line-height: 24px; }
.tp-selection-help-card p { margin: 0 0 42px; color: var(--tp-muted); font-size: var(--tp-text-xs); line-height: var(--tp-leading-sm); }
.tp-selection-help-card p + p { margin-bottom: 52px; }
.tp-selection-help-card a { color: var(--tp-red); font-size: var(--tp-text-xs); font-weight: var(--tp-weight-bold); text-decoration: none; }
.tp-selection-help-card a:hover { text-decoration: underline; }

.tp-selection-serial {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 96px;
  margin-top: 24px;
  padding: 20px 28px;
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface-soft);
}
.tp-selection-serial > svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--tp-red); }
.tp-selection-serial h2 { margin: 0 0 6px; font-size: var(--tp-text-md); line-height: var(--tp-leading-md); }
.tp-selection-serial p { margin: 0; color: var(--tp-muted); font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
.tp-selection-mobile-help { display: none; }

/* Kontener ma tu 976 px: 476 + 24 + 476. Karta pomocy przechodzi pod pole
   modelu, żeby nie zabierać szerokości wymaganej przez specyfikację D04. */
@media (max-width: 1199px) and (min-width: 769px) {
  .tp-selection-panel { padding-right: 0; padding-left: 0; }
  .tp-selection-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-selection-brand-column { padding: 0 18px; }
  .tp-selection-second-column { grid-template-columns: minmax(0, 1fr); padding-right: 18px; }
  .tp-selection-help-card { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px 14px; margin-top: 18px; padding: 18px; }
  .tp-selection-help-card h2 { margin: 0; }
  .tp-selection-help-card p { grid-column: 2; margin: 0; }
  .tp-selection-help-card p + p { display: none; }
  .tp-selection-help-card a { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .tp-selection-forklift { right: 46px; width: 150px; height: 150px; }
}

@media (max-width: 768px) {
  .tp-selection { padding: 28px 0 44px; }
  .tp-selection-breadcrumbs,
  .tp-selection-intro { display: none; }
  .tp-selection-panel { padding: 0; border: 0; border-radius: 0; }
  .tp-selection-columns { display: block; }
  .tp-selection-brand-column { min-height: 0; padding: 0; }
  .tp-selection-second-column { display: block; }
  .tp-selection-mobile-heading { display: block; margin-bottom: 30px; }
  .tp-selection-mobile-heading h1 { margin-top: 12px; font-size: 32px; line-height: 38px; }
  .tp-selection-mobile-heading > p:last-child { font-size: var(--tp-text-md); line-height: var(--tp-leading-md); }
  .tp-selection-page .forklift-step-title { display: none; }
  .tp-selection-label { margin-bottom: 10px; font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
  .tp-selection-page .finder-input {
    min-height: var(--tp-control-h-mobile);
    padding: 0 16px;
    font-size: var(--tp-text-md);
  }
  .tp-selection-brand-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .tp-selection-page .finder-option-chip {
    justify-content: center;
    min-height: 64px;
    padding: 10px;
    border-radius: var(--tp-radius-md);
    font-size: var(--tp-text-md);
    line-height: var(--tp-leading-md);
  }
  .tp-selection-page .finder-option-chip small { display: none; }
  .tp-selection-page .finder-more,
  .tp-selection-forklift { display: none; }
  .tp-selection-brand-next {
    display: inline-flex;
    width: 100%;
    min-height: var(--tp-control-h-mobile);
    margin-top: 40px;
  }
  .tp-selection-brand-next svg { width: 20px; height: 20px; }
  .tp-selection-brand-next:disabled { cursor: not-allowed; opacity: .48; }
  .tp-selection-brand-help { display: grid; gap: 10px; margin-top: 32px; }
  .tp-selection-brand-help strong { font-size: var(--tp-text-lg); line-height: var(--tp-leading-lg); }
  .tp-selection-brand-help a { color: var(--tp-red); font-size: var(--tp-text-md); font-weight: var(--tp-weight-bold); text-decoration: none; }

  .tp-selection-panel[data-step="brand"] .tp-selection-second-column { display: none; }
  .tp-selection-panel[data-step="model"] .tp-selection-brand-column { display: none; }
  .tp-selection-selected-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -4px 0 32px;
  }
  .tp-selection-selected-brand > span {
    min-height: var(--tp-tap-min);
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--tp-red) 30%, var(--tp-border));
    border-radius: var(--tp-radius-md);
    background: var(--tp-red-050);
    color: var(--tp-red);
    font-size: var(--tp-text-sm);
    font-weight: var(--tp-weight-bold);
  }
  .tp-selection-selected-brand button {
    min-height: var(--tp-tap-min);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tp-red);
    font-size: var(--tp-text-sm);
    font-weight: var(--tp-weight-bold);
    cursor: pointer;
  }
  .tp-selection-page .finder-model-options { gap: 12px; width: auto; height: auto; max-height: none; margin-top: 28px; overflow: visible; }
  .tp-selection-page .finder-model-option {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 76px;
    padding: 12px 14px;
  }
  .tp-selection-page .finder-model-copy strong { font-size: var(--tp-text-md); line-height: var(--tp-leading-md); }
  .tp-selection-page .finder-model-copy small { display: none; }
  .tp-selection-page .finder-model-side { grid-column: 2; justify-items: start; }
  .tp-selection-page .finder-model-side b { color: var(--tp-muted); font-size: var(--tp-text-sm); }
  .tp-selection-page .finder-model-side em { display: none; }
  .tp-selection-page .finder-selected-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
  }
  .tp-selection-page .finder-selected-card[hidden] { display: none !important; }
  .tp-selection-page .finder-selected-card > div { display: none; }
  .tp-selection-page .finder-selected-card .tp-btn { width: 100%; min-height: var(--tp-control-h-mobile); }
  .tp-selection-model-help { display: block; margin: 30px 0 0; color: var(--tp-muted); font-size: var(--tp-text-md); line-height: var(--tp-leading-lg); }
  .tp-selection-model-help a { color: inherit; text-decoration: none; }
  .tp-selection-help-card,
  .tp-selection-serial { display: none; }
  .tp-selection-mobile-help {
    margin-top: 72px;
    padding: 22px 20px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-red);
    color: #fff;
  }
  .tp-selection-panel[data-step="model"] + .tp-selection-serial + .tp-selection-mobile-help { display: block; }
  .tp-selection-mobile-help > div { display: flex; align-items: center; gap: 12px; }
  .tp-selection-mobile-help svg { width: 24px; height: 24px; }
  .tp-selection-mobile-help h2 { margin: 0; color: #fff; font-size: 22px; line-height: 28px; }
  .tp-selection-mobile-help p { margin: 18px 0; font-size: var(--tp-text-sm); line-height: var(--tp-leading-sm); }
  .tp-selection-mobile-help .tp-btn { width: 100%; min-height: var(--tp-control-h-mobile); background: #fff; color: var(--tp-ink); }
  .tp-selection-page > .tp-help { display: none; }
}

@media (max-width: 340px) {
  .tp-selection-mobile-heading h1 { font-size: 28px; line-height: 34px; }
  .tp-selection-brand-options { grid-template-columns: minmax(0, 1fr); }
}

/* ========================================================================== 
   D06–D10 — katalog modelu i kategorie specjalistyczne, desktop
   ========================================================================== */
@media (min-width: 768px) {
  body.tp-catalog-model .tp-catalog-finder { display: none; }
  body.tp-catalog-model .selected-forklift {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr) auto;
    align-items: center;
    min-height: 70px;
    margin: 26px 0 54px;
    padding: 12px 18px;
    border: 1px solid #f2bdc6;
    border-radius: 14px;
    background: var(--tp-red-soft);
  }
  body.tp-catalog-model .selected-forklift-main { min-width: 0; gap: 16px; }
  body.tp-catalog-model .selected-forklift-main > svg {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: var(--tp-red);
  }
  body.tp-catalog-model .selected-forklift-main span {
    color: var(--tp-red);
    font-size: var(--tp-text-xs);
    font-weight: var(--tp-weight-bold);
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  body.tp-catalog-model .selected-forklift-main small { display: none; }
  body.tp-catalog-model .tp-selected-forklift-note { margin: 0; text-align: center; }
  body.tp-catalog-model .selected-forklift-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 12px;
  }
  body.tp-catalog-model .selected-forklift-actions > a { display: none; }
  body.tp-catalog-model .selected-forklift-actions > button:not(.tp-selected-forklift-remove) {
    min-width: 150px;
    min-height: 48px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    color: var(--tp-graphite);
    font-weight: var(--tp-weight-bold);
  }
  body.tp-catalog-model .tp-selected-forklift-remove {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    color: var(--tp-red);
    line-height: 0;
    text-decoration: none;
  }
  body.tp-catalog-model .tp-selected-forklift-remove svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
  }
  body.tp-catalog-model .active-filters { display: none !important; }

  body.tp-catalog-special .tp-catalog-finder,
  body.tp-catalog-special .selected-forklift,
  body.tp-catalog-special .catalog-forklift-panel { display: none !important; }
  body.tp-catalog-special .tp-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  body.tp-catalog-special .tp-filters,
  body.tp-catalog-special .tp-filters-overlay,
  body.tp-catalog-special .tp-filters-open { display: none !important; }
  body.tp-catalog-special .tp-catalog-results { min-width: 0; }
  body.tp-catalog-special .tp-product-grid-katalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.tp-catalog-special .tp-results-head { margin-top: 28px; }
  body.tp-catalog-special .tp-results-count { display: none; }
  body.tp-catalog-special .tp-results-tools { margin-left: auto; }

  .tp-special-category-guides { margin-top: 32px; }
  .tp-special-guide {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 420px;
    align-items: center;
    min-height: 246px;
    overflow: hidden;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-special-guide-icon {
    width: 88px;
    height: 88px;
    margin-left: 36px;
    object-fit: contain;
  }
  .tp-special-guide-copy { padding: 34px 52px 34px 40px; }
  .tp-special-guide-copy h2 { margin: 0; font-size: 28px; line-height: 36px; }
  .tp-special-guide-copy p { margin: 14px 0 28px; color: var(--tp-muted); line-height: 24px; }
  .tp-special-guide-copy .tp-btn { min-width: 220px; gap: 10px; background: #fff; color: var(--tp-graphite); }
  .tp-special-guide-copy .tp-btn svg { width: 20px; height: 20px; }
  .tp-special-guide-visual-button {
    display: grid;
    width: 100%;
    height: 246px;
    grid-template-rows: minmax(0, 1fr);
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #fff;
    cursor: default;
  }
  .tp-special-guide-visual-button[hidden] { display: none !important; }
  .tp-special-guide-visual { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; }
  .tp-special-guide-visual-button.is-diagram { grid-template-rows: minmax(0, 1fr) 42px; cursor: zoom-in; }
  .tp-special-guide-visual-button.is-illustration .tp-special-guide-visual { object-fit: cover; object-position: 74% center; }
  .tp-special-guide-visual-button > span { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--tp-line); color: var(--tp-red); font-size: 12px; font-weight: 800; }
  .tp-special-guide-visual-button > span[hidden] { display: none !important; }
  .tp-special-guide-visual-button > span svg { width: 18px; height: 18px; }
  body.tp-catalog-widly .tp-special-guide { grid-template-columns: 112px minmax(0, 1fr); }
  body.tp-catalog-widly .tp-special-guide-visual-button { grid-column: 1 / -1; height: 540px; border-top: 1px solid var(--tp-line); }
  body.tp-catalog-widly .tp-special-guide-visual { padding: 18px 34px; object-fit: contain; }
  body.tp-catalog-felgi .tp-special-guide { grid-template-columns: 112px minmax(0, 1fr); }
  body.tp-catalog-felgi .tp-special-guide-copy { padding-right: 80px; }

  .tp-special-filterbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: end;
    gap: 28px;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-lg);
    background: #fff;
  }
  .tp-special-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .tp-special-filter-fields label { min-width: 0; }
  .tp-special-filter-fields label > span { display: block; margin-bottom: 8px; font-size: var(--tp-text-xs); font-weight: var(--tp-weight-bold); }
  .tp-special-filter-fields select {
    width: 100%;
    min-height: var(--tp-control);
    padding: 0 14px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    color: var(--tp-graphite);
  }
  .tp-special-filterbar > .tp-btn { width: 100%; min-height: var(--tp-control); }
  .tp-special-category-note { margin: 34px 0 0; color: var(--tp-muted); font-size: var(--tp-text-xs); }
  .tp-special-inline-help {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    min-height: 250px;
    padding: 44px 38px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-special-inline-help > svg { width: 30px; height: 30px; color: var(--tp-red); }
  .tp-special-inline-help h3 { margin: 0; font-size: 28px; line-height: 36px; }
  .tp-special-inline-help p { max-width: 680px; margin: 12px 0 28px; color: var(--tp-muted); font-size: 17px; line-height: 26px; }
  .tp-special-inline-help .tp-btn { background: #fff; color: var(--tp-graphite); }
  .tp-model-inline-help,
  .tp-model-empty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 22px 24px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-model-inline-help > svg,
  .tp-model-empty > svg { width: 24px; height: 24px; color: var(--tp-red); }
  .tp-model-inline-help h3,
  .tp-model-empty h3 { margin: 0; font-size: 18px; line-height: 26px; }
  .tp-model-inline-help p,
  .tp-model-empty p { margin: 4px 0 0; color: var(--tp-muted); font-size: var(--tp-text-xs); line-height: 20px; }
  .tp-model-inline-help .tp-btn,
  .tp-model-empty .tp-btn { width: 100%; background: #fff; color: var(--tp-graphite); }
}

.tp-special-media-dialog {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 56px 24px 24px;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 28, 45, .24);
}
.tp-special-media-dialog::backdrop { background: rgba(22, 29, 39, .72); }
.tp-special-media-dialog > button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.tp-special-media-dialog > button svg { width: 22px; height: 22px; }
.tp-special-media-dialog > img { display: block; width: 100%; min-height: min(760px, calc(100vh - 140px)); object-fit: contain; }

/* D13–D15 — koszyk i zamówienie, desktop. */
.tp-commerce-section {
  padding: 0 0 88px;
  background: #fff;
}

.tp-commerce-section > .container,
.tp-checkout-page .tp-commerce-section > .container {
  width: min(1320px, calc(100% - 120px));
  max-width: none;
}

.tp-commerce-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  color: var(--tp-muted);
  font-size: 14px;
}

.tp-commerce-breadcrumbs a { color: inherit; text-decoration: none; }
.tp-commerce-breadcrumbs a:hover { color: var(--tp-red); }
.tp-commerce-head { padding: 5px 0 31px; }
.tp-commerce-head .eyebrow { margin-bottom: 13px; }
.tp-commerce-head h1 { margin: 0; font-size: 42px; line-height: 1.12; letter-spacing: -.025em; }
.tp-commerce-head p { margin: 10px 0 0; color: var(--tp-muted); font-size: 16px; }

.tp-checkout-steps {
  display: grid;
  grid-template-columns: max-content minmax(50px, 1fr) max-content minmax(50px, 1fr) max-content;
  align-items: center;
  max-width: 775px;
  margin-bottom: 42px;
}

.tp-checkout-steps > span { display: inline-flex; align-items: center; gap: 10px; color: #8c939c; font-size: 14px; }
.tp-checkout-steps > span b { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #cfd5dc; border-radius: 50%; background: #fff; color: #858d96; font-size: 13px; }
.tp-checkout-steps > span strong { font-weight: 700; white-space: nowrap; }
.tp-checkout-steps > span.active { color: var(--tp-ink); }
.tp-checkout-steps > span.active b { border-color: var(--tp-red); background: var(--tp-red); color: #fff; }
.tp-checkout-steps > span.done { color: var(--tp-ink); }
.tp-checkout-steps > span.done b { border-color: #15934b; background: #15934b; color: #fff; }
.tp-checkout-steps > i { display: block; height: 1px; margin: 0 18px; background: #dfe3e8; }
.tp-checkout-steps > i.done { background: #15934b; }

.tp-cart-page .cart-layout,
.tp-checkout-page .cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 856px) minmax(340px, 416px);
  gap: 36px;
  align-items: start;
}

.tp-cart-page .cart-list { display: grid; gap: 16px; }
.tp-cart-page .cart-item-v2 {
  min-height: 200px;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: #fff;
}
.tp-cart-page .cart-item-v2 .cart-item-image-link { width: 152px; min-height: 152px; }
.tp-cart-page .cart-item-v2 .cart-item-image-link img { width: 152px; height: 152px; border-radius: 10px; }
.tp-cart-page .cart-item-content { gap: 13px; }
.tp-cart-page .cart-item-v2 h3 { font-size: 17px; line-height: 1.35; }
.tp-cart-page .cart-item-sku { font-size: 12px; }
.tp-cart-page .cart-price-block > strong { font-size: 18px; }
.tp-cart-page .cart-price-block > span { font-size: 12px; }
.tp-cart-page .cart-quantity-label { font-size: 11px; }
.tp-cart-page .cart-remove-btn { font-size: 12px; }

.tp-cart-side { display: grid; gap: 22px; }
.tp-cart-page .cart-summary-card,
.tp-checkout-page .checkout-summary {
  margin: 0;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  background: #f5f6f8;
  box-shadow: none;
}
.tp-cart-page .cart-summary-card h3,
.tp-checkout-page .checkout-summary h3 { margin: 0 0 23px; font-size: 21px; }
.tp-cart-page .cart-summary-prices { gap: 12px; }
.tp-cart-page .cart-summary-prices > div { font-size: 13px; }
.tp-cart-page .cart-delivery-next { margin-top: 20px; padding: 18px 0; gap: 6px; }
.tp-cart-page .cart-delivery-next > span { font-size: 13px; }
.tp-cart-page .cart-delivery-next > strong { font-size: 13px; }
.tp-cart-page .cart-delivery-next > small { font-size: 11px; line-height: 1.5; }
.tp-cart-page .cart-summary-total { margin-top: 20px; gap: 7px 18px; }
.tp-cart-page .cart-summary-total > span { font-size: 15px; }
.tp-cart-page .cart-summary-total > strong { color: var(--tp-ink); font-size: 23px; }
.tp-cart-page .cart-summary-total > small { font-size: 11px; }
.tp-cart-page .cart-checkout-btn { min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; }
.tp-cart-page .cart-continue-shopping { margin-top: 17px; font-size: 12px; }

.tp-cart-help {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: 14px;
  background: #fff2f4;
}
.tp-cart-help > svg { width: 25px; height: 25px; flex: 0 0 25px; color: var(--tp-red); }
.tp-cart-help > div { display: grid; gap: 8px; }
.tp-cart-help strong { font-size: 14px; line-height: 1.4; }
.tp-cart-help a { color: var(--tp-red); font-size: 12px; font-weight: 750; text-decoration: none; }

.tp-checkout-page .tp-checkout-form-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: #fff;
}
.tp-checkout-page .tp-checkout-form-card > form > .form-grid { display: block; }
.tp-checkout-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.tp-checkout-panel[hidden] { display: none !important; }
.tp-checkout-panel > .full { grid-column: 1 / -1; }
.tp-checkout-panel .form-row { min-width: 0; }
.tp-checkout-panel .form-row label,
.tp-checkout-methods legend { display: block; margin: 0 0 8px; color: var(--tp-ink); font-size: 12px; font-weight: 750; }
.tp-checkout-panel .input,
.tp-checkout-panel select { min-height: 48px; border-radius: 8px; font-size: 14px; }
.tp-checkout-panel textarea.input { min-height: 112px; padding-top: 13px; resize: vertical; }

.tp-checkout-login {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -5px 0 3px;
  color: var(--tp-muted);
  font-size: 12px;
}
.tp-checkout-login a { color: var(--tp-red); font-weight: 750; }
.tp-checkout-page .checkout-type-fieldset { padding: 0; border: 0; }
.tp-checkout-page .checkout-type-options { max-width: 420px; }
.tp-checkout-page .checkout-type-option { min-height: 48px; border-radius: 8px; }
.tp-checkout-page .checkout-form-section-title { margin: 9px 0 -2px; padding: 18px 0 0; border-top: 1px solid var(--tp-line); }
.tp-checkout-page .checkout-form-section-title strong { font-size: 18px; }
.tp-checkout-page .checkout-form-section-title span { margin-top: 5px; font-size: 12px; }
.tp-checkout-page .checkout-inline-toggle { border-radius: 9px; background: #fafafa; }
.tp-checkout-next-row { padding-top: 8px; }
.tp-checkout-next-row .btn { min-height: 52px; border-radius: 8px; }

.tp-checkout-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.tp-checkout-methods legend { width: 100%; padding: 0; font-size: 14px; }
.tp-checkout-method {
  position: relative;
  display: grid;
  grid-template-columns: 22px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  margin-top: 10px;
  padding: 15px 17px;
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.tp-checkout-method:hover { border-color: #ef9fab; }
.tp-checkout-method:has(input:checked) { border-color: var(--tp-red); box-shadow: 0 0 0 1px var(--tp-red); }
.tp-checkout-method input { width: 18px; height: 18px; margin: 0; accent-color: var(--tp-red); }
.tp-checkout-method > svg { width: 26px; height: 26px; color: var(--tp-red); }
.tp-checkout-method > span { display: grid; gap: 4px; }
.tp-checkout-method > span strong { font-size: 14px; }
.tp-checkout-method > span small { max-width: 490px; color: var(--tp-muted); font-size: 11px; line-height: 1.45; }
.tp-checkout-method > b { color: var(--tp-ink); font-size: 13px; white-space: nowrap; }

.tp-checkout-page .checkout-account-box,
.tp-checkout-page .checkout-logged-account,
.tp-checkout-page .checkout-consent { border-radius: 10px; }
.tp-checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 5px; }
.tp-checkout-actions .btn { min-height: 52px; padding-inline: 25px; border-radius: 8px; }
.tp-checkout-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tp-ink); font-size: 12px; font-weight: 750; cursor: pointer; }
.tp-checkout-back svg { width: 18px; height: 18px; color: var(--tp-red); }
.tp-checkout-form-card .notice { margin-top: 20px; }

.tp-checkout-page .checkout-summary { position: sticky; top: 22px; }
.tp-checkout-page .checkout-total-breakdown { margin-top: 0; padding-top: 0; border-top: 0; }
.tp-checkout-page .checkout-total-breakdown > div { padding: 9px 0; font-size: 13px; }
.tp-checkout-page .checkout-total-breakdown .checkout-total-gross { margin-top: 12px; padding-top: 20px; border-top: 1px solid #dce0e5; }
.tp-checkout-page .checkout-total-breakdown .checkout-total-gross strong { color: var(--tp-ink); font-size: 23px; }
.tp-checkout-summary-action { min-height: 52px; margin-top: 23px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; }
.tp-checkout-edit-cart { display: block; margin-top: 17px; color: var(--tp-ink); font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; }
.tp-checkout-quote-note { margin: 12px 0 0; color: var(--tp-muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 1179px) and (min-width: 760px) {
  .tp-checkout-page .tp-checkout-form-card { padding: 24px; }
  .tp-checkout-panel { gap: 17px; }
  .tp-checkout-method { grid-template-columns: 20px 25px minmax(0, 1fr); }
  .tp-checkout-method > b { grid-column: 3; }
}

@media (max-width: 1179px) and (min-width: 760px) {
  .tp-commerce-section > .container,
  .tp-checkout-page .tp-commerce-section > .container { width: min(100% - 48px, 1120px); }
  .tp-cart-page .cart-layout,
  .tp-checkout-page .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .tp-cart-page .cart-item-v2 { grid-template-columns: 128px minmax(0, 1fr); padding: 18px; gap: 18px; }
  .tp-cart-page .cart-item-v2 .cart-item-image-link,
  .tp-cart-page .cart-item-v2 .cart-item-image-link img { width: 128px; height: 128px; min-height: 128px; }
}

/* D07 — marki i typy wózków, desktop. */
@media (min-width: 768px) {
  .tp-brands-main { padding: 18px 0 74px; }
  .tp-brands-main h1 { margin: 20px 0 0; font-size: 42px; line-height: 48px; letter-spacing: -.025em; }
  .tp-brands-lead { margin: 8px 0 28px; color: var(--tp-muted); font-size: 17px; line-height: 26px; }
  .tp-brand-search { display: block; width: 575px; max-width: 100%; margin: 0 0 24px; }
  .tp-brand-search > span { display: block; margin-bottom: 8px; font-size: var(--tp-text-xs); font-weight: var(--tp-weight-bold); }
  .tp-brand-search input {
    width: 100%;
    min-height: var(--tp-control);
    padding: 0 16px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    color: var(--tp-graphite);
    font: inherit;
  }
  .tp-brands-main section > h2 { margin: 0 0 20px; font-size: 28px; line-height: 36px; }
  .tp-brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 16px; }
  .tp-brand-grid > a {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-sm);
    color: var(--tp-graphite);
    font-size: var(--tp-text-sm);
    font-weight: var(--tp-weight-bold);
    text-align: center;
    text-decoration: none;
  }
  .tp-brand-grid > a:hover,
  .tp-brand-grid > a:focus-visible { border-color: var(--tp-red); color: var(--tp-red); background: var(--tp-red-soft); }
  .tp-brand-empty { grid-column: 1 / -1; margin: 0; padding: 20px; border-radius: var(--tp-radius-sm); background: var(--tp-bg); }
  .tp-brand-empty a { color: var(--tp-red); }
  .tp-forklift-types { margin-top: 46px; }
  .tp-forklift-types > h2 { margin-bottom: 2px !important; }
  .tp-forklift-types > p { margin: 0 0 24px; color: var(--tp-muted); font-size: var(--tp-text-xs); }
  .tp-forklift-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tp-forklift-type-grid > a {
    position: relative;
    display: grid;
    grid-template-rows: 220px auto auto;
    min-height: 318px;
    padding: 16px 20px 18px;
    overflow: hidden;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius-lg);
    color: var(--tp-graphite);
    text-decoration: none;
  }
  .tp-forklift-type-grid img { width: 100%; height: 220px; object-fit: contain; transition: transform .18s ease; }
  .tp-forklift-type-grid strong { font-size: 19px; line-height: 26px; }
  .tp-forklift-type-grid span { margin-top: 4px; color: var(--tp-red); font-size: var(--tp-text-xs); font-weight: var(--tp-weight-bold); }
  .tp-forklift-type-grid > a:hover,
  .tp-forklift-type-grid > a:focus-visible { border-color: var(--tp-red); }
  .tp-forklift-type-grid > a:hover img { transform: translateY(-3px); }
  .tp-brands-disclaimer { margin: 48px 0 0; color: var(--tp-muted); font-size: var(--tp-text-xs); }
}

/* Reguła zamykająca: późniejsze style pojedynczych ekranów nie mogą przywracać
   natywnej strzałki ani kasować jedynego, wspólnego grotu. */
select:not(.tp-filter-select-hidden) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px !important;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6469' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
select:not(.tp-filter-select-hidden):focus {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e80025' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
select:not(.tp-filter-select-hidden):disabled { background-image: none; }

/* Zapytanie kontekstowe spod wyników wybranego modelu. */
.tp-model-inquiry-dialog {
  width: min(900px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--tp-graphite);
  box-shadow: 0 28px 80px rgba(18, 23, 31, .28);
}
.tp-model-inquiry-dialog::backdrop { background: rgba(24, 29, 35, .56); backdrop-filter: blur(2px); }
.tp-model-inquiry-form { max-height: calc(100vh - 48px); overflow-y: auto; padding: 28px 30px 30px; }
.tp-model-inquiry-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.tp-model-inquiry-form > header h2 { margin: 5px 0 5px; font-size: 28px; line-height: 35px; }
.tp-model-inquiry-form > header p:not(.tp-eyebrow) { margin: 0; color: var(--tp-muted); font-size: 13px; }
.tp-model-inquiry-form > header > button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; place-items: center; border: 1px solid var(--tp-line); border-radius: 9px; background: #fff; font-size: 25px; cursor: pointer; }
.tp-model-inquiry-selected { display: flex; align-items: center; gap: 13px; margin: 23px 0; padding: 14px 16px; border: 1px solid #f0c5cd; border-radius: 10px; background: var(--tp-red-soft); }
.tp-model-inquiry-selected svg { width: 30px; height: 30px; color: var(--tp-red); }
.tp-model-inquiry-selected span { display: grid; gap: 2px; color: var(--tp-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.tp-model-inquiry-selected strong { color: var(--tp-graphite); font-size: 15px; text-transform: none; letter-spacing: normal; }
.tp-model-inquiry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 18px; }
.tp-model-inquiry-grid > label:not(.tp-model-inquiry-upload):not(.tp-model-inquiry-hp) { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.tp-model-inquiry-grid textarea { width: 100%; min-height: 120px; padding: 12px 13px; border: 1px solid var(--tp-line); border-radius: 9px; resize: vertical; font: inherit; }
.tp-model-inquiry-grid .full { grid-column: 1 / -1; }
.tp-model-inquiry-upload { display: flex; align-items: center; gap: 13px; min-height: 86px; padding: 16px; border: 1px dashed #c7cdd3; border-radius: 10px; background: var(--tp-bg); cursor: pointer; }
.tp-model-inquiry-upload:hover { border-color: var(--tp-red); }
.tp-model-inquiry-upload > svg { width: 28px; height: 28px; color: var(--tp-red); }
.tp-model-inquiry-upload > span { display: grid; gap: 4px; }
.tp-model-inquiry-upload small { color: var(--tp-muted); font-size: 11px; font-weight: 400; }
.tp-model-inquiry-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.tp-model-inquiry-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-model-inquiry-photos figure { position: relative; width: 86px; height: 76px; margin: 0; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 9px; }
.tp-model-inquiry-photos img { width: 100%; height: 100%; object-fit: cover; }
.tp-model-inquiry-photos button { position: absolute; top: 4px; right: 4px; display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--tp-red); font-size: 17px; cursor: pointer; }
.tp-model-inquiry-hp { position: absolute; left: -10000px; }
.tp-model-inquiry-privacy { margin: 17px 0 0; color: var(--tp-muted); font-size: 11px; }
.tp-model-inquiry-privacy a { color: var(--tp-red); }
.tp-model-inquiry-notice { margin-top: 13px; font-size: 12px; }
.tp-model-inquiry-notice.is-error { padding: 11px 13px; border: 1px solid #f0b9c0; border-radius: 9px; background: #fff1f3; color: #a6001c; }
.tp-model-inquiry-form > footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--tp-line); }
.tp-model-inquiry-form > footer .tp-btn { min-width: 160px; }
.tp-model-inquiry-success { display: grid; min-height: 420px; place-items: center; align-content: center; padding: 42px; text-align: center; }
.tp-model-inquiry-success > svg { width: 64px; height: 64px; color: var(--tp-success); }
.tp-model-inquiry-success h2 { margin: 18px 0 7px; font-size: 28px; }
.tp-model-inquiry-success p { max-width: 510px; margin: 0 0 24px; color: var(--tp-muted); }

@media(max-width:700px){
  .tp-model-inquiry-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}
  .tp-model-inquiry-form{max-height:calc(100vh - 20px);padding:21px 18px 24px}
  .tp-model-inquiry-grid{grid-template-columns:1fr}.tp-model-inquiry-grid .full{grid-column:auto}
  .tp-model-inquiry-form>footer{display:grid;grid-template-columns:1fr}.tp-model-inquiry-form>footer .tp-btn{width:100%}
}

/* M01–M22 — końcowa warstwa mobilna. Reguły są celowo na końcu pliku:
   późniejsze sekcje desktopowe D07 i D13–D15 nie mogą ponownie wymuszać
   szerokich siatek na telefonie. */
.tp-filters-overlay[hidden] { display: none !important; }

@media (max-width: 860px) {
  .tp-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .tp-footer-bottom > span:nth-of-type(2) { display: none; }
}

@media (max-width: 767px) {
  .tp-special-inline-help {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 0;
    padding: 24px 20px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-special-inline-help > svg {
    width: 28px;
    height: 28px;
    max-width: 28px;
    color: var(--tp-red);
  }
  .tp-special-inline-help h3 { margin: 0; font-size: 23px; line-height: 30px; }
  .tp-special-inline-help p { margin: 10px 0 18px; color: var(--tp-muted); font-size: 15px; line-height: 23px; }
  .tp-special-inline-help .tp-btn { min-height: 52px; background: #fff; color: var(--tp-graphite); }

  .tp-model-inline-help {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    min-height: 0;
    padding: 24px 20px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-model-empty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    min-height: 0;
    padding: 24px 20px;
    border-radius: var(--tp-radius-lg);
    background: var(--tp-bg);
  }
  .tp-model-empty > svg,
  .tp-model-inline-help > svg {
    width: 56px;
    height: 56px;
    max-width: 56px;
    color: var(--tp-red);
  }
  .tp-model-empty > div,
  .tp-model-inline-help > div { min-width: 0; }
  .tp-model-empty h3,
  .tp-model-inline-help h3 { margin: 0; font-size: 22px; line-height: 29px; }
  .tp-model-empty p,
  .tp-model-inline-help p { margin: 9px 0 18px; color: var(--tp-muted); font-size: 15px; line-height: 23px; }
  .tp-model-empty > .tp-btn {
    grid-column: 1;
    width: auto;
    min-width: 160px;
    min-height: 52px;
    justify-self: start;
  }
  .tp-model-inline-help > .tp-btn { grid-column: 2; min-height: 52px; }

  /* M08 — karta produktu. */
  .tp-product-page main > .section { padding: 0 0 56px; }
  .tp-product-page main > .section > .container {
    width: auto;
    max-width: none;
    margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    padding: 0;
  }
  .tp-pdp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
    min-height: 62px;
    color: var(--tp-muted);
    font-size: 12px;
    line-height: 18px;
  }
  .tp-pdp-breadcrumbs a { color: inherit; text-decoration: none; }
  .tp-pdp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tp-pdp-gallery { min-width: 0; }
  .tp-pdp-gallery-main {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f5f6f8;
  }
  .tp-pdp-gallery-main > img { width: 100%; height: 100%; padding: 16px; object-fit: contain; mix-blend-mode: multiply; }
  .tp-pdp-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--tp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--tp-graphite);
  }
  .tp-pdp-zoom svg { width: 22px; height: 22px; }
  .tp-pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; padding: 1px; overflow-x: auto; }
  .tp-pdp-thumbs button {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--tp-line);
    border-radius: 9px;
    background: #fff;
  }
  .tp-pdp-thumbs button.active { border: 2px solid var(--tp-red); }
  .tp-pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
  .tp-pdp-image-note { margin: 9px 0 0; color: var(--tp-muted); font-size: 12px; }
  .tp-pdp-summary { min-width: 0; }
  .tp-pdp-kicker { color: var(--tp-red); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .tp-pdp-summary h1 { margin: 10px 0 7px; font-size: 30px; line-height: 36px; letter-spacing: -.025em; }
  .tp-pdp-subtitle { margin: 0 0 20px; color: var(--tp-muted); font-size: 16px; line-height: 24px; }
  .tp-pdp-number {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 2px 12px;
    min-height: 74px;
    margin: 0 0 16px;
    padding: 12px 12px 12px 15px;
    border-radius: 10px;
    background: var(--tp-bg);
  }
  .tp-pdp-number span { color: var(--tp-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
  .tp-pdp-number strong { min-width: 0; overflow-wrap: anywhere; font-size: 17px; }
  .tp-pdp-number button { grid-column: 2; grid-row: 1 / span 2; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--tp-line); border-radius: 9px; background: #fff; }
  .tp-pdp-number button svg { width: 19px; height: 19px; }
  .tp-pdp-stock { margin: 0 0 10px; color: #a86700; font-size: 13px; font-weight: 700; }
  .tp-pdp-stock.is-available { color: var(--tp-green, #16844a); }
  .tp-pdp-price { font-size: 32px; font-weight: 800; line-height: 40px; }
  .tp-pdp-price small { font-size: 13px; font-weight: 600; }
  .tp-pdp-price-inquiry { font-size: 24px; line-height: 31px; }
  .tp-pdp-net { margin: 2px 0 20px; color: var(--tp-muted); font-size: 12px; }
  .tp-pdp-purchase { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; }
  .tp-pdp-purchase:has(> a:only-child) { grid-template-columns: 1fr; }
  .tp-pdp-purchase .qty { display: grid; grid-template-columns: repeat(3, 44px); width: 132px; height: 52px; border: 1px solid var(--tp-line); border-radius: 9px; background: #fff; }
  .tp-pdp-purchase .qty button { min-width: 44px; min-height: 50px; padding: 0; border: 0; background: transparent; font-size: 20px; }
  .tp-pdp-purchase .qty input { min-width: 0; width: 100%; border: 0; border-right: 1px solid var(--tp-line); border-left: 1px solid var(--tp-line); text-align: center; appearance: textfield; }
  .tp-pdp-purchase .tp-btn { width: 100%; min-height: 52px; gap: 8px; }
  .tp-pdp-purchase .tp-btn svg { width: 20px; height: 20px; }
  .tp-pdp-delivery-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 17px; color: var(--tp-muted); }
  .tp-pdp-delivery-note > svg { width: 23px; height: 23px; color: var(--tp-red); }
  .tp-pdp-delivery-note strong, .tp-pdp-delivery-note span { display: block; font-size: 12px; line-height: 18px; }
  .tp-pdp-delivery-note strong { color: var(--tp-graphite); }
  .tp-pdp-fit-callout { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: center; gap: 13px; min-height: 96px; margin-top: 20px; padding: 17px; border: 1px solid #ffc1cb; border-radius: 12px; background: var(--tp-red-soft); color: var(--tp-graphite); text-decoration: none; }
  .tp-pdp-fit-callout > svg:first-child { width: 29px; height: 29px; color: var(--tp-red); }
  .tp-pdp-fit-callout > svg:last-child { width: 19px; height: 19px; color: var(--tp-red); }
  .tp-pdp-fit-callout strong, .tp-pdp-fit-callout small { display: block; }
  .tp-pdp-fit-callout strong { margin-bottom: 4px; font-size: 15px; }
  .tp-pdp-fit-callout small { color: var(--tp-muted); font-size: 11px; line-height: 17px; }
  .tp-pdp-tabs { display: grid; grid-template-columns: 1fr; margin-top: 30px; border-top: 1px solid var(--tp-line); }
  .tp-pdp-tabs a { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 10px 4px; border-bottom: 1px solid var(--tp-line); color: var(--tp-graphite); font-size: 15px; font-weight: 700; text-decoration: none; }
  .tp-pdp-tabs a::after { content: '+'; color: var(--tp-graphite); font-size: 21px; font-weight: 400; }
  .tp-pdp-tabs a.active { color: var(--tp-red); }
  .tp-pdp-tabs a.active::after { content: '\2212'; color: var(--tp-red); }
  .tp-pdp-description-grid { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 26px; }
  .tp-pdp-description h2 { margin: 0 0 12px; font-size: 25px; line-height: 32px; }
  .tp-pdp-description h3 { margin: 26px 0 9px; font-size: 18px; }
  .tp-pdp-description p { margin: 0; color: var(--tp-muted); line-height: 24px; white-space: pre-line; }
  .tp-pdp-full-description summary { margin-top: 16px; color: var(--tp-red); font-weight: 700; }
  .tp-pdp-full-description p { margin-top: 14px; }
  .tp-pdp-help-card { padding: 22px; border-radius: 12px; background: var(--tp-bg); }
  .tp-pdp-help-card h2 { margin: 0; font-size: 21px; }
  .tp-pdp-help-card p { margin: 9px 0 20px; color: var(--tp-muted); font-size: 13px; line-height: 20px; }
  .tp-pdp-help-card .tp-btn { width: 100%; min-height: 52px; }

  .tp-pdp-data-head { padding: 18px 0 4px; }
  .tp-pdp-back-product { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 14px; color: var(--tp-ink); font-weight: 750; text-decoration: none; }
  .tp-pdp-back-product svg { width: 19px; height: 19px; color: var(--tp-red); }
  .tp-pdp-data-head h1 { margin: 10px 0 7px; font-size: 30px; line-height: 36px; }
  .tp-pdp-data-head p { margin: 0; color: var(--tp-muted); font-size: 13px; }
  .tp-pdp-data-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .tp-pdp-data-card, .tp-pdp-diagram-card { min-width: 0; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; }
  .tp-pdp-data-card h2, .tp-pdp-diagram-card h2 { margin: 0; padding: 19px 18px 15px; font-size: 20px; }
  .tp-pdp-data-card table { width: 100%; border-collapse: collapse; }
  .tp-pdp-data-card tr { border-top: 1px solid var(--tp-line); }
  .tp-pdp-data-card th, .tp-pdp-data-card td { display: block; width: 100%; padding: 10px 18px; text-align: left; overflow-wrap: anywhere; }
  .tp-pdp-data-card th { padding-bottom: 2px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-data-card td { padding-top: 2px; padding-bottom: 13px; font-size: 14px; font-weight: 700; }
  .tp-pdp-diagram-card { background: var(--tp-bg); }
  .tp-pdp-diagram-open { display: block; width: calc(100% - 24px); margin: 0 12px; padding: 0; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 9px; background: #fff; }
  .tp-pdp-diagram-open img { display: block; width: 100%; height: min(68vh, 560px); padding: 8px; object-fit: contain; }
  .tp-pdp-diagram-open span { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--tp-line); color: var(--tp-red); font-size: 12px; font-weight: 800; }
  .tp-pdp-diagram-card > p { margin: 12px 16px 16px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-application { margin-top: 18px; padding: 20px 18px; border: 1px solid var(--tp-line); border-radius: 12px; }
  .tp-pdp-application > h2 { margin: 0; font-size: 24px; }
  .tp-pdp-application > p { margin: 6px 0 19px; color: var(--tp-muted); font-size: 13px; }
  .tp-pdp-application > label { display: block; width: 100%; margin-bottom: 18px; }
  .tp-pdp-application > label span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
  .tp-pdp-application > label input { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--tp-line); border-radius: 9px; }
  .tp-pdp-model-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .tp-pdp-model-card { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border: 1px solid var(--tp-line); border-radius: 9px; }
  .tp-pdp-model-card > svg { width: 26px; height: 26px; color: var(--tp-red); }
  .tp-pdp-model-card strong, .tp-pdp-model-card small { display: block; }
  .tp-pdp-model-card small { margin-top: 3px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-empty-data, .tp-pdp-universal { margin: 0; padding: 16px; border-radius: 8px; background: var(--tp-bg); color: var(--tp-muted); }
  .tp-pdp-data-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 18px; padding: 15px; border-radius: 8px; background: var(--tp-red-soft); color: var(--tp-muted); font-size: 12px; line-height: 18px; }
  .tp-pdp-data-note svg { width: 21px; height: 21px; color: var(--tp-red); }
  .tp-pdp-data-accordions { margin-top: 20px; border-top: 1px solid var(--tp-line); }
  .tp-pdp-data-accordions details { border-bottom: 1px solid var(--tp-line); }
  .tp-pdp-data-accordions summary { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 13px; min-height: 72px; padding: 12px 4px; cursor: pointer; }
  .tp-pdp-data-accordions summary > svg { width: 24px; height: 24px; color: var(--tp-red); }
  .tp-pdp-data-accordions summary strong, .tp-pdp-data-accordions summary small { display: block; }
  .tp-pdp-data-accordions summary small { margin-top: 3px; color: var(--tp-muted); font-size: 11px; }
  .tp-pdp-data-accordions details > div { padding: 0 39px 20px; color: var(--tp-muted); line-height: 23px; }

  /* M09–M11 — koszyk i zamówienie. */
  .tp-commerce-section { padding-bottom: 64px; }
  .tp-commerce-section > .container,
  .tp-checkout-page .tp-commerce-section > .container {
    width: auto;
    max-width: none;
    margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .tp-commerce-breadcrumbs { min-height: 54px; font-size: 12px; }
  .tp-commerce-head { padding: 4px 0 27px; }
  .tp-commerce-head .eyebrow { margin-bottom: 10px; }
  .tp-commerce-head h1 { font-size: 32px; line-height: 38px; }
  .tp-commerce-head p { margin-top: 8px; font-size: 15px; line-height: 23px; }
  .tp-checkout-steps { display: none; }
  .tp-cart-page .cart-layout,
  .tp-checkout-page .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tp-cart-page .cart-list { gap: 14px; }
  .tp-cart-page .cart-item-v2 { min-height: 220px; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .tp-cart-page .cart-item-v2 .cart-item-image-link,
  .tp-cart-page .cart-item-v2 .cart-item-image-link img { width: 112px; height: 112px; min-height: 112px; }
  .tp-cart-page .cart-item-head { gap: 8px; }
  .tp-cart-page .cart-item-v2 h3 { font-size: 16px; }
  .tp-cart-page .cart-item-content { min-width: 0; gap: 10px; }
  .tp-cart-page .cart-item-sku { overflow-wrap: anywhere; }
  .tp-cart-page .cart-price-block > strong { font-size: 19px; }
  .tp-cart-page .cart-item-bottom { align-items: end; gap: 10px; }
  .tp-cart-page .cart-item-actions { min-height: 44px; }
  .tp-cart-page .cart-qty-btn { min-width: 44px; min-height: 44px; }
  .tp-cart-page .cart-qty-input { min-height: 44px; }
  .tp-cart-page .cart-remove-btn { min-width: 44px; min-height: 44px; padding: 8px 0; }
  .tp-cart-side { width: 100%; gap: 18px; }
  .tp-cart-page .cart-summary-card,
  .tp-checkout-page .checkout-summary { width: 100%; padding: 22px; border-radius: 14px; }
  .tp-checkout-page .checkout-summary { position: static; }
  .tp-cart-help { padding: 18px; }
  .tp-checkout-page .tp-checkout-form-card { padding: 0; border: 0; border-radius: 0; }
  .tp-checkout-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tp-checkout-panel > .full { grid-column: auto; }
  .tp-checkout-login { justify-content: flex-start; margin: 0 0 2px; }
  .tp-checkout-page .checkout-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .tp-checkout-page .checkout-type-option { min-width: 0; min-height: 52px; padding: 11px 12px; }
  .tp-checkout-panel .input,
  .tp-checkout-panel select { min-height: 52px; font-size: 16px; }
  .tp-checkout-page .checkout-spacer-field { display: none; }
  .tp-checkout-method { grid-template-columns: 22px 26px minmax(0, 1fr) auto; min-height: 76px; padding: 14px; }
  .tp-checkout-method > svg { width: 24px; height: 24px; }
  .tp-checkout-method > b { grid-column: 4; }
  .tp-checkout-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .tp-checkout-actions .btn { width: 100%; }
  .tp-checkout-back { justify-content: center; }

  .tp-mobile-search .tp-search-input { height: 100%; min-height: 44px; }
  .tp-product-grid .tp-btn-sm { min-width: 44px; min-height: 44px; }
  .tp-footer-cookie-button { min-height: 44px; padding: 8px 10px; }
  .tp-filters .tp-filter-input { min-height: 52px; font-size: 16px; }
  .tp-filters .tp-filter-more { min-height: 44px; }

  .tp-filters-foot { display: flex; flex-direction: column; gap: 8px; }
  .tp-filters-foot .tp-filters-apply { display: none; }
  .tp-filters-foot .tp-filters-show { order: 1; min-height: 52px; margin-top: 0; }
  .tp-filters-foot .tp-filters-clear { order: 2; min-height: 52px; margin: 0; border: 1px solid var(--tp-line); border-radius: 9px; background: #fff; color: var(--tp-graphite); }

  /* M22 — marki i typy wózków. */
  .tp-brands-main { padding: 15px 0 56px; }
  .tp-brands-main > .tp-section-inner {
    width: auto;
    margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .tp-brands-main h1 { margin: 14px 0 0; font-size: 32px; line-height: 38px; }
  .tp-brands-lead { margin: 7px 0 24px; color: var(--tp-muted); font-size: 16px; line-height: 24px; }
  .tp-brand-search { display: grid; gap: 8px; width: 100%; margin: 0 0 26px; font-size: 12px; font-weight: 700; }
  .tp-brand-search input { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--tp-line); border-radius: 9px; font: inherit; font-size: 16px; }
  .tp-brands-main section > h2 { margin: 0 0 15px; font-size: 25px; line-height: 32px; }
  .tp-brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .tp-brand-grid > a { display: grid; min-width: 0; min-height: 52px; padding: 10px; place-items: center; border: 1px solid var(--tp-line); border-radius: 9px; color: var(--tp-graphite); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
  .tp-brand-empty { grid-column: 1 / -1; padding: 16px; border-radius: 9px; background: var(--tp-bg); }
  .tp-forklift-types { margin-top: 38px; }
  .tp-forklift-types > h2 { margin-bottom: 3px !important; }
  .tp-forklift-types > p { margin: 0 0 18px; color: var(--tp-muted); font-size: 12px; line-height: 18px; }
  .tp-forklift-type-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .tp-forklift-type-grid > a { display: grid; grid-template-columns: 104px minmax(0, 1fr) 24px; align-items: center; gap: 10px; min-height: 96px; padding: 8px 13px; border: 1px solid var(--tp-line); border-radius: 11px; color: var(--tp-graphite); text-decoration: none; }
  .tp-forklift-type-grid img { width: 104px; height: 78px; object-fit: contain; }
  .tp-forklift-type-grid strong { min-width: 0; font-size: 16px; line-height: 22px; }
  .tp-forklift-type-grid span { color: var(--tp-red); font-size: 0; font-weight: 700; text-align: right; }
  .tp-forklift-type-grid span::after { content: '\2192'; font-size: 22px; }
  .tp-brands-disclaimer { margin: 26px 0 0; color: var(--tp-muted); font-size: 11px; line-height: 17px; }
}

@media (max-width: 359px) {
  .tp-product-page main > .section > .container,
  .tp-commerce-section > .container,
  .tp-checkout-page .tp-commerce-section > .container,
  .tp-brands-main > .tp-section-inner {
    margin-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  }
  .tp-pdp-summary h1,
  .tp-commerce-head h1,
  .tp-brands-main h1 { font-size: 28px; line-height: 34px; }
  .tp-pdp-purchase { grid-template-columns: 132px minmax(0, 1fr); gap: 8px; }
  .tp-cart-page .cart-item-v2 { grid-template-columns: 96px minmax(0, 1fr); }
  .tp-cart-page .cart-item-v2 .cart-item-image-link,
  .tp-cart-page .cart-item-v2 .cart-item-image-link img { width: 96px; height: 96px; min-height: 96px; }
  .tp-forklift-type-grid > a { grid-template-columns: 88px minmax(0, 1fr) 22px; }
  .tp-forklift-type-grid img { width: 88px; height: 72px; }
}
