/*
 * AR-visning (0.211.0, #260) – linjen «Se det hjemme hos deg» og veiledningen. Bare designvariablene og px (ikke rem –
 * Bricks setter grunnstørrelsen til 10 px). Linjen bruker velgerens klasser (vpv-inn__linje) og får bare ikonet her.
 */
.vpm-ar-linje { position: relative; justify-content: flex-start; text-align: left; cursor: pointer; background: none; color: inherit; font: inherit; }
/* 0.211.1: de to usynlige lagene over linjen (og over «Åpne kameraet») – kundens trykk treffer AR-lenken selv. */
.vpm-ar-linje__dekk, .vpm-ar-lenke { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vpm-ar-linje__dekk[hidden], .vpm-ar-lenke[hidden] { display: none; }
.vpm-ar-lenke img { display: block; width: 100%; height: 100%; opacity: 0; }
.vpm-ar-linje__dekk:focus-visible, .vpm-ar-lenke:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vpm-ar-linje .vpv-inn__x { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vpm-ar-linje__ikon { flex: none; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.vpm-ar-linje__pil { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.vpm-ar-slik { display: inline-block; margin: 10px 0 0; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vpm-ar-slik:focus-visible, .vpm-ar__lukk:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.vpm-ar { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 520px; max-height: 92svh; margin: 0 auto; padding: 10px 22px 22px; overflow-y: auto; border: 0; border-radius: 22px 22px 0 0; background: var(--color-bg, #fbfaf7); color: var(--color-text, #23211e); font-size: 15px; line-height: 1.4; box-sizing: border-box; }
.vpm-ar::backdrop { background: rgba(20, 18, 15, 0.45); }
.vpm-ar__grip { display: block; width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: var(--color-border, #cfc9bd); }
.vpm-ar__lukk { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--color-text-muted, #5f5b54); font-size: 24px; line-height: 1; cursor: pointer; }
.vpm-ar__h { margin: 0 0 4px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.vpm-ar__intro { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.vpm-ar__valg { margin: 0 0 14px; font-size: 15px; color: var(--color-text-muted, #5f5b54); }
.vpm-ar__steg { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--color-border, #e6e2da); }
.vpm-ar__ikon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--color-surface, #efece6); }
.vpm-ar__svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vpm-ar__x { display: flex; flex-direction: column; gap: 2px; }
.vpm-ar__t { font-size: 17px; font-weight: 600; }
.vpm-ar__s { font-size: 14px; color: var(--color-text-muted, #5f5b54); }
.vpm-ar__tips { margin: 10px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--color-surface, #efece6); font-size: 14px; color: var(--color-text-muted, #5f5b54); }
.vpm-ar__knapp { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 52px; padding: 13px; border: 0; border-radius: 4px; background: var(--color-primary, #23211e); color: var(--color-on-primary, #fff); font: inherit; font-size: 16px; font-weight: 600; text-align: center; cursor: pointer; }
.vpm-ar__knapp--venter { opacity: 0.55; }
.vpm-ar__knapp--venter .vpm-ar-lenke { cursor: default; }
.vpm-ar__lite { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--color-text-muted, #5f5b54); }
/* 0.213.0: Android – elementet til model-viewer står utenfor skjermen. I AR legger nettleseren det over hele skjermen. */
.vpm-ar-mv { position: fixed; left: -9999px; top: 0; width: 320px; height: 400px; }
/* 0.227.0 (#289): Android – beskjeden og knappen oppå kamerabildet i 3D-visningen («skjul og vent»). */
.vpm-ar-melding { position: absolute; left: 12px; right: 12px; top: 76px; z-index: 25; box-sizing: border-box; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; pointer-events: none; }
.vpm-ar-utvei { position: absolute; left: 50%; bottom: 104px; z-index: 30; transform: translateX(-50%); min-height: 48px; padding: 14px 22px; border: 0; border-radius: 999px; background: #fff; color: #111; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: auto; }
.vpm-ar-melding[hidden], .vpm-ar-utvei[hidden] { display: none; }
/* 0.227.1 (#289): forbeholdet i veiledningen står over knappen. */
.vpm-ar__veil { margin: 0 0 14px; }

/*
 * 0.214.0 (#261): kameralinjen i kortet «se det» på mobil – ikonet i en rute på 44 px (velgerens vpv-inn__rute), en tynn
 * strek mot linjen over fra teksten og ut, og «Slik gjør du» inne i linjen over de to usynlige lagene.
 */
body .vpv-inn .vpv-inn__linje.vpm-ar-linje--inni { align-items: flex-start; }
.vpm-ar-linje--inni:not(:first-child)::before { content: ""; position: absolute; left: 74px; right: 0; top: 0; border-top: 1px solid var(--color-border, #dcdad4); }
.vpm-ar-linje__rute .vpm-ar-linje__ikon { width: 24px; height: 24px; stroke-width: 2; }
.vpm-ar-linje__kol { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.vpm-ar-linje--inni .vpm-ar-linje__pil { margin-top: 13px; stroke-width: 1.8; }
.vpm-ar-slik--inni { position: relative; z-index: 1; margin: 6px 0 0; padding: 4px 0; }
.vpm-ar-slik--inni::after { content: ""; position: absolute; inset: -8px -12px; }

/*
 * 0.218.0 (#265): PC – linjen som åpner QR-vinduet (ruten på 44 px som på mobil, bare tittelen) og selve vinduet:
 * stor QR-kode til venstre, overskrift, tre steg, valget og «Kamerabildet blir på telefonen din.» til høyre.
 */
.vpm-ar-linje--pc .vpm-ar-linje__rute .vpm-ar-linje__ikon { width: 26px; height: 26px; stroke-width: 1.8; }
.vpm-arqr { width: calc(100% - 48px); max-width: 860px; max-height: calc(100vh - 48px); margin: auto; padding: 28px 40px 40px; overflow-y: auto; border: 0; border-radius: 14px; background: var(--color-bg, #fff); color: var(--color-text, #1b1a18); font-size: 15px; line-height: 1.45; box-sizing: border-box; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.vpm-arqr::backdrop { background: rgba(20, 18, 15, .5); }
.vpm-arqr__lukk { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 12px auto; padding: 0; border: 0; border-radius: 50%; background: var(--color-surface, #f1f0ed); color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.vpm-arqr__lukk:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vpm-arqr__inni { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.vpm-arqr__kode { flex: 0 1 320px; min-width: 240px; box-sizing: border-box; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px solid var(--color-border, #e6e2da); border-radius: 12px; background: #fff; }
.vpm-arqr__svg { display: block; width: 100%; height: auto; fill: #121212; }
.vpm-arqr__adr { font-size: 13px; line-height: 1.4; word-break: break-all; color: #121212; }
.vpm-arqr__kol { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.vpm-arqr__h { margin: 0; font-size: 34px; font-weight: 300; line-height: 1.15; letter-spacing: -0.03em; }
.vpm-arqr__inn { margin: 0; font-size: 17px; }
.vpm-arqr__steg { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vpm-arqr__li { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.vpm-arqr__nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary, #1b1a18); color: var(--color-on-primary, #fff); font-size: 13px; font-weight: 600; }
.vpm-arqr__valg .vpv-inn__kort { order: 0; }
.vpm-arqr__lite { margin: 0; font-size: 13px; color: var(--color-text-muted, #5f5b54); }

/*
 * 0.225.0 (#284): «Hva er dette?» på samme rad som «Slik gjør du» inne i linjen (linjen blir ikke høyere), linjen i Metas
 * apper og arket «Åpne siden i nettleseren». Blokken på bildesiden har sin CSS i malen (VegardAntonsen, va-arf).
 */
.vpm-ar-linje__lenker { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; margin: 6px 0 0; }
.vpm-ar-linje__lenker .vpm-ar-slik--inni { margin: 0; }
a.vpm-ar-hva { color: inherit; }
.vpm-ar-hva.vpm-ar-slik--inni::after { inset: -8px -12px -8px -6px; }
.vpm-ar-hva:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vpm-ar__appbilde { display: flex; justify-content: center; margin: 0 0 12px; padding: 12px; border-radius: 10px; background: var(--color-surface, #efece6); }
.vpm-ar__appsvg { display: block; width: 100%; max-width: 300px; height: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vpm-ar__appsvg .vpm-ar__appdemp { stroke: var(--color-text-muted, #8f897f); }
.vpm-ar__appsvg .vpm-ar__apptekst { fill: currentColor; stroke: none; font-family: inherit; font-size: 11px; font-weight: 600; }
.vpm-ar__appsteg { margin: 0 0 12px; padding: 0; list-style: none; }
.vpm-ar__appli { display: flex; align-items: center; gap: 14px; margin: 0; padding: 9px 0; border-top: 1px solid var(--color-border, #e6e2da); }
.vpm-ar__nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary, #23211e); color: var(--color-on-primary, #fff); font-size: 13px; font-weight: 600; }
.vpm-ar__appt strong { font-weight: 600; }
.vpm-ar__kopier { display: block; box-sizing: border-box; width: 100%; min-height: 52px; padding: 13px; border: 1px solid currentColor; border-radius: 4px; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 600; text-align: center; cursor: pointer; }
.vpm-ar__kopier:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.vpm-ar__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 0.264.0 (#322 runde 3, R14): valget som tekst i QR-vinduet for opplastingsproduktene. */
.vpm-arqr__valgtekst { font-size: 15px; color: var(--color-text-muted, #5f5b54); }
