/* ===================================================
   BilligMobil — Mobilfeed Styles v1.0
   Tilpasset fra billiginternet bysider-design
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
    --bm-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bm-primary: #2563eb;
    --bm-primary-dark: #1d4ed8;
    --bm-primary-soft: hsl(224, 88%, 97%);
    --bm-primary-border: hsla(224, 88%, 54%, 0.12);
    --bm-accent: #059669;
    --bm-accent-soft: #ecfdf5;
    --bm-amber: #d97706;
    --bm-amber-soft: #fffbeb;
    --bm-text: #1f2937;
    --bm-text-secondary: #334155;
    --bm-text-muted: #9ca3af;
    --bm-card: #ffffff;
    --bm-border: #e5e7eb;
    --bm-border-light: #f1f5f9;
    --bm-radius: 12px;
    --bm-radius-sm: 8px;
    --bm-radius-xs: 6px;
    --bm-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --bm-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --bm-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --bm-shadow-lg: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.03);
    --bm-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── Reset & Base ── */
.bm-feed,
.bm-feed *,
.bm-comparison-table-wrap,
.bm-comparison-table-wrap *,
.bm-stats-bar,
.bm-stats-bar * {
    font-family: var(--bm-font);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ===================================================
   HERO — Side-header med gradient
   =================================================== */

.bm-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a4f6e 100%);
    color: #fff;
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--bm-radius);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.bm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.bm-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(5,150,105,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bm-hero .bm-breadcrumbs {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.bm-hero .bm-breadcrumbs a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.bm-hero .bm-breadcrumbs a:hover { color: #fff; }

.bm-hero .bm-breadcrumbs span { color: rgba(255,255,255,0.85); }

.bm-hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    position: relative;
    z-index: 1;
}

.bm-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin: 0 0 1.5rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.bm-hero-subtitle strong {
    color: #34d399;
    font-weight: 700;
}

/* Stats bar inside hero — glassmorphism */
.bm-hero .bm-stats-bar {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--bm-radius-sm);
    margin: 0;
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 1;
}

.bm-hero .bm-stat { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.bm-hero .bm-stat-value { color: #fff; font-weight: 700; font-size: 1.25rem; }
.bm-hero .bm-stat-label { text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }


/* ===================================================
   FEED CONTAINER
   =================================================== */

.bm-feed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 780px;
    margin: 0 auto;
}


/* ===================================================
   OFFER CARD — Horizontal grid (logo | details | cta)
   =================================================== */

.bm-offer-card {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    align-items: center;
    gap: 0.875rem;
    background: var(--bm-card);
    border: 1px solid var(--bm-border-light);
    border-radius: var(--bm-radius);
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--bm-text);
    position: relative;
    box-shadow: var(--bm-shadow-xs);
    transition: all var(--bm-transition);
}

.bm-offer-card:hover {
    border-color: var(--bm-primary-border);
    box-shadow: var(--bm-shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--bm-text);
}

.bm-offer-card:focus {
    outline: 2px solid var(--bm-primary);
    outline-offset: 2px;
}


/* ── Badge — absolutpositioneret pill ── */

.bm-offer-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.625rem;
    background: var(--bm-amber-soft);
    color: var(--bm-amber);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
    border: 1px solid rgba(217, 119, 6, 0.15);
    z-index: 1;
}


/* ── Logo ── */

.bm-offer-logo {
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bm-offer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
}


/* ── Details — stacked column ── */

.bm-offer-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}


/* ── Specs (tale, data, EU) ── */

.bm-offer-specs {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--bm-text-secondary);
    flex-wrap: wrap;
}

.bm-spec {
    white-space: nowrap;
}

.bm-spec strong {
    color: var(--bm-primary);
    font-weight: 600;
}


/* ── Pris ── */

.bm-offer-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.bm-price-original {
    font-size: 0.75rem;
    color: var(--bm-text-muted);
    text-decoration: line-through;
}

.bm-price-current {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bm-accent);
    letter-spacing: -0.01em;
}

