/* ==========================================================================
   Soliko (strona-neon): Styl A, Ciepły Kontrakt (wersja bez AI slop)
   Zasady: 2 grubości fontu w treści (400/600), brak pigułek-eyebrow,
   brak pasków 4px po bokach kart, brak etykiet na zdjęciach, układ redakcyjny.
   ========================================================================== */

:root {
  --paper: #F7F4EE;
  --surface: #FFFFFF;
  --stone: #EFEAE0;
  --line: #DDD6C9;
  --line-strong: #8E877B;
  --ink: #1E1D1B;
  --ink-muted: #5C574F;

  --brand: #1E4D3B;
  --brand-hover: #163B2D;
  --brand-ink: #F7F4EE;
  --brand-tint: #E9F0EC;

  --cta: #A85232;
  --cta-hover: #8F4327;
  --cta-ink: #FFFFFF;

  --brass: #B5843D;
  --focus: #2F6FD6;
  --danger: #A33A2B;
  --ok: #1E6B45;

  --footer-bg: #172720;
  --footer-ink: #D8D4CC;
  --footer-link: #F7F4EE;
  --footer-muted: #A39E95;
  --footer-line: #2E4239;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-h2: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.1vw, 2.95rem);
  --fs-display: clamp(2.15rem, 1.5rem + 2.5vw, 3.25rem);

  --radius: 4px;
  --r-frame: 2px;
  --r-pill: 999px;
  --maxw: 1200px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--font);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-footer :focus-visible, .cta-dark :focus-visible { --focus: var(--brand-ink); }

/* Dwie grubości w całej treści: 400 tekst i 600 nagłówki/wyróżnienia (700 tylko słowo Soliko) */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-lead); line-height: 1.25; }
p { margin: 0 0 16px; max-width: 64ch; }
b, strong { font-weight: 600; }
small, .small { font-size: var(--fs-sm); }
.muted { color: var(--ink-muted); }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Sekcje ---------- */
.sec { padding: 56px 0; }
.sec-tight { padding: 40px 0; }
.sec-stone { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .sec { padding: 80px 0; }
  .sec-tight { padding: 52px 0; }
}
.sec-head { margin-bottom: 36px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sec-head p { margin: 0; color: var(--ink-muted); max-width: none; text-wrap: pretty; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: 600 var(--fs-base)/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 140ms var(--ease), box-shadow 200ms var(--ease);
  white-space: normal;
  text-align: center;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--cta-ink); box-shadow: 0 6px 18px rgba(168, 82, 50, 0.22); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(30, 77, 59, 0.2); }
.btn-secondary { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-secondary:hover { background: var(--brand-tint); color: var(--brand-hover); }
.btn-outline-light { background: transparent; border-color: rgba(247,244,238,0.55); color: var(--brand-ink); }
.btn-outline-light:hover { background: rgba(247,244,238,0.12); color: var(--brand-ink); }
.btn-sm { min-height: 44px; min-width: 44px; padding: 9px 16px; font-size: var(--fs-sm); }
.link-more { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; flex-shrink: 0; }
.brand-logo img { height: 32px; width: auto; }
.brand-logo span { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.025em; }

.nav-desktop { display: none; align-items: center; gap: 2px; }
.nav-desktop > a, .nav-drop > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 9px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-desktop > a:hover, .nav-drop > summary:hover, .nav-drop[open] > summary, .nav-desktop > a[aria-current="page"] { color: var(--brand); background: var(--paper); }
.nav-drop { position: relative; }
.nav-drop ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(30, 29, 27, 0.08);
  z-index: 120;
}
.nav-drop li a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-frame); text-decoration: none; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.nav-drop li a:hover, .nav-drop li a[aria-current="page"] { background: var(--paper); color: var(--brand); }

.header-right { position: relative; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: none; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); text-decoration: none; min-height: 44px; padding: 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.header-cta { display: none; white-space: nowrap; }
.header-cta.is-open { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.zestaw-pill[hidden] { display: none !important; }
@media (min-width: 1024px) { .zestaw-pill[data-hide-empty] { display: none !important; } }

/* Lekki podgląd zestawu pod przyciskiem w nagłówku */
.zestaw-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 28px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  box-shadow: 0 16px 40px rgba(30, 29, 27, 0.14);
  padding: 18px 20px;
  z-index: 140;
}
.zestaw-pop[hidden] { display: none; }
.wz-sum-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.wz-sum-head h3 { margin: 0; font-size: var(--fs-base); }
.wz-clear-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: 600 var(--fs-xs) var(--font);
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.wz-clear-btn:hover { color: var(--danger); }
.wz-sum-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  white-space: nowrap;
}
.wz-rm-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font: 600 1rem/1 var(--font);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.wz-rm-btn:hover {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--danger);
}

.zestaw-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.zestaw-pill:hover { border-color: var(--brand); color: var(--brand); }
.zestaw-pill b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.zestaw-pill.bump b { animation: pillBump 260ms var(--ease); }
@keyframes pillBump { 45% { transform: scale(1.24); } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-sm) var(--font);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 479.98px) {
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }
  .zestaw-pill span { display: none; }
  .brand-logo span { font-size: 1.25rem; }
  .brand-logo img { height: 26px; }
  .header-right { gap: 6px; }
  .nav-toggle { padding: 0 10px; }
}

