/* ============ Tokeny ============ */
:root {
  --bg: #f2f3f0;
  --surface: #ffffff;
  --surface-2: #f7f8f6;
  --ink: #101418;
  --ink-2: #47505a;
  --ink-3: #7f8790;
  --line: #e3e6e6;
  --line-2: #d2d7d9;
  --accent: #ff5a1f;
  --accent-600: #e84a10;
  --accent-50: #fff1ea;
  --ice: #e9f0f5;
  --ice-2: #d6e3ec;
  --dark: #0d1115;
  --dark-2: #171c22;
  --ok: #1c8a55;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 20, 24, .04), 0 10px 30px -18px rgba(16, 20, 24, .22);
  --shadow-lg: 0 30px 60px -30px rgba(16, 20, 24, .35);
  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: 'Barlow Condensed', 'DIN Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: light;
}

/* ============ Baza ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.04; letter-spacing: .005em; font-weight: 600; }
.display { font-family: var(--font-display); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 12px;
}
.eyebrow-light { color: #ff8a5c; }

/* ============ Przyciski ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 54px; padding: 0 24px; font-size: 18px; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(255, 90, 31, .7); }
.btn-accent:hover { background: var(--accent-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262c33; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { background: none; border: 0; color: var(--ink-2); height: auto; padding: 6px 0; font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14.5px; }
.btn-link:hover { color: var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--ink); }

/* ============ Nagłówek ============ */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(242, 243, 240, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .86); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--ink); flex: none; line-height: 1; }
.logo-img { display: block; height: 31px; width: auto; }
.logo-tag {
  font-family: 'Caveat', 'Comic Sans MS', cursive; font-size: 22px; font-weight: 700; line-height: .8; color: var(--accent-600);
  margin: 1px 0 -4px 44%; transform: rotate(-4deg); white-space: nowrap; transition: transform .3s var(--ease);
}
.logo:hover .logo-tag { transform: rotate(-7deg) scale(1.06); }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a {
  text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2);
  padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); background: rgba(16, 20, 24, .05); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .03em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--accent-600); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700;
  transition: background .2s, transform .3s var(--ease);
}
.cart-count.has-items { background: var(--accent); }
.cart-count.bump { transform: scale(1.35); }
.main-nav a.nav-cart { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; background: var(--ink); color: #fff; padding: 8px 10px 8px 14px; }
.main-nav a.nav-cart:hover { background: #262c33; color: #fff; }
.toggle-count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  display: none; transition: transform .3s var(--ease);
}
.toggle-count.has-items { display: block; }
.toggle-count.bump { transform: scale(1.35); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ============ Hero ============ */

/* ============ Hero ============ */
.hero { padding: 26px 0 16px; }

/* ============ Konfigurator ============ */
.configurator { padding: 0 0 88px; }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px; align-items: start; }
.cfg-visual { position: sticky; top: calc(var(--header-h) + 16px); }
.cfg-panel { display: grid; gap: 14px; }
.card, .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step { padding: 20px 22px; }
.step-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums;
}
.step-head h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .03em; }
.step-head p { color: var(--ink-3); font-size: 14.5px; margin-top: 4px; }