.bm-price-period {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bm-text-muted);
    white-space: nowrap;
}


/* ── USP pills ── */

.bm-offer-usps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.15rem;
}

.bm-usp-pill {
    font-size: 0.625rem;
    color: var(--bm-text-secondary);
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.15);
    padding: 0.1rem 0.45rem;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1.4;
}


/* ── Feature-badges (5G, eSIM, Streaming) ── */

.bm-offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.bm-badge {
    font-size: 0.575rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.bm-badge-5g {
    background: rgba(37, 99, 235, 0.1);
    color: var(--bm-primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.bm-badge-esim {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.bm-badge-stream {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.bm-badge-music {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.bm-badge-network {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    border: 1px solid rgba(20, 184, 166, 0.2);
}


/* ── Terms (binding) ── */

.bm-offer-terms {
    font-size: 0.65rem;
    color: var(--bm-text-muted);
    grid-column: 2;
    margin-top: -0.2rem;
    font-weight: 500;
}


/* ── CTA — compact, right-aligned ── */

.bm-offer-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.bm-offer-cta {
    background: var(--bm-primary);
    color: #fff;
    padding: 0.5rem 1.125rem;
    border-radius: var(--bm-radius-xs);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--bm-transition);
    letter-spacing: 0.01em;
}

.bm-offer-card:hover .bm-offer-cta {
    background: var(--bm-primary-dark);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.bm-offer-annonce {
    font-size: 0.55rem;
    color: var(--bm-text-muted);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ===================================================
   TOGGLE BUTTON — "Se alle X tilbud"
   =================================================== */

.bm-feed-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem;
    background: transparent;
    border: 1px dashed var(--bm-border);
    border-radius: var(--bm-radius);
    color: var(--bm-text-muted);
    font-family: var(--bm-font);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--bm-transition);
}

.bm-feed-toggle:hover {
    border-color: var(--bm-primary);
    color: var(--bm-primary);
    background: var(--bm-primary-soft);
}

.bm-feed-toggle svg {
    transition: transform var(--bm-transition);
    opacity: 0.6;
}

.bm-feed-toggle[data-expanded="true"] svg {
    transform: rotate(180deg);
}


/* ── Hidden / Expanded states ── */

.bm-offer-card.bm-feed-hidden {
    display: none;
}

.bm-feed.bm-expanded .bm-offer-card.bm-feed-hidden {
    display: grid;
}


/* ===================================================
   COMPARISON TABLE
   =================================================== */

.bm-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--bm-radius);
    margin: 1rem 0;
}

.bm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bm-card);
    border-radius: var(--bm-radius);
    box-shadow: var(--bm-shadow-xs);
    border: 1px solid var(--bm-border-light);
    overflow: hidden;
    font-size: 0.85rem;
    min-width: 600px;
}

/* Sticky header */
.bm-comparison-table thead {
    background: var(--bm-text);
    position: sticky;
    top: 0;
    z-index: 2;
}

.bm-comparison-table th {
    padding: 0.7rem 0.875rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.bm-comparison-table td {
    padding: 0.65rem 0.875rem;
    border-top: 1px solid var(--bm-border-light);
    color: var(--bm-text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Alternating rows */
.bm-comparison-table tbody tr:nth-child(even) td {
    background: var(--bm-border-light);
}

.bm-comparison-table tbody tr:hover td {
    background: var(--bm-primary-soft);
}

/* Table CTA link */
.bm-table-cta {
    display: inline-block;
    background: var(--bm-primary);
    color: #fff !important;
    padding: 0.3rem 0.75rem;
    border-radius: var(--bm-radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--bm-transition);
}

.bm-table-cta:hover {
    background: var(--bm-primary-dark);
    text-decoration: none;
}

/* Rabat badge */
.bm-rabat-badge {
    display: inline-block;
    background: var(--bm-amber-soft);
    color: var(--bm-amber);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--bm-radius-xs);
    white-space: nowrap;
}

/* ===================================================
   STATS BAR — Opsummering (antal tilbud, billigste etc.)
   =================================================== */

.bm-stats-bar {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1rem;
    max-width: 780px;
}

.bm-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bm-card);
    border: 1px solid var(--bm-border-light);
    border-radius: var(--bm-radius);
    padding: 0.875rem 0.625rem;
    text-align: center;
    box-shadow: var(--bm-shadow-xs);
    transition: transform var(--bm-transition), box-shadow var(--bm-transition);
}

.bm-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--bm-shadow-md);
}

