/* Szálirány — a made-up furniture workshop (a smartINDUSTRIES demo).
   The page is a workshop drawing: cool drafting paper, graphite, pencil-blue dimension lines; the only warm colour
   on it is the wood itself. Gloock (sharp, carved serif) for display, Schibsted Grotesk for everything read. */
:root {
  --paper: #EDEFEA; --paper-2: #E2E5DF; --paper-3: #D3D7D0; --white: #FAFBF8;
  --ink: #262A2E; --ink-2: #565C61; --ink-3: #868C90;
  --pencil: #2F5D9E; --pencil-2: #6F8FBE; --ok: #3C7A4E; --warn: #A6542B;
  --f-d: "Gloock", Georgia, serif; --f-b: "Schibsted Grotesk", system-ui, sans-serif;
  --gx: clamp(18px, 4vw, 56px); --nav-h: 60px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-b); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ol, ul, fieldset, legend, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--ink); color: var(--white); border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gx); }
.h1 { font: 400 clamp(30px, 3.4vw, 46px)/1.04 var(--f-d); letter-spacing: -.01em; }
.h2 { font: 400 clamp(28px, 3.2vw, 44px)/1.08 var(--f-d); letter-spacing: -.01em; max-width: 22ch; }
.h3 { font: 400 26px/1.1 var(--f-d); }

.demo-flag { position: fixed; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border-radius: 999px;
  background: rgba(38, 42, 46, .9); color: var(--paper); font: 500 12px/1 var(--f-b); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.demo-flag a { padding: 5px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #121417; }
.btn-ink:disabled { background: var(--paper-3); color: var(--ink-3); cursor: not-allowed; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-wide { width: 100%; }
.lnk { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--pencil); font-weight: 600; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gx);
  background: rgba(237, 239, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-3); }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 400 23px/1 var(--f-d); text-decoration: none; }
.mark svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav-demo { display: none; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 12px/1 var(--f-b); text-decoration: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; font-size: 15px; }
.cart-btn b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; }
.cart-btn.bump b { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); background: var(--pencil); } }

/* ---------- configurator: the drawing sheet + the panel ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; min-height: calc(100svh - var(--nav-h)); border-bottom: 1px solid var(--paper-3); }
.sheet { position: relative; display: flex; flex-direction: column; padding: 28px var(--gx) 24px;
  background-color: var(--white);
  background-image: linear-gradient(rgba(47, 93, 158, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 93, 158, .07) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.sheet::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(38, 42, 46, .35); pointer-events: none; }
.sheet-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 8px 6px 0; }
.sheet-no { font-size: 13px; color: var(--ink-2); text-align: right; line-height: 1.45; white-space: nowrap; }
.drw-wrap { flex: 1; display: grid; place-items: center; padding: 8px 0 0; min-height: 300px; }
.drw { width: 100%; max-height: 66vh; display: block; }
.drw .floor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 5; opacity: .6; }
.drw .dim line { stroke: var(--pencil); stroke-width: 1; }
.drw .dim text, .drw .cap { fill: var(--pencil); font: 600 14px var(--f-b); }
.drw-n .dim text { font-size: 22px; }
.drw-n .cap { font-size: 20px; }
.drw .cap { fill: var(--ink-2); font-weight: 500; font-size: 13px; }
.drw .chair { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.drw-wrap.swap .drw { animation: inkIn .5s var(--ease); }
@keyframes inkIn { from { opacity: .35; filter: blur(1.5px); } }

.panel { position: sticky; top: var(--nav-h); align-self: start; max-height: calc(100svh - var(--nav-h)); overflow: auto; display: flex; flex-direction: column; padding: 14px 24px 0; background: var(--paper); border-left: 1px solid var(--paper-3); }
.opt { padding: 10px 0 12px; border-bottom: 1px solid var(--paper-3); }
.opt legend { display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.opt legend output { font-weight: 600; color: var(--pencil); font-variant-numeric: tabular-nums; }
.hint { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }

.woods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wood { display: grid; gap: 6px; justify-items: center; padding: 8px 4px 7px; border-radius: 6px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--paper-3); background: var(--white); }
.wood i { width: 100%; height: 24px; border-radius: 3px; background-size: 100% 100%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.wood[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.wood:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.wood[aria-checked="true"]:hover { box-shadow: inset 0 0 0 2px var(--ink); }

input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--paper-3) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 3px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; gap: 3px; border-radius: 8px; background: var(--paper-2); }
.seg button { min-height: 38px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.seg-fin button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; }
.seg-fin i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }

.legs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.leg { display: grid; justify-items: center; gap: 4px; padding: 8px 4px 8px; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 1px var(--paper-3); font-size: 13px; font-weight: 600; }
.leg svg { width: 56px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.leg[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.leg:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.leg[aria-checked="true"]:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.buy { position: sticky; bottom: 0; margin-top: auto; padding: 14px 0 18px; display: grid; gap: 10px; background: var(--paper); box-shadow: 0 -12px 16px -12px rgba(38, 42, 46, .14); }
.price { font: 400 36px/1 var(--f-d); font-variant-numeric: tabular-nums; }
.price.tick { animation: tick .35s var(--ease); }
@keyframes tick { 30% { color: var(--pencil); } }
.buy-l { display: grid; gap: 4px; font-size: 14px; }
.buy-l div { display: flex; justify-content: space-between; gap: 12px; }
.buy-l dt { color: var(--ink-2); }
.buy-l dd { font-weight: 600; text-align: right; }

/* ---------- workshop, extras, steps ---------- */
.shop { padding: clamp(64px, 9vw, 120px) 0; }
.shop-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.shop-t { display: grid; gap: 16px; font-size: 18px; color: var(--ink-2); max-width: 54ch; }