/* opcje (radio) */
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box {
  height: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.opt:hover .opt-box { border-color: var(--line-2); background: var(--surface-2); }
.opt input:checked + .opt-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
.opt input:focus-visible + .opt-box { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.opt-check {
  position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; background: var(--surface);
  transition: background .18s, border-color .18s;
}
.opt-check svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .18s; }
.opt input:checked + .opt-box .opt-check { background: var(--ink); border-color: var(--ink); }
.opt input:checked + .opt-box .opt-check svg { opacity: 1; }

/* pokrycia */
/* lista pokryć (rozwijana) */
/* 01: nagłówek i przycisk listy w jednej linii */
.pick-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; align-items: center; }
.pick-row .step-head { margin: 0; gap: 10px; }
.pick-row .step-head h3 { font-size: 22px; line-height: 1; }
.dd-btn {
  min-width: 0; width: 100%; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 12px; text-align: left;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.dd-btn:hover, .is-open > .pick-row .dd-btn { border-color: var(--ink); }
.dd-btn .roof-icon { width: 38px; height: 20px; }
.dd-btn .dd-text small { margin: 0 0 1px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-btn .dd-text b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-btn .dd-chev { width: 30px; height: 30px; border-radius: 8px; }
.is-open .dd-chev { transform: rotate(180deg); background: var(--ink); color: #fff; }
.is-open .dd-list { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease), visibility 0s; }
.dd-items { display: grid; gap: 2px; padding: 6px; margin-top: 10px; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); }

/* mocowanie – mała notka pod listą */
.mount-note { margin-top: 10px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 6px 10px 6px 6px; }
.mount-note .mount-detail-svg { height: 40px; background: #fff; border: 0; border-radius: 8px; }
.mount-note p { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.mount-detail-kicker { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.mount-detail-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.mount-detail-desc { display: block; }

/* podgląd bez ramki – dół domu przechodzi w tło */
.preview-card { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.preview-svg {
  position: relative; aspect-ratio: 640 / 440;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 98%);
}
.roof-icon { flex: none; width: 54px; height: 28px; color: var(--ink); }
.roof-icon svg { width: 100%; height: 100%; }
.dd-text { flex: 1; min-width: 0; }
.dd-text b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: .01em; }
.dd-text small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px; line-height: 1.3; }
.dd-chev { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; transition: transform .35s var(--ease), background .2s, color .2s; }
.dd-chev svg { width: 18px; height: 18px; }
.dd-list { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility 0s .35s; }
.dd-inner { overflow: hidden; min-height: 0; }
.dd-opt { position: relative; display: block; cursor: pointer; }
.dd-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dd-opt-box { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 10px; transition: background .15s; }
.dd-opt:hover .dd-opt-box { background: var(--surface-2); }
.dd-opt input:checked + .dd-opt-box { background: var(--ice); }
.dd-opt input:focus-visible + .dd-opt-box { outline: 2.5px solid var(--accent); outline-offset: -2px; }
.dd-opt .opt-check { position: static; margin-left: auto; flex: none; }
.dd-opt input:checked + .dd-opt-box .opt-check { background: var(--ink); border-color: var(--ink); animation: pop .35s var(--ease); }
.dd-opt input:checked + .dd-opt-box .opt-check svg { opacity: 1; }
.dd-opt .dd-text b { font-size: 18px; }


/* rodzaj płotka – dwa w jednej linii */
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.system-opt .opt-box { padding: 10px 12px 10px 10px; display: flex; gap: 10px; align-items: center; }
.system-icon { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; color: var(--ink); }
.system-icon svg { width: 30px; height: 30px; }
.system-opt .opt-title { font-size: 21px; line-height: 1.05; margin: 0; padding-right: 16px; }
.system-opt small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.25; margin-top: 2px; }
.system-opt .opt-check { top: 8px; right: 8px; width: 18px; height: 18px; }

/* RAL – kółka z numerem */
.ral-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ral-row .step-head { margin: 0; }
.ral-dots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.ral-dot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.ral-dot input { position: absolute; opacity: 0; pointer-events: none; }
.ral-swatch {
  display: block; width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 4px 7px rgba(255, 255, 255, .14), 0 0 0 1px rgba(16, 20, 24, .1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ral-dot:hover .ral-swatch { transform: scale(1.08); }
.ral-dot input:checked + .ral-swatch { box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .28), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); animation: pop .35s var(--ease); }
.ral-dot input:focus-visible + .ral-swatch { outline: 2.5px solid var(--accent); outline-offset: 5px; }
.ral-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; }
.ral-dot input:checked ~ .ral-num { color: var(--ink); }
.ral-name { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); text-align: right; }
.ral-name b { color: var(--ink); font-weight: 700; }
.opt-title { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .01em; line-height: 1.15; margin-top: 2px; }


/* system */

/* kolory */