.bm-stat-icon {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.bm-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bm-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.bm-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bm-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

/* Accent variant */
.bm-stat--accent .bm-stat-value {
    color: var(--bm-accent);
}


/* ===================================================
   RESPONSIVE — Mobile breakpoint 768px
   =================================================== */

@media (max-width: 768px) {

    .bm-offer-card {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .bm-offer-logo {
        width: 60px;
        height: 32px;
    }

    .bm-offer-badge {
        top: 0.4rem;
        right: 0.5rem;
        font-size: 0.55rem;
    }

    .bm-offer-details {
        grid-column: 2;
    }

    .bm-offer-specs {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .bm-price-current {
        font-size: 0.95rem;
    }

    .bm-offer-terms {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .bm-offer-usps {
        grid-column: 1 / -1;
    }

    .bm-offer-badges {
        grid-column: 1 / -1;
    }

    .bm-offer-cta-wrap {
        grid-column: 1 / -1;
    }

    .bm-offer-cta {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0.6rem;
    }

    /* Stats bar stacker */
    .bm-stats-bar {
        flex-wrap: wrap;
    }

    .bm-stat {
        min-width: calc(50% - 0.5rem);
    }

    .bm-stat-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    .bm-offer-card {
        grid-template-columns: 48px 1fr;
        gap: 0.4rem;
        padding: 0.625rem;
    }

    .bm-offer-logo {
        width: 48px;
        height: 28px;
    }

    .bm-offer-specs {
        flex-direction: column;
        gap: 0.15rem;
        font-size: 0.7rem;
    }

    .bm-price-current {
        font-size: 0.9rem;
    }

    .bm-price-original {
        font-size: 0.7rem;
    }

    .bm-usp-pill {
        font-size: 0.575rem;
    }

    .bm-stat {
        min-width: calc(50% - 0.25rem);
        padding: 0.625rem 0.375rem;
    }

    .bm-stat-value {
        font-size: 1.1rem;
    }
}

/* ── Highlights — Bedste tilbud kort ── */

.bm-highlights { margin: 2rem 0; }
.bm-highlights h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

.bm-highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.bm-highlight-card {
    display: flex;
    flex-direction: column;
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    padding: 1.25rem;
    text-decoration: none;
    color: var(--bm-text);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.bm-highlight-card:hover {
    box-shadow: var(--bm-shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--bm-text);
}

.bm-highlight--green { border-top: 3px solid var(--bm-accent); }
.bm-highlight--blue  { border-top: 3px solid var(--bm-primary); }
.bm-highlight--amber { border-top: 3px solid var(--bm-amber); }
.bm-highlight--green:hover { border-color: var(--bm-accent); }
.bm-highlight--blue:hover  { border-color: var(--bm-primary); }
.bm-highlight--amber:hover { border-color: var(--bm-amber); }

.bm-highlight-label {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; margin-bottom: 0.75rem; color: var(--bm-text-secondary);
}

.bm-highlight-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.bm-highlight-logo { height: 24px; width: auto; object-fit: contain; }
.bm-highlight-provider { font-size: 0.95rem; font-weight: 600; }

.bm-highlight-price {
    font-size: 1.5rem; font-weight: 800; color: var(--bm-accent); margin-bottom: 0.15rem;
}

.bm-highlight-normalpris {
    font-size: 0.75rem; color: var(--bm-text-muted); text-decoration: line-through; margin-bottom: 0.75rem;
}

.bm-highlight-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }

.bm-highlight-pill {
    display: inline-block; background: #f1f5f9; color: var(--bm-text-secondary);
    font-size: 0.7rem; font-weight: 500; padding: 0.2rem 0.5rem; border-radius: var(--bm-radius-xs);
}

.bm-highlight-cta {
    display: block; text-align: center; background: var(--bm-primary); color: #fff;
    font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem;
    border-radius: var(--bm-radius-sm); margin-top: auto; transition: background 0.15s ease;
}

.bm-highlight-card:hover .bm-highlight-cta { background: var(--bm-primary-dark); }

.bm-highlight-annonce {
    text-align: center; font-size: 0.65rem; color: var(--bm-text-muted);
    margin-top: 0.4rem; letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .bm-highlight-cards { grid-template-columns: 1fr; }
}

/* ── Annonce-notice ── */

.bm-annonce-notice {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--bm-text-muted);
    padding: 0.5rem 1rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid var(--bm-border-light);
    border-radius: var(--bm-radius-xs);
    background: #fafbfc;
    letter-spacing: 0.02em;
}

/* ── Forside ── */

.bm-forside {
    font-family: var(--bm-font);
    color: var(--bm-text);
    max-width: 100%;
}

.bm-forside h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--bm-text);
}

.bm-forside h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

/* ── Kategori Grid ── */

.bm-categories {
    margin: 2.5rem 0;
}

.bm-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.bm-category-card {
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    padding: 1.5rem;
    box-shadow: var(--bm-shadow-xs);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bm-category-card:hover {
    box-shadow: var(--bm-shadow-md);
    transform: translateY(-2px);
}

.bm-category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bm-category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--bm-text);
}

