/* Ønskestjerne — fælles stilark. Design "Natstjerne" (valgt af Carsten 15/11-2026).
   To temaer: mørkt (standard) og lyst. Skiftes med knappen i toppen (js/tema.js),
   valget huskes i localStorage "ost_tema". Alle farver er tokens herunder. */

:root,
[data-tema="moerk"] {
  --bg: #070B1E;
  --bg-2: #0C1230;
  --surface: #10163A;
  --surface-2: #161E4A;
  --surface-3: #222B63;
  --line: #252D5C;
  --line-2: #3A4270;
  --text: #E9ECFF;
  --text-2: #AEB5DC;
  --text-3: #8D94BD;
  --accent: #FFD15C;          /* guld: knapper, stjerne, mærkater */
  --accent-hover: #FFDC80;
  --accent-ink: #070B1E;      /* tekst på guld */
  --accent-text: #FFD15C;     /* guld som tekstfarve */
  --accent-soft: rgba(255, 209, 92, .14);
  --ok: #7FE3B0;
  --ok-soft: rgba(127, 227, 176, .14);
  --img-bg: #F4F5FB;          /* produktbilleder har oftest hvid baggrund */
  --stjerne-prik: #FFFFFF;
  --danger-bg: rgba(255, 120, 120, .14);
  --danger-text: #FFB4B4;
  --overlay: rgba(3, 5, 16, .7);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

[data-tema="lys"] {
  --bg: #F6F7FC;
  --bg-2: #ECEFFA;
  --surface: #FFFFFF;
  --surface-2: #F3F5FD;
  --surface-3: #E3E7F7;
  --line: #DCE1F2;
  --line-2: #C3CAE6;
  --text: #0E1433;
  --text-2: #475082;
  --text-3: #5F6894;
  --accent: #FFC93C;
  --accent-hover: #FFD56A;
  --accent-ink: #0E1433;
  --accent-text: #8A5A00;
  --accent-soft: #FFF3D1;
  --ok: #157A4A;
  --ok-soft: #E2F5EA;
  --img-bg: #FFFFFF;
  --stjerne-prik: #7E88C4;
  --danger-bg: #FCE8E6;
  --danger-text: #8E2418;
  --overlay: rgba(14, 20, 51, .45);
  --shadow-sm: 0 1px 2px rgba(14, 20, 51, .06), 0 3px 10px rgba(14, 20, 51, .05);
  --shadow: 0 2px 6px rgba(14, 20, 51, .05), 0 14px 34px rgba(14, 20, 51, .10);
  --shadow-lg: 0 24px 70px rgba(14, 20, 51, .22);
  color-scheme: light;
}

:root {
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

/* ---------- logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo-lys, .logo-lys:hover { color: #fff; }

/* ---------- knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primaer, .btn-guld { background: var(--accent); color: var(--accent-ink); }
.btn-primaer:hover, .btn-guld:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-sekundaer { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-sekundaer:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text-3); }
.btn-lille { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-fuld { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-tekst {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--text); font-weight: 700; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px;
}
.btn-tekst:hover { color: var(--accent-text); }

/* temaknap */
.tema-knap {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--text); flex: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.tema-knap:hover { background: var(--surface-2); }
.tema-knap svg { width: 20px; height: 20px; }
.tema-knap .ikon-sol { display: none; }
[data-tema="moerk"] .tema-knap .ikon-sol, :root:not([data-tema]) .tema-knap .ikon-sol { display: block; }
[data-tema="moerk"] .tema-knap .ikon-maane, :root:not([data-tema]) .tema-knap .ikon-maane { display: none; }

/* ---------- sidehoved ---------- */
.site-top { position: relative; z-index: 5; }
.site-top .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.site-top nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-top nav a.navlink { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; display: none; }
.site-top nav a.navlink:hover { background: var(--surface-2); }
@media (min-width: 820px) { .site-top nav a.navlink { display: inline-block; } }
.site-top .btn-lille { display: none; }
@media (min-width: 480px) { .site-top .btn-lille { display: inline-flex; } }

/* ---------- stjernehimmel ---------- */
.stjerner { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stjerner span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--stjerne-prik); opacity: .6; }
.stjerner span:nth-child(3n) { width: 3px; height: 3px; opacity: .8; }
.stjerner span:nth-child(4n) { opacity: .4; }
[data-tema="lys"] .stjerner span { opacity: .35; }

/* ---------- forside: hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-top: 56px; padding-bottom: 96px; }
@media (min-width: 900px) { .hero .container { padding-top: 80px; padding-bottom: 120px; } }
.hero .stor-stjerne { width: 76px; height: 76px; }
@media (min-width: 720px) { .hero .stor-stjerne { width: 92px; height: 92px; } }
.hero h1 { font-size: clamp(42px, 9.5vw, 86px); line-height: 1.03; letter-spacing: -0.035em; max-width: 15em; }
.hero h1 .accent { color: var(--accent-text); display: block; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 36em; }
@media (min-width: 720px) { .hero .lead { font-size: 21px; } }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.snart { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-3); font-weight: 500; }
.snart svg { width: 18px; height: 18px; }

/* eksempel-liste */
.eksempel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .eksempel { padding: 32px; } }
.eksempel-hoved { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.eksempel-hoved small { display: block; color: var(--text-3); font-size: 14px; }
.eksempel-hoved strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 4vw, 30px); letter-spacing: -0.02em; margin-top: 4px; }
.eksempel-hoved .dato { color: var(--text-3); font-size: 14px; }
.eksempel-gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 860px) { .eksempel-gitter { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.eks-kort { background: var(--surface-2); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.eks-kort.taget { opacity: .55; }
.eks-flise { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--img-bg); display: grid; place-items: center; }
.eks-flise svg { width: 46%; height: 46%; }
.eks-kort strong { font-weight: 700; font-size: 15px; line-height: 1.3; }
.eks-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; font-size: 13.5px; color: var(--text-2); }
.eks-meta .mest { color: var(--accent-text); font-weight: 700; }
.eks-meta .ledig { color: var(--ok); font-weight: 700; }

/* chips (bruges også af liste-siden) */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px;
}
.chip svg { width: 13px; height: 13px; }
.chip-guld { background: var(--accent-soft); color: var(--accent-text); }
.chip-graa { background: var(--surface-3); color: var(--text-2); }
.chip-plum { background: var(--ok-soft); color: var(--ok); }