/* połacie */
.slopes { display: grid; gap: 10px; }
.slope {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name remove" "len rows"; gap: 8px 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 12px 16px; background: var(--surface-2);
  animation: rise .3s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes lineUp { from { transform: translateY(108%); } }

/* wejście strony */
.hero .eyebrow { animation: fadeUp .8s var(--ease) both; }

/* wjazd przy przewijaniu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--rd, 0ms), transform .8s var(--ease) var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.product.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }

.opt input:checked + .opt-box .opt-check { animation: pop .35s var(--ease); }
.fly-dot {
  position: fixed; left: 0; top: 0; z-index: 95; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(16, 20, 24, .35);
}
.slope-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; grid-area: name; display: flex; gap: 8px; align-items: baseline; align-self: center; }
.slope-len { grid-area: len; }
.slope-rows { grid-area: rows; }
.slope-name small { display: inline; font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
.slope-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.slope-field > span { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.stepper {
  display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); overflow: hidden;
}
.stepper button { width: 40px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.stepper button:hover { background: var(--surface-2); color: var(--ink); }
.stepper button svg { width: 16px; height: 16px; }
.stepper input {
  width: 100%; min-width: 0; height: 100%; border: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 21px;
  background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--ink); }
.stepper .unit { padding-right: 4px; font-weight: 700; color: var(--ink-3); font-size: 14px; }
.stepper-len { width: 100%; }
.stepper-rows { width: 132px; }
.stepper-rows input { width: 40px; }
.slope-remove { grid-area: remove; justify-self: end; width: 34px; height: 34px; color: var(--ink-3); background: transparent; border-color: transparent; }
.slope-remove:hover { color: #c23b13; border-color: var(--line-2); background: var(--surface); }
.add-slope { margin-top: 12px; }

.conditions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--line-2); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.field-label output { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.field-hint { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.segmented { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: grid; place-items: center; height: 36px; border-radius: 9px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink-2);
  transition: background .18s, color .18s, box-shadow .18s;
}
.segmented label:hover span { color: var(--ink); }
.segmented input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(16, 20, 24, .2); }
.segmented input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 1px; }

.range { width: 100%; -webkit-appearance: none; appearance: none; height: 36px; background: none; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); margin-top: -9px; box-shadow: 0 2px 6px rgba(16, 20, 24, .2); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(16, 20, 24, .2); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

.reco {
  margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px 20px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 18px;
}
.reco-item span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); font-weight: 700; }
.reco-item strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.reco .btn { height: 38px; font-size: 14px; background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .16); }
.reco .btn:hover { background: rgba(255, 255, 255, .2); }
.reco-ok { font-size: 13.5px; color: rgba(255, 255, 255, .7); display: flex; gap: 6px; align-items: center; }
.reco-ok svg { width: 16px; height: 16px; color: #6ee7a8; }
.reco-foot { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }

/* panel boczny */
.preview-svg .scene, .preview-svg .flakes { position: absolute; inset: 0; width: 100%; height: 100%; }
.preview-svg .flakes { pointer-events: none; }
/* padający śnieg na całej stronie */
.page-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.preview-svg svg { width: 100%; height: 100%; }
.smoke { fill: #c3ccd4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: smoke 5s ease-out infinite; }
@keyframes smoke {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  15% { opacity: .6; }
  100% { opacity: 0; transform: translate(-30px, -64px) scale(2.8); }
}

/* śnieg zsuwa się po połaci i zatrzymuje na płotku */
.scene .slide { animation: snowSlide var(--t) cubic-bezier(.62, .02, .9, .5) var(--d) both; }
.scene .squash { transform-box: fill-box; transform-origin: 50% 100%; animation: snowSquash .55s cubic-bezier(.3, .7, .4, 1) var(--d) both; }
.scene .puff { opacity: 0; transform-box: fill-box; transform-origin: center; animation: snowPuff .9s ease-out var(--d) both; }
.scene:not(.is-playing) .slide, .scene:not(.is-playing) .squash, .scene:not(.is-playing) .puff { animation-play-state: paused; }
@keyframes snowSlide { from { transform: translate(var(--fx), var(--fy)); } to { transform: translate(0, 0); } }
@keyframes snowSquash {
  0% { transform: none; }
  30% { transform: scale(1.015, .78); }
  65% { transform: scale(.995, 1.08); }
  100% { transform: none; }
}
@keyframes snowPuff {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); }
  12% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.4); }
}