.mobile-drawer { position: fixed; inset: 70px 0 0 0; background: var(--paper); z-index: 150; padding: 20px var(--gutter) 96px; overflow-y: auto; display: none; flex-direction: column; gap: 4px; }
.mobile-drawer.open { display: flex; }
.mobile-drawer a { display: flex; align-items: center; min-height: 48px; padding: 8px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-drawer .drawer-group { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-muted); margin-top: 16px; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--surface); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.mobile-bar .btn { min-height: 46px; font-size: var(--fs-sm); padding: 10px 14px; }
.mobile-bar { transition: transform .2s ease; }
body.bar-hidden .mobile-bar { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
@media (max-width: 1023.98px) { body { padding-bottom: 68px; } }

.breadcrumbs { padding-top: 18px; font-size: var(--fs-sm); color: var(--ink-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

/* Zapobiega przepełnieniu kolumn grid przy 320-360 px */
.hero-grid > *, .samples-grid > *, .seg-list > *, .mgrid > *, .pillars-layout > *, .owner-editorial > *, .dual-paths > *, .wz-layout > *, .kalk-box > *, .chain-ledger > * { min-width: 0; }

/* ---------- HERO (czyste, duża fotografia / karuzela mebli po prawej) ---------- */
.hero { padding: 32px 0 44px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.06; margin-bottom: 18px; }
.hero-lead { font-size: var(--fs-lead); color: var(--ink-muted); line-height: 1.5; margin-bottom: 26px; max-width: 48ch; }

.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-frame); }
.hero-media figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.hero-media figcaption b { color: var(--ink); }
.price-pill { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Zwarty Hero dla podstron segmentowych: zero pustki, przyciski w 1 linii, pasek kalkulatora nad zgięciem */
.hero--segment { padding: 18px 0 36px; }
@media (min-width: 1024px) {
  .hero--segment { padding: 20px 0 40px; }
  .hero--segment .hero-grid { grid-template-columns: 1fr 1.06fr; gap: 40px; }
}
.hero--segment .hero-lead { margin-bottom: 22px; }
.hero--segment .hero-media img { aspect-ratio: 16 / 10; max-height: 360px; }
.hero--segment .hero-media figcaption { font-size: var(--fs-xs); gap: 4px 12px; }

/* Rozsuwane panele architektoniczne w Hero (4 wnętrza widoczne jednocześnie) */
@media (min-width: 1024px) {
  .hero-grid.hero-grid--acc { grid-template-columns: 0.78fr 1.22fr; gap: 44px; }
}
@media (min-width: 1200px) {
  .hero-grid.hero-grid--acc { grid-template-columns: 0.76fr 1.24fr; gap: 48px; }
}

.hero-accordion {
  display: flex;
  gap: 10px;
  height: 390px;
  width: 100%;
}
@media (min-width: 1024px) { .hero-accordion { height: 430px; } }
@media (min-width: 1200px) { .hero-accordion { height: 468px; } }
@media (max-width: 767.98px) {
  .hero-accordion { flex-direction: column; height: 490px; gap: 8px; }
}

.hero-acc-card {
  position: relative;
  flex: 0.68 1 0%;
  min-width: 0;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--stone);
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  font-family: var(--font);
  transition: flex-grow 760ms cubic-bezier(.22, 1, .36, 1);
}
.hero-acc-card.is-active {
  flex-grow: 4.5;
  cursor: default;
}
@media (max-width: 767.98px) {
  .hero-acc-card { flex: 0.6 1 0%; }
  .hero-acc-card.is-active { flex-grow: 3.6; }
}
.hero-acc-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.hero-acc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: brightness(0.76) saturate(0.92);
  transition: transform 950ms cubic-bezier(.22, 1, .36, 1), filter 520ms var(--ease);
}
.hero-acc-card:hover img { filter: brightness(0.9) saturate(1); }
.hero-acc-card.is-active img {
  transform: scale(1);
  filter: brightness(1) saturate(1);
}

.hero-acc-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 23, 0.05) 38%, rgba(20, 26, 23, 0.8) 100%);
  opacity: 0.48;
  transition: opacity 420ms var(--ease);
  pointer-events: none;
}
.hero-acc-card.is-active .hero-acc-scrim { opacity: 1; }

.hero-acc-rail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  color: #F7F4EE;
  pointer-events: none;
  opacity: 1;
  transition: opacity 220ms var(--ease);
}
.hero-acc-card.is-active .hero-acc-rail { opacity: 0; }
.hero-acc-num {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
}
.hero-acc-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .hero-acc-rail { flex-direction: row; padding: 12px 16px; }
  .hero-acc-name { writing-mode: horizontal-tb; transform: none; }
}

