/*
 * EMD Plus-sites, design B — komponenterne fra designsystemet "Air-fryer.dk" (Claude Design), klasser med præfikset af-.
 * Farverne er sitets tema og kommer som CSS-variabler fra App\Support\Palettes (inline i <head>); fallback-værdierne her
 * er temaet "frisk". Skriften Archivo (SIL Open Font License) ligger på vores egen server — ingen kald til Google.
 * Kilde: components/bundle.css i designsystemet. Ret i designsystemet først, og kopiér ændringen hertil.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2"); }
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px;
  --space-12: 48px; --space-14: 56px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-28: 112px;
  --radius-xs: 6px; --radius-sm: 10px; --radius-md: 12px; --radius-lg: 14px; --radius-xl: 18px; --radius-2xl: 20px; --radius-full: 999px;
  --container-max: 1240px; --gutter-min: 16px; --gutter-max: 32px; --header-height: 80px;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-sans: "Archivo", "Segoe UI", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body { margin: 0; font-family: var(--font-sans, "Archivo", "Segoe UI", system-ui, sans-serif); font-size: 16px; line-height: 1.55; background: var(--surface, #FFFFFF); color: var(--ink, #0B1220); }
.af-root, .af-root * { box-sizing: border-box; }
.af-root a { color: inherit; text-decoration: none; }
.af-root img { display: block; max-width: 100%; height: auto; }
.af-root :focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring, 0 0 0 2px #FFFFFF, 0 0 0 4px #1A56FF); border-radius: var(--radius-sm, 10px); }
.af-display { font-family: var(--font-display, "Archivo", "Arial Narrow", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); }
.af-container { max-width: var(--container-max, 1240px); margin: 0 auto; padding-left: clamp(var(--gutter-min, 16px), 3vw, var(--gutter-max, 32px)); padding-right: clamp(var(--gutter-min, 16px), 3vw, var(--gutter-max, 32px)); }
.af-section { padding-top: var(--space-28, 112px); }
.af-section--first { padding-top: var(--space-24, 96px); }
.af-grid { display: grid; gap: var(--space-6, 24px); }
.af-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.af-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.af-grid--brands { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.af-grid--5 { grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: var(--space-5, 20px); }

/* Knapper og links */
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius-sm, 10px); padding: 0 var(--space-5, 20px); min-height: 46px; font: inherit; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.af-btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
/* Varianterne har to klasser, så de vinder over .af-root a { color: inherit } – ellers får knapper som links sort tekst. */
.af-btn.af-btn--primary { background: var(--accent, #1A56FF); color: var(--on-accent, #FFFFFF); }
.af-btn.af-btn--secondary { background: transparent; border-color: var(--ink, #0B1220); color: var(--ink, #0B1220); }
.af-btn.af-btn--dark { background: var(--ink, #0B1220); color: var(--on-inverse, #FFFFFF); }
.af-btn.af-btn--inverse { background: transparent; border-color: var(--on-inverse, #FFFFFF); color: var(--on-inverse, #FFFFFF); }
.af-btn--block { width: 100%; }
.af-iconbtn { width: 46px; height: 46px; border-radius: var(--radius-sm, 10px); border: 1px solid var(--line, #E1E6EF); background: var(--surface-raised, #FFFFFF); color: var(--ink, #0B1220); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.af-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-full, 999px); border: 1px solid var(--line, #E1E6EF); background: var(--surface-raised, #FFFFFF); font-weight: 600; font-size: 15px; color: var(--ink, #0B1220); }
.af-textlink { font-weight: 700; color: var(--ink, #0B1220); }

/* Mærkater */
.af-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; border-radius: var(--radius-xs, 6px); padding: 5px 10px; }
.af-badge--dark { background: var(--ink, #0B1220); color: var(--on-inverse, #FFFFFF); }
.af-badge--chip { background: var(--surface-chip, #E8EFFF); color: var(--ink, #0B1220); letter-spacing: 0.08em; padding: 6px 10px; }
.af-badge--light { background: var(--surface-raised, #FFFFFF); color: var(--ink, #0B1220); padding: 4px 9px; }
.af-badge--ad { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; border: 1px dashed var(--line-dashed, #9AA6B8); color: var(--ink-muted, #4E5A6C); padding: 2px 8px; }
.af-discount { display: inline-flex; align-items: center; background: var(--deal, var(--ink, #0B1220)); color: var(--on-deal, var(--on-inverse, #FFFFFF)); font-weight: 800; font-size: 15px; padding: 4px 10px; border-radius: var(--radius-full, 999px); }

/* Disclosure-bar og header */
.af-disclosure { background: var(--surface-inverse, #0B1220); color: var(--on-inverse-body, #E8EDF5); font-size: 13px; }
.af-disclosure__in { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; text-align: center; padding-top: 9px; padding-bottom: 9px; }
.af-disclosure a { color: var(--on-inverse, #FFFFFF); font-weight: 700; text-decoration: underline; }
.af-header { border-bottom: 1px solid var(--line, #E1E6EF); background: var(--surface, #FFFFFF); }
.af-header__in { min-height: var(--header-height, 80px); display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.af-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 22px; letter-spacing: 0.01em; text-transform: var(--display-case, uppercase); }
.af-logo img { width: 34px; height: 34px; }
.af-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; flex: 1; }
.af-nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.af-header__actions { display: flex; gap: 10px; }

/* Sektionshoved */
.af-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: var(--space-8, 32px); }
.af-sechead--noted { margin-bottom: 14px; }
.af-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink, var(--accent, #1A56FF)); }
.af-sechead h2 { margin: 6px 0 0; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(36px, 4vw, 56px); line-height: calc(1 * var(--display-leading, 1)); text-wrap: balance; }
.af-secnote { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: var(--space-8, 32px); color: var(--ink-muted, #4E5A6C); }
.af-secnote p { margin: 0; }

/* Hero */
.af-hero { display: flex; flex-wrap: wrap; gap: var(--space-14, 56px); align-items: center; padding-top: var(--space-20, 80px); padding-bottom: var(--space-16, 64px); }
.af-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.af-hero__aside { flex: 1 1 460px; min-width: 0; }
.af-hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted, #4E5A6C); }
.af-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #1A56FF); }
.af-hero__title { margin: 0; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(48px, 6.2vw, 92px); line-height: calc(0.94 * var(--display-leading, 1)); letter-spacing: -0.01em; text-wrap: balance; }
.af-hero__lead { margin: 0; font-size: 19px; color: var(--ink-body, #2E3A4B); max-width: 560px; }
.af-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.af-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-body, #2E3A4B); margin: 0; padding: 0; list-style: none; }
.af-checks li { display: inline-flex; align-items: center; gap: 8px; }
.af-checks svg { color: var(--price-down, #00875A); flex: none; }

/* Intro: sidens H1 og beskrivelse lige efter heroen */
.af-intro { padding-top: var(--space-4, 16px); }
.af-intro h1 { margin: 0 0 16px; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(34px, 3.6vw, 48px); line-height: calc(1.05 * var(--display-leading, 1)); max-width: 900px; text-wrap: balance; }
.af-intro p { margin: 0 0 40px; font-size: 18px; line-height: 1.65; color: var(--ink-body, #2E3A4B); max-width: 760px; }

/* Farvet bånd i fuld bredde (toppen og Mest populære) */
.af-band { background: var(--surface-band, #EEF4FF); }
.af-band--top { border-bottom: 1px solid var(--line, #E1E6EF); }

/* Kort-basis */
.af-card { background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-xl, 18px); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
/* Produktbilleder vises i deres oprindelige format: kvadratisk ramme, contain, aldrig beskåret. */
.af-productimg { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); }
.af-arrowdot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #E1E6EF); display: flex; align-items: center; justify-content: center; flex: none; }
.af-muted { color: var(--ink-muted, #4E5A6C); }

/* Fremhævet produktkort */
.af-featured { display: block; background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-2xl, 20px); overflow: hidden; box-shadow: var(--shadow-float, 0 1px 2px #0B12200d, 0 28px 56px -28px #1A56FF59); }
.af-featured__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft, #EDF1F7); font-size: 13px; color: var(--ink-muted, #4E5A6C); }
.af-featured__body { display: flex; flex-wrap: wrap; gap: 20px; padding: 24px 20px; align-items: center; }
.af-featured__img { flex: 1 1 180px; width: 180px; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); border-radius: var(--radius-lg, 14px); min-width: 0; }
.af-featured__info { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.af-featured__brand { font-size: 13px; color: var(--ink-muted, #4E5A6C); }
.af-featured__name { font-size: 24px; line-height: 1.1; font-weight: 700; margin-top: -8px; }
.af-score { display: flex; align-items: center; gap: 10px; }
.af-score__num { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 64px; line-height: 0.9; }
.af-score__label { font-size: 13px; line-height: 1.3; }
.af-featured__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--surface-sunken, #F5F8FD); border-top: 1px solid var(--line-soft, #EDF1F7); }
.af-featured__price { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.af-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.af-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--dot, #CBD3E0); }
.af-dots span.is-active { width: 22px; background: var(--ink, #0B1220); }

/* Scorebar */
.af-scorebar { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.af-scorebar__row { display: flex; justify-content: space-between; color: var(--ink-body, #2E3A4B); }
.af-scorebar__row strong { color: var(--ink, #0B1220); }
.af-scorebar__track { height: 5px; border-radius: 3px; background: var(--line-soft, #EDF1F7); }
.af-scorebar__fill { height: 5px; border-radius: 3px; background: var(--accent, #1A56FF); }

/* Prisgraf */
.af-spark { display: block; }
.af-spark__line { fill: none; stroke: var(--price-down, #00875A); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.af-spark__area { fill: var(--price-down, #00875A); fill-opacity: 0.08; }
.af-spark__dot { fill: var(--price-down, #00875A); }

/* Statistikbånd */
.af-stats { border-top: 2px solid var(--ink, #0B1220); border-bottom: 1px solid var(--line, #E1E6EF); padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-6, 24px); }
.af-stats__value { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 44px; line-height: 1; }
.af-stats__label { font-size: 14px; color: var(--ink-muted, #4E5A6C); margin-top: 6px; }

/* Kategori-, mærke- og artikelkort */
.af-catcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); }
.af-catcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; }
.af-cardtitle { font-size: 21px; line-height: 1.2; font-weight: 700; display: block; }
.af-small { font-size: 14px; color: var(--ink-muted, #4E5A6C); }
.af-brandcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); }
.af-brandcard__foot { margin-top: auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.af-brandcard__name { font-size: 20px; line-height: 1.2; font-weight: 700; display: block; }
.af-allbrands { background: var(--surface-inverse, #0B1220); color: var(--on-inverse, #FFFFFF); border-radius: var(--radius-xl, 18px); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 240px; }
.af-allbrands__count { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 44px; line-height: 1; }
.af-allbrands__range { font-size: 14px; color: var(--on-inverse-muted, #B9C4D4); }
.af-article__media { position: relative; display: block; }
.af-article__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.af-article__media .af-badge { position: absolute; top: 14px; left: 14px; }
.af-article__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.af-article__meta { font-size: 13px; color: var(--ink-muted, #4E5A6C); }

/* Tilbudskort */
.af-deal { background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-xl, 18px); padding: 16px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.af-deal__media { position: relative; display: block; }
.af-deal__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); border-radius: var(--radius-md, 12px); }
.af-deal__media .af-discount { position: absolute; top: 10px; left: 10px; }
.af-deal__name { font-size: 17px; line-height: 1.25; font-weight: 700; display: block; min-height: 2.5em; }
.af-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.af-price strong { font-size: 22px; }
.af-price s { font-size: 14px; color: var(--ink-muted, #4E5A6C); }
.af-deal__history { border-top: 1px solid var(--line-soft, #EDF1F7); padding-top: 10px; }
.af-deal__historyhead { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-muted, #4E5A6C); margin-bottom: 4px; }
.af-deal__historyhead strong { color: var(--price-down-text, #006B47); }
.af-deal .af-btn { margin-top: auto; }

/* Populær-liste */
.af-poplist { background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-2xl, 20px); overflow: hidden; }
.af-poprow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 22px 28px; border-bottom: 1px solid var(--line-soft, #EDF1F7); }
.af-poprow:last-child { border-bottom: 0; }
.af-poprow__rank { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 36px; color: var(--accent-ink, var(--accent, #1A56FF)); width: 32px; }
.af-poprow img { width: 88px; height: 88px; object-fit: contain; background: var(--surface-raised, #FFFFFF); border-radius: var(--radius-lg, 14px); flex: none; }
.af-poprow__name { flex: 1 1 260px; min-width: 0; }
.af-poprow__name a { font-size: 19px; font-weight: 700; }
.af-rating { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.af-rating svg { color: var(--rating, #F5A700); }
.af-rating__num { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 26px; }
.af-rating__label { font-size: 12px; line-height: 1.3; color: var(--ink-muted, #4E5A6C); }
.af-poprow__price { min-width: 150px; font-size: 14px; }
.af-poprow__price strong { font-size: 20px; }

/* Prisklassekort */
.af-tier { position: relative; background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-2xl, 20px); padding: 24px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.af-tier--featured { border: 2px solid var(--ink, #0B1220); }
.af-tier__flag { position: absolute; top: -13px; left: 24px; }
.af-tier__head { display: flex; justify-content: space-between; align-items: center; }
.af-tier__score { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 40px; line-height: 1; }
.af-tier img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-raised, #FFFFFF); border-radius: var(--radius-lg, 14px); }
.af-tier__verdict { font-size: 15px; color: var(--ink-body, #2E3A4B); }
.af-tier__verdict strong { color: var(--ink, #0B1220); }
.af-tier__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft, #EDF1F7); padding-top: 16px; flex-wrap: wrap; font-size: 14px; }
.af-tier__foot strong { font-size: 20px; }

/* Behovskort */
.af-need img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.af-need__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.af-need__pick { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft, #EDF1F7); font-size: 13px; color: var(--ink-muted, #4E5A6C); }
.af-need__pick strong { display: block; font-size: 15px; color: var(--ink, #0B1220); }
.af-chiprow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.af-chiprow__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted, #4E5A6C); margin-right: 6px; }

/* Metodebånd */
.af-method { background: var(--surface-inverse, #0B1220); color: var(--on-inverse-body, #E8EDF5); }
.af-method__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: var(--space-24, 96px); padding-bottom: var(--space-24, 96px); }
.af-method__text { flex: 1 1 380px; }
.af-method__text .af-eyebrow { color: var(--accent-inverse, #9DB8FF); }
.af-method__text h2 { margin: 6px 0 16px; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(36px, 4vw, 56px); line-height: calc(1 * var(--display-leading, 1)); color: var(--on-inverse, #FFFFFF); }
.af-method__text p { margin: 0 0 24px; color: var(--on-inverse-muted, #B9C4D4); max-width: 460px; }
.af-method__steps { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border: 1px solid var(--line-inverse, #24304A); border-radius: var(--radius-xl, 18px); overflow: hidden; }
.af-method__step { padding: 28px; border: 1px solid var(--line-inverse, #24304A); margin: -1px 0 0 -1px; }
.af-method__n { font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 40px; line-height: 1; color: var(--accent-inverse, #9DB8FF); }
.af-method__step strong { display: block; color: var(--on-inverse, #FFFFFF); font-size: 18px; margin: 10px 0 6px; }
.af-method__step span { font-size: 14px; color: var(--on-inverse-muted, #B9C4D4); }

/* Redaktionskort */
.af-team { background: var(--surface-raised, #FFFFFF); border: 1px solid var(--line, #E1E6EF); border-radius: var(--radius-2xl, 20px); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; }
.af-team__text { flex: 1 1 420px; }
.af-team__text h2 { margin: 6px 0 16px; font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(32px, 3.4vw, 44px); line-height: calc(1 * var(--display-leading, 1)); }
.af-team__text p { margin: 0 0 18px; color: var(--ink-body, #2E3A4B); }
.af-team__promises { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.af-team__promises li { display: flex; gap: 12px; align-items: flex-start; }
.af-team__promises svg { color: var(--price-down, #00875A); flex: none; margin-top: 3px; }
.af-team__promises span { color: var(--ink-body, #2E3A4B); }

/* Footer */
.af-footer { background: var(--surface-inverse, #0B1220); color: var(--on-inverse-muted, #B9C4D4); }
.af-footer__in { padding-top: var(--space-16, 64px); padding-bottom: var(--space-8, 32px); }
.af-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-8, 32px); }
.af-footer__logo { color: var(--on-inverse, #FFFFFF); font-family: var(--font-display, "Archivo", sans-serif); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 22px; text-transform: var(--display-case, uppercase); }
.af-footer__tagline { font-size: 14px; margin: 10px 0 0; }
.af-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.af-footer__col strong { color: var(--on-inverse, #FFFFFF); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.af-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--space-12, 48px); padding-top: var(--space-5, 20px); border-top: 1px solid var(--line-inverse, #24304A); font-size: 13px; }

/* Let løft på kort i de friske temaer (ingen i beige) */
.af-card, .af-deal, .af-tier, .af-poplist, .af-team { box-shadow: var(--shadow-card, none); }

/* ── Tilføjet i EMD Plus (ikke i designsystemets komponenter endnu) ── */

/* Links og overskrifter uden for komponenterne */
/* Hover: tekstlinks bliver temafarve; kort og knapper beholder deres farver (kortet får en mørkere kant) */
.af-root a:not([class]):hover, .af-root .af-nav a:hover, .af-root .af-textlink:hover { color: var(--accent-ink); }
.af-root .af-footer a:hover, .af-root .af-disclosure a:hover { color: var(--on-inverse); text-decoration: underline; }
.af-btn--primary:hover, .af-btn--dark:hover { filter: brightness(1.08); }
.af-card, .af-deal, .af-tier { transition: border-color 0.15s ease; }
a.af-card:hover, a.af-deal:hover, a.af-tier:hover { border-color: var(--ink-muted); }
.af-disclosure__in > span { max-width: 900px; }
.af-logo img.af-logo__full { width: auto; height: auto; max-height: 44px; max-width: 220px; }
.af-logo { color: var(--ink); }

/* Menu med undermenuer (details/summary — virker uden JavaScript) */
.af-navitem { position: relative; }
.af-navitem summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; cursor: pointer; list-style: none; }
.af-navitem summary::-webkit-details-marker { display: none; }
.af-navitem summary:hover { color: var(--accent-ink); }
.af-navitem[open] summary svg { transform: rotate(180deg); }
.af-navmenu { position: absolute; z-index: 30; top: 100%; left: -14px; min-width: 260px; max-height: 70vh; overflow: auto; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 8px; display: flex; flex-direction: column; }
.af-nav .af-navmenu a { min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm); justify-content: space-between; gap: 16px; }
.af-nav .af-navmenu a:hover { background: var(--surface-band); }
.af-navmenu span { color: var(--ink-muted); font-size: 13px; }

/* Topbåndet: hero + intro med sidens H1 */
.af-band--top .af-hero { padding-bottom: var(--space-14); }
.af-band--top .af-intro { padding-top: 0; padding-bottom: var(--space-14); }
.af-band--top .af-intro p { margin-bottom: 0; }
.af-live { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 16px; }
.af-live__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--price-down); box-shadow: 0 0 0 5px rgba(0, 135, 90, 0.15); flex: none; }
.af-live__text { font-family: var(--font-display); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: 32px; line-height: 1; }
.af-panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-float); }
.af-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.af-panel__badge { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 5px 10px; border-radius: var(--radius-xs); }
.af-panel__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.af-panel__row img { width: 76px; height: 76px; object-fit: contain; background: var(--surface-raised); border-radius: var(--radius-md); }
.af-panel__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.af-panel__info strong { font-size: 16px; line-height: 1.25; }
.af-panel__info .af-small { font-size: 13px; }
.af-panel__chip { align-self: flex-start; background: var(--surface-chip); color: var(--accent-ink); border-radius: var(--radius-xs); padding: 2px 8px; font-weight: 700; font-size: 13px; }
.af-panel__price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; white-space: nowrap; }
.af-panel__price strong { font-size: 17px; }
.af-panel__foot { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--surface-sunken); font-size: 13px; color: var(--ink-body); }
.af-root .af-panel__foot a { font-weight: 700; color: var(--accent-ink); }
.af-legend { display: inline-flex; align-items: center; gap: 6px; }
.af-legend svg { color: var(--price-down); }

/* Sektionsafstande på forsiden */
.af-section--deals { padding-top: var(--space-20); }
.af-band--pop { margin-top: var(--space-28); }
.af-bandsection { padding-top: var(--space-24); padding-bottom: var(--space-24); }
.af-band--pop + .af-section { padding-top: var(--space-24); }
.af-section-gap { margin-top: var(--space-28); }
.af-teamwrap { padding-top: var(--space-24); padding-bottom: var(--space-24); }
/* Tilbudskort: mærkelinjen står altid (også tom), navnet højst tre linjer, og pris, prisgraf og knap står i bunden,
   så de flugter på tværs af rækken */
.af-deal__brand { font-size: 13px; display: block; min-height: 1.5em; }
.af-deal__name { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.75em; }
.af-deal .af-price { margin-top: auto; }
.af-tier__name { font-size: 21px; line-height: 1.2; }
.af-article__title { font-size: 21px; line-height: 1.25; }
/* Populær-listen som faste kolonner på bred skærm, så prisgraf, pris og knap flugter */
@media (min-width: 900px) {
  .af-poprow { display: grid; grid-template-columns: 32px 88px minmax(0, 1fr) 128px 150px 260px; }
  .af-poprow > .af-btn { justify-self: end; }
}
.af-poprow__spark { flex: none; min-width: 120px; }

/* Guiden på forsiden (forsideteksten) med indholdsfortegnelse */
.af-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.af-toc { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 20px 22px; background: var(--surface-raised); font-size: 14px; line-height: 1.4; }
.af-toc strong { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.af-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1000px) {
  .af-article-layout { grid-template-columns: 280px minmax(0, 760px); gap: 56px; }
  .af-toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
}
.af-prose { font-size: 18px; line-height: 1.7; color: var(--ink-body); }
.af-prose h2 { font-family: var(--font-display); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(28px, 2.6vw, 36px); line-height: calc(1.1 * var(--display-leading, 1)); color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 24px; text-wrap: balance; }
.af-prose h2:first-child { margin-top: 0; }
.af-prose h3 { font-size: 21px; line-height: 1.3; color: var(--ink); margin: 32px 0 8px; }
.af-prose p, .af-prose ul, .af-prose ol, .af-prose table, .af-prose blockquote { margin: 0 0 18px; }
.af-prose li { margin-bottom: 6px; }
.af-root .af-prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.15em; }
.af-prose strong { color: var(--ink); }
.af-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.af-prose th, .af-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.af-prose th { background: var(--surface-band); color: var(--ink); }
.af-prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink-muted); }

@media (max-width: 560px) {
  .af-panel__row { grid-template-columns: 56px minmax(0, 1fr); }
  .af-panel__row img { width: 56px; height: 56px; }
  .af-panel__price { grid-column: 2; flex-direction: row; align-items: center; gap: 12px; }
  .af-live__text { font-size: 26px; }
  .af-header__actions { display: none; }
  .af-poprow { padding: 18px; gap: 12px 16px; }
  .af-poprow img { width: 64px; height: 64px; }
}

/* Mobil: menuen på egen linje under logoet (undermenuen i fuld bredde), tilbud som vandret række, kort i to kolonner */
@media (max-width: 760px) {
  .af-header__in { position: relative; min-height: 0; padding-top: 14px; padding-bottom: 6px; gap: 6px 24px; }
  .af-nav { flex: 1 1 100%; gap: 0 20px; }
  .af-navitem { position: static; }
  .af-navmenu { left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); min-width: 0; }
  .af-section { padding-top: var(--space-16); }
  .af-section--deals { padding-top: var(--space-14); }
  .af-band--pop { margin-top: var(--space-16); }
  .af-bandsection { padding-top: var(--space-16); padding-bottom: var(--space-16); }
  .af-band--pop + .af-section { padding-top: var(--space-16); }
  .af-section-gap { margin-top: var(--space-16); }
  .af-teamwrap { padding-top: var(--space-16); padding-bottom: var(--space-16); }
  .af-hero { padding-top: var(--space-12); gap: var(--space-12); }
  .af-hero__text { gap: 20px; }
  .af-hero__lead { font-size: 17px; }
  .af-grid--5 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 4px clamp(16px, 3vw, 32px) 12px; scroll-padding: 0 clamp(16px, 3vw, 32px); }
  .af-grid--5 > * { scroll-snap-align: start; }
  .af-grid--3:not(.af-grid--tiers), .af-grid--4, .af-grid--brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .af-cardtitle, .af-brandcard__name, .af-article__title { font-size: 17px; }
  .af-catcard__foot, .af-brandcard__foot { padding: 14px; }
  .af-need__body, .af-article__body { padding: 14px; }
  .af-arrowdot, .af-brandcard__foot > span[aria-hidden] { display: none; }
  .af-allbrands { min-height: 0; padding: 20px; }
  .af-chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

/* ── Ældre skabeloner (kategori, produkt, guide …) indtil de får design B: det gamle layout, afgrænset ── */
.legacy { max-width: 1100px; margin: 0 auto; padding: 32px clamp(16px, 3vw, 32px) 64px; }
.legacy h1 { font-family: var(--font-display); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(34px, 4vw, 52px); line-height: calc(1.05 * var(--display-leading, 1)); margin: 0 0 16px; text-wrap: balance; }
.legacy h2 { font-family: var(--font-display); font-stretch: var(--display-stretch, 75%); font-weight: var(--display-weight, 800); font-size: clamp(26px, 2.6vw, 34px); line-height: calc(1.1 * var(--display-leading, 1)); margin: 40px 0 12px; }
.af-root .legacy a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.15em; }
:is(.legacy, .af-prose) .notice { font-size: 12px; color: var(--ink-muted); }
:is(.legacy, .af-prose) .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
:is(.legacy, .af-prose) .card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface-raised); }
:is(.legacy, .af-prose) .card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
:is(.legacy, .af-prose) .price { font-weight: 700; }
.af-root :is(.legacy, .af-prose) a.btn, :is(.legacy, .af-prose) .btn { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.af-root :is(.legacy, .af-prose) a.btn-ghost, :is(.legacy, .af-prose) .btn-ghost { background: var(--surface-raised); color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
:is(.legacy, .af-prose) .tp { font-size: 12px; color: var(--ink-muted); }
:is(.legacy, .af-prose) table.specs td { padding: 4px 8px; border-bottom: 1px solid var(--line-soft); }
:is(.legacy, .af-prose) .badge { display: inline-block; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
:is(.legacy, .af-prose) .picks-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 28px; }
:is(.legacy, .af-prose) .pick-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--surface-raised); }
:is(.legacy, .af-prose) .pick-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
:is(.legacy, .af-prose) .pick-card h3 { margin: 0; font-size: 17px; }
:is(.legacy, .af-prose) .pick-card p { margin: 0; }
:is(.legacy, .af-prose) .pick { border-top: 2px solid var(--ink); padding: 16px 0 24px; }
:is(.legacy, .af-prose) .pick-body { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
:is(.legacy, .af-prose) .pick-img { width: 100%; aspect-ratio: 1; object-fit: contain; }
:is(.legacy, .af-prose) .proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
:is(.legacy, .af-prose) .proscons h4 { margin: 0 0 6px; }
:is(.legacy, .af-prose) .proscons ul { list-style: none; padding: 0; margin: 0; }
:is(.legacy, .af-prose) .proscons li { position: relative; padding: 4px 0 4px 30px; }
:is(.legacy, .af-prose) .proscons li::before { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; color: #FFFFFF; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
:is(.legacy, .af-prose) .pros li::before { content: "✓"; background: #16A34A; }
:is(.legacy, .af-prose) .cons li::before { content: "✕"; background: #DC2626; }
@media (max-width: 720px) { :is(.legacy, .af-prose) :is(.picks-top, .pick-body, .proscons) { grid-template-columns: 1fr; } }
/* Produktkort: pris og knap står i en bund-blok, så knapperne flugter på tværs af kort med forskellig navnelængde; tilbudsgitterets wrapper-div strækker kortet */
:is(.legacy, .af-prose) .card .name { line-height: 1.3; }
:is(.legacy, .af-prose) .card .buy { margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
:is(.legacy, .af-prose) .grid > div { display: flex; flex-direction: column; }
:is(.legacy, .af-prose) .grid > div > .card { flex: 1; }
/* Enkeltprodukt i en artikel ([produkt:…]): vandret kort med fast billedbredde i stedet for et kort i fuld tekstbredde */
:is(.legacy, .af-prose) .card-solo { margin: 20px 0; }
:is(.legacy, .af-prose) .card-solo .card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; max-width: 640px; }
:is(.legacy, .af-prose) .card-solo .card img { width: 150px; grid-row: span 2; }
:is(.legacy, .af-prose) .card-solo .card .buy { margin-top: 0; }
@media (max-width: 480px) { :is(.legacy, .af-prose) .card-solo .card { grid-template-columns: 1fr; } :is(.legacy, .af-prose) .card-solo .card img { width: 100%; grid-row: auto; } }
/* Markdown-tabeller i de ældre skabeloner (kategori-tekst, guides): samme udseende som .af-prose table */
.legacy table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; margin: 0 0 18px; }
.legacy th, .legacy td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legacy th { background: var(--surface-band); color: var(--ink); }
.af-intro p.af-intro__more { margin-top: 16px; }

/* Tone 2 (App\Support\PageBlocks): hver anden blok på forsiden bruger temaets anden accent (accent-2, surface-band-2 m.fl.).
   Temaer uden egen tone 2 har samme farver i begge toner, så intet skifter. */
.af-tone-2 { --accent: var(--accent-2); --accent-ink: var(--accent-2-ink); --on-accent: var(--on-accent-2); --surface-band: var(--surface-band-2); --surface-chip: var(--surface-chip-2); }

/* Overskrifternes farve (Palettes: heading, standard = ink). Mørke flader (metode, sidefod) har deres egen. */
.af-hero__title, .af-intro h1, .af-sechead h2, .af-team__text h2, .af-prose h2, .legacy h1, .legacy h2 { color: var(--heading, var(--ink, #0B1220)); }

/* Produktkortets billede med rabatboble i hjørnet (tilbud og prisfald) */
:is(.legacy, .af-prose) .card-img { position: relative; }
:is(.legacy, .af-prose) .card-deal { position: absolute; top: 6px; left: 6px; background: var(--price-down, #00875A); color: #FFFFFF; font-weight: 800; font-size: 15px; line-height: 1; padding: 10px 9px; border-radius: 999px; min-width: 52px; text-align: center; box-shadow: 0 2px 6px #0000002e; }

/* Sideskift (site.partials.pagination) */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 28px 0; font-size: 15px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm, 10px); border: 1px solid var(--line, #E1E6EF); color: var(--ink, #0B1220); text-decoration: none; }
.pager a:hover { border-color: var(--accent, #1A56FF); color: var(--accent-ink, #1A56FF); }
.pager .is-current { background: var(--accent, #1A56FF); border-color: var(--accent, #1A56FF); color: var(--on-accent, #FFFFFF); font-weight: 700; }
.pager .is-off { opacity: 0.45; }
.pager .pager__gap { border: 0; min-width: 20px; padding: 0; }

/* Kategoriens korte intro over produkterne */
.legacy .cat-intro { font-size: 18px; line-height: 1.55; max-width: 780px; margin: 0 0 24px; color: var(--ink-body, #2E3A4B); }
.legacy .cat-empty { max-width: 780px; margin: 0 0 24px; padding: 14px 16px; border-radius: 8px; background: var(--paper-2, #F3F1EC); }
