:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff6f7;
  --surface-gray: #f7f8fa;
  --ink: #171717;
  --muted: #5f6469;
  --line: #ece4e5;
  /* Czerwień z pakietu graficznego (design/paczka-graficzna). Ikony, banery i
     ilustracje są w niej wypalone — rastrów nie da się przemalować, więc to
     strona dopasowuje się do grafik, a nie odwrotnie. */
  --brand: #e80025;
  --brand-dark: #bc001e;
  --brand-soft: #fff0f3;
  --success: #18864b;
  --warning: #a96600;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 12px 30px rgba(60, 0, 7, .08);
  --max: 1180px;

  /* --- System komponentów (v0.9.18) ---
     W arkuszu było dziesięć różnych promieni i sześć wysokości pól. Skala poniżej
     zastępuje je czterema i trzema wartościami — tyle wystarcza, a interfejs
     przestaje wyglądać jak złożony z kawałków. */
  --r-chip: 8px;      /* znaczniki, pigułki filtrów */
  --r-control: 12px;  /* pola, przyciski, elementy list */
  --r-card: 16px;     /* karty i panele */
  --r-round: 999px;   /* przełączniki i awatary */

  --h-sm: 36px;       /* paski filtrów w panelu */
  --h-md: 44px;       /* domyślna — spełnia próg dotyku */
  --h-lg: 52px;       /* główne pola w sklepie i wyszukiwarka */

  --ring: 0 0 0 3px rgba(232, 0, 37, .16);   /* obwódka aktywnego pola */
  --ring-error: 0 0 0 3px rgba(190, 18, 60, .14);
  --lift: 0 1px 2px rgba(22,16,16,.06), 0 6px 16px rgba(22,16,16,.06);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --fast: .14s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d90017; outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 52px 0; }