.hero-acc-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #F7F4EE;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 360ms var(--ease) 170ms, transform 460ms cubic-bezier(.22, 1, .36, 1) 170ms;
  pointer-events: none;
}
.hero-acc-card.is-active .hero-acc-info {
  opacity: 1;
  transform: translateY(0);
}
.hero-acc-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.hero-acc-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 238, 0.78);
  margin-bottom: 3px;
}
.hero-acc-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.24;
  color: #FFFFFF;
}
.hero-acc-meta {
  display: block;
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.84);
  margin-top: 2px;
}
.hero-acc-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(30, 77, 59, 0.92);
  padding: 6px 10px;
  border-radius: var(--radius);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hero-acc-progress {
  display: block;
  margin-top: 12px;
  height: 2px;
  background: rgba(247, 244, 238, 0.26);
  border-radius: 2px;
  overflow: hidden;
}
.hero-acc-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #F7F4EE;
}
.hero-acc-card.is-active .hero-acc-progress-fill {
  animation: heroAccFill 4800ms linear forwards;
}
.hero-accordion.is-paused .hero-acc-card.is-active .hero-acc-progress-fill {
  animation-play-state: paused;
}
@keyframes heroAccFill { from { width: 0%; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-acc-card, .hero-acc-card img, .hero-acc-info { transition: none; }
  .hero-acc-card.is-active .hero-acc-progress-fill { animation: none; width: 100%; }
}

@media (min-width: 1024px) {
  .hero { padding: 40px 0 52px; }
  .hero-grid { grid-template-columns: 0.92fr 1.18fr; gap: 48px; }
}

/* ---------- Próbki tkanin (#probki) ---------- */
.samples-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .samples-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.samples-copy h2 { margin-bottom: 10px; }
.samples-copy > p { color: var(--ink-muted); margin-bottom: 20px; max-width: 44ch; }
.swatch-photo { margin: 0; }
.swatch-photo-frame { overflow: hidden; border-radius: var(--r-frame); background: var(--surface); }
.swatch-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.swatch-photo:hover img { transform: scale(1.035); }
.swatch-photo figcaption { padding-top: 10px; font-size: var(--fs-xs); color: var(--ink-muted); }
.plain-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; transition: box-shadow 260ms var(--ease); }
.form-card:focus-within { box-shadow: 0 12px 30px rgba(30, 29, 27, 0.06); }
@media (min-width: 768px) { .form-card { padding: 28px 30px; } }
.form-card-compact .field { margin-bottom: 12px; }
.form-card-compact input[type="text"],
.form-card-compact input[type="email"],
.form-card-compact input[type="tel"] { border-color: var(--line); background: var(--paper); transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
.form-card-compact input:focus { background: var(--surface); border-color: var(--brand); }
.form-card-compact .field.has-err input { border-color: var(--danger); background: var(--surface); }

/* Równa siatka 2x2 dla chipów (zero sierotek) + przełącznik trybu 2-kolumnowy */
.chip-grid-2 { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 460px) { .chip-grid-2 { grid-template-columns: 1fr 1fr; } }
.chip-grid-2 .chip-opt span { width: 100%; justify-content: center; text-align: center; }

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mode-switch label { position: relative; display: flex; margin: 0; font-weight: 600; }
.mode-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-switch span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.mode-switch input:checked + span {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 2px 6px rgba(30, 29, 27, 0.08);
}
.mode-switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Formularze ---------- */
.row-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 14px; }
.field label, .field-label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 400 var(--fs-base)/1.4 var(--font);
}
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 2px solid rgba(30,77,59,0.22); outline-offset: 0; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--danger); }
.err { display: none; font-size: var(--fs-xs); color: var(--danger); font-weight: 600; margin-top: 5px; }
.field.has-err .err, .has-err > .err { display: block; }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--ink); cursor: pointer; min-height: 44px; padding: 6px 0; }
.check-label input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form-msg { margin: 12px 0 0; font-size: var(--fs-sm); font-weight: 600; }
.form-msg.is-ok { color: var(--ok); padding: 12px 14px; background: var(--brand-tint); border-radius: var(--r-frame); border: 1px solid var(--brand); }
.form-msg.is-err { color: var(--danger); }
.rodo { font-size: 0.75rem; color: var(--ink-muted); line-height: 1.5; margin: 14px 0 0; max-width: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 140ms var(--ease);
}
.chip-opt span:hover { border-color: var(--brand); color: var(--brand); }
.chip-opt span:active { transform: scale(0.98); }
.chip-opt input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Segmenty: interaktywny indeks z podglądem zdjęcia ---------- */
.seg-showcase { display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .seg-showcase { grid-template-columns: 1fr 380px; gap: 44px; } }
@media (min-width: 1200px) { .seg-showcase { grid-template-columns: 1fr 440px; gap: 52px; } }
.seg-showcase > * { min-width: 0; }

.seg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.seg-list li { border-bottom: 1px solid var(--line); transition: opacity 240ms var(--ease); }
@media (hover: hover) {
  .seg-list:hover li { opacity: 0.56; }
  .seg-list:hover li:hover, .seg-list:hover li:focus-within { opacity: 1; }
}
.seg-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 16px;
  padding: 20px 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 220ms var(--ease), padding-left 240ms cubic-bezier(.22, 1, .36, 1);
}
.seg-row:hover, .seg-row:focus-visible { background: var(--surface); color: var(--ink); padding-left: 16px; }
.sec-surface .seg-row:hover, .sec-surface .seg-row:focus-visible { background: var(--paper); }
.seg-num {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  padding-top: 5px;
  transition: color 220ms var(--ease);
}
.seg-row:hover .seg-num, .seg-row:focus-visible .seg-num, .seg-row.is-active .seg-num { color: var(--cta); }
.seg-copy { min-width: 0; }
.seg-row h3 { margin: 0 0 4px; font-size: var(--fs-lead); line-height: 1.25; }
.seg-row p { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); max-width: none; line-height: 1.45; }
.seg-cta {
  grid-column: 2;
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-muted);
  justify-self: start;
  line-height: 1;
  transition: color 220ms var(--ease), transform 240ms cubic-bezier(.22, 1, .36, 1);
}
.seg-row:hover .seg-cta, .seg-row:focus-visible .seg-cta, .seg-row.is-active .seg-cta {
  color: var(--brand);
  transform: translateX(4px);
}
@media (min-width: 768px) {
  .seg-row { grid-template-columns: 32px 1fr auto; align-items: center; gap: 4px 24px; padding: 22px 14px; }
  .seg-cta { grid-column: auto; margin-top: 0; white-space: nowrap; justify-self: end; }
}

