/* ============================================================
   REFURBLAB · DESIGNSYSTEM
   ------------------------------------------------------------
   Lys base, én accentfarve (Lab-blå), mørk tekst. Alle farver
   er tokens herunder — mørkt tema redefinerer kun tokens.
   Typografi: systemets egen skrift (SF Pro på Apple, Segoe UI
   Variable på Windows). Ingen eksterne fonte = ingen
   tredjepartskald og hurtig indlæsning.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fafafc;
  --line: #e3e3e8;
  --line-strong: #d2d2d7;
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --accent: #2e4bff;
  --accent-hover: #1d38e8;
  --accent-soft: #eef1ff;
  --accent-ink: #1f35c9;
  --on-accent: #ffffff;
  --ok: #157f3b;
  --ok-soft: #e8f6ee;
  --warn: #a15c00;
  --warn-soft: #fff4e0;
  --danger: #c4001a;
  --danger-soft: #ffeef0;

  --stand-1: #2e4bff;
  --stand-2: #0f8a7e;
  --stand-3: #b06d00;
  --stand-4: #6e6e73;

  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .04), 0 24px 64px rgba(0, 0, 0, .10);
  --header-bg: rgba(255, 255, 255, .78);
  --product-bg: linear-gradient(180deg, #f7f7f9 0%, #eeeef2 100%);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0e;
    --bg-soft: #141418;
    --surface: #17171c;
    --surface-2: #1c1c22;
    --line: #2a2a31;
    --line-strong: #3a3a42;
    --text: #f5f5f7;
    --text-2: #d2d2d7;
    --muted: #a1a1a8;
    --accent: #7d8cff;
    --accent-hover: #97a3ff;
    --accent-soft: #1d2140;
    --accent-ink: #aab4ff;
    --on-accent: #0b0b0e;
    --ok: #4cc37a;
    --ok-soft: #12291b;
    --warn: #f0a640;
    --warn-soft: #2d2010;
    --danger: #ff6b7d;
    --danger-soft: #34141a;
    --stand-1: #7d8cff;
    --stand-2: #3cc7b8;
    --stand-3: #f0a640;
    --stand-4: #a1a1a8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .5);
    --header-bg: rgba(11, 11, 14, .72);
    --product-bg: linear-gradient(180deg, #1a1a20 0%, #121216 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0e;
  --bg-soft: #141418;
  --surface: #17171c;
  --surface-2: #1c1c22;
  --line: #2a2a31;
  --line-strong: #3a3a42;
  --text: #f5f5f7;
  --text-2: #d2d2d7;
  --muted: #a1a1a8;
  --accent: #7d8cff;
  --accent-hover: #97a3ff;
  --accent-soft: #1d2140;
  --accent-ink: #aab4ff;
  --on-accent: #0b0b0e;
  --ok: #4cc37a;
  --ok-soft: #12291b;
  --warn: #f0a640;
  --warn-soft: #2d2010;
  --danger: #ff6b7d;
  --danger-soft: #34141a;
  --stand-1: #7d8cff;
  --stand-2: #3cc7b8;
  --stand-3: #f0a640;
  --stand-4: #a1a1a8;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .5);
  --header-bg: rgba(11, 11, 14, .72);
  --product-bg: linear-gradient(180deg, #1a1a20 0%, #121216 100%);
  color-scheme: dark;
}

/* ---------- Grundlag ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0 0 .5em; line-height: 1.1; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--muted); letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); margin-bottom: 14px; }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: .92em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .lead { margin: 0 auto; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em; cursor: pointer;
  text-decoration: none !important; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translate(3px, -1px); }

/* ---------- Header ---------- */
[data-site-header] { display: block; min-height: var(--header-h); }
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; text-decoration: none !important; }
.brand .logo-svg { height: 28px; width: auto; flex: none; }
.footer-brand .brand .logo-svg { height: 26px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none !important; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 19px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
}