/* ---------- sektioner ---------- */
.sektion { padding: 72px 0; }
@media (min-width: 960px) { .sektion { padding: 104px 0; } }
.sektion-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sektion-hoved { max-width: 680px; margin: 0 0 40px; }
.sektion-hoved.center { margin-left: auto; margin-right: auto; text-align: center; }
.sektion-hoved .kicker { font-size: 14px; font-weight: 700; color: var(--accent-text); margin-bottom: 12px; font-family: var(--font-head); }
.sektion-hoved h2 { font-size: clamp(32px, 6vw, 50px); letter-spacing: -0.03em; }
.sektion-hoved p { margin-top: 14px; color: var(--text-2); font-size: 18px; }

.trin { display: grid; gap: 16px; }
@media (min-width: 820px) { .trin { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.trin-kort { border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; background: transparent; }
.trin-nr { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--accent-text); }
.trin-kort h3 { font-size: 23px; letter-spacing: -0.02em; }
.trin-kort p { color: var(--text-2); font-size: 16.5px; }

/* giver-sektion */
.giver { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .giver { grid-template-columns: 1fr 1fr; gap: 64px; } }
.giver-tekst ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.giver-tekst li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.giver-tekst li strong { color: var(--text); display: block; font-weight: 700; }
.tjek { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-top: 1px; }
.tjek svg { width: 16px; height: 16px; }
.reserver-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.reserver-demo .linje { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; }
.reserver-demo .linje strong { font-weight: 700; }
.reserver-demo label { font-size: 14px; color: var(--text-2); font-weight: 600; }
.reserver-demo .falsk-felt { min-height: 50px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); color: var(--text); font-size: 16px; }
.reserver-demo .note { font-size: 14px; color: var(--text-3); }

/* afslutning */
.afslut { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.afslut h2 { font-size: clamp(34px, 7vw, 58px); letter-spacing: -0.03em; max-width: 13em; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 17px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--text-2); }

/* ---------- footer ---------- */
.site-fod { padding: 44px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-3); }
.site-fod .container { display: grid; gap: 22px; }
@media (min-width: 760px) { .site-fod .container { grid-template-columns: 1fr auto; align-items: center; } }
.site-fod nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-fod nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.site-fod nav a:hover { color: var(--accent-text); text-decoration: underline; }
.site-fod .fod-lille { font-size: 14px; margin-top: 8px; }
.site-fod .fod-lille a { color: var(--text-2); }