.seg-preview { display: none; margin: 0; }
@media (min-width: 1024px) { .seg-preview { display: block; height: 100%; } }
.seg-preview-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--r-frame);
  overflow: hidden;
  background: var(--stone);
}
.seg-preview-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 420ms cubic-bezier(.22, 1, .36, 1), transform 620ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.seg-preview-stage img.is-active { opacity: 1; transform: scale(1); }
.seg-preview-stage img.is-packshot { background: #FFFFFF; object-fit: contain; padding: 24px; }

/* ---------- Katalog: czyste zdjęcia bez naklejek, minimalne ramy ---------- */
.mgrid { display: grid; gap: 32px 24px; }
@media (min-width: 640px) { .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mgrid { grid-template-columns: repeat(3, 1fr); } }

.mcard { display: flex; flex-direction: column; }
.mcard-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; border-radius: var(--r-frame); cursor: pointer; text-decoration: none; }
.mcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.22, 1, .36, 1), opacity 320ms cubic-bezier(.22, 1, .36, 1); }
.mcard-thumb--packshot { background: #FFFFFF; border: 1px solid var(--line); padding: 14px; display: flex; align-items: center; justify-content: center; }
.mcard-thumb--packshot img.mcard-img-studio { object-fit: contain; }
.mcard-thumb img.mcard-img-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.mcard:hover .mcard-thumb img.mcard-img-studio { transform: scale(1.035); }
@media (hover: hover) {
  .mcard:hover .mcard-thumb.has-scene img.mcard-img-scene { opacity: 1; transform: scale(1.02); }
  .mcard:hover .mcard-thumb.has-scene img.mcard-img-studio { opacity: 0; }
}
/* Tryb widoku "We wnętrzach" (Bolia / Muuto / Noti) */
.mgrid.is-scene-mode .mcard-thumb.has-scene { padding: 0; border-color: transparent; }
.mgrid.is-scene-mode .mcard-thumb.has-scene img.mcard-img-scene { opacity: 1; }
.mgrid.is-scene-mode .mcard-thumb.has-scene img.mcard-img-studio { opacity: 0; padding: 14px; background: #FFFFFF; }
@media (hover: hover) {
  .mgrid.is-scene-mode .mcard:hover .mcard-thumb.has-scene { border-color: var(--line); }
  .mgrid.is-scene-mode .mcard:hover .mcard-thumb.has-scene img.mcard-img-scene { opacity: 0; }
  .mgrid.is-scene-mode .mcard:hover .mcard-thumb.has-scene img.mcard-img-studio { opacity: 1; transform: scale(1.02); }
}
.mcard-title a { color: inherit; text-decoration: none; }
.mcard-title a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.btn-spec { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* Przełącznik widoku katalogu (Studyjne / We wnętrzach) */
.cat-toolbar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.view-switch button {
  min-height: 36px;
  padding: 4px 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-muted);
  font: 600 var(--fs-xs) var(--font);
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.view-switch button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--brand-ink);
}
.ai-disclosure {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ---------- Karta produktu (/meble/soliko-XXX/) ---------- */
.pdp-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .pdp-grid { grid-template-columns: 1.12fr 0.88fr; gap: 48px; } }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-frame);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-stage.is-scene { padding: 0; border-color: transparent; background: var(--stone); }
.pdp-stage img { width: 100%; height: 100%; object-fit: contain; }
.pdp-stage.is-scene img { object-fit: cover; }
.pdp-stage-note { font-size: var(--fs-xs); color: var(--ink-muted); margin: 0; min-height: 1.4em; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.pdp-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-thumb.is-scene-thumb { padding: 0; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.is-scene-thumb img { object-fit: cover; }
.pdp-thumb.is-active, .pdp-thumb:hover { border-color: var(--brand); }
.pdp-thumb-tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  background: rgba(24, 23, 21, 0.78);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 2px;
  line-height: 1.2;
}
.pdp-series { font-size: var(--fs-xs); font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.pdp-title { margin: 0 0 6px; font-size: clamp(1.75rem, 1.45rem + 1vw, 2.35rem); line-height: 1.12; }
.pdp-subtitle { margin: 0 0 14px; font-size: var(--fs-lead); font-weight: 600; color: var(--ink); }
.pdp-lead { margin: 0 0 22px; color: var(--ink-muted); font-size: var(--fs-base); line-height: 1.55; max-width: 56ch; }
.pdp-buy {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  display: grid;
  gap: 14px;
}
.pdp-var-select {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font: 500 var(--fs-sm) var(--font);
  color: var(--ink);
}
.pdp-price { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.25; }
.pdp-price small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--brand); margin-top: 3px; }
.pdp-cta-stack { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-cta-stack .btn { flex: 1 1 200px; }
.pdp-facts {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.pdp-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
}
.pdp-facts span { color: var(--ink-muted); }
.pdp-facts b { color: var(--ink); text-align: right; }
.pdp-spec-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .pdp-spec-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.pdp-fabric-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .pdp-fabric-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pdp-fabric-grid { grid-template-columns: repeat(4, 1fr); } }
.pdp-fabric-item {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
}
.pdp-fabric-item h3 { margin: 0 0 6px; font-size: var(--fs-base); color: var(--brand); }
.pdp-fabric-item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.45; }
.mcard-body { padding: 14px 0 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mcard-title { font-size: var(--fs-lead); font-weight: 600; margin: 0; }
.mcard-title-btn { background: none; border: 0; padding: 10px 0; margin: -10px 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.mcard-title-btn:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.mcard-series { font-size: var(--fs-xs); color: var(--ink-muted); white-space: nowrap; }
.mcard-sub { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-top: 2px; }
.mcard-type { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.45; }
.mcard-vars { font-size: var(--fs-xs); color: var(--ink-muted); margin-top: 2px; }
.mcard-foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.mcard-price { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.35; }
.mcard-price small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--brand); }
.mcard-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-spec {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-sm) var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.btn-spec:hover { border-color: var(--brand); color: var(--brand); }
.btn-add {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font: 600 var(--fs-sm) var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.btn-add:hover { background: var(--brand); color: var(--brand-ink); }
.btn-add.is-added { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }

/* Pasek filtrów katalogu + wyszukiwarka */
.cat-toolbar {
  position: relative;
  padding: 14px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.cat-toolbar-top {
  display: grid;
  gap: 10px;
  align-items: center;
}
@media (min-width: 960px) {
  .cat-toolbar-top { grid-template-columns: 1fr 270px; gap: 18px; }
}
.cat-search input {
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 400 var(--fs-sm)/1.4 var(--font);
}
.cat-search input:focus { border-color: var(--brand); outline: 2px solid rgba(30,77,59,0.22); }
.cat-toolbar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}
.cat-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.cat-more { position: static; }
.cat-more-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-xs)/1 var(--font);
  cursor: pointer;
  user-select: none;
}
.cat-more-btn::-webkit-details-marker { display: none; }
.cat-more[open] .cat-more-btn { border-color: var(--brand); color: var(--brand); }
.cat-more-btn [data-filter-badge] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 11px;
}
.cat-more-btn [data-filter-badge][hidden] { display: none; }
.cat-more-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 25;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(24, 23, 21, 0.10);
  display: grid;
  gap: 14px;
}
.cat-toolbar .btn-sm { min-height: 38px; padding: 6px 12px; font-size: var(--fs-xs); }
.cat-toolbar button[aria-pressed="true"],
[data-wz-cat][aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* Modal specyfikacji technicznej (<dialog>) */
.spec-dialog {
  width: min(960px, calc(100vw - 24px));
  max-height: min(90vh, 840px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(24, 23, 21, 0.24);
  overflow: hidden;
  margin: auto;
}
.spec-dialog::backdrop { background: rgba(24, 23, 21, 0.56); backdrop-filter: blur(2px); }
.spec-dialog-inner {
  display: grid;
  max-height: min(90vh, 840px);
  overflow-y: auto;
}
@media (min-width: 860px) {
  .spec-dialog-inner { grid-template-columns: 1.05fr 0.95fr; }
}
.spec-media {
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .spec-media { border-bottom: 0; border-right: 1px solid var(--line); }
}
.spec-stage {
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.spec-stage img { width: 100%; height: 100%; object-fit: contain; }
.spec-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.spec-thumb {
  aspect-ratio: 4 / 3;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-thumb img { width: 100%; height: 100%; object-fit: contain; }
.spec-thumb.is-active, .spec-thumb:hover { border-color: var(--brand); }
.spec-content {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spec-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.spec-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: 600 1.2rem/1 var(--font);
  cursor: pointer;
}
.spec-close:hover { border-color: var(--brand); color: var(--brand); }
.spec-series { font-size: var(--fs-xs); font-weight: 600; color: var(--brand); }
.spec-title { margin: 2px 0 4px; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); }
.spec-sub { margin: 0; font-size: var(--fs-sm); color: var(--ink-muted); max-width: none; }
.spec-dl {
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
}
.spec-dl > div {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  line-height: 1.45;
}
.spec-dl dt { font-weight: 600; color: var(--ink); }
.spec-dl dd { margin: 0; color: var(--ink-muted); }
.spec-note {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--brand-tint);
  border: 1px solid rgba(30, 77, 59, 0.22);
  font-size: var(--fs-xs);
  color: var(--ink);
  line-height: 1.45;
}
.spec-buy {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  gap: 10px;
}
.spec-buy select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font: 400 var(--fs-sm) var(--font);
  color: var(--ink);
}
.spec-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.spec-price { font-size: var(--fs-lead); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-price small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--brand); }

