/* ADDI 3D tervező — alkalmazásszerű elrendezés
   Bal oldalon a 3D tér, jobbra a számozott lépések. A paramétersáv külön görgethető (asztali gépen és
   telefonon is), így a 3D nézet mindig látszik, miközben a beállításokat lapozza. */

.czapp {
  --app-h: calc(100vh - var(--header-h) - 37px);
  --app-h: calc(100dvh - var(--header-h) - 37px); /* 37px: a felső sáv a nyelvválasztóval */
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; height: var(--app-h); min-height: 520px;
  background: var(--offwhite); overflow: hidden;
}

/* ---------- 3D tér ---------- */
.cz-stage { position: relative; height: 100%; min-height: 0; padding: 16px 0 16px 16px; }
.cz-viewport {
  position: relative; height: 100%; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 42%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f3f2ee 0%, #e9e7e1 62%, #dedbd3 100%);
  box-shadow: inset 0 0 0 1px rgba(24,26,30,.06);
}
.cz-3d { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.cz-3d:active { cursor: grabbing; }
.cz-3d canvas { display: block; width: 100%; height: 100%; outline: none; }
#cz-svg { position: absolute; left: 24px; right: 24px; top: 72px; bottom: 96px; width: calc(100% - 48px); height: calc(100% - 168px); }

/* lebegő vezérlők */
.cz-float { position: absolute; top: 16px; z-index: 3; display: flex; gap: 8px; align-items: center; }
.cz-float--tl { left: 16px; }
.cz-float--tr { right: 16px; }
.cz-seg, .cz-pill {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 12px;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(24,26,30,.06), 0 8px 24px -12px rgba(24,26,30,.28);
}
.cz-seg button, .cz-pill {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; cursor: pointer;
  font: 700 14px/1 var(--font); color: var(--muted); padding: 9px 13px; border-radius: 9px; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.cz-pill { padding: 13px 15px; }
.cz-seg button:hover, .cz-pill:hover { color: var(--ink); }
.cz-seg button[aria-selected="true"], .cz-seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.cz-seg svg, .cz-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cz-pill { color: var(--ink); }

.cz-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; margin: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(36,40,43,.78); color: #fff; font-size: 13.5px; white-space: nowrap; pointer-events: none;
  transition: opacity .35s ease;
}
.cz-hint svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cz-hint.is-gone { opacity: 0; }

.cz-summary {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; margin: 0; display: flex; gap: 0;
  border-radius: 12px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(24,26,30,.06), 0 8px 24px -12px rgba(24,26,30,.28);
}
.cz-summary > div { padding: 10px 16px; }
.cz-summary > div + div { border-left: 1px solid rgba(24,26,30,.08); }
.cz-summary dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.cz-summary dd { margin: 0; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.cz-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-size: 14px; z-index: 1; }
.cz-spinner { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid rgba(51,55,95,.18); border-top-color: var(--blue); animation: czspin .9s linear infinite; }
@keyframes czspin { to { transform: rotate(360deg); } }

/* ---------- beállítások panel ---------- */
.cz-panel { background: var(--white); border-left: 1px solid var(--line); counter-reset: czstep; display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cz-panel__scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #cfcdc6 transparent; scroll-padding-top: 12px;
}
.cz-panel__scroll::-webkit-scrollbar { width: 8px; }
.cz-panel__scroll::-webkit-scrollbar-thumb { background: #d6d4cd; border-radius: 8px; border: 2px solid var(--white); }
.cz-panel__head { padding: 32px 32px 8px; }
.cz-panel__head h1 { font-size: 34px; margin-bottom: 8px; }
.cz-panel__head p { color: var(--muted); margin: 0; font-size: 15.5px; }

.cz-step { padding: 26px 32px; border-bottom: 1px solid #ecebe6; }
.cz-step:not([hidden]):not(.cz-send) { counter-increment: czstep; }
.cz-step h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; letter-spacing: -.015em; margin-bottom: 18px; }
.cz-step__n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-size: 13.5px; font-weight: 700; letter-spacing: 0; }
.cz-step:not(.cz-send) .cz-step__n::before { content: counter(czstep); }
.cz-send .cz-step__n { background: var(--blue); color: #fff; }

.cz-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.cz-group:last-child { margin-bottom: 0; }
.cz-group legend, .cz-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; padding: 0; color: var(--ink); }
.cz-group select { width: 100%; }

/* szegmentált választó a panelben */
.cz-seg--block { display: flex; width: 100%; background: var(--offwhite); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cz-seg--block label { flex: 1; position: relative; cursor: pointer; }
.cz-seg--block input { position: absolute; opacity: 0; pointer-events: none; }
.cz-seg--block span { display: block; text-align: center; padding: 11px 10px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background-color .15s, color .15s; }
.cz-seg--block input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(24,26,30,.1), 0 0 0 1px rgba(24,26,30,.05); }
.cz-seg--block input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* opciócsipek */
.cz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-chip { position: relative; cursor: pointer; }
.cz-chip input, .cz-swatch input, .cz-ral__item input { position: absolute; opacity: 0; pointer-events: none; }
.cz-chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; line-height: 1.25; background: var(--white); transition: border-color .15s, background-color .15s, color .15s; }
.cz-chip:hover span { border-color: #b9b7b0; }
.cz-chip input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); font-weight: 700; }
.cz-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.cz-chip input:disabled + span { opacity: .4; cursor: not-allowed; }

