/* =========================================================
   Malingsbutikk – prototype fra Klartil
   Hvit, moderne og fargerik: koboltblå med en fargestripe. Bytt --brand og --accent for butikkens egne farger.
   ========================================================= */
:root {
  --bg: #ffffff;
  --soft: #f4f5f8;
  --ink: #15171c;
  --ink-2: #3e434c;
  --muted: #6c717b;
  --line: #e4e6ec;
  --brand: #1f3fbf;
  --brand-2: #2b52e0;
  --brand-soft: #e8edff;
  --accent: #f2b33d;
  --accent-2: #ffc457;
  --accent-ink: #1d1503;
  --dark: #10142a;
  --ok: #1f7a3d;
  --danger: #b3261e;
  --radius: 16px;
  --display: "Jost", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 16px 40px rgba(20,30,70,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.proto-badge { background: var(--dark); color: #fff; font-size: .8rem; font-weight: 600; text-align: center; padding: 6px 16px; }
.rainbow { height: 5px; background: linear-gradient(90deg, #e2483d 0 16.6%, #f2b33d 16.6% 33.3%, #6dbf5b 33.3% 50%, #2aa8b8 50% 66.6%, #1f3fbf 66.6% 83.3%, #8a4fd1 83.3%); }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; padding: 11px 20px; font: 700 .95rem/1.2 var(--body); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--brand); color: #fff; }
.btn--accent:hover { background: var(--brand-2); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--yellow { background: var(--accent); color: var(--accent-ink); }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Meny */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.45rem/1 var(--display); letter-spacing: -.02em; }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--accent); display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 22px; height: 22px; fill: #fff; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 11px; border-radius: 10px; color: var(--ink-2); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Forside */
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 80px; }
.status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #9aa0aa; }
.status i.is-open { background: #2fbf63; box-shadow: 0 0 0 4px rgba(47,191,99,.2); }
.status a { color: var(--brand); text-decoration: none; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); }
.hero h1 span { background: linear-gradient(90deg, var(--brand), #8a4fd1 60%, #e2483d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 50ch; margin-top: 22px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__usp { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px 22px; flex-wrap: wrap; font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.hero__usp li { display: flex; gap: 8px; align-items: center; }
.hero__usp svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero__chip { position: absolute; left: -24px; bottom: 32px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 220px; }
.hero__chip strong { display: block; font: 700 1.9rem/1 var(--display); color: var(--brand); }
.hero__chip span { font-size: .84rem; color: var(--muted); }

/* Seksjoner */
.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section__head { max-width: 680px; margin-bottom: 38px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.section__head p:not(.eyebrow), .section__lead { color: var(--muted); margin-top: 14px; font-size: 1.08rem; max-width: 56ch; }
.section--dark .section__lead { color: rgba(255,255,255,.72); }

/* Sortiment */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.cat__icon { width: 50px; height: 50px; border-radius: 14px; background: color-mix(in srgb, var(--c) 16%, white); display: grid; place-items: center; }
.cat__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat h3 { font: 600 1.2rem/1.2 var(--display); margin-bottom: 4px; }
.cat p { color: var(--muted); font-size: .92rem; }

/* Kalkulator */
.calc-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.calc-img { margin-top: 28px; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.inline-step { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 32px; height: 30px; border: 0; background: #fff; font: 700 1.05rem var(--body); color: var(--brand); cursor: pointer; }
.stepper button:hover { background: var(--soft); }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.bk-label { font-weight: 700; font-size: .9rem; margin: 18px 0 8px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 8px; font: 700 .9rem var(--body); color: var(--ink-2); cursor: pointer; line-height: 1.2; }
.seg button small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.seg button[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .93rem; cursor: pointer; margin-top: 16px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.result { margin: 22px 0 16px; padding: 20px; border-radius: 16px; background: var(--dark); color: #fff; display: grid; gap: 12px; }
.result__top { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.result__liters { font: 700 2.6rem/1 var(--display); color: var(--accent); }
.result__liters small { font: 600 1rem var(--body); color: rgba(255,255,255,.7); margin-left: 6px; }
.result__area { font-size: .88rem; color: rgba(255,255,255,.7); text-align: right; }
.packs { display: flex; flex-wrap: wrap; gap: 8px; }
.pack { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: .9rem; }
.pack svg { width: 22px; height: 22px; }
.result__price { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); padding-top: 10px; font-size: .92rem; }
.result__price strong { font-size: 1.1rem; }

/* Klikk og hent */
.mix { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.mix__media { position: sticky; top: 100px; }
.mix__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.mix__badge { position: absolute; right: -16px; top: 32px; background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.mix__badge strong { display: block; font: 700 1.8rem/1 var(--display); }
.mix__badge span { font-size: .82rem; font-weight: 600; }
.order { margin-top: 26px; }
.mini-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 14px; }
.mini-swatches button { aspect-ratio: 1; border-radius: 10px; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); position: relative; }
.mini-swatches button[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand); }
.mini-swatches button span { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--dark); color: #fff; font-size: .72rem; padding: 3px 7px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.mini-swatches button:hover span, .mini-swatches button:focus-visible span { opacity: 1; }
.order__sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--soft); border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; font-size: .92rem; }
.order__sum i { width: 26px; height: 26px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.order__sum span { display: flex; gap: 10px; align-items: center; }
.order__sum strong { font-size: 1.1rem; white-space: nowrap; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span { font-weight: 600; font-size: .86rem; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,63,191,.15); }
.field.has-error input { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-note { margin-top: 12px; background: #fff6e0; color: #6b4a00; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; }
.sent { margin-top: 26px; text-align: center; }
.sent h3 { font: 600 1.4rem var(--display); margin: 12px 0 6px; }
.sent p { color: var(--muted); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin: 0 auto; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Fargeråd */
.advice { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.advice__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.advice-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.advice-card h3 { font: 600 1.25rem var(--display); }
.advice-card p { color: rgba(255,255,255,.72); font-size: .92rem; }
.advice-card__price { font: 700 1.4rem var(--display); color: var(--accent); }
.advice-card .btn { justify-self: start; margin-top: 6px; }
.advice__visual { display: grid; place-items: center; min-height: 380px; }
.fan { position: relative; width: 300px; height: 300px; }
.fan span { position: absolute; left: 50%; bottom: 20px; width: 70px; height: 260px; margin-left: -35px; border-radius: 12px 12px 6px 6px; transform-origin: 50% 94%; background: linear-gradient(180deg, var(--c1) 0 33%, var(--c2) 33% 66%, var(--c3) 66%); box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.fan::after { content: ""; position: absolute; left: 50%; bottom: 26px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #d8dbe3; box-shadow: 0 0 0 4px rgba(0,0,0,.25); z-index: 20; }

/* Tilbud */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; transition: transform .15s, box-shadow .15s; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer__can { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--soft); }
.offer__can svg { width: 46%; height: auto; }
.offer__tag { position: absolute; top: 12px; left: 12px; background: #e2483d; color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.offer__body { padding: 16px 18px 18px; display: grid; gap: 4px; align-content: start; }
.offer__body h3 { font: 600 1.08rem/1.25 var(--display); }
.offer__body p { color: var(--muted); font-size: .85rem; }
.offer__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.offer__price strong { font: 700 1.5rem var(--display); color: var(--ink); }
.offer__price s { color: var(--muted); font-size: .9rem; }
.note-demo { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* Tips */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tip { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.tip__num { font: 700 2.4rem/1 var(--display); color: var(--c); }
.tip h3 { font: 600 1.2rem var(--display); }
.tip ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .93rem; display: grid; gap: 4px; }

/* Butikken */
.store { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.store__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.hours-card { background: var(--soft); border-radius: var(--radius); padding: 20px; }
.hours-card h3 { font: 600 1.15rem var(--display); margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; color: var(--brand); }
.hours .closed { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .95rem; }
.contact-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Bunntekst */
.footer { background: var(--dark); color: #fff; padding: 52px 0 110px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer .muted { color: rgba(255,255,255,.6); margin-top: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__made { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: start; }
.footer__made .muted { margin: 0; }
.footer__made a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.footer__made a:hover { color: var(--accent); }
.credits { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 640px; }
.credits summary { cursor: pointer; }
.credits ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.credits a { color: rgba(255,255,255,.75); font-weight: 400; }

.mobile-bar { display: none; }

/* Booking-vindu */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,12,24,.6); backdrop-filter: blur(3px); }
.modal__panel { position: relative; width: min(540px, 100%); max-height: min(740px, calc(100dvh - 40px)); background: #fff; border-radius: 22px; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 22px 12px; }
.modal__head h2 { font-size: 1.8rem; }
.modal__step { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 4px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.modal__body { overflow-y: auto; padding: 16px 22px 22px; }
.modal__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.modal__foot .btn--accent { flex: 1; }
.choice-list { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.choice:hover { border-color: var(--ink); }
.choice.is-selected { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.choice small { grid-column: 1; color: var(--muted); font-size: .86rem; }
.choice__price { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; align-self: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; }
.day { flex: none; width: 64px; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 4px; background: #fff; cursor: pointer; text-align: center; font: inherit; color: inherit; }
.day small { display: block; font-size: .72rem; color: var(--muted); text-transform: capitalize; }
.day strong { display: block; font: 700 1.4rem/1.1 var(--display); }
.day.is-selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.day.is-selected small { color: rgba(255,255,255,.75); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 0; background: #fff; font: 700 .95rem var(--body); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--ink); }
.slot.is-selected { background: var(--accent); border-color: var(--accent); }
.slots__empty { grid-column: 1 / -1; color: var(--muted); }
.summary { background: var(--soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; display: grid; gap: 6px; font-size: .93rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary strong { text-align: right; }
.bk-done { text-align: center; }
.bk-done h3 { font: 600 1.5rem var(--display); margin: 12px 0 6px; }
.bk-done > p { color: var(--muted); margin-bottom: 14px; }
.bk-done .summary { text-align: left; }

/* Nettbrett og mobil */
@media (max-width: 1000px) {
  .hero__in, .calc-wrap, .mix, .advice, .store { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 560px; }
  .cats, .tips { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr 1fr; }
  .mix__media { position: relative; top: 0; max-width: 520px; }
  .mix__media img { aspect-ratio: 16 / 10; }
  .advice__visual { min-height: 320px; }
}
@media (max-width: 900px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-btn { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { padding: 13px 10px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .section { padding: 62px 0; }
  .hero__in { padding-top: 36px; padding-bottom: 56px; }
  .hero__actions .btn { width: 100%; }
  .hero__chip { left: 10px; bottom: 12px; }
  .cats, .tips, .offers, .advice__cards, .store__grid, .field-row { grid-template-columns: 1fr; }
  .dims { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .calc__row { grid-template-columns: 1fr; }
  .seg { grid-auto-flow: row; grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .mini-swatches { grid-template-columns: repeat(4, 1fr); }
  .mix__badge { right: 10px; top: 12px; }
  .fan { transform: scale(.8); }
  .footer__in { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