/* ---------- Krótsza droga mebla + obsługa (bez pudełek w pudełkach) ---------- */
.chain-ledger {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
@media (min-width: 768px) { .chain-ledger { grid-template-columns: 1.2fr 0.85fr 0.85fr 1.2fr; } }
.chain-col { padding: 20px 0; border-bottom: 1px solid var(--line); }
.chain-col:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .chain-col { padding: 22px 20px; border-bottom: 0; border-right: 1px solid var(--line); }
  .chain-col:first-child { padding-left: 0; }
  .chain-col:last-child { border-right: 0; padding-right: 0; }
}
.chain-col b { display: block; font-size: var(--fs-base); margin-bottom: 4px; color: var(--brand); }
.chain-col small { display: block; font-size: var(--fs-sm); color: var(--ink-muted); }
.chain-col.is-cut { opacity: 0.55; }
.chain-col.is-cut b { color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }

.pillars-layout { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) { .pillars-layout { grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; } }
.pillars-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillars-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pillars-list h3 { font-size: var(--fs-base); margin: 0 0 6px; color: var(--ink); }
.pillars-list p { font-size: var(--fs-base); color: var(--ink-muted); margin: 0; }

/* Otwarta siatka redakcyjna 2x2 (bez pudełek, bez ikon, bez stat-badge'y) */
.pillars-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 36px; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
.pillars-grid li { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.pillars-grid li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}
.pillars-grid li:hover::before { transform: scaleX(1); }
.pillars-grid h3 { font-size: var(--fs-base); margin: 0 0 8px; color: var(--ink); line-height: 1.3; }
.pillars-grid p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; line-height: 1.55; }

.craft-figure { margin: 0; }
.craft-figure-frame { overflow: hidden; border-radius: var(--r-frame); background: var(--stone); }
.craft-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.craft-figure:hover img { transform: scale(1.035); }
.craft-figure figcaption { padding-top: 12px; font-size: var(--fs-xs); color: var(--ink-muted); }
.craft-figure figcaption b { display: block; color: var(--ink); font-size: var(--fs-base); margin-bottom: 4px; }

/* ---------- Oś procesu (4 kroki na płynnej osi czasu) + koordynator ---------- */
.process-track-wrap { position: relative; }
.process-rail {
  display: none;
  position: absolute;
  top: 23px;
  left: 24px;
  width: 0;
  height: 2px;
  background: var(--line-strong);
  z-index: 1;
  overflow: hidden;
}
.process-rail-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform, opacity;
  transition: opacity 280ms var(--ease);
}
.process-rail-fill.is-fading { opacity: 0; }
@media (min-width: 1024px) { .process-rail { display: block; } }

.steps-4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; position: relative; z-index: 2; }
@media (min-width: 768px) { .steps-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps-4 li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  cursor: pointer;
  outline: none;
}
@media (min-width: 1024px) {
  .steps-4 li {
    display: block;
  }
}
.step-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease), box-shadow 320ms var(--ease), transform 320ms cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 1024px) {
  .step-node { margin-bottom: 20px; }
}
.steps-4 li.is-passed .step-node {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand);
}
.steps-4 li.is-current .step-node {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 0 0 6px rgba(30, 77, 59, 0.14);
  transform: scale(1.06);
}
.steps-4 li:focus-visible .step-node {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.step-body { min-width: 0; }
.steps-4 h3 {
  font-size: var(--fs-lead);
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.25;
  transition: color 260ms var(--ease);
}
.steps-4 li.is-current h3 { color: var(--brand); }
.step-time {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.steps-4 p {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
  text-wrap: pretty;
  transition: color 260ms var(--ease);
}
.step-lines {
  display: grid;
  gap: 5px;
}
.step-lines span { display: block; }
.steps-4 li.is-current p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .process-rail-fill { transform: scaleX(1); }
  .steps-4 li .step-node { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
}

.owner-editorial {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.owner-editorial:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 900px) { .owner-editorial { grid-template-columns: 230px 1fr; gap: 44px; } }
.owner-editorial > * { min-width: 0; }
.owner-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-frame); }
.owner-kicker { font-size: var(--fs-sm); font-weight: 600; color: var(--brand); margin: 0 0 10px; }
.owner-quote { font-size: clamp(1.12rem, 1rem + 0.45vw, 1.32rem); font-weight: 600; line-height: 1.45; color: var(--ink); margin: 0 0 18px; max-width: 58ch; text-wrap: pretty; }
.owner-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; font-size: var(--fs-sm); color: var(--ink-muted); margin: 0 0 22px; max-width: none; }
.owner-meta .owner-name { color: var(--ink-muted); }
.owner-meta .owner-name strong { color: var(--ink); }
.owner-meta .owner-contact { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.owner-meta a { white-space: nowrap; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.owner-meta a:hover { border-bottom-color: var(--brand); }

.kalk-strip {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
}
.kalk-strip > div { flex: 1 1 360px; }
.kalk-strip b { display: block; font-size: var(--fs-lead); color: var(--ink); }
.kalk-strip small { display: block; color: var(--ink-muted); font-size: var(--fs-sm); margin-top: 4px; }

/* Wyróżniony, ciemnozielony pas kalkulatora na 1. ekranie podstron segmentowych */
.kalk-strip.kalk-strip--hero {
  margin-top: 24px;
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  padding: 20px 26px;
}
.kalk-strip.kalk-strip--hero b { color: var(--brand-ink); font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); }
.kalk-strip.kalk-strip--hero small { color: rgba(247, 244, 238, 0.86); }
.kalk-strip.kalk-strip--hero .btn-kalk-light {
  background: #FFFFFF;
  color: var(--brand);
  border: 1.5px solid #FFFFFF;
  font-weight: 600;
  white-space: nowrap;
}
.kalk-strip.kalk-strip--hero .btn-kalk-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--brand-hover);
}