.mount-detail-svg { height: 84px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.mount-detail-svg svg { width: 100%; height: 100%; }

.summary-card { padding: 22px 22px 18px; }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.summary-head h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.summary-length { font-size: 13.5px; font-weight: 700; color: var(--ink-3); text-align: right; }
.bom { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.bom th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bom td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bom th:nth-child(n+2), .bom td:nth-child(n+2) { text-align: right; padding-left: 12px; white-space: nowrap; }
.bom td:first-child { font-weight: 600; }
.bom td small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.bom td:nth-child(2) { font-weight: 700; }
.bom td:nth-child(3) { color: var(--ink-2); }
.bom.no-prices th:nth-child(3), .bom.no-prices td:nth-child(3) { display: none; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; }
.summary-total span { font-weight: 700; color: var(--ink-2); }
.summary-total strong { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.summary-note { font-size: 13px; color: var(--ink-3); }
.summary-actions { display: grid; gap: 6px; margin-top: 16px; justify-items: center; }
.summary-actions .btn-accent { width: 100%; }

.mobile-bar { display: none; }

/* ============ Sekcje ============ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: .98; text-transform: uppercase; }
.section-lead { color: var(--ink-2); margin-top: 12px; max-width: 620px; font-size: 17px; }

/* komunikacja */
.comms { background: var(--surface); padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roof-sync { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); flex: none; }
.roof-sync select, .select {
  height: 46px; min-width: 280px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2);
  padding: 0 40px 0 14px; font-weight: 700; font-size: 15px; color: var(--ink); -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23101418' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; cursor: pointer;
}
.roof-sync select:hover, .select:hover { border-color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter {
  height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); transition: all .18s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter sup { font-size: 11px; margin-left: 3px; opacity: .6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.product-grid.is-filtered .product { animation: rise .4s var(--ease) both; }
.product:hover { transform: translateY(-4px); }
.product-media svg { transition: transform .7s var(--ease); }
.product:hover .product-media svg { transform: scale(1.045); }
.product:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--ice) 0%, #f3f7fa 100%); }
.product-media svg { width: 100%; height: 100%; }
.badge {
  position: absolute; top: 14px; left: 14px; height: 26px; padding: 0 10px; border-radius: 8px;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center;
}
.badge-dark { background: var(--ink); }
.product-body { padding: 20px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; background: var(--surface); }
.product-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-size: 25px; letter-spacing: .01em; }
.product-price { font-size: 14px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.product-price strong { color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.product-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.product-mount { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.product-mount svg { width: 16px; height: 16px; flex: none; color: var(--ok); }
.product-mount b { color: var(--ink); }
.product-opts { display: grid; gap: 12px; margin-top: auto; }
.mini-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.variant-row { display: flex; gap: 6px; flex-wrap: wrap; }
.variant {
  height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: all .15s;
}
.variant:hover { border-color: var(--ink); color: var(--ink); }
.variant[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dot-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.dot {
  width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; background: var(--c);
  box-shadow: 0 0 0 1px rgba(16, 20, 24, .12), inset 0 -4px 6px rgba(0, 0, 0, .2); transition: box-shadow .15s, transform .15s;
}
.dot:hover { transform: scale(1.1); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.dot-name { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-left: 4px; }
.product-actions { display: flex; gap: 10px; align-items: center; }
.product-actions .btn { flex: 1; }
.stepper-qty { width: 116px; flex: none; }
.stepper-qty input { width: 36px; }

/* jak zamawiać */
.how { padding: 88px 0; }
.how-steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.how-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.how-num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 18px;
}
.how-steps h3 { font-size: 27px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.how-steps p { color: var(--ink-2); font-size: 15px; }
.faq { max-width: 860px; }
.faq-title { font-size: 32px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 15.5px; }

/* kontakt */
.contact { background: var(--dark); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .22), transparent 70%); pointer-events: none;
}
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.contact h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: .98; text-transform: uppercase; }
.contact-lead { color: rgba(255, 255, 255, .7); margin: 16px 0 28px; font-size: 17px; max-width: 520px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 16px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08);
}
.contact-list span { color: rgba(255, 255, 255, .55); font-size: 14px; font-weight: 600; }
.contact-list a, .contact-list strong { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: .02em; text-decoration: none; text-align: right; word-break: break-word; }
.contact-list a:hover { color: #ff8a5c; }
.contact-company p { text-align: right; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.contact-company b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .02em; color: #fff; }
.footer-legal { order: 3; width: 100%; font-size: 12.5px; color: rgba(255, 255, 255, .4); }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ============ Szuflada zapytania ============ */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(13, 17, 21, .45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
  outline: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 28px; overscroll-behavior: contain; }
.cart-items { display: grid; gap: 10px; margin-bottom: 26px; }
.cart-empty { text-align: center; padding: 28px 16px; border: 1.5px dashed var(--line-2); border-radius: 16px; color: var(--ink-3); font-size: 14.5px; }
.cart-empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.cart-empty .btn { margin-top: 14px; }
.cart-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; background: var(--surface-2); }
.cart-item-dot { width: 34px; height: 34px; border-radius: 10px; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25); }
.cart-item h4 { margin: 0; font-size: 19px; line-height: 1.15; }
.cart-item ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.cart-item-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-price { font-family: var(--font-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.cart-item-remove { border: 0; background: none; color: var(--ink-3); font-size: 13px; font-weight: 700; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.cart-item-remove:hover { color: #c23b13; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px 0; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.cart-total strong { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--ink); }

.inquiry h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.input-full { grid-column: 1 / -1; }
.input input, .input textarea {
  border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); padding: 11px 12px; font-size: 15px; font-weight: 500;
  color: var(--ink); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.input textarea { resize: vertical; min-height: 84px; }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16, 20, 24, .08); }
.input input.is-invalid { border-color: #d0421b; box-shadow: 0 0 0 3px rgba(208, 66, 27, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.is-invalid span { color: #d0421b; }
.form-error { min-height: 20px; color: #d0421b; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.sent { text-align: center; padding: 40px 10px; }
.sent-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e5f5ec; color: var(--ok); }
.sent-icon svg { width: 32px; height: 32px; }
.sent h3 { font-size: 32px; text-transform: uppercase; margin-bottom: 8px; }
.sent p { color: var(--ink-2); margin-bottom: 22px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow-lg); transition: opacity .25s var(--ease), transform .25s var(--ease); max-width: calc(100% - 32px);
  display: flex; gap: 12px; align-items: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: #ff8a5c; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Responsywność ============ */
@media (max-width: 1180px) {
  .cfg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 62px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: block; }


  .cfg-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cfg-visual { position: static; margin: -6px -8px -16px; }
  .cfg-panel { position: relative; z-index: 1; }
  .summary-card { order: 2; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { flex-direction: column; align-items: stretch; }
  .roof-sync select { min-width: 0; width: 100%; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .how-steps { grid-template-columns: minmax(0, 1fr); }

  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar-label { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; }
  .mobile-bar strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .mobile-bar .btn { height: 44px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .logo-img { height: 25px; }
  .logo-tag { font-size: 19px; }
  .main-nav a.nav-cart { justify-content: space-between; margin: 10px 0 0; padding: 14px 14px 14px 16px; border-radius: 12px; }
  .ral-row { gap: 10px; }
  .ral-dots { gap: 3px; }
  .ral-num { font-size: 11px; }
  .ral-name { text-align: left; }
  .system-opt .opt-box { padding: 9px 8px; gap: 8px; }
  .system-icon { width: 32px; height: 32px; }
  .system-icon svg { width: 24px; height: 24px; }
  .system-opt .opt-title { font-size: 19px; white-space: nowrap; padding-right: 14px; }
  .system-opt .opt-check { top: 6px; right: 6px; width: 16px; height: 16px; }
  .dd-text b { font-size: 18px; }
  .pick-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
  .pick-row .step-head h3 { font-size: 21px; line-height: 1; }
  .pick-row .step-head { gap: 10px; }
  .dd-btn { gap: 8px; padding: 6px 6px 6px 8px; }
  .dd-btn .roof-icon { width: 30px; }
  .dd-btn .dd-text b { font-size: 17px; }
  .hero { padding: 18px 0 12px; }
  .eyebrow { font-size: 11.5px; margin-bottom: 10px; }

  .step { padding: 20px 16px; border-radius: 18px; }
  .step-head { margin-bottom: 18px; gap: 12px; }
  .step-num { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
  .step-head h3 { font-size: 23px; }

  .slope { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name remove" "len rows"; gap: 8px 12px; padding: 12px; }
  .slope-name { grid-area: name; display: flex; gap: 8px; align-items: baseline; align-self: center; }
  .slope-len { grid-area: len; }
  .slope-rows { grid-area: rows; }
  .slope-remove { grid-area: remove; justify-self: end; width: 34px; height: 34px; }
  .slope-name small { display: inline; }
  .slope-field > span { font-size: 11px; }
  .stepper-len { max-width: none; }
  .stepper-rows { width: 118px; }
  .stepper button { width: 36px; }

  .conditions { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .reco { grid-template-columns: 1fr 1fr; }
  .reco > .btn, .reco > .reco-ok { grid-column: 1 / -1; }
  .summary-card { padding: 18px 16px; }
  .summary-total strong { font-size: 34px; }

  .comms, .how, .contact { padding: 64px 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 2px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-list li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .contact-list a, .contact-list strong { text-align: left; }
  .contact-company p { text-align: left; }
  .drawer-body { padding: 16px 16px 28px; }
  .drawer-head { padding: 14px 16px; }
  .configurator { padding-bottom: 64px; }
}

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

@media print {
  .site-header, .mobile-bar, .drawer, .toast, .comms, .how, .contact, .site-footer, .hero { display: none !important; }
  body { background: #fff; }
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-visual { position: static; }
  .step, .card { box-shadow: none; break-inside: avoid; }
}