.demo-banner { background: var(--warn-soft); color: var(--warn); font-size: 14px; text-align: center; padding: 8px var(--gutter); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; }
.hero h1 { max-width: 14ch; margin: 0 auto 20px; }
.hero h1 .accent { display: block; }
.hero .lead { max-width: 620px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-visual { position: relative; margin: clamp(32px, 5vw, 56px) auto 0; max-width: 760px; }
.hero-visual::before { content: ""; position: absolute; inset: 18% 8% -4% 8%; background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); filter: blur(30px); z-index: -1; }
.hero-visual img { width: 100%; height: auto; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 6vw, 64px); }
.trust-item { background: var(--surface); padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; text-align: left; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--accent); margin-top: 1px; }
.trust-item strong { display: block; font-size: 16px; letter-spacing: -0.01em; }
.trust-item span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---------- Modelkort ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.model-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; color: var(--text); text-decoration: none !important; border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.model-card .media { aspect-ratio: 4 / 3; background: var(--product-bg); display: grid; place-items: center; padding: 28px; }
.model-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.model-card:hover .media img { transform: scale(1.03); }
.model-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.model-card .brand-line { font-size: 13px; color: var(--muted); font-weight: 500; }
.model-card h3 { margin: 0; font-size: 22px; }
.model-card .tagline { color: var(--muted); font-size: 15px; margin: 0; }
.model-card .foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price-from { font-size: 15px; color: var(--muted); }
.price-from b { font-size: 20px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.stock { font-size: 13px; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.is-low { color: var(--warn); }
.stock.is-out { color: var(--muted); }
.model-card.is-out { opacity: .72; }

/* ---------- Stand-badge ---------- */
.stand { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--c, var(--stand-4)) 12%, transparent); color: var(--c, var(--stand-4)); white-space: nowrap; }
.stand::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stand-1 { --c: var(--stand-1); }
.stand-2 { --c: var(--stand-2); }
.stand-3 { --c: var(--stand-3); }
.stand-4 { --c: var(--stand-4); }

/* ---------- 17 trin ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; position: relative; }
.phase-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.phase-head h3 { margin: 0; font-size: 19px; }
.phase-tag { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--accent); color: var(--on-accent); font-variant-numeric: tabular-nums; }
.step strong { display: block; font-size: 15px; letter-spacing: -0.01em; line-height: 1.3; }
.step div > span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.process-total { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; color: var(--muted); }
.process-meter { display: flex; gap: 4px; }
.process-meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--accent); opacity: .9; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Standskala ---------- */
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grade { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.grade .stand { margin-bottom: 14px; }
.grade p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 960px) { .grades { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grades { grid-template-columns: 1fr; } }

/* ---------- Fordele / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line); }
.feature svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA-bånd ---------- */
.cta-band { background: var(--text); color: var(--bg); border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 70%, transparent); max-width: 560px; margin: 0 auto 28px; font-size: 19px; }
.cta-band .btn-primary { background: var(--bg); color: var(--text); }
.cta-band .btn-primary:hover { background: var(--bg-soft); }