/* ---------- tekstsider (privatliv, vilkår, 404) ---------- */
.tekstside { padding: 24px 0 48px; }
.tekstside article { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: 24px; padding: 32px 22px; border: 1px solid var(--line); }
@media (min-width: 720px) { .tekstside article { padding: 52px 56px; } }
.tekstside h1 { font-size: clamp(32px, 7vw, 46px); letter-spacing: -0.03em; margin-bottom: 10px; }
.tekstside .opdateret { color: var(--text-3); font-size: 14.5px; margin-bottom: 26px; }
.tekstside h2 { font-size: 22px; margin: 34px 0 10px; }
.tekstside p, .tekstside li { color: var(--text-2); }
.tekstside p + p { margin-top: 12px; }
.tekstside ul { padding-left: 20px; margin: 12px 0 0; }
.tekstside li + li { margin-top: 8px; }
.tekstside a { color: var(--accent-text); }
.pladsholder-tekst { background: var(--accent-soft); color: var(--accent-text); padding: 2px 8px; border-radius: 6px; font-weight: 700; border: 1px dashed var(--accent-text); }
.infoboks { background: var(--surface-2); border-radius: 16px; padding: 18px 20px; margin-top: 18px; color: var(--text-2); }

.fejlside { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 0 72px; position: relative; }
.fejlside .stor-stjerne { width: 110px; height: 110px; margin: 0 auto 26px; }
.fejlside h1 { font-size: clamp(34px, 8vw, 52px); letter-spacing: -0.035em; }
.fejlside p { color: var(--text-2); font-size: 18px; margin: 14px auto 30px; max-width: 30em; }

/* ======================================================================
   Delt ønskeliste (/l/:slug) — listehovedet bruger ejerens valgte farve
   ====================================================================== */
.liste-hoved {
  --tema-fra: #4B2466; --tema-til: #7A3E8E; --tema-tekst: #fff; --tema-tekst-2: rgba(255, 255, 255, .86); --tema-chip: rgba(255, 255, 255, .16);
  background: linear-gradient(150deg, var(--tema-fra) 0%, var(--tema-til) 115%);
  color: var(--tema-tekst);
  border-radius: 0 0 32px 32px;
  position: relative; overflow: hidden;
  padding-bottom: 34px;
}
@media (min-width: 720px) { .liste-hoved { padding-bottom: 52px; border-radius: 0 0 44px 44px; } }
.tema-plum  { --tema-fra: #4B2466; --tema-til: #7A3E8E; }
.tema-rose  { --tema-fra: #E8A0A8; --tema-til: #F3D9DC; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-sage  { --tema-fra: #7FA58A; --tema-til: #CFE0D2; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-ocean { --tema-fra: #2E5E8C; --tema-til: #7FB2D9; }
.tema-sand  { --tema-fra: #C9A27A; --tema-til: #EFE0CB; --tema-tekst: #24142F; --tema-tekst-2: rgba(36, 20, 47, .78); --tema-chip: rgba(255, 255, 255, .5); }
.tema-night { --tema-fra: #1C1830; --tema-til: #3A3360; }
.tema-ocean, .tema-plum, .tema-night { --tema-skygge: 0 1px 12px rgba(0, 0, 0, .12); }
.liste-hoved .pynt { position: absolute; pointer-events: none; opacity: .5; }
.liste-hoved .pynt-1 { right: 7%; top: 86px; width: 30px; }
.liste-hoved .pynt-2 { right: 22%; top: 40px; width: 14px; opacity: .4; }
.liste-hoved .pynt-3 { right: 4%; bottom: 40px; width: 18px; opacity: .35; }
.liste-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 0 6px; }
.liste-top .logo { color: var(--tema-tekst); font-size: 18px; }
.liste-top .logo svg { width: 28px; height: 28px; }
.liste-top-hoejre { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.liste-top .tema-knap { border-color: var(--tema-chip); color: var(--tema-tekst); background: var(--tema-chip); }
.skjul-link {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--tema-tekst-2); font-size: 13.5px; font-weight: 500; text-align: left;
}
.skjul-link span { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; color: var(--tema-tekst); }
.liste-info { position: relative; z-index: 1; padding-top: 26px; max-width: 760px; }
@media (min-width: 720px) { .liste-info { padding-top: 40px; } }
.liste-ejer { font-weight: 700; font-size: 15px; color: var(--tema-tekst-2); display: flex; align-items: center; gap: 8px; }
.liste-ejer .avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--tema-chip); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--tema-tekst);
}
.liste-info h1 {
  color: var(--tema-tekst); font-size: clamp(36px, 10vw, 64px); letter-spacing: -0.035em; line-height: 1.04; margin: 12px 0 0;
  text-shadow: var(--tema-skygge, none); overflow-wrap: anywhere;
}
.liste-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.liste-chips .chip { background: var(--tema-chip); color: var(--tema-tekst); font-size: 13px; padding: 8px 12px; }
.liste-beskrivelse { margin-top: 18px; color: var(--tema-tekst-2); font-size: 16.5px; max-width: 40em; white-space: pre-line; overflow-wrap: anywhere; }