/* anyagminták */
.cz-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 10px; }
.cz-swatch { display: flex; flex-direction: column; gap: 7px; cursor: pointer; font-size: 13px; line-height: 1.3; color: var(--muted); }
.cz-swatch .sw { display: block; aspect-ratio: 4 / 3; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(24,26,30,.1); transition: box-shadow .15s, transform .15s; }
.cz-swatch:hover .sw { transform: translateY(-1px); }
.cz-swatch input:checked ~ .sw { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue); }
.cz-swatch input:checked ~ span:last-child { color: var(--ink); font-weight: 700; }
.cz-swatch input:focus-visible ~ .sw { outline: 2px solid var(--blue); outline-offset: 4px; }
.cz-swatch input:disabled ~ * { opacity: .35; cursor: not-allowed; }

.sw--rozsdamentes, .sw--inox_szal, .sw--inox { background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px), linear-gradient(100deg, #9aa1aa, #dfe2e6 45%, #a7adb5); }
.sw--inox_len { background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgba(255,255,255,.25) 0 1px, transparent 1px 4px), linear-gradient(100deg, #9aa1aa, #d0d4da 50%, #a2a8b0); }
.sw--porfestett { background: var(--ral, #383e42); }
.sw--uveg { background: linear-gradient(135deg, rgba(255,255,255,.55) 0 22%, transparent 22% 40%, rgba(255,255,255,.3) 40% 46%, transparent 46%), linear-gradient(180deg, #c8dde8, #8fb0c3); }
.sw--hpl_fa { background: repeating-linear-gradient(92deg, rgba(60,30,10,.18) 0 2px, transparent 2px 9px), linear-gradient(90deg, #9c6b43, #b98a5e 50%, #8e5f3a); }
.sw--azonos { background: repeating-linear-gradient(45deg, #e6e5e0 0 6px, #f4f3ef 6px 12px); }
.sw--tukor_fel { background: linear-gradient(180deg, #b5bcc5 0 45%, transparent 45%), linear-gradient(135deg, #eef4f8, #b7c8d4 60%, #e3ebf0); }
.sw--tukor_teljes { background: linear-gradient(135deg, #eef4f8, #b7c8d4 55%, #e5edf2); }
.sw--gumi { background: radial-gradient(circle, #555a63 1.5px, transparent 2px) 0 0 / 8px 8px, #33373e; }
.sw--pvc { background: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1.5px) 0 0 / 5px 5px, #7c7f86; }
.sw--granit { background: radial-gradient(circle, #eee 1px, transparent 1.6px) 0 0 / 7px 7px, radial-gradient(circle, #1a1a1a 1.2px, transparent 1.8px) 3px 4px / 9px 9px, #6b6e73; }
.sw--riffelt { background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.55) 6px 7px, transparent 7px 12px), repeating-linear-gradient(-45deg, transparent 0 6px, rgba(0,0,0,.2) 6px 7px, transparent 7px 12px), #b9bec5; }
.sw--led_spot { background: radial-gradient(circle, #fff7d6 0 3px, rgba(255,240,180,.4) 4px, transparent 9px) 0 0 / 25% 50%, #d5d8dd; }
.sw--led_panel { background: linear-gradient(#fffef4, #fffef4) center / 56% 56% no-repeat, radial-gradient(ellipse at center, #fff6cc 0 30%, #d5d8dd 62%); }
.sw--indirekt { background: linear-gradient(90deg, #fff4c8 0 8%, transparent 8% 92%, #fff4c8 92%), linear-gradient(180deg, #fff4c8 0 12%, #8d939c 12% 88%, #fff4c8 88%); }

/* méretek */
.cz-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cz-preset { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 13px; font: 14px var(--font); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s; }
.cz-preset:hover { border-color: #b9b7b0; }
.cz-preset[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cz-dim { margin-bottom: 16px; }
.cz-dim label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.cz-dim__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.cz-dim__num { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.cz-dim__num:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.cz-dim__num input { width: 74px; border: 0; padding: 10px 4px 10px 12px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; background: transparent; }
.cz-dim__num input:focus { outline: none; box-shadow: none; }
.cz-dim__num span { padding-right: 12px; color: var(--muted); font-size: 14px; }
.cz-qty input { width: 64px; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: #e2e0da; }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: #e2e0da; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 1px rgba(24,26,30,.18), 0 2px 6px rgba(24,26,30,.22); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 1px rgba(24,26,30,.18), 0 2px 6px rgba(24,26,30,.22); }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--blue-tint), 0 0 0 1px var(--blue); }

/* RAL */
.cz-ral { display: flex; flex-wrap: wrap; gap: 10px; }
.cz-ral__item { cursor: pointer; position: relative; }
.cz-ral__item > span[aria-hidden] { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); font-weight: 700; color: var(--muted); }
.cz-ral__custom > span[aria-hidden] { background: var(--offwhite); }
.cz-ral__item input:checked + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue); }
.cz-ral__item input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 4px; }
.cz-ral__name { font-size: 14px; margin: 10px 0 8px; font-weight: 700; }
[data-ral-custom] { max-width: 220px; margin-bottom: 6px; }
.cz-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* típusválasztó kártyák */
.cz-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cz-mode { position: relative; cursor: pointer; }
.cz-mode input { position: absolute; opacity: 0; pointer-events: none; }
.cz-mode > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 12px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.cz-mode b { font-size: 14.5px; line-height: 1.2; overflow-wrap: anywhere; }
.cz-mode small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.cz-mode:hover > span { border-color: #b9b7b0; }
.cz-mode input:checked + span { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.cz-mode input:checked + span b { color: var(--blue); }
.cz-mode input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* jelölőnégyzetek */
.cz-checks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cz-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.3; min-height: 44px; transition: border-color .15s, background-color .15s; }
.cz-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); }
.cz-check:hover { border-color: #b9b7b0; }
.cz-check:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.cz-legend-note { font-weight: 400; color: var(--muted); font-size: 13px; }

/* nem kötelező mért adatok */
.cz-nums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; margin: 12px 0 20px; }
.cz-num label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; line-height: 1.25; }
.cz-num .cz-dim__num { width: 100%; }
.cz-num .cz-dim__num input { width: 100%; min-width: 0; flex: 1; text-align: left; }
.cz-num input::placeholder { font-weight: 400; color: #a3a39c; }
.cz-note--lead { margin: 0 0 4px; }
.cz-row2 { gap: 12px; }
.cz-row2 .cz-group { margin-bottom: 20px; }

/* csatolmány */
.cz-upload { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px dashed #c9c7c0; border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--blue); background: var(--offwhite); transition: border-color .15s, background-color .15s; }
.cz-upload:hover { border-color: var(--blue); background: var(--blue-tint); }
.cz-upload svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cz-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cz-upload__input:focus-visible + .cz-files, .cz-upload:has(+ .cz-upload__input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.cz-files { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13.5px; color: var(--ink); }
.cz-files li { padding: 4px 0; overflow-wrap: anywhere; }
.cz-files li::before { content: "📎 "; }

/* ajánlatkérés, GYIK és alsó sáv */
.cz-send { border-bottom: 1px solid #ecebe6; padding-bottom: 32px; }
.cz-send .field select { width: 100%; }
.cz-faq { padding: 26px 32px 32px; }
.cz-faq h2 { font-size: 19px; margin-bottom: 8px; }
.cz-faq .faq__item summary h3 { font-size: 15px; }
.cz-faq .faq__item p { font-size: 14.5px; }
.cz-panel__foot {
  flex: none; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 32px; background: var(--white); border-top: 1px solid #ecebe6; box-shadow: 0 -10px 24px -20px rgba(24,26,30,.4);
}
.cz-foot__info { min-width: 0; }
.cz-foot__info strong { display: block; font: 600 16px/1.25 var(--font-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-foot__info span { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-panel__foot .btn { flex: none; padding: 0 22px; }
[data-when][hidden] { display: none !important; }
.cz-hint__touch { display: none; }
@media (hover: none) { .cz-hint__desk { display: none; } .cz-hint__touch { display: inline; } }
.cz-panel__head h1 { letter-spacing: -.035em; }

/* ---------- tablet és mobil ---------- */
@media (max-width: 1100px) { .czapp { grid-template-columns: minmax(0, 1fr) 400px; } .cz-step, .cz-panel__head, .cz-faq { padding-left: 24px; padding-right: 24px; } .cz-panel__foot { padding: 12px 24px; } }
@media (max-width: 900px) {
  /* telefonon is két külön terület: fent a 3D nézet, alatta a saját görgetésű paramétersáv */
  .czapp { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(190px, 40%) minmax(0, 1fr); min-height: 460px; }
  .cz-stage { padding: 0; height: auto; border-bottom: 1px solid var(--line); }
  .cz-viewport { border-radius: 0; }
  .cz-float { top: 8px; }
  .cz-float--tl { left: 8px; }
  .cz-float--tr { right: 8px; }
  .cz-seg { padding: 3px; }
  .cz-seg button { padding: 0 11px; min-height: 38px; font-size: 13px; }
  .cz-pill { padding: 0 11px; min-height: 44px; }
  .cz-pill span, .cz-seg button[data-camview] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cz-seg button[data-camview] { padding: 0 10px; }
  .cz-summary { left: 8px; bottom: 8px; }
  .cz-summary > div { padding: 6px 10px; }
  .cz-summary dt { font-size: 11px; }
  .cz-summary dd { font-size: 13.5px; }
  .cz-hint { display: none; }
  #cz-svg { left: 8px; right: 8px; top: 52px; bottom: 52px; width: calc(100% - 16px); height: calc(100% - 104px); }
  .cz-panel { border-left: 0; }
  .cz-panel__head { padding-top: 20px; }
  .cz-panel__head h1 { font-size: 24px; }
  .cz-panel__head p { font-size: 14.5px; }
  .cz-step, .cz-panel__head, .cz-faq { padding-left: 16px; padding-right: 16px; }
  .cz-step { padding-top: 22px; padding-bottom: 22px; }
  .cz-panel__foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; }
  .cz-panel__foot .btn { min-height: 46px; padding: 0 18px; }
  .cz-chip span { padding: 11px 14px; }
  .cz-preset { padding: 10px 14px; }
  .cz-dim__num input { padding-top: 12px; padding-bottom: 12px; }
  .cz-ral { gap: 12px; }
  .cz-ral__item > span[aria-hidden] { width: 38px; height: 38px; }
  input[type=range] { height: 36px; }
  .cz-panel__scroll { overscroll-behavior: contain; scrollbar-gutter: auto; }
  .cz-panel__scroll select, .cz-panel__scroll input, .cz-panel__scroll textarea { font-size: 16px; } /* iOS ne nagyítson */
}
@media (max-width: 1100px) {
  .cz-modes { grid-template-columns: minmax(0, 1fr); }
  .cz-mode > span { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; }
  .cz-mode small { text-align: right; }
}
@media (max-width: 480px) {
  .cz-checks { grid-template-columns: minmax(0, 1fr); }
  .cz-swatches { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .cz-row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
/* fekvő telefon / nagyon alacsony ablak: a két terület egymás alatt, normál görgetéssel */
@media (max-height: 520px) and (max-width: 1100px) {
  .czapp { height: auto; overflow: visible; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .cz-stage { height: 80vh; padding: 0; }
  .cz-panel { height: auto; }
  .cz-panel__scroll { overflow: visible; }
  .cz-panel__foot { position: sticky; bottom: 0; }
}
@media (max-width: 900px) { .cz-foot__info span { white-space: normal; font-size: 12.5px; line-height: 1.3; } }
.cz-doors { margin: 18px 0 0; }
.cz-fixed { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--offwhite); font-size: 14px; color: var(--muted); }
.cz-fixed b { color: var(--ink); }
.czapp[data-mode="kabinajto"] .cz-summary, .czapp[data-mode="aknaajto"] .cz-summary { display: none; }
/* Az abszolút pozicionált, rejtett elemek (képernyőolvasó-szövegek, fájlmező) a paramétersávon belül
   maradjanak: pozicionált szülő nélkül a dokumentumhoz igazodnának, és az oldal alján üres sávot nyitnának. */
.czapp, .cz-panel, .cz-panel__scroll { position: relative; }
.sw--ko { background: linear-gradient(#b3b0a8, #b3b0a8) center / 74% 70% no-repeat, linear-gradient(135deg, #e4e6e9, #b9bec4); box-shadow: inset 0 0 0 4px #cfd3d8; }
.sw--bordas { background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(255,255,255,.5) 5px 6.5px, transparent 6.5px 10px) 0 0 / 14px 14px, repeating-linear-gradient(-45deg, transparent 0 5px, rgba(0,0,0,.22) 5px 6.5px, transparent 6.5px 10px) 7px 7px / 14px 14px, #8f959c; }
.sw--inox_led { background: linear-gradient(#fffef4, #fffef4) center / 58% 52% no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px 3px), linear-gradient(100deg, #9aa1aa, #dfe2e6 45%, #a7adb5); }
.sw--almennyezet { background: linear-gradient(90deg, transparent 0 calc(50% - 1px), #5d636a calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(0deg, transparent 0 calc(50% - 1px), #5d636a calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(#fffef4, #fffef4) 25% 28% / 30% 30% no-repeat, linear-gradient(#fffef4, #fffef4) 75% 72% / 30% 30% no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px 3px), linear-gradient(100deg, #9aa1aa, #dfe2e6 45%, #a7adb5); }
.sw--igen, .sw--nem { display: none; }