/* ---------- Side-hoved (undersider) ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Filtre (produktliste) ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.segmented { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.select { appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 10px 40px 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }

/* ---------- Modelside ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main { aspect-ratio: 4 / 3; background: var(--product-bg); border-radius: var(--radius-lg); display: grid; place-items: center; padding: clamp(20px, 4vw, 48px); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 60px; border-radius: 12px; border: 2px solid transparent; background: var(--product-bg); padding: 6px; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.pdp-tagline { color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.config-group { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.config-group legend { font-size: 15px; font-weight: 700; margin-bottom: 12px; padding: 0; display: flex; gap: 8px; align-items: baseline; }
.config-group legend .muted { font-weight: 500; font-size: 14px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.options.wide { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; text-align: left; border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 14px;
  padding: 13px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 58px; justify-content: center;
  transition: border-color .15s, box-shadow .15s, opacity .15s;
}
.opt:hover { border-color: var(--muted); }
.opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt .opt-label { font-weight: 600; font-size: 15px; line-height: 1.25; }
.opt .opt-sub { font-size: 13px; color: var(--muted); line-height: 1.3; }
.opt.is-unavailable { opacity: .5; border-style: dashed; }
.opt.is-unavailable .opt-sub::before { content: "Ikke i denne kombination"; }
.opt.is-unavailable .opt-sub > * { display: none; }
.opt .stand { padding: 0; background: none; font-size: 15px; }
@media (max-width: 480px) { .options.wide { grid-template-columns: 1fr; } }

.units { display: grid; gap: 10px; }
.unit { text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.unit[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.unit .u-price { font-weight: 700; font-size: 17px; }
.unit .u-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

.buy-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin-top: 8px; }
.buy-price { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-family: var(--font-display); }
.buy-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 8px 0 20px; font-size: 14px; color: var(--muted); }
.buy-note { margin: 0 0 18px; font-size: 15px; color: var(--text-2); }
.buy-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.buy-perks li { display: flex; gap: 10px; align-items: center; }
.buy-perks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 16px; }
.prose { color: var(--text-2); font-size: 17px; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* ---------- Kurv ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: 96px; }
.cart-lines { display: grid; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line .thumb { aspect-ratio: 4 / 3; background: var(--product-bg); border-radius: 12px; display: grid; place-items: center; padding: 8px; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line h3 { font-size: 18px; margin: 0 0 4px; }
.cart-line .specs { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.cart-line .line-price { font-weight: 700; font-size: 18px; text-align: right; }
.cart-line.is-gone { opacity: .6; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; }
.summary h2 { font-size: 22px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 700; }
.pay-icons { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pay-icons span { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 8px; }
@media (max-width: 900px) {
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line .line-price { grid-column: 2; text-align: left; }
}

/* ---------- Tom tilstand / beskeder ---------- */
.empty { text-align: center; padding: 72px 24px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.empty h2 { font-size: 28px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 20px; }
.notice-ok { background: var(--ok-soft); color: var(--ok); }
.notice-warn { background: var(--warn-soft); color: var(--warn); }
.notice-err { background: var(--danger-soft); color: var(--danger); }
.skeleton { background: linear-gradient(90deg, var(--bg-soft) 0%, var(--line) 50%, var(--bg-soft) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Formularer ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.input, .textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-sm);
  padding: 13px 15px; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 22px; }
.contact-card strong { display: block; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; color: var(--muted); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; color: var(--text); margin-bottom: 14px; letter-spacing: 0; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { margin: 14px 0 0; max-width: 32ch; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.theme-switch { display: inline-flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.theme-switch button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-sm); }
.version { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Body som kolonne, så footeren altid ligger i bunden */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--bg); font-weight: 700; text-decoration: underline; }

/* Indholdet glider let ind ved scroll (kun hvis JS kører) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Lupens indre følger fladen logoet står på */
.site-footer .logo-svg circle { fill: var(--bg-soft); }

/* ---------- Nyhedsbrev ---------- */
.footer-nyhed { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 48px; align-items: start; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-nyhed h3 { font-size: 22px; margin: 0 0 6px; }
.footer-nyhed p { margin: 0; }
@media (max-width: 760px) { .footer-nyhed { grid-template-columns: 1fr; } }
.nyheds-form { display: grid; gap: 12px; }
.nyheds-raekke { display: flex; gap: 8px; }
.nyheds-raekke .input { flex: 1; min-width: 0; border-radius: 999px; padding: 12px 18px; }
.samtykke { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; text-align: left; }
.samtykke input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.nyheds-svar { font-size: 14px; font-weight: 500; min-height: 1em; text-align: left; }
.nyheds-svar.ok { color: var(--ok); }
.nyheds-svar.fejl { color: var(--danger); }
.nyheds-band { background: var(--accent-soft); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: center; }
.nyheds-band h2 { margin-bottom: 10px; }
.nyheds-band .lead { margin: 0; }
@media (max-width: 860px) { .nyheds-band { grid-template-columns: 1fr; } }

/* ---------- Min konto ---------- */
.konto-kort { max-width: 440px; margin: 0 auto 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); }
.kode-felt { font-family: var(--font-mono); font-size: 28px; letter-spacing: .4em; text-align: center; }
.konto-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 96px; }
.konto-menu { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 24px); }
.konto-menu button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.konto-menu button[aria-current="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.konto-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.konto-panel h2 { font-size: 22px; }
.ordre-kort { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; }
.ordre-kort header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rabatkode { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: .06em; border: 2px dashed var(--accent); border-radius: 12px; padding: 14px; text-align: center; margin: 12px 0; user-select: all; }
@media (max-width: 760px) { .konto-grid { grid-template-columns: 1fr; } .konto-menu { position: static; display: flex; overflow-x: auto; } }

/* ---------- Stjerner, nypris, badges ---------- */
.stjerner { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.stjerner-bund { color: var(--line-strong); }
.stjerner-top { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f5a524; }
.stjerner-tal { font-size: 13px; color: var(--muted); margin-left: 6px; }
.card-stjerner { margin: 2px 0 2px; }
.nypris { display: block; font-size: 13px; color: var(--muted); text-decoration: line-through; margin-top: 2px; }
.spar { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 4px; }
.model-card .media { position: relative; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--text); color: var(--bg); }
.opt-delta { font-variant-numeric: tabular-nums; }

/* ---------- Kampagnebanner ---------- */
.kampagne-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 44px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 600; text-align: center; position: relative; }
.kampagne-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kampagne-banner button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: inherit; font-size: 20px; cursor: pointer; opacity: .8; }