.skjult-note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; margin: 22px 0 0; font-size: 14.5px; color: var(--text-2);
}
.skjult-note svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); margin-top: 1px; }
.skjult-note strong { color: var(--text); }

.liste-hovedlinje { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.liste-hovedlinje h2 { font-size: 22px; }
.liste-hovedlinje .antal { color: var(--text-3); font-size: 14.5px; font-weight: 600; }

.gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 680px) { .gitter { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .gitter { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.kort {
  position: relative; background: var(--surface); border-radius: 20px;
  border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.kort:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kort-billede { position: relative; aspect-ratio: 1 / 1; background: var(--img-bg); margin: 8px 8px 0; border-radius: 14px; overflow: hidden; }
.kort-billede img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: filter .2s ease, opacity .2s ease; }
.pladsholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--surface-3);
}
.pladsholder svg { width: 38%; height: 38%; opacity: .9; }
.maerkat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; line-height: 1;
  padding: 7px 10px 7px 8px; border-radius: 999px;
}
.maerkat svg { width: 13px; height: 13px; }
.status-pille {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 800; line-height: 1;
  padding: 8px 11px 8px 9px; border-radius: 999px;
  background: rgba(7, 11, 30, .86); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.status-pille svg { width: 14px; height: 14px; }
.status-pille.min { background: var(--accent); color: var(--accent-ink); }
.kort-tekst { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
@media (min-width: 680px) { .kort-tekst { padding: 14px 16px 16px; } }
.kort h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: 0; }
.kort-aabn {
  all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.kort-aabn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.kort-aabn:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; }
.kort-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: auto; padding-top: 2px; }
.pris { font-weight: 800; font-size: 15.5px; color: var(--text); white-space: nowrap; }
.butik { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.kort-fod { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; font-size: 13px; color: var(--text-3); font-weight: 600; }
.kort-fod .btn-tekst { position: relative; z-index: 3; font-size: 13.5px; padding: 4px 0; }
.antal-linje { display: inline-flex; align-items: center; gap: 6px; }
.antal-linje .prik { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kort.taget { background: var(--surface); }
.kort.taget .kort-billede img { filter: grayscale(.85) blur(1.5px); opacity: .45; }
.kort.taget .pladsholder { filter: grayscale(.8); opacity: .5; }
.kort.taget h3, .kort.taget .kort-meta { opacity: .55; }
.kort.min { box-shadow: 0 0 0 2px var(--accent); }

/* skelet */
@keyframes glimt { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skel { background: linear-gradient(90deg, var(--surface-2) 0px, var(--surface-3) 120px, var(--surface-2) 240px); background-size: 800px 100%; animation: glimt 1.3s linear infinite; border-radius: 10px; }
.liste-hoved .skel { background: linear-gradient(90deg, rgba(255, 255, 255, .14) 0px, rgba(255, 255, 255, .28) 120px, rgba(255, 255, 255, .14) 240px); background-size: 800px 100%; }
.skel-kort .kort-billede .skel { position: absolute; inset: 0; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .kort, .btn, body { transition: none; } }

/* tom / fejl */
.tilstand { text-align: center; padding: 56px 16px 40px; max-width: 520px; margin: 0 auto; }
.tilstand svg.stor { width: 96px; height: 96px; margin: 0 auto 20px; }
.tilstand h2 { font-size: 28px; letter-spacing: -0.03em; }
.tilstand p { color: var(--text-2); margin: 12px 0 24px; font-size: 17px; }

/* bund-CTA */
.lav-egen {
  margin: 56px 0 8px; background: var(--surface); border-radius: 24px; border: 1px solid var(--line);
  padding: 26px 22px; display: grid; gap: 18px; align-items: center;
}
@media (min-width: 760px) { .lav-egen { grid-template-columns: auto 1fr auto; padding: 28px 32px; gap: 24px; } }
.lav-egen .mini-logo { width: 56px; height: 56px; }
.lav-egen h2 { font-size: 22px; letter-spacing: -0.02em; }
.lav-egen p { color: var(--text-2); font-size: 15.5px; margin-top: 4px; }

/* ---------- dialoger ---------- */
dialog {
  border: 0; padding: 0; color: var(--text); background: transparent;
  max-width: 100vw; max-height: 100dvh; width: 100%; margin: 0; overflow: visible;
}
dialog::backdrop { background: var(--overlay); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow: hidden; }
.ark {
  position: fixed; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  animation: op .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes op { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) {
  .ark {
    left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%);
    width: min(860px, calc(100vw - 56px)); max-height: calc(100dvh - 56px); border-radius: 28px;
    animation: opc .22s ease;
  }
  .ark.smal { width: min(480px, calc(100vw - 56px)); }
  @keyframes opc { from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
}
.ark-greb { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; }
@media (min-width: 760px) { .ark-greb { display: none; } }
.luk {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface-2);
  display: grid; place-items: center; color: var(--text);
}
.luk svg { width: 18px; height: 18px; }
.luk:hover { background: var(--surface-3); }
.detalje { display: grid; }
@media (min-width: 760px) { .detalje { grid-template-columns: 1fr 1fr; } }
.detalje-billede { position: relative; aspect-ratio: 1 / 1; background: var(--img-bg); margin: 8px 16px 0; border-radius: 20px; overflow: hidden; }
@media (max-width: 759px) { .detalje-billede { aspect-ratio: 4 / 3; } }
@media (min-width: 760px) { .detalje-billede { margin: 20px 0 20px 20px; } }
.detalje-billede img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.detalje-billede .maerkat { left: 14px; top: 14px; }
.detalje-indhold { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .detalje-indhold { padding: 56px 32px 32px 28px; } }
.detalje-indhold h2 { font-size: 26px; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.detalje-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.detalje-meta .pris { font-size: 22px; font-family: var(--font-head); font-weight: 600; }
.detalje-meta .butik { font-size: 14.5px; }
.detalje-beskrivelse { color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; font-size: 15.5px; }
.statusboks { border-radius: 16px; padding: 14px 16px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.statusboks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.statusboks strong { display: block; color: var(--text); font-size: 15px; }
.statusboks.lilla { background: var(--surface-2); color: var(--text-2); }
.statusboks.lilla svg { color: var(--accent-text); }
.statusboks.graa { background: var(--surface-2); color: var(--text-2); }
.statusboks.graa svg { color: var(--text-3); }
.statusboks.guld { background: var(--accent-soft); color: var(--text-2); }
.statusboks.guld svg { color: var(--accent-text); }
.handlinger { display: grid; gap: 10px; margin-top: 4px; }
.handlinger .btn-tekst { justify-self: center; }

/* formular */
.form-ark { padding: 26px 20px 24px; }
@media (min-width: 760px) { .form-ark { padding: 34px 32px 30px; } }
.form-ark h2 { font-size: 26px; letter-spacing: -0.025em; padding-right: 48px; }
.form-produkt { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; margin: 16px 0 20px; padding: 10px; background: var(--surface-2); border-radius: 16px; }
.form-produkt .thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--img-bg); }
.form-produkt .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.form-produkt .thumb .pladsholder svg { width: 55%; height: 55%; }
.form-produkt strong { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.felt { display: grid; gap: 6px; margin-bottom: 16px; }
.felt label { font-weight: 700; font-size: 14.5px; }
.felt label .valgfri { color: var(--text-3); font-weight: 500; }
.felt input {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.felt input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.felt input[aria-invalid="true"] { border-color: #E5484D; }
.felt .hjaelp { font-size: 13.5px; color: var(--text-3); }
.fejlbesked { background: var(--danger-bg); color: var(--danger-text); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
.fejlbesked strong { display: block; }
.succes { text-align: center; padding: 8px 0 4px; }
.succes .stjerne-ok { width: 84px; height: 84px; margin: 6px auto 16px; }
.succes h2 { padding: 0; }
.succes p { color: var(--text-2); margin: 10px auto 22px; max-width: 26em; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px);
  background: var(--text); color: var(--bg); padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 100;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.vis { opacity: 1; transform: translate(-50%, 0); }
.maerkat, .status-pille { pointer-events: none; }
.liste-hoved .stor-glimt { display: none; }
@media (max-width: 719px) { .liste-hoved .pynt-3 { display: none; } .liste-hoved .pynt-1 { top: 110px; } }