/* ---------- Dwie ścieżki na dole ---------- */
.dual-paths { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 1024px) { .dual-paths { grid-template-columns: 0.9fr 1.1fr; gap: 32px; } }
.cta-dark {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--r-frame);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.cta-dark h2 { color: var(--brand-ink); margin-bottom: 12px; }
.cta-dark p { color: rgba(247, 244, 238, 0.88); }
.cta-dark ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(247,244,238,0.2); }
.cta-dark li { padding: 10px 0; border-bottom: 1px solid rgba(247,244,238,0.2); font-size: var(--fs-sm); color: rgba(247, 244, 238, 0.94); }
/* Jasny wariant na stronach branż (26.11.2026): nad ciemną stopką nie stawiamy drugiego ciemnego bloku;
   treść i przyciski od góry, bez rozciągania do wysokości formularza */
.cta-dark.cta-light { background: var(--brand-tint); color: var(--ink); border: 1px solid var(--line); justify-content: flex-start; align-self: start; }
@media (min-width: 1024px) { .dual-paths > .cta-dark.cta-light { position: sticky; top: 96px; } }
.cta-dark.cta-light h2 { color: var(--brand); }
.cta-dark.cta-light p { color: var(--ink-muted); }
.cta-dark.cta-light ul { border-top-color: rgba(30, 77, 59, 0.18); }
.cta-dark.cta-light li { color: var(--ink); border-bottom-color: rgba(30, 77, 59, 0.18); }
.cta-dark.cta-light :focus-visible { --focus: var(--brand); }

.cta-banner {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--r-frame);
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}
@media (min-width: 768px) { .cta-banner { padding: 44px 48px; } }
.cta-banner h2 { color: var(--brand-ink); margin: 0 0 8px; }
.cta-banner p { color: rgba(247, 244, 238, 0.88); margin: 0; max-width: 52ch; }

/* Płaski podpis opiekuna w formularzu (bez zagnieżdżonego pudełka!) */
.signer-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.signer-inline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.signer-inline p { margin: 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-muted); }
.signer-inline b { display: block; color: var(--ink); }

/* ---------- Zestawy przykładowe i Harmonogram partii ---------- */
.kit-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }
.kit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-frame); overflow: hidden; display: flex; flex-direction: column; }
.kit-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); border-bottom: 1px solid var(--line); }
.kit-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
.kit-card:hover .kit-thumb img { transform: scale(1.03); }
.kit-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.kit-body .btn { margin-top: auto; }
.kit-card h3 { margin: 0; font-size: var(--fs-lead); }
.kit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.kit-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--stone); font-size: var(--fs-sm); }
.kit-list li > b { white-space: nowrap; flex: none; }
.kit-link { background: none; border: 0; padding: 11px 0; margin: -11px 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.kit-link:hover { color: var(--brand); text-decoration-color: var(--brand); }
.kit-price { font-size: var(--fs-base); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin: 0; }
.kit-price small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--brand); }

/* Wizualny wybór gotowych zestawów w kreatorze (/zestaw/) */
.wz-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .wz-presets { grid-template-columns: repeat(4, 1fr); } }
.wz-preset-btn {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.wz-preset-btn:hover { border-color: var(--brand); transform: translateY(-2px); }
.wz-preset-btn.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(30, 77, 59, 0.16); }
.wz-preset-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--stone); }
.wz-preset-btn span { padding: 8px 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); line-height: 1.3; }

.phases-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; }
.ph-row { display: grid; gap: 8px; align-items: center; padding: 8px 0; }
@media (min-width: 768px) { .ph-row { grid-template-columns: 200px 1fr; gap: 16px; } }
.ph-track { position: relative; height: 24px; background: var(--stone); border-radius: var(--r-frame); overflow: hidden; }
.ph-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 2px; }
.ph-prod { background: var(--brand); opacity: 0.72; }
.ph-del { background: var(--cta); }