/* ---------- Filtre + sammenlign ---------- */
.filtre { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filtre .select { min-width: 0; }
.filtre .nulstil { font-size: 14px; }
.sammenlign-check { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); cursor: pointer; width: fit-content; }
.sammenlign-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.sammenlign-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: flex; gap: 14px; align-items: center; background: var(--text); color: var(--bg); padding: 10px 12px 10px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: 14px; max-width: calc(100vw - 32px); }
.sammenlign-bar .btn { min-height: 38px; padding: 0 18px; font-size: 14px; background: var(--bg); color: var(--text); }
.sammenlign-tabel { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.sammenlign-tabel th, .sammenlign-tabel td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sammenlign-tabel thead th { border-bottom: 0; }
.sammenlign-tabel tbody th { color: var(--muted); font-weight: 500; width: 160px; }
.sammenlign-tabel img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--product-bg); border-radius: 14px; padding: 10px; }
.sammenlign-wrap { overflow-x: auto; padding-bottom: 96px; }
.sammenlign-wrap table { min-width: 640px; }

/* ---------- Garanti-tilvalg ---------- */
.garanti-valg { display: grid; gap: 8px; margin: 18px 0; }
.garanti-valg legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.garanti-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; cursor: pointer; background: var(--surface); font-size: 14px; }
.garanti-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.garanti-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.garanti-opt span { flex: 1; }
.garanti-opt b { white-space: nowrap; }
.garanti-info { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }

/* ---------- Anmeldelser ---------- */
.anm-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.anm-snit { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-family: var(--font-display); line-height: 1; }
.anm-liste { display: grid; gap: 14px; }
.anm { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.anm header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.anm h3 { font-size: 17px; margin: 6px 0 4px; }
.anm p { margin: 0; color: var(--text-2); font-size: 15px; white-space: pre-line; }
.anm .verificeret { font-size: 12px; font-weight: 600; color: var(--ok); }
.anm .svar { margin-top: 12px; padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; font-size: 14px; }
.anm-politik { font-size: 13px; color: var(--muted); margin-top: 18px; max-width: 70ch; }
.stjerne-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stjerne-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stjerne-input label { font-size: 34px; line-height: 1; color: var(--line-strong); cursor: pointer; }
.stjerne-input input:checked ~ label, .stjerne-input label:hover, .stjerne-input label:hover ~ label { color: #f5a524; }
.stjerne-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* ---------- Produktsikkerhed ---------- */
.gpsr { font-size: 14px; color: var(--text-2); }
.gpsr summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.gpsr dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 16px; }
.gpsr dt { color: var(--muted); }
.gpsr dd { margin: 0; }

/* ---------- Konfigurationshjælp og forventninger pr. stand ---------- */
.config-hjaelp { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.forvent-boks { margin-top: 12px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; }
.forvent-boks > strong { display: block; margin-bottom: 8px; font-size: 14px; }
.forvent { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.forvent dt { color: var(--muted); font-weight: 600; }
.forvent dd { margin: 0; color: var(--text-2); }
.grade .forvent { margin-top: 14px; font-size: 13.5px; grid-template-columns: 1fr; gap: 2px; }
.grade .forvent dd { margin-bottom: 8px; }