.bm-category-card > p {
    font-size: 0.85rem;
    color: var(--bm-text-secondary);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.bm-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.bm-category-links a {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bm-primary);
    background: var(--bm-primary-soft);
    border: 1px solid var(--bm-primary-border);
    border-radius: var(--bm-radius-xs);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.bm-category-links a:hover {
    background: var(--bm-primary);
    color: #fff;
}

/* ── Forside editorial ── */

.bm-forside .bm-editorial {
    margin: 2rem 0;
    line-height: 1.7;
}

.bm-forside .bm-editorial p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.bm-forside .bm-editorial ul,
.bm-forside .bm-editorial ol {
    margin: 0.5rem 0 1rem 1.5rem;
    font-size: 0.95rem;
}

.bm-forside .bm-editorial li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.bm-forside .bm-editorial a {
    color: var(--bm-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bm-forside .bm-editorial a:hover {
    color: var(--bm-primary-dark);
}

/* ── FAQ accordion ── */

.bm-faq {
    margin: 2rem 0;
}

.bm-faq-item {
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.bm-faq-q {
    display: block;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: var(--bm-card);
    list-style: none;
    transition: background 0.15s ease;
}

.bm-faq-q:hover {
    background: #f9fafb;
}

.bm-faq-q::marker,
.bm-faq-q::-webkit-details-marker {
    display: none;
}

.bm-faq-q::after {
    content: '+';
    float: right;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--bm-text-muted);
    transition: transform 0.2s ease;
}

details[open] .bm-faq-q::after {
    content: '−';
}

.bm-faq-a {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--bm-text-secondary);
    line-height: 1.6;
}

/* ── Centering & Max-width ── */

.bm-forside,
.bm-hero,
.bm-editorial,
.bm-highlights,
.bm-faq,
.bm-stats-bar,
.bm-comparison-table-wrap {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.bm-highlights { text-align: center; }
.bm-highlights h3 { text-align: left; }
.bm-highlight-cards { justify-items: center; }

.bm-annonce-notice {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive — Tablet & Mobil ── */

@media (max-width: 768px) {

    /* Hero */
    .bm-hero { padding: 1.5rem 1.25rem 1.25rem; border-radius: 0; margin: 0 -1rem 1rem; }
    .bm-hero-title { font-size: 1.5rem; }
    .bm-hero-subtitle { font-size: 0.88rem; margin-bottom: 1rem; }
    .bm-hero .bm-stats-bar { padding: 0.75rem; flex-direction: column; gap: 0.5rem; }
    .bm-hero .bm-stat-value { font-size: 1rem; }
    .bm-hero .bm-stat { padding: 0.5rem; }

    /* Highlights */
    .bm-highlight-cards { grid-template-columns: 1fr; gap: 0.75rem; }
    .bm-highlight-card { padding: 1rem; }
    .bm-highlight-price { font-size: 1.3rem; }
    .bm-highlight-cta { padding: 0.65rem 1rem; font-size: 0.9rem; }

    /* Stats bar */
    .bm-stats-bar { flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
    .bm-stat-item { font-size: 0.85rem; }

    /* Table */
    .bm-comparison-table-wrap { margin: 0 -1rem; padding: 0 0.5rem; }
    .bm-comparison-table { font-size: 0.75rem; }
    .bm-comparison-table th,
    .bm-comparison-table td { padding: 0.5rem 0.35rem; white-space: nowrap; }
    .bm-comparison-table th:first-child,
    .bm-comparison-table td:first-child { min-width: 100px; }
    .bm-comparison-table img { height: 16px; margin-right: 4px; }
    .bm-table-cta { padding: 0.35rem 0.6rem; font-size: 0.7rem; }
    .bm-rabat-badge { font-size: 0.6rem; padding: 0.1rem 0.35rem; }

    /* Cards / Feed */
    .bm-offer-card { grid-template-columns: 1fr; padding: 0.75rem; gap: 0.5rem; }
    .bm-offer-logo { justify-content: center; }
    .bm-offer-details { text-align: center; }
    .bm-offer-specs { justify-content: center; }
    .bm-offer-price { text-align: center; }
    .bm-offer-usps { justify-content: center; }
    .bm-offer-badges { justify-content: center; }
    .bm-offer-cta-wrap { text-align: center; }
    .bm-offer-cta { width: 100%; display: block; text-align: center; padding: 0.75rem; font-size: 0.95rem; }

    /* Categories */
    .bm-category-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .bm-category-card { padding: 1rem; }

    /* FAQ */
    .bm-faq-q { padding: 0.75rem 1rem; font-size: 0.9rem; }
    .bm-faq-a { padding: 0 1rem 0.75rem; font-size: 0.85rem; }

    /* Editorial / text */
    .bm-editorial { padding: 0 0.25rem; }
    .bm-editorial h2 { font-size: 1.15rem; }
    .bm-editorial p,
    .bm-editorial li { font-size: 0.9rem; line-height: 1.65; }

    /* Forside */
    .bm-forside h2 { font-size: 1.25rem; }
    .bm-forside p { font-size: 0.9rem; }

    /* General touch targets */
    a.bm-highlight-card,
    a.bm-offer-card,
    .bm-table-cta,
    .bm-feed-toggle { min-height: 44px; }
}

@media (max-width: 480px) {

    /* Extra small screens */
    .bm-highlight-cards { gap: 0.5rem; }
    .bm-highlight-card { padding: 0.85rem; }
    .bm-highlight-label { font-size: 0.65rem; margin-bottom: 0.5rem; }
    .bm-highlight-logo { height: 20px; }
    .bm-highlight-provider { font-size: 0.85rem; }
    .bm-highlight-price { font-size: 1.15rem; }
    .bm-highlight-pill { font-size: 0.6rem; padding: 0.15rem 0.4rem; }

    .bm-comparison-table { font-size: 0.68rem; }
    .bm-comparison-table th,
    .bm-comparison-table td { padding: 0.4rem 0.25rem; }

    .bm-stats-bar { gap: 0.35rem; }
    .bm-stat-item { font-size: 0.78rem; }

    .bm-editorial h2 { font-size: 1.05rem; }
}