/* ---------- Kreator (/zestaw/) ---------- */
.wz-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; margin-bottom: 16px; }
.wz-head h1 { font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.3rem); margin: 0 0 6px; }
.wz-head p { margin: 0; max-width: none; }
.wz-alt { font-size: var(--fs-sm); color: var(--ink-muted); }
.wz-alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wz-steps-nav { display: flex; gap: 8px; margin: 0 0 22px; padding: 0 0 16px; list-style: none; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.wz-steps-nav button { min-height: 44px; padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font: 600 var(--fs-sm) var(--font); color: var(--ink-muted); cursor: pointer; }
.wz-steps-nav button.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.wz-steps-nav button.is-done { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

.wz-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .wz-layout { grid-template-columns: 1fr 340px; } }
.wz-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; position: sticky; top: 90px; }
.wz-item-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 639.98px) {
  .wz-item-row { grid-template-columns: 60px 1fr; }
  .wz-qty { grid-column: 1 / -1; justify-self: start; }
}
.wz-item-row img { width: 76px; height: 56px; object-fit: contain; background: #FFFFFF; border: 1px solid var(--line); padding: 3px; border-radius: var(--r-frame); }
.wz-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.wz-item-row > * { min-width: 0; }
.wz-item-row .mcard-title-btn { padding: 13px 0; margin: -13px 0; }
.wz-qty button { width: 44px; height: 44px; border: 0; background: none; font: 600 1.15rem var(--font); color: var(--brand); cursor: pointer; }
.wz-qty span { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.wz-var-select { max-width: 100%; min-height: 44px; margin-top: 6px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 400 var(--fs-xs) var(--font); background: var(--surface); }

.fabric-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .fabric-cards { grid-template-columns: 1fr 1fr; } }
.fabric-card { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--surface); cursor: pointer; }
.fabric-card input { accent-color: var(--brand); margin-right: 8px; }
.fabric-card.is-selected { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Kalkulator (/kalkulator/) ---------- */
.kalk-box { display: grid; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 24px; }
@media (min-width: 960px) { .kalk-box { grid-template-columns: 1.15fr 0.85fr; padding: 34px; align-items: center; } }
.range-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--brand); min-height: 44px; }
.range-val { min-width: 86px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.kalk-out { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 28px 24px; text-align: center; }
.kalk-out output { display: block; font-size: var(--fs-display); font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.05; margin: 8px 0 18px; }
.kalk-dl { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: left; }
.kalk-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.kalk-dl dt { color: var(--ink-muted); }
.kalk-dl dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Tabela warunków ---------- */
.terms-dl { margin: 0; border-top: 1px solid var(--ink); }
.terms-dl > div { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .terms-dl > div { grid-template-columns: 220px 1fr; gap: 24px; } }
.terms-dl dt { font-weight: 600; color: var(--ink); }
.terms-dl dd { margin: 0; color: var(--ink-muted); }

/* Editorial O Soliko: manifest + dla kogo pracujemy (zero SaaS-owych kafelek z ikonkami) */
.about-split {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: 0.78fr 1.22fr; gap: 64px; }
  .about-sticky { position: sticky; top: 96px; }
}
.about-sticky h2 { margin-top: 0; }
.about-sticky p { margin: 12px 0 0; max-width: 38ch; }
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.about-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 260ms var(--ease);
}
.about-points li:hover { padding-left: 6px; }
.about-num {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.about-points h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}
.about-points p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 58ch;
}

.about-audiences {
  display: grid;
  gap: 24px 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .about-audiences { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .about-audiences { grid-template-columns: repeat(4, 1fr); } }
.about-aud {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0 8px;
  border-top: 2px solid var(--line-strong);
  text-decoration: none;
  color: inherit;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.about-aud:hover {
  border-top-color: var(--brand);
  transform: translateY(-2px);
}
.about-aud h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.about-aud p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.5;
  flex: 1;
}
.about-aud-link {
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
  transition: transform 220ms var(--ease);
  display: inline-block;
}
.about-aud:hover .about-aud-link { transform: translateX(4px); }

/* Wizytówka kontaktowa i karta konsultacji (/kontakt/) */
.contact-card {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.contact-person b {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.contact-person span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  margin-top: 2px;
}
.contact-meta {
  margin: 0;
  display: grid;
  gap: 8px;
}
.contact-meta > div {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: baseline;
  gap: 12px;
  font-size: var(--fs-sm);
}
.contact-meta dt {
  color: var(--ink-muted);
  font-weight: 400;
}
.contact-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.contact-meta dd a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 77, 59, 0.28);
  padding-bottom: 1px;
  transition: border-color 180ms var(--ease);
}
.contact-meta dd a:hover { border-bottom-color: var(--brand); }
.consult-card {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-frame);
}
.consult-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.consult-card p { margin: 0; line-height: 1.55; }

/* ---------- Tabela porównawcza (AI SEO / czytelność B2B) ---------- */
.cmp-wrap { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: var(--fs-sm); }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.cmp-table thead th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); background: transparent; }
.cmp-table tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.cmp-table td { color: var(--ink-muted); }
.cmp-table th.is-soliko, .cmp-table td.is-soliko { background: var(--surface); color: var(--ink); }
.cmp-table thead th.is-soliko { color: var(--brand); }
.cmp-table td.is-soliko { font-weight: 600; }

/* ---------- FAQ redakcyjne (czyste linie, bez pudełek) ---------- */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 16px 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand);
  flex: none;
  line-height: 1;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-body { padding: 0 0 18px; color: var(--ink-muted); font-size: var(--fs-base); }