.section-sm { padding: 30px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head h1, .section-head h2 { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { margin: 7px 0 0; color: var(--muted); max-width: 660px; }
.eyebrow { color: var(--brand); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.muted { color: var(--muted); }

/* Top bar */
.topbar { background: var(--brand); color: #fff; font-size: .78rem; }
.topbar .container { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(20, 0, 3, .035);
  backdrop-filter: blur(12px);
}
.header-row {
  display: grid;
  align-items: center;
  gap: 24px;
}
.logo, .brand-logo-link { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { width: 225px; max-height: 58px; object-fit: contain; object-position: left center; }
/* definicja .nav znajduje sie w sekcji MEGA-MENU nizej */
.nav a { position: relative; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; border-radius: 999px; background: var(--brand); transform: scaleX(0); transition: .18s ease; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border: 1.5px solid #ead9db;
  border-radius: 13px;
  background: #fff;
  color: #161616;
  display: inline-grid;
  place-items: center;
  position: relative;
  transition: .18s ease;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.icon-svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-count {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 700;
}
.menu-toggle { display: none; font-size: 1.4rem; font-weight: 700; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 42px;
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
  border-bottom: 1px solid #f2dfe2;
}
.hero::before {
  content: '';
  position: absolute;
  right: -170px;
  top: -230px;
  width: 470px;
  height: 470px;
  border: 64px solid rgba(232, 0, 37,.045);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: 46px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 9px 0 15px;
  max-width: 720px;
  color: #171717;
  font-size: clamp(2.55rem, 4.2vw, 4.05rem);
  line-height: 1.00;
  letter-spacing: -.05em;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p { margin: 0; max-width: 690px; color: #565b61; font-size: 1rem; }
.hero-search {
  margin-top: 24px;
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: 14px;
  box-shadow: 0 9px 24px rgba(232, 0, 37,.08);
}
.hero-search input {
  min-width: 0;
  min-height: 52px;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #181818;
  font-size: .98rem;
  font-weight: 600;
}
.hero-search input::placeholder { color: #7b8086; opacity: 1; font-weight: 600; }
.hero-search-btn { min-height: 52px; }
.hero-meta { margin-top: 17px; display: flex; gap: 14px; flex-wrap: wrap; color: #555b61; font-size: .8rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: '✓'; width: 17px; height: 17px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand); color: #fff; font-size: .62rem; font-weight: 700; }

.hero-brand-card {
  position: relative;
  min-height: 330px;
  padding: 24px 24px 20px;
  border: 1px solid #f0dadd;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #fff3f5 100%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-brand-card::after { content: ''; position: absolute; inset: auto 0 0; height: 6px; background: var(--brand); border-radius: 0 0 22px 22px; }
.hero-emblem-stage { display: grid; place-items: center; width: 100%; }
.hero-emblem-stage img { width: min(240px, 72%); filter: drop-shadow(0 10px 16px rgba(118,0,12,.06)); }
.hero-brand-card h2 { margin: 12px 0 4px; font-size: 1.25rem; letter-spacing: -.02em; }
.hero-brand-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.hero-brand-tags { margin-top: 16px; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.hero-brand-tags span { padding: 8px 5px; border: 1px solid #f0d5d9; border-radius: 9px; background: #fff; color: var(--brand); font-size: .75rem; font-weight: 700; }

/* Buttons */
.btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 700;
  transition: .18s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.btn.dark { background: #181818; }
.btn.full { width: 100%; }

/* Trust + brand banner */
.trust-strip { background: var(--brand-soft); border-bottom: 1px solid #f0d9dc; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 16px 17px; border-right: 1px solid #efd3d7; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .88rem; }
.trust-item span { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.brand-showcase { background: #fff; }
.brand-banner {
  display: grid;
  grid-template-columns: minmax(250px, 340px) 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #efd8dc;
  border-left: 6px solid var(--brand);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(75,0,8,.045);
}
.brand-banner-logo { width: 345px; max-height: 94px; object-fit: contain; object-position: left center; }
.brand-banner-copy strong { display: block; font-size: 1rem; }
.brand-banner-copy span { display: block; color: var(--muted); margin-top: 3px; font-size: .86rem; }

/* Cards */
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.category-card { min-height: 150px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; justify-content: space-between; transition: .18s ease; }
.category-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.category-icon { width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; }
.category-card h3 { margin: 18px 0 3px; font-size: 1.02rem; }
.category-card p { margin: 0; color: var(--muted); font-size: .82rem; }

.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; transition: .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #e9cbd0; }
.product-image { display: block; width: 100%; aspect-ratio: 1 / .78; overflow: hidden; background: #fff; flex: 0 0 auto; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
/* Grafiki zastępcze z pakietu to gotowe kompozycje z własnym tłem, ramką i
   nagłówkiem — mają wypełnić kadr do krawędzi. Padding karty, potrzebny przy
   zdjęciu części na białym tle, dokleiłby im białą obwódkę. */
.product-image img[src*="/brak-zdjecia/"],
.product-gallery-main img[src*="/brak-zdjecia/"],
.cart-item-image img[src*="/brak-zdjecia/"],
.repurchase-card-image img[src*="/brak-zdjecia/"] { padding: 0; object-fit: cover; }
.product-body { position: relative; padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; background: #fff; }
.product-kicker { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
/* Tytuł i opis przycięte do stałej liczby wierszy, żeby wszystkie karty w siatce
   miały identyczną wysokość niezależnie od długości nazwy i opisu produktu.
   Bez tego karty mają od 425 do 471 px i siatka wygląda na poszarpaną. */
.product-card h3 {
  margin: 7px 0 7px;
  font-size: .96rem;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * .96rem * 1.28);
}
.product-card .desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * .78rem * 1.45);
}
.product-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-size: 1.12rem; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.stock { font-size: .74rem; font-weight: 700; }
.stock.in { color: var(--success); }
.stock.out { color: var(--warning); }
.mini-btn { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.mini-btn:hover { background: var(--brand-dark); }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; }
.brand-chip:hover { color: var(--brand); border-color: var(--brand); }
.brand-chip small { margin-left: 6px; color: var(--muted); font-weight: 700; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 30px 32px; border-radius: 20px; background: linear-gradient(135deg, #d90017, #ee1830); color: #fff; }
.cta h2 { margin: 0 0 5px; font-size: clamp(1.45rem,2.4vw,2rem); letter-spacing: -.035em; }
.cta p { margin: 0; color: #ffe4e7; max-width: 680px; font-size: .9rem; }
.cta .btn { background: #fff; color: var(--brand); }

/* Page headers */
.page-hero { padding: 36px 0 34px; background: linear-gradient(180deg,#fff 0%,#fff7f8 100%); border-bottom: 1px solid #efdadd; }
.page-hero h1 { margin: 6px 0 6px; font-size: clamp(2rem,3.5vw,3rem); line-height: 1.03; letter-spacing: -.045em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 740px; }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 94px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filter-group + .filter-group { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.filter-group h4 { margin: 0 0 10px; font-size: .9rem; }
.filter-list { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.filter-link { padding: 3px 0; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; }
.filter-link:hover, .filter-link.active { color: var(--brand); font-weight: 700; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 185px; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.catalog-search { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 8px; min-width: 0; }
.catalog-search-field { min-width: 0; }
.catalog-search .input {
  min-height: 52px;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e7d1d5;
  border-radius: 12px;
  background: #fff;
  color: #181818;
  font-size: .92rem;
  font-weight: 600;
  outline: none;
}
.catalog-search .input::placeholder { color: #7b8086; opacity: 1; font-weight: 600; }
.catalog-search .input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 0, 37,.07); }
.catalog-search-btn { min-height: 52px; }
.catalog-toolbar select { min-height: 52px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background-color: #fff; color: var(--ink); font-weight: 700; outline: none; }

.input, textarea, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background-color: #fff; color: var(--ink); outline: none; }
.input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 0, 37,.07); }
.empty { padding: 34px; border: 1px dashed #d5c7c9; border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }

/* Product */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.product-gallery-main { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.product-gallery-main img { width: 100%; aspect-ratio: 1/.82; object-fit: cover; }
.product-info { padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.product-info h1 { margin: 5px 0 8px; font-size: clamp(1.8rem,3.2vw,2.7rem); line-height: 1.04; letter-spacing: -.04em; }
.product-meta { margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 6px 9px; border-radius: 999px; background: var(--surface-gray); color: #50555b; font-size: .74rem; font-weight: 700; }
.badge.good { background: #eaf8f0; color: var(--success); }
.product-price { margin: 18px 0 1px; font-size: 1.85rem; font-weight: 700; letter-spacing: -.035em; }
/* Wózek sprzedaje się z rozmowy, więc w miejscu kwoty stoi zdanie, nie liczba. */
.product-price.product-price-inquiry { font-size: 1.3rem; letter-spacing: -.02em; color: var(--brand); }
.product-net { color: var(--muted); font-size: .82rem; }
.purchase-row { margin-top: 18px; display: grid; grid-template-columns: 100px 1fr; gap: 9px; }
.qty { overflow: hidden; display: grid; grid-template-columns: 32px 1fr 32px; border: 1px solid var(--line); border-radius: 11px; }
.qty button { border: 0; background: #f5f6f7; }
.qty input { width: 100%; border: 0; outline: 0; text-align: center; }
.info-tabs { margin-top: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.info-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.info-card h3 { margin-top: 0; font-size: 1rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.spec-table td:first-child { width: 48%; color: var(--muted); }
/* Skrót listy pasujących modeli: zdanie na markę i serię, pod nim zwinięte zakresy.
   Pełna lista siedzi w <details> — widoczna dla Google, schowana przed klientem. */
.fitment-summary { display: grid; gap: 12px; }
.fitment-group { padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft, #fff); }
.fitment-line { margin: 0 0 7px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.fitment-line small { font-weight: 700; color: var(--muted); }
.fitment-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.fitment-codes span { padding: 4px 7px; border-radius: 7px; background: var(--surface-gray); font-size: .78rem; font-weight: 700; }
.fitment-full { margin-top: 12px; }
.fitment-full > summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 6px 0; }
.fitment-full[open] > summary { margin-bottom: 10px; }

.model-groups { display: grid; gap: 10px; }
.model-group strong { display: block; margin-bottom: 4px; }
.model-list { display: flex; flex-wrap: wrap; gap: 6px; }
.model-list span { padding: 5px 7px; border-radius: 7px; background: var(--surface-gray); font-size: .76rem; }

/* Content / forms */
.content-card { padding: 27px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
.prose { max-width: 850px; }
.prose h2 { margin-top: 28px; letter-spacing: -.025em; }
.prose p, .prose li { color: #51575d; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 20px; }
.contact-list { margin-top: 16px; display: grid; gap: 10px; }
.contact-item { padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.contact-item small { display: block; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row { display: grid; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: .8rem; font-weight: 700; }
.form-note { color: var(--muted); font-size: .76rem; }
/* Klauzula informacyjna RODO pod formularzem — obowiązek z art. 13. */
.form-consent { margin: 12px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; max-width: 64ch; }
.form-consent a { color: var(--brand); text-decoration: underline; }
.notice { display: none; margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: #eef7f2; color: #176e41; }
.notice.error { background: #fff0f1; color: #a31318; }
.notice.show { display: block; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; }
.cart-list { display: grid; gap: 10px; }
.cart-item { padding: 13px; display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
/* Zdjęcia części są w różnych proporcjach; `cover` obcinał im krawędzie w koszyku,
   przez co widać było linię cięcia. Cała reszta sklepu i panel używają `contain`. */
.cart-item img { width: 84px; height: 72px; object-fit: contain; padding: 4px; box-sizing: border-box; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.cart-item h3 { margin: 0 0 3px; font-size: .94rem; }
.cart-item-actions { margin-top: 8px; display: flex; align-items: center; gap: 9px; }
.link-danger { padding: 0; border: 0; background: transparent; color: var(--brand); font-size: .78rem; font-weight: 700; }
.summary { position: sticky; top: 94px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; color: var(--muted); }
.summary-row.total { margin-top: 7px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.08rem; font-weight: 700; }

/* Admin */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 210px 1fr; }
.admin-sidebar { padding: 22px 15px; background: #171717; color: #fff; }
.admin-sidebar .brand-logo { width: 175px; filter: drop-shadow(0 0 1px rgba(255,255,255,.35)); }
.admin-sidebar .logo { margin-bottom: 22px; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { padding: 10px 11px; border-radius: 9px; color: #d0d3d6; }
.admin-nav a:hover, .admin-nav a.active { background: #292929; color: #fff; }
.admin-main { padding: 26px; overflow: auto; background: #fafafa; }
.stats-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.stat strong { display: block; font-size: 1.45rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.table { min-width: 820px; width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: .8rem; }
.table th { background: #f4f5f6; color: #666c72; font-size: .72rem; text-transform: uppercase; letter-spacing: .055em; }
.admin-toolbar { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 18px; background: rgba(0,0,0,.5); }
.modal.show { display: grid; }
.modal-card { width: min(730px,100%); max-height: 90vh; overflow: auto; padding: 22px; border-radius: 16px; background: #fff; }
.modal-head { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.modal-head h2 { margin: 0; }

/* Footer */
.site-footer { margin-top: 54px; border-top: 5px solid var(--brand); background: #fff; color: var(--ink); }
.footer-grid { padding: 30px 0 22px; display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 28px; }
.footer-brand-link { margin-bottom: 8px; }
.footer-brand-link .brand-logo { width: 215px; }
.footer-grid h4, .footer-grid .footer-heading { margin: 0 0 8px; font-size: .88rem; font-weight: 700; }
.footer-grid p, .footer-grid a, .footer-grid .footer-hours { color: #62676d; font-size: .8rem; }
.footer-grid p { max-width: 360px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a:hover { color: var(--brand); }
/* Godziny pracy stoją w kolumnie kontaktowej, ale nie są linkiem. Styl biorą
   z tej samej reguły co sąsiednie odnośniki — sam <span> nie dziedziczy ich
   rozmiaru, więc bez tego wypadał większy i ciemniejszy od reszty. */
.footer-bottom { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

/* Mobile navigation */
.mobile-nav { position: fixed; inset: 0; z-index: 45; display: none; padding: 22px; background: #fff; }
.mobile-nav.show { display: block; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-nav-links { margin-top: 28px; display: grid; gap: 6px; }
.mobile-nav-links a { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; }

@media (max-width: 1020px) {
  .header-row { gap: 16px; }
  .brand-logo { width: 200px; }
  .nav { gap: 1px; }
  .hero-grid { grid-template-columns: 1fr .62fr; gap: 34px; }
  .hero h1 { font-size: clamp(2.45rem,5vw,3.65rem); }
  .hero-brand-card { min-height: 300px; }
  .category-grid, .product-grid { grid-template-columns: repeat(3,1fr); }
  .brand-banner { grid-template-columns: 260px 1fr; }
  .brand-banner .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand-logo { width: 190px; max-height: 52px; }
  .hero { padding: 38px 0 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-brand-card { max-width: 430px; min-height: 270px; justify-self: center; width: 100%; }
  .hero-emblem-stage img { width: min(210px,66%); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid #efd3d7; }
  .brand-banner { grid-template-columns: 1fr; text-align: center; }
  .brand-banner-logo { justify-self: center; }
  .brand-banner .btn { grid-column: auto; justify-self: center; }
  .category-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 22px; }
  .info-tabs { grid-template-columns: 1fr; }
  .contact-grid, .two-col { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .container { width: min(calc(100% - 22px), var(--max)); }
  .header-row { gap: 9px; }
  .brand-logo { width: 162px; max-height: 47px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 42px; min-width: 42px; height: 42px; border-radius: 11px; }
  .icon-svg { width: 24px; height: 24px; }
  .search-action { display: none; }
  .hero h1 { font-size: clamp(2.2rem,11vw,3rem); }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search-btn { width: 100%; }
  .hero-meta { display: grid; gap: 8px; }
  .hero-brand-card { min-height: 245px; padding: 20px; }
  .hero-brand-tags { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid #efd3d7; }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 40px 0; }
  .section-sm { padding: 24px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .catalog-search { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row.full { grid-column: auto; }
  .cta { grid-template-columns: 1fr; padding: 24px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 62px; }
  .cart-item > strong { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; justify-content: center; align-items: flex-start; padding: 12px 0; }
  .purchase-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 18px 12px; }
}


/* About / company location */
.location-section {
  padding-top: 18px;
}

.location-section-head {
  margin-bottom: 18px;
}

.location-section-head h2 {
  margin: 4px 0 5px;
}

.location-section-head p {
  margin: 0;
  color: var(--muted);
}

.route-btn {
  min-width: 126px;
  gap: 8px;
}

.route-icon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.location-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.company-photo-card,
.company-map-card {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(20,20,20,.045);
}

.company-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed #e9b8be;
  background:
    linear-gradient(135deg, rgba(232, 0, 37,.035), rgba(232, 0, 37,.09)),
    #fff;
  color: var(--ink);
  text-align: center;
}

/* Ważne: SVG placeholdera ma stały rozmiar, żeby nie rozciągał strony. */
.company-photo-placeholder svg {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  flex: 0 0 58px;
  display: block;
  margin-bottom: 2px;
  color: var(--brand);
  stroke-width: 1.45;
}

.company-photo-placeholder strong {
  font-size: 1.05rem;
}

.company-photo-placeholder span {
  max-width: 310px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

/* <picture> jest domyślnie inline i nie ma wysokości, więc height:100% na obrazku
   nie miałoby się do czego odnieść. */
.company-photo-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.company-building-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.company-map-card {
  position: relative;
}

.company-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.location-details {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr .72fr 1.15fr;
  gap: 12px;
}

.location-detail {
  min-height: 84px;
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.location-detail-label {
  color: var(--brand);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.location-detail strong,
.location-detail a {
  color: var(--ink);
}

.text-link-arrow {
  font-weight: 700;
}

.text-link-arrow:hover {
  color: var(--brand);
}

@media (max-width: 980px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-details {
    grid-template-columns: 1fr 1fr;
  }

  .location-detail-route {
    grid-column: 1 / -1;
  }

  .company-photo-card,
  .company-map-card,
  .company-photo-placeholder,
  .company-building-photo,
  .company-map {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .location-details {
    grid-template-columns: 1fr;
  }

  .location-detail-route {
    grid-column: auto;
  }

  .location-section-head {
    align-items: flex-start;
  }

  .route-btn {
    width: 100%;
  }

  .company-photo-card,
  .company-map-card,
  .company-photo-placeholder,
  .company-building-photo,
  .company-map {
    min-height: 270px;
  }
}


/* ============================================================
   Truck-Parts v0.5.3 — większe logo w nagłówku
   ============================================================ */

/* Większe logo Truck-Parts w nagłówku */
.header-row {
  min-height: 124px;
  grid-template-columns: 358px 1fr auto;
}

.site-header .brand-logo {
  width: 350px;
  height: auto;
  max-height: none;
}

/* Tablet */
@media (max-width: 1020px) {
  .header-row {
    min-height: 82px;
    grid-template-columns: 238px 1fr auto;
  }

  .site-header .brand-logo {
    width: 230px;
    height: auto;
    max-height: none;
  }
}

/* Telefon */
@media (max-width: 820px) {
  .header-row {
    min-height: 68px;
    grid-template-columns: minmax(170px, 1fr) auto;
  }

  .site-header .brand-logo {
    width: 190px;
    height: auto;
    max-height: 52px;
  }
}

@media (max-width: 560px) {
  .header-row {
    min-height: 64px;
    grid-template-columns: minmax(145px, 1fr) auto;
    gap: 9px;
  }

  .site-header .brand-logo {
    width: 162px;
    height: auto;
    max-height: 47px;
  }
}


/* ============================================================
   Checkout v0.5.9 — firma/osoba + netto/VAT/brutto + dostawa
   ============================================================ */

.checkout-company-field[hidden] {
  display: none !important;
}

.checkout-summary h3 {
  margin-bottom: 13px;
}

.checkout-product-list {
  display: grid;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-summary-copy,
.checkout-summary-price {
  display: grid;
  gap: 3px;
}

.checkout-summary-copy > span {
  color: #555b61;
  font-size: .82rem;
  line-height: 1.35;
}

.checkout-summary-copy small,
.checkout-summary-price small {
  color: #8a8f94;
  font-size: .69rem;
}

.checkout-summary-copy em {
  font-style: normal;
  color: #8a8f94;
  font-size: .68rem;
}

.checkout-summary-price {
  min-width: 105px;
  text-align: right;
}

.checkout-summary-price strong {
  color: var(--ink);
  font-size: .83rem;
}

.checkout-summary-section {
  margin-top: 7px;
}

.checkout-summary-section-title {
  padding-top: 10px;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
}

.checkout-shipping-row {
  border-bottom: 0;
}

.checkout-total-breakdown {
  margin-top: 8px;
  padding-top: 12px;
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
}

.checkout-total-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #6f7479;
  font-size: .76rem;
}

.checkout-total-breakdown > div strong {
  color: var(--ink);
}

.checkout-total-breakdown .checkout-total-gross {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #eee3e5;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}

.checkout-total-breakdown .checkout-total-gross strong {
  color: var(--brand);
  font-size: 1.04rem;
}

@media (max-width: 560px) {
  .checkout-summary-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .checkout-summary-price {
    text-align: left;
  }
}


/* ============================================================
   Checkout v0.5.10 — typ klienta + konto przy zamówieniu
   ============================================================ */

.checkout-type-fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-type-fieldset legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
}

.checkout-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-type-option {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkout-type-option:hover {
  border-color: rgba(232, 0, 37,.38);
}

.checkout-type-option:has(input:checked) {
  border-color: var(--brand);
  background: #fff8f9;
  box-shadow: 0 0 0 2px rgba(232, 0, 37,.06);
}

.checkout-type-option input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.checkout-type-option span {
  display: grid;
  gap: 2px;
}

.checkout-type-option strong {
  color: var(--ink);
  font-size: .8rem;
}

.checkout-type-option small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-document-card,
.checkout-document-fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  border: 1px solid #eadadd;
  border-radius: 13px;
  background: #fffafb;
}

.checkout-document-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
}

.checkout-document-card[hidden],
.checkout-document-fieldset[hidden] {
  display: none !important;
}

.checkout-document-icon {
  flex: 0 0 38px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}

.checkout-document-card strong,
.checkout-document-option strong {
  color: var(--ink);
  font-size: .78rem;
}

.checkout-document-card p,
.checkout-document-note {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.5;
}

.checkout-document-fieldset { padding: 13px 14px; }
.checkout-document-fieldset legend { padding: 0 5px; color: var(--ink); font-size: .78rem; font-weight: 700; }
.checkout-document-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.checkout-document-option { display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.checkout-document-option:has(input:checked) { border-color: var(--brand); background: #fff5f6; box-shadow: 0 0 0 2px rgba(232, 0, 37,.05); }
.checkout-document-option input { margin-top: 3px; accent-color: var(--brand); }
.checkout-document-option span { display: grid; gap: 2px; }
.checkout-document-option small { color: var(--muted); font-size: .66rem; line-height: 1.4; }
.checkout-document-note { margin-top: 10px; }

@media (max-width: 560px) {
  .checkout-document-options { grid-template-columns: 1fr; }
}

.checkout-account-placeholder {
  min-height: 1px;
}

.checkout-account-box,
.checkout-logged-account {
  grid-column: 1 / -1;
}

.checkout-account-box[hidden],
.checkout-account-fields[hidden],
.checkout-existing-account[hidden],
.checkout-password-grid[hidden],
.checkout-logged-account[hidden],
.checkout-account-inline-notice[hidden] {
  display: none !important;
}

.checkout-account-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.checkout-account-toggle {
  display: flex !important;
  align-items: flex-start;
  gap: 11px !important;
  padding: 14px 15px;
  cursor: pointer;
}

.checkout-account-toggle input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.checkout-account-toggle > span {
  display: grid;
  gap: 3px;
}

.checkout-account-toggle strong {
  color: var(--ink);
  font-size: .82rem;
}

.checkout-account-toggle small {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-account-fields {
  padding: 0 15px 15px;
  border-top: 1px solid #f1ecec;
}

.checkout-login-preview {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  background: #fafbfc;
}

.checkout-login-preview > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.checkout-login-preview > div {
  display: grid;
  gap: 3px;
}

.checkout-login-preview small {
  color: #858b91;
  font-size: .66rem;
}

.checkout-login-preview strong {
  color: var(--ink);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.checkout-login-preview p {
  margin: 9px 0 0;
  color: #72777d;
  font-size: .69rem;
  line-height: 1.5;
}

.checkout-login-preview p strong {
  font-size: inherit;
}

.checkout-password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.checkout-password-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: .73rem;
  font-weight: 700;
}

.checkout-password-grid label > small {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 600;
}

.checkout-existing-account {
  margin-top: 13px;
  padding: 13px 14px;
  border: 1px solid #f0c7cc;
  border-radius: 12px;
  background: #fff7f8;
}

.checkout-existing-account > strong {
  color: #9b1727;
  font-size: .77rem;
}

.checkout-existing-account p {
  margin: 5px 0 11px;
  color: #7d5a5e;
  font-size: .69rem;
  line-height: 1.5;
}

.checkout-existing-account .btn {
  width: auto;
  min-width: 120px;
}

.checkout-account-inline-notice {
  margin-top: 11px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f5f6f7;
  color: #5f6469;
  font-size: .68rem;
  line-height: 1.45;
}

.checkout-account-inline-notice.error {
  background: #fff1f3;
  color: #a0182a;
}

.checkout-account-inline-notice.warning {
  background: #fff7e7;
  color: #825700;
}

.checkout-logged-account {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #cde8d7;
  border-radius: 14px;
  background: #f4fbf7;
}

.checkout-account-check {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #def4e6;
  color: #197344;
  font-weight: 700;
}

.checkout-logged-account > div {
  display: grid;
  gap: 2px;
}

.checkout-logged-account small {
  color: #63806e;
  font-size: .66rem;
  font-weight: 700;
}

.checkout-logged-account strong {
  color: #183c28;
  font-size: .82rem;
}

.checkout-logged-account span:not(.checkout-account-check) {
  color: #466454;
  font-size: .7rem;
}

.checkout-logged-account p {
  margin: 4px 0 0;
  color: #63806e;
  font-size: .68rem;
}

@media (max-width: 700px) {
  .checkout-type-options,
  .checkout-password-grid {
    grid-template-columns: 1fr;
  }

  .checkout-account-placeholder {
    display: none;
  }
}


/* ============================================================
   Koszyk v0.5.11 — ceny, dostępność, podsumowanie i Undo
   ============================================================ */

.cart-section {
  min-height: 420px;
}

.cart-item-v2 {
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  align-items: stretch;
}

.cart-item-v2 .cart-item-image-link {
  width: 116px;
  min-height: 108px;
  display: block;
}

.cart-item-v2 .cart-item-image-link img {
  width: 116px;
  height: 108px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f6f7;
}

.cart-item-content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.cart-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.cart-item-v2 h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cart-item-sku {
  color: #7b8085;
  font-size: .7rem;
}

.cart-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2f3f4;
  color: #6f7479;
  font-size: .65rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-availability i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.cart-availability.available {
  background: #edf8f1;
  color: #247247;
}

.cart-availability.out {
  background: #fff1f3;
  color: #a6192c;
}

.cart-price-block {
  display: grid;
  gap: 3px;
}

.cart-price-block > strong {
  color: var(--ink);
  font-size: 1.03rem;
}

.cart-price-block > strong small {
  color: #73787d;
  font-size: .67rem;
  font-weight: 700;
}

.cart-price-block > span {
  color: #7c8186;
  font-size: .7rem;
}

.cart-item-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.cart-quantity-wrap {
  display: grid;
  gap: 5px;
}

.cart-quantity-label {
  color: #767b80;
  font-size: .64rem;
  font-weight: 700;
}

.cart-item-v2 .cart-item-actions {
  margin: 0;
  gap: 7px;
}

.cart-qty-btn {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}

.cart-qty-btn:hover {
  border-color: #e9b9bf;
  color: var(--brand);
}

/* Pole ilości stoi między plusem a minusem: przyciski są szybsze przy zmianie
   o jedną sztukę, klawiatura wygrywa przy dwudziestu czterech śrubach. */
.cart-qty-input {
  width: 62px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.cart-qty-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* Strzałki przeglądarki dublują nasze przyciski i zwężają pole. */
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0 }
.cart-qty-input { -moz-appearance: textfield; appearance: textfield }

.cart-item-actions > strong {
  min-width: 24px;
  text-align: center;
  font-size: .8rem;
}

.cart-remove-btn {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-remove-btn:hover {
  text-decoration: underline;
}

.cart-item-warning {
  margin-top: 1px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff1f3;
  color: #9f182a;
  font-size: .68rem;
  line-height: 1.4;
}

.cart-summary-card h3 {
  margin: 0 0 14px;
}

.cart-summary-prices {
  display: grid;
  gap: 7px;
}

.cart-summary-prices > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #72777c;
  font-size: .73rem;
}

.cart-summary-prices strong {
  color: var(--ink);
}

.cart-delivery-next {
  margin-top: 14px;
  padding: 13px 0;
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-delivery-next > span {
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
}

.cart-delivery-next > strong {
  color: #5f656a;
  font-size: .72rem;
}

.cart-delivery-next > small {
  color: #93979b;
  font-size: .64rem;
  line-height: 1.4;
}

.cart-summary-total {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 15px;
  align-items: baseline;
}

.cart-summary-total > span {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}

.cart-summary-total > strong {
  color: var(--brand);
  font-size: 1.08rem;
}

.cart-summary-total > small {
  grid-column: 1 / -1;
  color: #94989c;
  font-size: .64rem;
}

.cart-summary-warning {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  background: #fff1f3;
  color: #9f182a;
  font-size: .67rem;
  line-height: 1.4;
}

.cart-checkout-btn.disabled {
  opacity: .46;
  pointer-events: none;
}

.cart-continue-shopping {
  margin-top: 12px;
  display: block;
  color: #676c71;
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
}

.cart-continue-shopping:hover {
  color: var(--brand);
}

.cart-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.cart-empty > span {
  color: var(--muted);
  font-size: .75rem;
}

.cart-empty .btn {
  margin-top: 8px;
}

.cart-summary-empty {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}

.cart-toast[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  min-width: 280px;
  max-width: 420px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dfe2e5;
  border-radius: 12px;
  background: #171719;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  font-size: .72rem;
}

.cart-toast button {
  flex: 0 0 auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 700px) {
  .cart-item-v2 {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .cart-item-v2 .cart-item-image-link {
    width: 88px;
    min-height: 82px;
  }

  .cart-item-v2 .cart-item-image-link img {
    width: 88px;
    height: 82px;
  }

  .cart-item-head {
    display: grid;
    gap: 7px;
  }

  .cart-availability {
    justify-self: start;
  }

  .cart-item-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .cart-item-v2 {
    grid-template-columns: 1fr;
  }

  .cart-item-v2 .cart-item-image-link {
    width: 100%;
  }

  .cart-item-v2 .cart-item-image-link img {
    width: 100%;
    height: 160px;
  }
}


/* ============================================================
   Checkout v0.5.12 — firma, dane fakturowe i inny adres dostawy
   ============================================================ */

.checkout-form-section-title {
  display: grid;
  gap: 3px;
  margin-top: 3px;
  padding-top: 13px;
  border-top: 1px solid #f0e9ea;
}

.checkout-form-section-title.full {
  grid-column: 1 / -1;
}

.checkout-form-section-title strong {
  color: var(--ink);
  font-size: .83rem;
}

.checkout-form-section-title span {
  color: #858a8f;
  font-size: .68rem;
  line-height: 1.45;
}

.checkout-field-help {
  margin-top: 4px;
  color: #8a8f94;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-spacer-field {
  min-height: 1px;
}

.checkout-different-delivery[hidden],
.checkout-delivery-address-fields[hidden] {
  display: none !important;
}

.checkout-different-delivery,
.checkout-delivery-address-fields {
  grid-column: 1 / -1;
}

.checkout-inline-toggle {
  display: flex !important;
  align-items: flex-start;
  gap: 11px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.checkout-inline-toggle:hover {
  border-color: #e9bdc2;
}

.checkout-inline-toggle:has(input:checked) {
  border-color: var(--brand);
  background: #fff8f9;
}

.checkout-inline-toggle input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.checkout-inline-toggle > span {
  display: grid;
  gap: 3px;
}

.checkout-inline-toggle strong {
  color: var(--ink);
  font-size: .76rem;
}

.checkout-inline-toggle small {
  color: #7e8388;
  font-size: .67rem;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-delivery-address-fields {
  padding: 14px;
  border: 1px solid #eadadd;
  border-radius: 13px;
  background: #fffafb;
}

.checkout-delivery-address-fields > .checkout-form-section-title {
  margin: 0 0 12px;
  padding-top: 0;
  border-top: 0;
}

.checkout-nested-grid {
  margin: 0;
}

.checkout-account-box {
  margin-top: 4px;
}

@media (max-width: 700px) {
  .checkout-spacer-field {
    display: none;
  }
}


/* v0.5.13 — pole antyspamowe niewidoczne dla użytkownika */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ============================================================
   v0.5.14 — paginacja katalogu
   ============================================================ */
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:26px}
.catalog-pagination:empty{display:none}
.catalog-pagination button{min-width:38px;min-height:var(--h-sm);padding:7px 11px;border:1px solid var(--line);border-radius:var(--r-control);background:#fff;color:var(--ink);font-weight: 700;cursor:pointer}
.catalog-pagination button:hover:not(:disabled){border-color:#e8b7bd;color:var(--brand)}
.catalog-pagination button.active{border-color:var(--brand);background:#fff5f6;color:var(--brand)}
.catalog-pagination button:disabled{opacity:.42;cursor:not-allowed}
.pagination-gap{padding:0 2px;color:var(--muted)}

/* v0.7.2 — jedna wyszukiwarka + opcjonalny dobór po wózku */
.hero-search-shell{position:relative;z-index:10;max-width:760px;margin-top:24px}
.hero-search-shell .hero-search{max-width:none;margin-top:0}
.search-suggestions{position:absolute;z-index:30;top:calc(100% + 8px);left:0;right:0;max-height:min(560px,65vh);overflow:auto;border:1px solid #ead9db;border-radius:15px;background:#fff;box-shadow:0 20px 55px rgba(35,0,5,.18);text-align:left}
.search-suggestions[hidden]{display:none!important}
.suggestion-group+.suggestion-group{border-top:1px solid var(--line)}
.suggestion-heading{padding:10px 14px 7px;color:var(--muted);background:#fffafa;font-size:.66rem;font-weight: 700;letter-spacing:.1em;text-transform:uppercase}
.suggestion-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:54px;padding:8px 13px;border-top:1px solid #f5edef;transition:.14s ease}
.suggestion-item:first-child{border-top:0}
.suggestion-item:hover,.suggestion-item.active{background:#fff2f4;color:var(--ink)}
.suggestion-item img,.suggestion-symbol{width:38px;height:38px;border:1px solid #eee1e3;border-radius:9px;background:#fff;object-fit:contain}
.suggestion-forklift-icon{padding:1px}
.suggestion-symbol{display:grid;place-items:center;color:var(--brand);font-weight: 700}
.suggestion-item span{min-width:0}
.suggestion-item strong,.suggestion-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.suggestion-item strong{font-size:.82rem}
.suggestion-item small{margin-top:2px;color:var(--muted);font-size:.68rem}
.suggestion-item>b{color:#555b61;font-size:.68rem;white-space:nowrap}
.suggestions-loading,.suggestions-empty{padding:18px;color:var(--muted);font-size:.78rem}
.suggestions-empty{display:grid;gap:3px}
.suggestions-empty strong{color:var(--ink)}
.hero-search-tools{display:flex;align-items:center;gap:9px 18px;flex-wrap:wrap;margin-top:11px}
.hero-tool-button,.hero-tool-link{min-height:32px;display:inline-flex;align-items:center;gap:7px;color:#3f444a;font-size:.78rem;font-weight: 700}
.hero-tool-button{padding:6px 10px;border:1px solid #ead9db;border-radius:9px;background:#fff}
.forklift-action-icon{width:29px;height:23px;object-fit:contain}
.hero-tool-button:hover,.hero-tool-button[aria-expanded="true"]{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.hero-tool-link{color:var(--brand)}
.hero-tool-link:hover{text-decoration:underline}
.selected-forklift{max-width:760px;margin-top:12px;padding:11px 12px 11px 14px;border:1px solid #cce8d9;border-left:4px solid var(--success);border-radius:12px;background:#f2fbf6;display:flex;align-items:center;justify-content:space-between;gap:14px}
.selected-forklift[hidden]{display:none!important}
.selected-forklift-main{display:flex;align-items:center;gap:11px;min-width:0}
.selected-forklift-main>img{flex:0 0 42px;width:42px;height:42px;padding:1px;border:1px solid #cce8d9;border-radius:var(--r-control);background:#fff;object-fit:contain}
.selected-forklift>div:first-child span,.selected-forklift>div:first-child strong{display:block}
.selected-forklift>div:first-child span{color:#5d6a63;font-size:.66rem;font-weight: 700;text-transform:uppercase;letter-spacing:.07em}
.selected-forklift>div:first-child strong{margin-top:1px;font-size:1rem;line-height:1.25}
.selected-forklift>div:first-child small{display:block;margin-top:2px;color:#5d6a63;font-size:.7rem}
.selected-forklift-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.selected-forklift-actions .btn{min-height:35px;padding:7px 11px;font-size:.73rem}
.selected-forklift-actions button{padding:5px;border:0;background:transparent;color:#50565b;font-size:.7rem;font-weight: 700}
.selected-forklift-actions button:hover{color:var(--brand);text-decoration:underline}
.hero-forklift-panel{max-width:760px;margin-top:12px;padding:18px;border:1px solid #ead9db;border-radius:15px;background:#fff;box-shadow:0 13px 32px rgba(46,0,7,.08);scroll-margin-top:105px}
.hero-forklift-panel[hidden]{display:none!important}
.hero-forklift-panel[data-mode="change"]{border-color:#e9aeb6;box-shadow:0 15px 36px rgba(232, 0, 37,.11)}
.hero-forklift-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.hero-forklift-head h2{margin:3px 0 3px;font-size:1.15rem;letter-spacing:-.02em}
.hero-forklift-head p{max-width:620px;font-size:.75rem;line-height:1.5}
.finder-close{flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:#51555a;font-size:1.25rem;line-height:1}
.finder-close:hover{border-color:var(--brand);color:var(--brand)}
.finder-change-banner{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-top:14px;padding:10px 12px;border:1px solid #f0bec4;border-radius:var(--r-control);background:#fff1f3;color:#3e4145;font-size:.72rem}
.finder-change-banner[hidden]{display:none!important}
.finder-change-banner strong{color:var(--brand);font-size:.75rem}
.finder-change-banner span{color:#5d6267}
.forklift-steps{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:15px}
.forklift-step{min-width:0}
.forklift-step[hidden]{display:none!important}
.forklift-step-title{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.forklift-step-title>span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--brand);color:#fff;font-size:.72rem;font-weight: 700}
.forklift-step-title strong,.forklift-step-title small{display:block}
.forklift-step-title strong{font-size:.78rem}
.forklift-step-title small{color:var(--muted);font-size:.64rem;font-weight: 600}
.finder-input{width:100%;min-height:var(--h-sm);padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:.78rem;font-weight: 600;outline:0}
.finder-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(232, 0, 37,.08)}
.finder-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px;max-height:190px;overflow:auto}
.finder-option-chip{display:flex;align-items:center;gap:7px;min-height:32px;padding:6px 9px;border:1px solid #eadfe1;border-radius:9px;background:#fff;color:var(--ink);font-size:.72rem;font-weight: 700}
.finder-option-chip small{color:var(--muted);font-size:.59rem;font-weight: 700}
.finder-option-chip:hover,.finder-option-chip.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.finder-more{margin-top:8px;padding:3px 0;border:0;background:transparent;color:var(--brand);font-size:.68rem;font-weight: 700}
.finder-model-options{display:grid;gap:6px;align-content:start}
.finder-model-option{width:100%;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:8px 10px;border:1px solid #eee3e4;border-radius:var(--r-control);background:#fff;text-align:left;transition:.14s ease}
.finder-model-option:hover{border-color:#e7aeb5;background:#fff7f8}
.finder-model-option.selected{border:2px solid var(--brand);padding:7px 9px;background:#fff1f3;box-shadow:0 7px 18px rgba(232, 0, 37,.09)}
.finder-model-check{width:25px;height:25px;display:grid;place-items:center;border:1px solid #e8dadd;border-radius:50%;background:#fff;color:var(--muted);font-size:.72rem;font-weight: 700}
.finder-model-option.selected .finder-model-check{border-color:var(--brand);background:var(--brand);color:#fff}
.finder-model-copy,.finder-model-copy strong,.finder-model-copy small{display:block;min-width:0}
.finder-model-copy strong{font-size:.82rem}
.finder-model-copy small{margin-top:2px;color:var(--muted);font-size:.65rem}
.finder-model-side{display:grid;justify-items:end;gap:2px}
.finder-model-side em{padding:2px 6px;border-radius:999px;background:var(--brand);color:#fff;font-size:.57rem;font-style:normal;font-weight: 700;letter-spacing:.04em;text-transform:uppercase}
.finder-model-side b{color:#62676c;font-size:.63rem;white-space:nowrap}
.finder-selected-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;margin-top:15px;padding:13px;border:2px solid var(--brand);border-radius:13px;background:linear-gradient(135deg,#fff1f3 0%,#fff 72%);box-shadow:0 9px 24px rgba(232, 0, 37,.09)}
.finder-selected-card[hidden]{display:none!important}
.finder-selected-card>img{width:52px;height:52px;padding:1px;border:1px solid #efcbd0;border-radius:11px;background:#fff;object-fit:contain}
.finder-selected-card span,.finder-selected-card strong,.finder-selected-card small{display:block}
.finder-selected-card span{color:var(--brand);font-size:.63rem;font-weight: 700;letter-spacing:.09em;text-transform:uppercase}
.finder-selected-card strong{margin-top:1px;font-size:1rem;line-height:1.25}
.finder-selected-card small{margin-top:3px;color:#5e646a;font-size:.68rem}
.finder-selected-card .btn{min-height:var(--h-sm);white-space:nowrap}
.finder-empty,.finder-loading{width:100%;padding:12px;border:1px dashed #ead9db;border-radius:9px;color:var(--muted);font-size:.68rem;text-align:center}
.finder-empty a{color:var(--brand);font-weight: 700}
.forklift-finder-notice{min-height:17px;margin-top:10px;color:var(--muted);font-size:.7rem}
.forklift-finder-notice strong,.forklift-finder-notice a{color:var(--brand);font-weight: 700}
@media (max-width:650px){
  .search-suggestions{max-height:58vh}
  .suggestion-item{grid-template-columns:34px minmax(0,1fr);padding:8px 10px}
  .suggestion-item img,.suggestion-symbol{width:34px;height:34px}
  .suggestion-item>b{display:none}
  .hero-search-tools{align-items:flex-start;flex-direction:column;gap:5px;margin-top:9px}
  .selected-forklift{align-items:flex-start;flex-direction:column}
  .selected-forklift-main>img{width:38px;height:38px;flex-basis:38px}
  .selected-forklift-actions{justify-content:flex-start}
  .hero-forklift-panel{padding:14px}
  .hero-forklift-head p{display:none}
  .forklift-steps{grid-template-columns:1fr}
  .finder-options{max-height:175px}
  .finder-selected-card{grid-template-columns:44px minmax(0,1fr)}
  .finder-selected-card>img{width:44px;height:44px}
  .finder-selected-card .btn{grid-column:1/-1;width:100%}
}
.catalog-model-filter{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 13px;padding:12px 14px;border:1px solid rgba(232, 0, 37,.24);border-left:4px solid var(--brand);border-radius:12px;background:#fff7f8}
.catalog-model-filter[hidden]{display:none!important}
.catalog-model-filter small,.catalog-model-filter strong{display:block}
.catalog-model-filter small{margin-bottom:2px;color:var(--muted);font-size:.68rem}
.catalog-model-filter button{padding:0;border:0;background:none;color:var(--brand);font-weight: 700;cursor:pointer}
.product-gallery{display:grid;gap:10px;min-width:0}
.product-gallery-main img{object-fit:contain;background:#fff}
.product-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:1px}
.product-gallery-thumbs button{flex:0 0 76px;width:76px;height:64px;padding:5px;border:1px solid var(--line);border-radius:var(--r-control);background:#fff;cursor:pointer}
.product-gallery-thumbs button.active{border-color:var(--brand);box-shadow:0 0 0 2px rgba(232, 0, 37,.08)}
.product-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
.product-accordions{display:grid;gap:10px;margin-top:24px}
.product-accordion{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}
.product-accordion summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 48px 16px 18px;list-style:none;cursor:pointer;font-weight: 700}
.product-accordion summary::-webkit-details-marker{display:none}
.product-accordion summary:after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--brand);font-size:1.25rem}
.product-accordion[open] summary{border-bottom:1px solid var(--line)}
.product-accordion[open] summary:after{content:'−'}
.product-accordion summary small{color:var(--muted);font-size:.7rem;font-weight: 600;text-align:right}
.product-accordion-content{padding:18px;color:var(--ink);font-size:.86rem;line-height:1.65}
.product-accordion-content>p:first-child{margin-top:0}
.product-description{white-space:pre-line}
.product-technical-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.product-technical-grid h3{margin-top:0;font-size:.95rem}
.product-number-list{display:grid;gap:7px}
.product-number-list>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:9px;background:var(--surface-gray)}
.product-number-list small{color:var(--muted)}
@media(max-width:650px){.product-accordion summary{align-items:flex-start;flex-direction:column;gap:3px}.product-accordion summary small{text-align:left}.product-technical-grid{grid-template-columns:1fr}}

/* Finalny katalog klienta v0.8.0 */
.mini-btn-label{display:none}
.product-identifiers{display:flex;flex-wrap:wrap;gap:4px 10px;margin:-1px 0 8px;color:#4a4640;font-size:.82rem;font-weight: 700;letter-spacing:.01em;min-height:calc(.82rem * 1.45)}
/* Numer katalogowy trzyma stałą pozycję także wtedy, gdy produkt go nie ma —
   inaczej karty bez numeru byłyby niższe i rząd znowu by się rozjechał. */
.product-identifiers.is-empty{visibility:hidden}
.product-identifiers .oem-value{color:var(--ink);font-weight: 700}
.catalog-page{background:#fff}
.catalog-page .site-header{position:sticky}
.catalog-hero{padding:24px 0 30px;border-bottom:1px solid #f0e3e5;background:linear-gradient(180deg,#fff 0%,#fff9fa 100%)}
.breadcrumbs{display:flex;align-items:center;gap:7px;margin-bottom:18px;color:var(--muted);font-size:.72rem}
.breadcrumbs a:hover{color:var(--brand)}
.catalog-hero-copy{display:flex;align-items:end;justify-content:space-between;gap:28px}
.catalog-hero-copy h1{margin:5px 0 7px;font-size:clamp(2rem,3vw,2.85rem);line-height:1.04;letter-spacing:-.045em}
.catalog-hero-copy p{max-width:720px;margin:0;color:var(--muted);font-size:.94rem}
.catalog-help-link{flex:0 0 285px;display:grid;gap:2px;padding:12px 15px;border:1px solid #eadcdf;border-radius:12px;background:#fff}
.catalog-help-link strong{font-size:.8rem}
.catalog-help-link span{color:var(--muted);font-size:.68rem}
.catalog-help-link:hover{border-color:var(--brand);box-shadow:0 8px 20px rgba(56,0,7,.06)}
.catalog-primary-tools{display:grid;grid-template-columns:minmax(0,1fr) auto 280px;align-items:center;gap:13px;margin-top:20px}
.catalog-primary-tools .hero-search-shell{min-width:0;max-width:none}
.catalog-main-search{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:58px;padding:5px 5px 5px 16px;border:2px solid var(--brand);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(84,0,10,.06)}
.catalog-main-search>svg{width:22px;height:22px;stroke-width:1.8;color:#5a6065}
.catalog-main-search input{min-width:0;width:100%;height:44px;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:.95rem;font-weight: 600}
.catalog-main-search input::placeholder{color:var(--muted);font-weight: 600}
.catalog-main-search .btn{min-height:46px;padding-inline:22px}
.catalog-tool-divider{color:var(--muted);font-size:.72rem;font-weight: 700;text-align:center}
.catalog-forklift-button{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:7px 13px 7px 8px;border:1.5px solid #e5d6d9;border-radius:14px;background:#fff;color:var(--ink);text-align:left;transition:.16s ease}
.catalog-forklift-button:hover,.catalog-forklift-button[aria-expanded="true"]{border-color:var(--brand);background:#fff5f6;color:var(--brand)}
.catalog-forklift-button>img{width:50px;height:44px;padding:2px;border-radius:var(--r-control);background:#fff;object-fit:contain}
.catalog-forklift-button strong,.catalog-forklift-button small{display:block}
.catalog-forklift-button strong{font-size:.82rem}
.catalog-forklift-button small{margin-top:2px;color:var(--muted);font-size:.65rem;font-weight: 600}
.catalog-forklift-button>span:last-child{font-size:1.1rem;font-weight: 700}
.catalog-page .selected-forklift,.catalog-page .catalog-forklift-panel{max-width:none}
.catalog-page .selected-forklift{margin-top:14px}
.catalog-page .catalog-forklift-panel{margin-top:14px}
.finder-refine-toggle{margin-top:8px;padding:5px 0;border:0;background:transparent;color:var(--brand);font-size:.67rem;font-weight: 700}
.finder-refinements{display:grid;gap:7px;margin-top:7px;padding:9px;border:1px solid #eee3e5;border-radius:9px;background:#fafafa}
.finder-refinements[hidden]{display:none!important}
.finder-refinements>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.finder-refinements span{min-width:48px;color:#666b70;font-size:.62rem;font-weight: 700}
.finder-refinements button{padding:4px 8px;border:1px solid #e2d5d8;border-radius:999px;background:#fff;color:#4c5156;font-size:.62rem;font-weight: 700}
.finder-refinements button.active{border-color:var(--brand);background:var(--brand);color:#fff}
.catalog-results-section{padding:34px 0 58px;scroll-margin-top:84px}
.catalog-results-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:14px}
.catalog-results-head h2{margin:3px 0 3px;font-size:1.65rem;letter-spacing:-.03em}
.catalog-results-head p{margin:0;color:var(--muted);font-size:.76rem}
.catalog-toolbar-actions{display:flex;align-items:center;gap:9px}
.catalog-toolbar-actions label{color:#666b70;font-size:.72rem;font-weight: 700}
.catalog-toolbar-actions select{width:205px;min-height:var(--h-md);padding:8px 34px 8px 11px;border-radius:var(--r-control);font-size:.76rem;font-weight: 700}
.catalog-filter-open{display:none;align-items:center;gap:7px;min-height:var(--h-md);padding:8px 12px;border:1px solid #e5d8da;border-radius:var(--r-control);background:#fff;color:var(--ink);font-size:.76rem;font-weight: 700}
.catalog-filter-open b{min-width:20px;padding:2px 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:.6rem;text-align:center}
.active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:15px;padding:10px 0;border-top:1px solid #f2ebec;border-bottom:1px solid #f2ebec}
.active-filters[hidden]{display:none!important}
.active-filters button{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 9px;border:1px solid #e5d7da;border-radius:999px;background:#fff;color:#3d4247;font-size:.67rem;font-weight: 700}
.active-filters button:hover{border-color:var(--brand);color:var(--brand)}
.active-filters button span{font-size:.9rem;line-height:1}
.active-filters .clear-active-filters{border-color:transparent;background:transparent;color:var(--brand);font-weight: 700}
.catalog-results-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
.catalog-filters{position:sticky;top:94px;overflow:hidden;border:1px solid #eae0e2;border-radius:15px;background:#fff}
.catalog-filter-header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #eee6e7}
.catalog-filter-header span,.catalog-filter-header small{display:block}
.catalog-filter-header span{font-size:.9rem;font-weight: 700}
.catalog-filter-header small{margin-top:1px;color:var(--muted);font-size:.64rem}
.catalog-filter-header button{display:none;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:1.2rem}
.catalog-filter-scroll{padding:0 16px}
.catalog-filter-section{padding:16px 0;border-bottom:1px solid #eee7e8}
.catalog-filter-section:last-child{border-bottom:0}
.catalog-filter-section h3{margin:0 0 10px;font-size:.78rem}
.catalog-filter-list{display:grid;gap:3px}
.catalog-filter-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 7px;border:0;border-radius:7px;background:transparent;color:#555b60;font-size:.72rem;text-align:left}
.catalog-filter-choice small,.catalog-check small{color:var(--muted);font-size:.61rem;font-weight: 600}
.catalog-filter-choice:hover{background:#faf4f5;color:var(--brand)}
.catalog-filter-choice.active{background:#fff0f3;color:var(--brand);font-weight: 700}
.catalog-check{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 6px;border-radius:7px;color:#555b60;font-size:.7rem;cursor:pointer}
.catalog-check:hover{background:#faf4f5;color:var(--ink)}
.catalog-check input{width:14px;height:14px;margin:0;accent-color:var(--brand)}
.catalog-brand-list{max-height:210px;overflow:auto;scrollbar-width:thin}
.catalog-filter-empty{margin:0;color:var(--muted);font-size:.68rem}
.catalog-filter-section .filter-price{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.catalog-filter-section .filter-price label span{display:block;margin:0 0 4px;color:var(--muted);font-size:.6rem;font-weight: 700}
.catalog-filter-section .filter-price .input{min-height:var(--h-sm);padding:8px;font-size:.7rem}
.catalog-filter-section .filter-price-apply{width:100%;min-height:36px;margin-top:8px;padding:7px;font-size:.68rem}
.catalog-filter-footer{display:none;padding:12px 15px;border-top:1px solid #eee4e6;background:#fff}
.catalog-filter-overlay{display:none}
.catalog-products{min-width:0}
.catalog-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.catalog-page .product-card{border-radius:14px;box-shadow:0 5px 15px rgba(40,0,5,.025)}
.catalog-page .product-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(60,0,8,.09)}
.catalog-page .product-image{aspect-ratio:1/.76;background:#fff}
.catalog-page .product-image img{object-fit:contain}
/* Skórka katalogu nadpisuje regułę wyżej, więc grafika zastępcza powtarza swoją
   tutaj — inaczej kompozycja dostaje wąski biały pasek u dołu kadru. */
.catalog-page .product-image img[src*="/brak-zdjecia/"]{object-fit:cover}
.catalog-page .product-body{padding:14px}
.catalog-page .product-card h3{min-height:2.45em;margin:6px 0;font-size:.94rem}
.catalog-page .product-card .desc{display:-webkit-box;min-height:2.9em;margin:0 0 9px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.72rem}
.catalog-page .product-kicker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.62rem}
.catalog-page .product-identifiers{min-height:1.15em;margin-bottom:8px;font-size:.8rem}
.catalog-page .stock{margin-top:auto;font-size:.69rem}
.catalog-page .product-bottom{margin-top:8px;padding-top:9px;border-top:1px solid #f1eaeb;align-items:center}
.catalog-page .price{font-size:1.05rem}
.catalog-page .mini-btn{width:auto;min-width:66px;height:34px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:9px;font-size:.72rem;font-weight: 700}
.catalog-page .mini-btn-label{display:inline}
.catalog-product-skeleton{overflow:hidden;border:1px solid #ece4e5;border-radius:14px;background:#fff}
.catalog-product-skeleton i{display:block;aspect-ratio:1/.76;background:linear-gradient(90deg,#f6f4f5 20%,#fff 50%,#f6f4f5 80%);background-size:220% 100%;animation:catalog-shimmer 1.4s infinite}
.catalog-product-skeleton span,.catalog-product-skeleton b{display:block;height:11px;margin:13px 14px 0;border-radius:99px;background:#f2eff0}
.catalog-product-skeleton span+span{width:62%;margin-top:8px}
.catalog-product-skeleton b{width:38%;height:18px;margin-bottom:15px}
@keyframes catalog-shimmer{to{background-position:-220% 0}}
.catalog-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:42px 24px;border:1px dashed #decdd0;border-radius:15px;background:#fffafa;text-align:center}
.catalog-empty .tp-stan{width:min(220px,64%);height:auto}
.catalog-empty h3{margin:2px 0 0;font-size:1.15rem}
.catalog-empty p{max-width:500px;margin:0;color:var(--muted);font-size:.78rem}
.catalog-empty>div{display:flex;gap:8px;margin-top:7px}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:26px}
.catalog-pagination a{min-width:36px;min-height:36px;display:grid;place-items:center;padding:6px 10px;border:1px solid #e5d8da;border-radius:9px;background:#fff;color:#555a5f;font-size:.7rem;font-weight: 700}
.catalog-pagination a:hover,.catalog-pagination a.active{border-color:var(--brand);background:var(--brand);color:#fff}
.catalog-pagination a[aria-disabled="true"]{opacity:.38;pointer-events:none}
.catalog-pagination>span{color:var(--muted)}
.catalog-assistance{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:36px;padding:22px 24px;border-radius:16px;background:var(--brand);color:#fff}
.catalog-assistance .eyebrow{color:#fff}
.catalog-assistance h2{margin:3px 0 4px;font-size:1.3rem}
.catalog-assistance p{margin:0;color:#fff;font-size:.76rem}
.catalog-assistance .btn{background:#fff;color:var(--brand);white-space:nowrap}

@media(min-width:1240px){.catalog-page main .container{width:min(calc(100% - 52px),1280px)}.catalog-page .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.catalog-primary-tools{grid-template-columns:minmax(0,1fr) auto 250px}.catalog-results-layout{grid-template-columns:220px minmax(0,1fr)}.catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
  .catalog-hero{padding:18px 0 24px}.catalog-hero-copy{align-items:start}.catalog-help-link{display:none}.catalog-primary-tools{grid-template-columns:1fr}.catalog-tool-divider{display:none}.catalog-forklift-button{width:100%}.catalog-results-section{padding-top:26px}.catalog-results-head{align-items:flex-start;flex-direction:column;gap:13px}.catalog-toolbar-actions{width:100%}.catalog-toolbar-actions label{margin-left:auto}.catalog-filter-open{display:inline-flex}.catalog-results-layout{grid-template-columns:1fr;gap:0}.catalog-filters{position:fixed;z-index:100;top:0;right:0;bottom:0;width:min(90vw,360px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:0;border-radius:0;box-shadow:-18px 0 45px rgba(25,0,4,.2);transform:translateX(105%);transition:transform .2s ease}.catalog-filters.open{transform:translateX(0)}.catalog-filter-header button{display:grid;place-items:center}.catalog-filter-scroll{overflow-y:auto}.catalog-filter-footer{display:grid;grid-template-columns:1fr 1.5fr;gap:8px}.catalog-filter-overlay{position:fixed;z-index:99;inset:0;display:block;background:rgba(20,12,14,.45);backdrop-filter:blur(2px)}.catalog-filter-overlay[hidden]{display:none}.catalog-filter-opened{overflow:hidden}.catalog-brand-list{max-height:none}.catalog-page .selected-forklift{align-items:flex-start;flex-direction:column}.catalog-page .selected-forklift-actions{width:100%;justify-content:flex-start}.catalog-page .selected-forklift-actions .btn{margin-right:auto}.catalog-page .catalog-forklift-panel .forklift-steps{grid-template-columns:1fr}.catalog-page .catalog-forklift-panel .finder-options{max-height:230px}.catalog-assistance{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){
  .catalog-page main .container{width:min(calc(100% - 24px),var(--max))}.breadcrumbs{margin-bottom:13px}.catalog-hero-copy h1{font-size:1.75rem}.catalog-hero-copy p{font-size:.8rem}.catalog-main-search{grid-template-columns:21px minmax(0,1fr);padding:7px 9px 7px 12px}.catalog-main-search>svg{width:19px}.catalog-main-search input{height:40px;font-size:.78rem}.catalog-main-search .btn{grid-column:1/-1;width:100%;min-height:var(--h-sm)}.catalog-forklift-button{grid-template-columns:46px minmax(0,1fr) auto}.catalog-results-head h2{font-size:1.4rem}.catalog-toolbar-actions{display:grid;grid-template-columns:auto 1fr}.catalog-toolbar-actions label{display:none}.catalog-toolbar-actions select{width:100%}.catalog-page .product-grid{grid-template-columns:1fr}.catalog-page .product-image{aspect-ratio:1/.68}.catalog-page .product-card h3{min-height:auto;font-size:1rem}.catalog-page .product-card .desc{min-height:auto}.catalog-page .selected-forklift-actions{display:grid;grid-template-columns:1fr auto auto}.catalog-page .selected-forklift-actions .btn{width:100%;margin:0}.catalog-page .catalog-forklift-panel{padding:13px}.catalog-page .hero-forklift-head p{display:none}.finder-model-side b{font-size:.58rem}.catalog-assistance{padding:20px}.catalog-empty>div{flex-direction:column;width:100%}.catalog-empty .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.catalog-filters,.catalog-page .product-card,.catalog-product-skeleton i{transition:none;animation:none}}

/* v0.8.2 — równe, zawsze dostępne filtry katalogu */
.catalog-filter-open{display:inline-flex;justify-content:center;min-width:156px;height:42px;padding:0 13px}
.catalog-quick-filters{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(170px,.72fr) minmax(430px,1.8fr);align-items:stretch;gap:10px;margin:0 0 18px;padding:12px;border:1px solid #e9dfe1;border-radius:14px;background:#fbfafb}
.catalog-quick-field{display:grid;grid-template-rows:auto 42px;gap:4px;min-width:0}
.catalog-quick-field>span,.catalog-quick-label{color:#666b70;font-size:.62rem;font-weight: 700;text-transform:uppercase;letter-spacing:.06em}
.catalog-quick-field select{height:var(--h-md);min-height:var(--h-md);padding:0 34px 0 11px;border-color:#e2d6d8;border-radius:var(--r-control);background-color:#fff;font-size:.73rem;font-weight: 700}
.catalog-quick-stock{display:flex;align-items:center;gap:10px;min-height:62px;padding:8px 12px;border:1px solid #e2d6d8;border-radius:var(--r-control);background:#fff;cursor:pointer}
.catalog-quick-stock input{flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:var(--brand)}
.catalog-quick-stock strong,.catalog-quick-stock small{display:block}
.catalog-quick-stock strong{font-size:.72rem;line-height:1.25}
.catalog-quick-stock small{margin-top:2px;color:var(--muted);font-size:.61rem}
.catalog-quick-stock:has(input:checked){border-color:var(--brand);background:#fff2f4;color:var(--brand)}
.catalog-quick-price{display:grid;grid-template-columns:auto minmax(95px,1fr) auto minmax(115px,1fr) auto;align-items:end;gap:7px;min-width:0}
.catalog-quick-price>.catalog-quick-label{align-self:center;margin-right:2px;white-space:nowrap}
.catalog-quick-price label{min-width:0}
.catalog-quick-price .input{width:100%;height:var(--h-md);min-height:var(--h-md);padding:0 10px;border-color:#e2d6d8;border-radius:var(--r-control);background:#fff;font-size:.72rem}
.catalog-price-separator{align-self:center;color:var(--muted);font-weight: 700}
.catalog-quick-price .btn{height:var(--h-md);min-height:var(--h-md);padding:0 14px;border-radius:var(--r-control);font-size:.7rem;white-space:nowrap}
.catalog-results-layout{grid-template-columns:1fr;gap:0}
.catalog-filters{position:fixed;z-index:100;top:0;right:0;bottom:0;width:min(90vw,380px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:0;border-radius:0;box-shadow:-18px 0 45px rgba(25,0,4,.2);transform:translateX(105%);transition:transform .2s ease}
.catalog-filters.open{transform:translateX(0)}
.catalog-filter-header button{display:grid;place-items:center}
.catalog-filter-scroll{overflow-y:auto;padding:0 18px}
.catalog-filter-footer{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;padding:12px 18px}
.catalog-filter-overlay{position:fixed;z-index:99;inset:0;display:block;background:rgba(20,12,14,.45);backdrop-filter:blur(2px)}
.catalog-filter-overlay[hidden]{display:none}
.catalog-filter-opened{overflow:hidden}
.catalog-brand-list{max-height:none;overflow:visible}
.catalog-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1240px){.catalog-page .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1040px){.catalog-quick-filters{grid-template-columns:1fr 1fr}.catalog-quick-price{grid-column:1/-1}.catalog-toolbar-actions label{display:none}}
@media(max-width:720px){.catalog-quick-filters{grid-template-columns:1fr}.catalog-quick-price{grid-column:auto;grid-template-columns:1fr auto 1fr}.catalog-quick-price>.catalog-quick-label{grid-column:1/-1}.catalog-quick-price .btn{grid-column:1/-1;width:100%}.catalog-results-head{margin-bottom:12px}.catalog-toolbar-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.catalog-filter-open{width:100%;min-width:0}.catalog-toolbar-actions select{width:100%}.catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.catalog-page .product-grid{grid-template-columns:1fr}.catalog-toolbar-actions{grid-template-columns:1fr}.catalog-quick-filters{padding:10px}.catalog-quick-price{grid-template-columns:1fr}.catalog-price-separator{display:none}.catalog-quick-price .btn{grid-column:auto}.catalog-quick-price>.catalog-quick-label{grid-column:auto}}

/* v0.8.3 — równy układ wyszukiwarki i doboru po wózku */
.catalog-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:stretch}
.catalog-hero-main{min-width:0;display:flex;flex-direction:column}
.catalog-hero-layout .catalog-hero-copy{display:block}
.catalog-hero-layout .catalog-hero-copy h1{margin-top:5px}
.catalog-hero-main>.hero-search-shell{width:100%;max-width:none;margin-top:auto;padding-top:28px}
.catalog-hero-layout .catalog-main-search{min-height:66px}
.catalog-hero-layout .catalog-main-search .btn{min-height:52px;min-width:112px}
.catalog-hero-side{display:grid;grid-template-rows:1fr 66px;gap:14px;min-width:0}
.catalog-hero-side .catalog-help-link{width:100%;min-height:76px;display:flex;flex-direction:column;justify-content:center;padding:15px 17px}
.catalog-hero-side .catalog-forklift-button{width:100%;min-height:66px;height:66px;padding:8px 15px 8px 10px}
.catalog-hero-side .catalog-forklift-button>img{width:48px;height:46px}
@media(max-width:820px){.catalog-hero-layout{grid-template-columns:1fr;gap:13px}.catalog-hero-main>.hero-search-shell{margin-top:0;padding-top:20px}.catalog-hero-side{grid-template-columns:1fr 1fr;grid-template-rows:66px;gap:10px}.catalog-hero-side .catalog-forklift-button{grid-column:1;grid-row:1}.catalog-hero-side .catalog-help-link{grid-column:2;grid-row:1;display:flex;min-height:66px;height:66px}.catalog-hero-layout .catalog-main-search{min-height:60px}}
@media(max-width:580px){.catalog-hero-side{grid-template-columns:1fr;grid-template-rows:auto auto}.catalog-hero-side .catalog-forklift-button{grid-column:1;grid-row:1}.catalog-hero-side .catalog-help-link{grid-column:1;grid-row:2;height:auto;min-height:58px}.catalog-hero-layout .catalog-main-search{min-height:58px}.catalog-hero-layout .catalog-main-search .btn{min-height:var(--h-sm)}}

/* --- Zgoda na regulamin w koszyku (v0.9.10) --- */
.checkout-consent{padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface-soft,#faf8f8);display:grid;gap:9px}
.checkout-consent.invalid{border-color:var(--brand);background:var(--brand-soft,#fff0f3)}
.checkout-consent-row{display:flex;align-items:flex-start;gap:11px;cursor:pointer;font-size:14px;line-height:1.55}
.checkout-consent-row input{width:19px;height:19px;margin-top:1px;flex:0 0 auto;cursor:pointer;accent-color:var(--brand)}
.checkout-consent-row a{color:var(--brand);text-decoration:underline}
.checkout-consent-note{margin:0;font-size:12.5px;line-height:1.55;color:var(--muted)}

/* --- Dokumenty prawne (v0.9.10) --- */
.legal-draft-notice{display:grid;gap:5px;margin-bottom:22px;padding:15px 18px;
  border:1px solid #f0d6b8;border-left:3px solid var(--warning,#a96600);
  border-radius:var(--radius-sm);background:#fdf8f0}
.legal-draft-notice strong{font-size:14px;color:var(--warning,#a96600)}
.legal-draft-notice span{font-size:13px;line-height:1.6;color:var(--muted)}

.legal-document{max-width:76ch}
.legal-document h2{margin:30px 0 12px;font-size:19px;padding-top:18px;border-top:1px solid var(--line)}
.legal-document h2:first-of-type{border-top:0;padding-top:0;margin-top:8px}
.legal-document h3{margin:20px 0 8px;font-size:15px}
.legal-document p{margin:0 0 11px;line-height:1.7}
.legal-document ul{margin:0 0 14px;padding-left:22px;line-height:1.7}
.legal-document li{margin-bottom:6px}
.legal-meta{font-size:12.5px;color:var(--muted);margin-bottom:20px}

.legal-address{padding:13px 16px;background:var(--surface-soft,#faf8f8);border:1px solid var(--line);
  border-radius:var(--radius-sm);line-height:1.65}

/* Miejsca wymagające uzupełnienia przed publikacją — celowo widoczne. */
.legal-todo{padding:11px 14px;border-left:3px solid var(--warning,#a96600);background:#fdf8f0;
  font-size:12.5px;line-height:1.6;color:#7a4d00;border-radius:0 8px 8px 0}

.legal-hint{font-size:12.5px;color:var(--muted);font-style:italic}
.legal-form-template{padding:18px;border:1px dashed var(--line-strong,#d8cdcd);border-radius:var(--radius-sm);
  background:#fff;line-height:1.9;font-size:13.5px}

/* --- Miniatury produktów (v0.9.14) --- */
/* Wcześniej object-fit: cover przycinał zdjęcia do kwadratu, więc części o nietypowych
   proporcjach — filtry, karetki, widły — traciły krawędzie. Do tego różowawe tło
   odcinało się od białych zdjęć z Allegro i wyglądało jak obwódka.
   Całe zdjęcie na białym tle rozwiązuje oba problemy naraz. */
.product-image{background:#fff;padding:10px}
.product-image img{object-fit:contain}

/* Zdjęcie główne na karcie produktu — ta sama zasada. */
.product-gallery-main,
.product-gallery-main img,
.product-thumb img{background:#fff}
.product-gallery-main img{object-fit:contain}

/* ============================================================
   Poprawki z audytu dostępności (v0.9.14)
   ============================================================ */

/* 10 — odnośnik pomijający nawigację. Widoczny dopiero po otrzymaniu fokusu. */
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:999;
  padding:12px 20px;background:var(--brand);color:#fff;
  font-weight: 700;text-decoration:none;border-radius:0 0 10px 0;
}
.skip-link:focus{left:0}

/* 09 — cele dotykowe. Pola wyboru miały 13 px; norma AA to 24 px,
   a dla dotyku zalecane 44 px w obszarze klikalnym etykiety. */
input[type="checkbox"],input[type="radio"]{
  width:20px;height:20px;min-width:20px;min-height:20px;
  accent-color:var(--brand);cursor:pointer;flex:0 0 auto;
}
.checkout-consent-row,.checkout-inline-toggle,.checkout-account-toggle,
.checkout-type-option,.checkout-document-option{min-height:44px}

/* 13 — podtytuł w czerwonym pasku: 4,42:1 było poniżej normy, biel daje 5,3:1 */
.cta p{color:#fff}

/* 03 — termin wysyłki. Przy stojącym wózku bywa ważniejszy niż cena. */
.shipping-hint{
  display:flex;align-items:center;gap:7px;margin-top:6px;
  font-size:.78rem;font-weight: 700;color:var(--success);
}
.shipping-hint.after-cutoff{color:var(--muted)}
.shipping-hint svg{width:15px;height:15px;flex:0 0 auto}

/* 02 — zastosowanie produktu jako pierwsza sekcja, nie zwinięta */
.product-fitment{
  margin:18px 0;padding:16px 18px;border:1px solid var(--line);
  border-left:3px solid var(--brand);border-radius:12px;background:#fff;
}
.product-fitment h2{margin:0 0 10px;font-size:1.02rem}
.product-fitment .model-groups{margin:0}
.product-fitment .universal-note{margin:0;font-size:.88rem;color:var(--ink)}

/* 08 — flota klienta */
.account-forklifts{display:grid;gap:10px;margin-top:18px}
.forklift-card{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
  padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;
}
.forklift-card-main{display:grid;gap:2px;min-width:0}
.forklift-card-main strong{font-size:1rem}
.forklift-card-main span{font-size:.82rem;color:var(--muted)}
.forklift-card-main small{font-size:.75rem;color:var(--muted);font-family:ui-monospace,monospace}
.forklift-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.forklift-card-actions .btn{padding:8px 13px;font-size:.78rem}

/* 05 — najdrobniejsze napisy w katalogu miały 10 px i kontrast poniżej normy.
   Podniesienie do 12 px plus ciemniejszy neutralny załatwia oba progi naraz. */
.catalog-results-head .muted,
.catalog-filter-section .filter-price label span,
.catalog-page .product-identifiers,
.catalog-toolbar label,
.finder-model-side b{font-size:.75rem}
.breadcrumbs{font-size:.75rem}

/* ============================================================================
   SYSTEM KOMPONENTÓW — sklep (v0.9.18)

   Jeden zestaw pól, przycisków, komunikatów i filtrów zamiast wariantów
   narosłych przez kolejne wersje. Kolory i typografia bez zmian — zmienia się
   spójność, komplet stanów i to, jak interfejs odpowiada na działanie.
   ============================================================================ */

/* --- POLA ------------------------------------------------------------------
   Wysokość z trzystopniowej skali, nie z przypadku. Fokus daje obwódkę
   w kolorze marki — widać go od razu, także przy jasnym oknie. */
.input, textarea, select {
  width: 100%;
  min-height: var(--h-md);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.4;
  outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.input::placeholder, textarea::placeholder { color: #8b9096; }
.input:hover:not(:disabled), textarea:hover:not(:disabled), select:hover:not(:disabled) {
  border-color: #d9cdcf;
}
.input:focus, textarea:focus, select:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.input:disabled, textarea:disabled, select:disabled {
  background: var(--surface-gray);
  color: var(--muted);
  cursor: not-allowed;
}
.input[aria-invalid="true"], .input.invalid, textarea.invalid {
  border-color: #be123c;
  box-shadow: var(--ring-error);
}
textarea { min-height: 110px; padding: 12px 13px; resize: vertical; line-height: 1.6; }

/* Select z własną strzałką — natywna wygląda inaczej w każdej przeglądarce
   i psuje spójność paska filtrów. */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  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'%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;
  cursor: pointer;
}
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'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Etykieta pola — jedna forma w całym sklepie */
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.field-hint { font-size: .76rem; color: var(--muted); }
.field-error { font-size: .76rem; font-weight: 600; color: #be123c; }

/* --- PRZYCISKI -------------------------------------------------------------
   Cztery warianty i trzy rozmiary, każdy z pełnym kompletem stanów.
   Stan ładowania trzyma szerokość przycisku, więc układ nie skacze. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--h-md);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  background: var(--brand);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease);
}
.btn:hover:not(:disabled) { background: var(--brand-dark); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.btn.secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.secondary:hover:not(:disabled) { background: var(--surface-gray); border-color: #d9cdcf; }

.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); padding: 0 12px; }
.btn.ghost:hover:not(:disabled) { background: var(--brand-soft); }

.btn.danger { background: #be123c; }
.btn.danger:hover:not(:disabled) { background: #9f1239; }

.btn.dark { background: var(--ink); }
.btn.dark:hover:not(:disabled) { background: #000; }

.btn.sm { min-height: var(--h-sm); padding: 0 14px; font-size: .82rem; }
.btn.lg { min-height: var(--h-lg); padding: 0 26px; font-size: .96rem; }
.btn.full { width: 100%; }

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
.btn.secondary.is-loading::after { border-color: var(--ink); border-top-color: transparent; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* --- KOMUNIKATY ------------------------------------------------------------
   Sklep miał jedną klasę .notice bez odmian. Cztery typy z ikoną i kolorem
   po lewej — rodzaj komunikatu widać jednym spojrzeniem. */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  border-radius: var(--r-control);
  background: var(--surface-gray);
  font-size: .88rem;
  line-height: 1.55;
}
.notice:empty { display: none; }
.notice::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--muted);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.notice strong { display: block; margin-bottom: 2px; }
.notice.success { border-left-color: var(--success); background: #f1f8f3; }
.notice.success::before { content: "✓"; background: var(--success); }
.notice.warning { border-left-color: var(--warning); background: #fdf8ef; }
.notice.warning::before { content: "!"; background: var(--warning); }
.notice.error { border-left-color: #be123c; background: #fdf2f4; }
.notice.error::before { content: "!"; background: #be123c; }

/* --- FILTRY I SORTOWANIE ---------------------------------------------------
   Pasek filtrów to najczęściej dotykany element w katalogu części.
   Wysokości zrównane, żeby linia nie falowała. */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}
.filter-bar .field { flex: 1 1 190px; min-width: 0; }
.filter-bar .btn { flex: 0 0 auto; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-round);
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.chip:hover { border-color: #d9cdcf; }
.chip.active, .chip[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.chip .chip-remove {
  display: grid; place-items: center;
  width: 17px; height: 17px;
  border: 0; border-radius: 50%;
  background: rgba(0,0,0,.07);
  color: inherit; font-size: .7rem; line-height: 1;
}
.chip .chip-remove:hover { background: rgba(0,0,0,.14); }

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-round);
  background: var(--surface-gray);
}
.segmented button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-round);
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.segmented button:hover { color: var(--ink); }
.segmented button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(22,16,16,.1);
}

/* --- STAN PUSTY ------------------------------------------------------------
   Zawsze mówi, co zrobić dalej. Pusta lista bez podpowiedzi to ślepy zaułek. */
.empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 34px 24px;
  border: 1px dashed #ded3d5;
  border-radius: var(--r-card);
  background: var(--surface-gray);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.empty strong { color: var(--ink); font-size: 1rem; }

/* --- Ilustracje stanów z pakietu graficznego --------------------------------
   Pięć kompozycji 360x300: brak wyników, pusty koszyk, brak zdjęcia, zapytanie
   i przyjęte zamówienie. Zawsze dekoracja przy tekście, który niesie treść —
   dlatego puste alt i aria-hidden. Sam rysunek nigdy nie tłumaczy stanu. */
.tp-stan {
  display: block;
  width: min(230px, 60%);
  height: auto;
  margin: 0 auto 4px;
}
/* Grafika przyjętego zamówienia dostaje więcej powietrza — to moment, w którym
   klient ma odetchnąć, a nie kolejny gęsty ekran. */
.confirm-hero { display: grid; justify-items: center; margin: 0 0 22px; }
.confirm-hero .tp-stan { width: min(260px, 70%); }

/* Hero z ilustracją: tekst po lewej, rysunek po prawej, na wąskim ekranie pod. */
.page-hero-z-ilustracja > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.page-hero-z-ilustracja .tp-stan { flex: 0 0 auto; width: min(240px, 100%); margin: 0; }
@media (max-width: 720px) {
  .page-hero-z-ilustracja .tp-stan { display: none; }
}

/* Panel: produkt bez zdjęć. Stan pusty ma powiedzieć, co to znaczy dla sklepu. */
.product-images-empty { grid-column: 1 / -1; }
.product-images-empty span { max-width: 46ch; color: var(--muted); font-size: .82rem; }

/* --- WYBÓR MODELU WÓZKA ----------------------------------------------------
   Sedno sklepu z częściami: klient musi potwierdzić, że część pasuje. */
.model-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--lift);
}
.model-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid var(--brand);
  border-radius: var(--r-control);
  background: var(--brand-soft);
  font-size: .86rem;
}
.model-selected strong { color: var(--brand); }
.model-selected .btn { margin-left: auto; }

/* --- TABELE ----------------------------------------------------------------
   Liczby w kolumnach czyta się tylko wtedy, gdy cyfry mają równą szerokość. */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-gray);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: left;
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-soft); }
.table .num, .table td.num, .price, .stock { font-variant-numeric: tabular-nums; }

@media (max-width: 780px) {
  .model-picker { grid-template-columns: 1fr; }
  .model-picker .btn { width: 100%; }
  .filter-bar .field { flex: 1 1 100%; }
}

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

/* Stan aktywnego pola musi wygrać z regułami sprzed systemu komponentów,
   które ustawiały własne kolory ramki dla pojedynczych ekranów. */
.input:focus,
input.input:focus,
select:focus,
textarea:focus,
.catalog-quick-price .input:focus,
.catalog-quick-field select:focus,
.catalog-toolbar-actions select:focus,
.catalog-filter-section .filter-price .input:focus,
.finder-input:focus,
.catalog-main-search input:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
  outline: none;
}

/* Strzałka selecta — reguła zamykająca.
   Skrót `background` w regułach o wyższej specyficzności kasował
   background-repeat, przez co grot powtarzał się w poziomie. Ta reguła
   stoi na końcu arkusza i celuje w select bezpośrednio, więc wygrywa
   niezależnie od kolejności deklaracji wyżej. */
select,
.catalog-toolbar select,
.catalog-quick-field select,
.catalog-toolbar-actions select {
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  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");
  padding-right: 36px;
}
select:focus,
.catalog-toolbar select:focus,
.catalog-quick-field select:focus,
.catalog-toolbar-actions 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; }

/* ============================================================
   MEGA-MENU (v0.9.21)
   Pasek buduje się z danych w bazie, więc kolejne zakładki
   nie wymagają zmian w tym arkuszu.
   ============================================================ */

.nav { display: flex; align-items: stretch; gap: 2px; }

/* Bez position:relative — panel mega-menu ma się kotwiczyć do nagłówka,
   a nie do pojedynczej zakładki. Inaczej przy węższym oknie panel wychodzi
   poza lewą krawędź ekranu i zostaje ucięty. */
.nav-item { display: flex; align-items: stretch; }

.nav > a,
.nav-link {
  position: relative; /* punkt odniesienia dla podkreślenia aktywnej pozycji */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 10px 14px;
  border-radius: var(--r-control);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .14s ease, background-color .14s ease;
}
.nav > a:hover,
.nav-link:hover { color: var(--brand); background: var(--brand-soft); }
.nav > a.active,
.nav-link.active { color: var(--brand); }

/* Podkreślenie aktywnej pozycji rysujemy pseudoelementem, żeby nie ruszać
   wysokości wiersza przy zmianie stanu. */
.nav > a.active::after,
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav-chevron {
  width: 15px; height: 15px;
  transition: transform .18s ease;
}
.has-mega.open .nav-chevron { transform: rotate(180deg); }
.has-mega.open > .nav-link { color: var(--brand); background: var(--brand-soft); }

/* --- panel rozwijany --- */
/* Panel kotwiczy się do .site-header (sticky = blok zawierający), więc jego
   szerokość liczy się od okna, nie od zakładki. Ta sama formuła co .container
   — panel trzyma się kolumny treści i nigdy nie wychodzi poza ekran. */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  width: min(calc(100% - 36px), var(--max));
  transform: translate(-50%, -6px);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-mega.open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(60, 0, 7, .14);
  overflow: hidden;
}
.mega-inner:only-child { grid-template-columns: minmax(0, 1fr); }

.mega-side {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px;
  background: var(--surface-gray);
  border-right: 1px solid var(--line);
}
.mega-link {
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  border-radius: var(--r-control);
  transition: background-color .14s ease;
}
.mega-link strong { font-size: .88rem; font-weight: 700; }
.mega-link span { font-size: .76rem; color: var(--muted); line-height: 1.4; }
.mega-link:hover { background: var(--surface); }
.mega-link:hover strong { color: var(--brand); }

.mega-main { padding: 18px 20px 20px; }
.mega-main-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mega-main-head h2 { margin: 0; font-size: 1.02rem; font-weight: 700; }
.mega-all { font-size: .8rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.mega-all:hover { text-decoration: underline; }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 8px;
}

/* Kafelek kategorii: nazwa po lewej, licznik po prawej. Licznik ma cyfry
   o stałej szerokości, żeby kolumna liczb nie skakała między wierszami. */
.mega-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--surface);
  transition: border-color .14s ease, background-color .14s ease, transform .14s ease;
}
.mega-tile:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}
.mega-tile-name { flex: 1 1 auto; font-size: .86rem; font-weight: 700; line-height: 1.3; }
.mega-tile:hover .mega-tile-name { color: var(--brand); }
.mega-tile-count {
  flex: 0 0 auto;
  min-width: 26px;
  padding: 2px 7px;
  border-radius: var(--r-round);
  background: var(--surface-gray);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.mega-tile:hover .mega-tile-count { background: #fff; color: var(--brand); }

/* --- Ikony kategorii z pakietu graficznego (design/paczka-graficzna) ---
   Zawsze obok widocznej nazwy, nigdy zamiast niej: kategorii nie da się
   rozpoznać po samym rysunku, a filtr musi działać też dla czytnika ekranu. */
.mega-tile-icon { flex: 0 0 auto; width: 34px; height: 34px; }
.mobile-cat-label { display: inline-flex; align-items: center; gap: 10px; }
.mobile-cat-icon { flex: 0 0 auto; width: 24px; height: 24px; }
.catalog-filter-icon { flex: 0 0 auto; width: 20px; height: 20px; }
.catalog-filter-choice > span { flex: 1 1 auto; }

/* --- menu mobilne: składany spis zamiast panelu --- */
.mobile-group { border-bottom: 1px solid var(--line); }
.mobile-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--h-lg);
  padding: 12px 2px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mobile-group > summary::-webkit-details-marker { display: none; }
.mobile-group > summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.mobile-group[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.mobile-group[open] > summary { color: var(--brand); }
.mobile-group-body { display: grid; gap: 1px; padding: 0 0 12px 12px; }
.mobile-group-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--r-control);
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
}
.mobile-group-body a:hover, .mobile-group-body a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand);
}
.mobile-group-body a span:not(.mobile-cat-label) {
  padding: 1px 7px;
  border-radius: var(--r-round);
  background: var(--surface-gray);
  font-size: .72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .mega-panel, .nav-chevron, .mega-tile, .mobile-group > summary::after { transition: none; }
}

/* Ten sam próg co ukrycie paska (820 px) — inaczej między progami zostaje
   pozycja ze strzałką, która niczego nie rozwija.

   .nav musi być ukryte TUTAJ, a nie tylko w bloku 820 px w sekcji nagłówka.
   Deklaracja `.nav { display: flex }` kilkaset linii wyżej jest późniejsza w pliku
   i ma tę samą wagę, więc przesłaniała tamto ukrycie — pasek desktopowy zostawał
   widoczny obok hamburgera i wypychał stronę w bok na każdym telefonie. */
@media (max-width: 820px) {
  .nav { display: none; }
  .mega-panel { display: none; }
  .nav-chevron { display: none; }
}

/* ============================================================
   POTWIERDZENIE ZAMÓWIENIA (v0.9.28)
   ============================================================ */
.confirm-items { display: grid; gap: 2px; margin-bottom: 18px; }
.confirm-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.confirm-item:last-child { border-bottom: 0; }
.confirm-item a { color: var(--ink); }
.confirm-item a:hover { color: var(--brand); }
.confirm-item small { display: block; margin-top: 2px; color: var(--muted); font-size: .74rem; }
.confirm-item-qty { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.confirm-item-price { font-weight: 700; white-space: nowrap; }

.confirm-rows { display: grid; gap: 9px; }
.confirm-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.confirm-rows span { color: var(--muted); font-size: .82rem; }
.confirm-rows strong { text-align: right; }
.confirm-summary { padding-top: 14px; border-top: 1px solid var(--line); }
.confirm-total { padding-top: 9px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.confirm-total strong { color: var(--brand); font-size: 1.25rem; }
.confirm-net { color: var(--muted); font-size: .78rem; }
.confirm-net span { font-size: .78rem; }

.confirm-address { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.confirm-address span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .82rem; }
.confirm-address strong { line-height: 1.5; }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.confirm-actions .btn { flex: 1 1 auto; }

@media (max-width: 620px) {
  .confirm-item { grid-template-columns: minmax(0, 1fr) auto; }
  .confirm-item-qty { grid-column: 1; color: var(--ink); }
}

/* Podpowiedź pod pustym wynikiem wyszukiwania (v0.9.29) */
.catalog-empty-hint { margin-top: 14px; color: var(--muted); font-size: .82rem; }
.catalog-empty-hint a { color: var(--brand); text-decoration: underline; }

/* Pasek postępu do progu darmowej dostawy (v0.9.31) */
.cart-free-shipping {
  width: 100%;
  height: 6px;
  margin: 8px 0 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.cart-free-shipping > div {
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: width .25s ease;
}

/* Załączniki w zapytaniu o część (krok 22). Zdjęcie tabliczki znamionowej
   identyfikuje podzespół szybciej niż jakikolwiek opis. */
.inquiry-photo-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px }
.inquiry-photo { margin: 0; width: 116px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff }
.inquiry-photo img { display: block; width: 100%; height: 88px; object-fit: contain; background: #fff }
.inquiry-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 7px; border-top: 1px solid var(--line); font-size: .72rem; color: var(--muted) }
.inquiry-photo figcaption button { border: 0; background: none; padding: 2px 4px; border-radius: 6px; color: var(--brand); font-weight: 700; font-size: .72rem; cursor: pointer }
.inquiry-photo figcaption button:hover { background: var(--brand-soft) }