.add { padding: 0 0 clamp(64px, 9vw, 120px); }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-n { color: var(--ink-2); font-size: 15px; }
.add-g { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.xcard { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 18px; background: var(--white); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--paper-3); }
.xcard svg { width: 100%; height: auto; display: block; }
.xcard h3 { font: 400 26px/1.1 var(--f-d); margin-bottom: 6px; }
.xcard p { font-size: 14px; color: var(--ink-2); }
.xcard .x-p { margin: 12px 0 14px; font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--paper-3); }
.qty button { width: 38px; height: 44px; font-size: 18px; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.make { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink); color: var(--paper); }
.make .h2 { margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(237, 239, 234, .25); }
.steps li { padding: 18px 18px 0 0; }
.steps .wk { display: block; font-size: 13px; color: var(--pencil-2); font-weight: 600; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.steps b { display: block; font: 400 24px/1.1 var(--f-d); margin-bottom: 8px; }
.steps p { font-size: 14px; color: rgba(237, 239, 234, .72); }

.foot { padding: 36px 0 80px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: baseline; }
.foot-mark { font: 400 28px/1 var(--f-d); }
.foot-demo { font-size: 14px; color: var(--ink-2); max-width: 70ch; }

/* ---------- catalogue ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.cats button { min-height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--paper-3); font-weight: 600; font-size: 14px; color: var(--ink-2); background: var(--white); }
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard-b { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; width: 100%; height: 100%; padding: 14px 16px 16px; text-align: left; background: var(--white); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--paper-3); transition: box-shadow .15s, transform .15s; }
.pcard-b:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.pcard-i { display: block; border-radius: 4px; background-image: linear-gradient(rgba(47, 93, 158, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 93, 158, .06) 1px, transparent 1px); background-size: 16px 16px; }
.pcard-i svg { display: block; width: 100%; height: auto; }
.pcard-t b { display: block; font: 400 24px/1.1 var(--f-d); margin-bottom: 4px; }
.pcard-t span { font-size: 14px; color: var(--ink-2); }
.pcard-p { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcard-p i { font-style: normal; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.ov-wide { width: min(920px, 100%); }
.pd-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pd-i { position: sticky; top: 0; border-radius: 6px; background-color: var(--white); background-image: linear-gradient(rgba(47, 93, 158, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 93, 158, .07) 1px, transparent 1px); background-size: 20px 20px; padding: 18px; }
.pd-i svg { display: block; width: 100%; height: auto; }
.pd-k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pd-f .h3 { font-size: 32px; margin: 4px 0 6px; }
.pd-f .opt { padding: 10px 0 12px; }
.woods-s { grid-template-columns: repeat(4, 1fr); }
.pd-buy { display: grid; gap: 8px; padding-top: 14px; }
.pd-buy .price { font-size: 34px; }

/* ---------- shipping + warranty ---------- */
.ship { padding: 0 0 clamp(64px, 9vw, 110px); }
.ship-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts div { padding: 16px 0; border-top: 1px solid var(--paper-3); }
.facts dt { font-weight: 700; margin-bottom: 4px; }
.facts dd { color: var(--ink-2); font-size: 15px; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-bg { position: absolute; inset: 0; background: rgba(38, 42, 46, .4); animation: fade .25s; }
.drawer-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 40px rgba(0, 0, 0, .15); animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--paper-3); }
.x { width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; }
.x:hover { background: var(--paper-2); }
.drawer-body { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.lines { padding: 8px 22px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--paper-3); }
.line .th { background: var(--white); border-radius: 6px; padding: 4px; box-shadow: inset 0 0 0 1px var(--paper-3); }
.line .th svg { width: 100%; height: auto; display: block; }
.line b { display: block; font-weight: 700; font-size: 15px; }
.line p { font-size: 13px; color: var(--ink-2); }
.line .lp { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line .rm { margin-top: 6px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cart-foot { margin-top: auto; padding: 18px 22px 22px; border-top: 1px solid var(--paper-3); display: grid; gap: 10px; background: var(--paper); }
.tot { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.tot.big { font: 400 26px/1.1 var(--f-d); }
.tot span:first-child { color: var(--ink-2); }
.tot.big span:first-child { color: var(--ink); }
.empty { padding: 40px 22px; display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }

/* ---------- checkout overlay ---------- */
.ov { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; background: rgba(38, 42, 46, .5); animation: fade .25s; overflow: auto; }
.ov-box { position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: 30px 30px 26px; background: var(--paper); border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.ov-x { position: absolute; top: 12px; right: 12px; }
.co-steps { display: flex; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.co-steps li { display: flex; align-items: center; gap: 6px; }
.co-steps li + li::before { content: ""; width: 18px; height: 1px; background: var(--paper-3); }
.co-steps .on { color: var(--ink); }
.co-steps .ok { color: var(--ok); }
.co-h { font: 400 30px/1.1 var(--f-d); margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.fld input { min-height: 46px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--paper-3); font-size: 16px; font-weight: 400; }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--pencil); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--warn); }
.err { color: var(--warn); font-size: 13px; font-weight: 600; min-height: 1px; }
.fill { margin-top: 12px; font-size: 13px; }
.picks { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--paper-3); text-align: left; }
.pick i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); margin-top: 1px; }
.pick[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pick[aria-checked="true"] i { box-shadow: inset 0 0 0 6px var(--ink); }
.pick b { display: block; font-weight: 700; }
.pick span { font-size: 13px; color: var(--ink-2); }
.pick .pp { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-sum { margin: 18px 0; padding: 14px 16px; border-radius: 8px; background: var(--paper-2); display: grid; gap: 6px; font-size: 14px; }
.co-a { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.co-back { font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.pay { display: grid; gap: 14px; padding: 18px; margin-top: 4px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.pay p { font-size: 14px; color: rgba(237, 239, 234, .78); }
.pay .btn-ink { background: var(--paper); color: var(--ink); }
.done-no { font: 400 18px/1.4 var(--f-b); color: var(--ink-2); margin-bottom: 18px; }
.done-no b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tl { display: grid; gap: 0; margin: 6px 0 18px; }
.tl li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--paper-3); font-size: 15px; }
.tl li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); transform: translateY(1px); }
.tl li.now::before { background: var(--ok); box-shadow: none; }
.tl time { color: var(--ink-2); font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 70; transform: translateX(-50%); padding: 12px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); animation: toast .35s var(--ease); }
@keyframes toast { from { transform: translate(-50%, 10px); opacity: 0; } }
[hidden] { display: none !important; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .cfg { grid-template-columns: 1fr; min-height: 0; }
  .panel { position: static; max-height: none; overflow: visible; border-left: 0; border-top: 1px solid var(--paper-3); }
  .buy { box-shadow: none; position: static; }
  .drw { max-height: none; }
  .shop-in, .add-g, .ship-in { grid-template-columns: 1fr; gap: 20px; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pd-g { grid-template-columns: 1fr; gap: 16px; }
  .pd-i { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 16px 0; border-bottom: 1px solid rgba(237, 239, 234, .18); }
}
@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav nav { display: none; }
  .nav-demo { display: inline-block; }
  .cart-btn { margin-left: auto; }
  .demo-flag { display: none; }
  .sheet { padding: 18px 14px 12px; }
  .sheet::after { inset: 6px; }
  .sheet-no { display: none; }
  .h1 { font-size: 28px; }
  .panel { padding: 16px var(--gx) 24px; }
  .woods { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .facts { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .ov { padding: 0; align-items: end; }
  .ov-box { border-radius: 14px 14px 0 0; max-height: 94svh; padding: 26px 18px 22px; }
  .foot-in { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
[tabindex="-1"]:focus { outline: none; }

/* inside the smartINDUSTRIES "Próbáld ki" window the frame already says it is a demo */
.framed .demo-flag, .framed .nav-demo { display: none !important; }