.faq-body p { max-width: 74ch; margin: 0; }
.faq-item[open] .faq-body { animation: faqReveal 260ms cubic-bezier(.22, 1, .36, 1); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-body p { margin: 0; max-width: 68ch; }
.meta-updated { margin-top: 14px; font-size: var(--fs-xs); color: var(--ink-muted); }

/* ---------- Subtelny ruch redakcyjny (scroll reveal, zero AI slop) ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms cubic-bezier(.22, 1, .36, 1), transform 520ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal-init.is-in { opacity: 1; transform: none; }
.about-aud.is-in:hover { transform: translateY(-2px); transition-delay: 0ms !important; }
.mode-note-fade { transition: opacity 180ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
  .mcard:hover .mcard-thumb img, .swatch-photo:hover img, .hero-slide img { transform: none; transition: none; }
  .hero-bar-btn.is-active .hero-bar-fill { animation: none; transform: scaleX(1); }
  .btn:active, .chip-opt span:active { transform: none; }
  .faq-item[open] .faq-body { animation: none; }
}

/* ---------- Stopka ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 0 28px; }
.foot-grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--footer-line); }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--fs-sm); color: var(--footer-link); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--footer-ink); text-decoration: none; font-size: var(--fs-sm); }
.site-footer li a:hover { color: var(--footer-link); text-decoration: underline; }
.site-footer p { font-size: var(--fs-sm); color: var(--footer-muted); }
.site-footer .foot-contact a { color: var(--footer-link); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: var(--fs-xs); color: var(--footer-muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 180;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: #F4C4A8; font-weight: 600; }
@media (min-width: 1024px) { .toast { bottom: 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Cele dotyku min. 44 px (audyt 27.11.2026) */
.mcard-title a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.chip-row .btn-sm, .cat-more-btn, .view-switch button { min-height: 44px; }
.cat-search input { min-height: 44px; }
.wz-clear-btn { min-height: 44px; padding-inline: 8px; }
.wz-rm-btn { min-width: 44px; min-height: 44px; }
.pdp-buy a.small { padding: 11px 0; }

/* Hero, wariant B: zdjęcie na całą szerokość (27.11.2026) */
.hero-full { position: relative; display: flex; align-items: flex-end; min-height: 560px; height: 78vh; max-height: 760px; overflow: hidden; color: #fff; background: #2a2622; }
.hero-full-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.05) 25%, rgba(20,18,15,.8) 100%); }
.hero-full-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 40px; }
.hero-full h1 { color: #fff; font-size: var(--fs-display); line-height: 1.06; max-width: 18ch; margin: 0 0 16px; }
.hero-full-lead { color: rgba(255,255,255,.9); font-size: var(--fs-lead); margin: 0 0 26px; max-width: 40ch; }
.hero-full .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.hero-full .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (min-width: 768px) {
  .hero-full::after { background: linear-gradient(90deg, rgba(20,18,15,.74) 0%, rgba(20,18,15,.46) 45%, rgba(20,18,15,0) 75%), linear-gradient(180deg, rgba(20,18,15,0) 50%, rgba(20,18,15,.5) 100%); }
  .hero-full-inner { padding-bottom: 64px; }
}

/* 30.11.2026: termin na kartach, uwaga o odcieniu, tekst hero na scianie na telefonie */
.mcard-price .mcard-time { display: block; color: var(--brand); font-weight: 500; margin-top: 2px; }
.pdp-fabric-note { margin: 18px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); max-width: 70ch; }
@media (max-width: 767.98px) {
  /* Telefon: najpierw zdjecie lozka, pod nim tekst i przyciski na ciemnym tle (nic nie lezy na jasnym lozku) */
  .hero-full { display: block; height: auto; min-height: 0; max-height: none; }
  .hero-full::after { display: none; }
  .hero-full-img { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 3; object-position: 72% 58%; }
  .hero-full-inner { padding-top: 26px; padding-bottom: 30px; }
  .hero-full h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); line-height: 1.1; margin-bottom: 12px; }
  .hero-full-lead { margin-bottom: 22px; }
  .hero-full .actions { display: flex; flex-direction: column; gap: 10px; }
  .hero-full .actions .btn { width: 100%; justify-content: center; }
}
@media (min-width: 768px) {
  /* Komputer: tekst wyzej (srodek zdjecia) i wezej, zeby nie wchodzil na lozko */
  .hero-full { align-items: center; }
  .hero-full-inner { padding-top: 40px; padding-bottom: 40px; }
  .hero-full h1 { max-width: 16ch; }
}

/* 01.12.2026: powiekszanie zdjec na karcie produktu */
.pdp-var-hint { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--ink-muted); line-height: 1.45; margin-top: 2px; }
.pdp-stage { position: relative; }
.pdp-stage.is-zoomable img[data-pdp-main] { cursor: zoom-in; }
.pdp-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255,255,255,.92); color: var(--ink); font: inherit; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
.pdp-zoom-hint:hover { background: #fff; border-color: var(--line-strong); }
.pdp-zoom-hint:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(18,16,14,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb[hidden] { display: none; }
.lb-fig { position: relative; grid-column: 2; grid-row: 1; margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 0 64px; overflow: hidden; }
.lb-viewport { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; background: #fff; cursor: zoom-in; transition: transform .25s ease; touch-action: pinch-zoom; }
.lb-img.is-zoomed { transform: scale(2.2); cursor: zoom-out; will-change: transform; }
.lb-cap { position: relative; z-index: 1; flex-shrink: 0; color: rgba(255,255,255,.75); font-size: var(--fs-xs); margin-top: 12px; text-align: center; max-width: 70ch; }
.lb-btn { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 12px; right: 12px; font-size: 28px; }
.lb-count { position: absolute; z-index: 2; top: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: var(--fs-sm); }
@media (max-width: 767.98px) {
  .lb { grid-template-columns: 0 1fr 0; }
  .lb-fig { padding: 56px 8px 84px; }
  .lb-prev, .lb-next { position: fixed; bottom: 18px; top: auto; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } }

/* 03.12.2026: wiekszy pasek menu na komputerze (mniej pozycji, nie ginie przy duzym zdjeciu) */
@media (min-width: 1200px) {
  .header-inner { min-height: 88px; gap: 24px; }
  .brand-logo { gap: 12px; }
  .brand-logo img { height: 40px; }
  .brand-logo span { font-size: 1.75rem; }
  .nav-desktop { gap: 6px; }
  .nav-desktop > a, .nav-drop > summary { font-size: 1.0625rem; padding: 0 14px; min-height: 48px; }
  .header-phone { font-size: var(--fs-base); }
  .header-cta.btn-sm { font-size: var(--fs-base); padding: 12px 22px; min-height: 48px; }
}

/* 03.12.2026: H1 karty modelu = numer + typ mebla (wyglad bez zmian) */
.pdp-h1 { margin: 0; font-size: inherit; }
.pdp-h1 .pdp-title, .pdp-h1 .pdp-subtitle { display: block; }
.pdp-h1 .pdp-subtitle { line-height: 1.4; letter-spacing: normal; }
/* 03.12.2026: naglowki kolumn stopki jako etykiety (bez H2, wyglad bez zmian) */
.site-footer .foot-h { font-family: var(--font); font-size: var(--fs-sm); color: var(--footer-link); margin: 0 0 12px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
/* 03.12.2026: hero glownej, recznie lamane linie na komputerze */
@media (min-width: 768px) {
  .hero-full h1 { max-width: none; font-size: clamp(2rem, 1.2rem + 2vw, 2.85rem); }
  .hero-full h1 .hl { display: block; }
  .hero-full-lead { max-width: none; }
}