/*
 * Den nye bestilleren (2.15.0): dagens bestiller gjort bedre. Utkast og bakgrunn i docs/design/bestiller/.
 *
 * Alt er avgrenset til .lgbx-bs (malen views/bestiller.php og linja nederst, som skriptet legger rett i
 * <body>), og hver regel har to klasser, så temaets regler for input, p og knapper ikke slår gjennom.
 * Samme farger og skrift som resten av nettstedet: mørkeblå #0b2239, handlingsblå #0077b6, grønt for
 * gratis og rabatt, Inter. Bevisst bare lyst tema, som nettstedet.
 *
 * Oppsett: én felles valgrad (radioknapp · navn og én linje · pris i fast kolonne til høyre) for
 * avdeling, avtale, leveringsmåte og bærehjelp, lik på mobil, nettbrett og pc. Prisen står i sidefeltet
 * på pc og i en linje nederst på mobil og nettbrett; trykk på linja åpner oppsummeringen som et ark.
 * Ingen klassenavn inneholder «cart»: veiviseren skjuler alt med det i klassen (#40).
 */

.lgbx-bs {
    --lb-navy: #0b2239;
    --lb-ink: #111827;
    --lb-muted: #4b5563;
    --lb-faint: #6b7280;
    --lb-line: #e3e8ef;
    --lb-field: #cfd8e3;
    --lb-bg: #f4f7fb;
    --lb-blue: #0077b6;
    --lb-blue-dark: #005f93;
    --lb-blue-soft: #e8f3fa;
    --lb-blue-tint: #f5fafd;
    --lb-cyan: #00b0f0;
    --lb-green: #15803d;
    --lb-green-ink: #14532d;
    --lb-green-soft: #e7f6ec;
    --lb-warn: #8a4b00;
    --lb-warn-soft: #fff4e0;
    --lb-red: #b42318;
    --lb-red-soft: #fef1f0;
    --lb-off: #9aa3af;
    --lb-radius: 16px;
    --lb-shadow: 0 1px 2px rgba(11, 34, 57, 0.04), 0 8px 24px rgba(11, 34, 57, 0.06);
    color: var(--lb-ink);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

/* ── Grunnregler innenfor bestilleren ────────────────────────────────────────────────────────── */

.lgbx-bs *,
.lgbx-bs *::before,
.lgbx-bs *::after {
    box-sizing: border-box;
}

.lgbx-bs button,
.lgbx-bs input {
    margin: 0;
    font: inherit;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
}

.lgbx-bs button {
    cursor: pointer;
    line-height: inherit;
}

.lgbx-bs :focus-visible {
    outline: 3px solid var(--lb-cyan);
    outline-offset: 2px;
}

.lgbx-bs h1,
.lgbx-bs h2,
.lgbx-bs h3,
.lgbx-bs h4 {
    margin: 0;
    padding: 0;
    color: var(--lb-navy);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    text-wrap: balance;
}

.lgbx-bs p {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.lgbx-bs ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Nettstedets ekstra CSS (Tilpass) setter a { font-size: 12px; display: block; margin-bottom: 19px } på alle lenker. */
.lgbx-bs a {
    display: inline;
    margin: 0;
    color: var(--lb-blue);
    font-size: inherit;
}

.lgbx-bs .lgbx-bs-tall {
    font-variant-numeric: tabular-nums;
}

.lgbx-bs svg.lgbx-bs-ik {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Siden: samme lyse bakgrunn som dagens bestiller, og bestilleren midt på ─────────────────── */

body.lgbx-bestiller-ny,
body.lgbx-bestiller-ny #theme-page,
body.lgbx-bestiller-ny .master-holder,
body.lgbx-bestiller-ny .mk-main-wrapper-holder,
body.lgbx-bestiller-ny .theme-content {
    background: #f4f7fb !important;
}

.lgbx-bs#lgbx-bs {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 0 64px;
}

/* ── Toppen ───────────────────────────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-hode {
    max-width: 720px;
    margin-bottom: 22px;
}

.lgbx-bs .lgbx-bs-hode__merke {
    color: var(--lb-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lgbx-bs .lgbx-bs-hode h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.lgbx-bs .lgbx-bs-hode__ingress {
    margin-top: 8px;
    color: var(--lb-muted);
    font-size: 17px;
}

.lgbx-bs .lgbx-bs-hode__fordeler {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
    color: var(--lb-muted);
    font-size: 14.5px;
}

.lgbx-bs .lgbx-bs-hode__fordeler li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.lgbx-bs .lgbx-bs-hode__fordeler li::before {
    content: none;
}

.lgbx-bs .lgbx-bs-hode__fordeler svg.lgbx-bs-ik {
    width: 18px;
    height: 18px;
    color: var(--lb-green);
    stroke-width: 2.5;
}

.lgbx-bs .lgbx-bs-hode__fordeler a {
    color: var(--lb-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lgbx-bs .lgbx-bs-laster,
.lgbx-bs .lgbx-bs-uten-js {
    padding: 24px;
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    background: #fff;
    color: var(--lb-muted);
}

/* Før bestilleren er bygd: flaten holder en skjermhøyde. Uten det står bunnen av siden synlig rett under
   «Henter bestilleren …» og skyves ned når kortene kommer (CLS 0,375 på Live 07.10.2026). Regelen slipper
   når bestiller.js bytter ut innholdet. */
.lgbx-bs .lgbx-bs-app:has(> .lgbx-bs-laster) {
    min-height: 100vh;
}

/* ── Ramme: kortene til venstre, prisen i sidefeltet til høyre ──────────────────────────────── */

.lgbx-bs .lgbx-bs-rute {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 28px;
    align-items: start;
}

.lgbx-bs .lgbx-bs-hoved {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.lgbx-bs .lgbx-bs-plass:empty {
    display: none;
}

.lgbx-bs .lgbx-bs-sidefelt {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 12px;
}

body.admin-bar .lgbx-bs .lgbx-bs-sidefelt {
    top: 52px;
}

/* ── Kortene ──────────────────────────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-kort {
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    background: #fff;
    box-shadow: var(--lb-shadow);
    scroll-margin-top: 16px;
}

.lgbx-bs .lgbx-bs-kort__hode {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lgbx-bs .lgbx-bs-kort__hode h2 {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 19px;
    line-height: 1.3;
}

.lgbx-bs .lgbx-bs-kort__valgt {
    margin-left: auto;
    color: var(--lb-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.lgbx-bs .lgbx-bs-nr {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--lb-blue);
    border-radius: 50%;
    color: var(--lb-blue);
    font-size: 14px;
    font-weight: 800;
}

.lgbx-bs .lgbx-bs-nr--ok {
    border-color: var(--lb-navy);
    background: var(--lb-navy);
    color: #fff;
}

.lgbx-bs .lgbx-bs-nr--ok svg.lgbx-bs-ik {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.lgbx-bs .lgbx-bs-blokk {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.lgbx-bs .lgbx-bs-del {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--lb-line);
}

.lgbx-bs .lgbx-bs-del--forste {
    margin-top: 16px;
}

.lgbx-bs .lgbx-bs-del h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16.5px;
    line-height: 1.35;
}

/* ── Spørsmålstegn med forklaring ─────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-info {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--lb-field);
    border-radius: 50%;
    background: #fff;
    color: var(--lb-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.lgbx-bs .lgbx-bs-info:hover,
.lgbx-bs .lgbx-bs-info[aria-expanded="true"] {
    border-color: var(--lb-blue);
    background: var(--lb-blue-soft);
    color: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-infotekst {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-blue-soft);
    color: var(--lb-navy);
    font-size: 14.5px;
    line-height: 1.5;
}

/* ── Valgraden: lik på alle flater ────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-liste {
    display: grid;
    gap: 8px;
}

.lgbx-bs .lgbx-bs-valg {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    column-gap: 14px;
    align-items: center;
    width: 100%;
    min-height: 66px;
    padding: 13px 16px;
    border: 1.5px solid var(--lb-line);
    border-radius: 14px;
    background: #fff;
    color: var(--lb-ink);
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lgbx-bs .lgbx-bs-valg--ikon {
    grid-template-columns: 20px 40px minmax(0, 1fr) auto;
}

.lgbx-bs .lgbx-bs-valg:hover:not(:disabled) {
    border-color: #9cc3dd;
}

.lgbx-bs .lgbx-bs-valg[aria-checked="true"] {
    border-color: var(--lb-blue);
    background: var(--lb-blue-tint);
    box-shadow: 0 0 0 3px var(--lb-blue-soft);
}

.lgbx-bs .lgbx-bs-valg:disabled {
    border-style: dashed;
    background: #f8f9fb;
    cursor: not-allowed;
}

.lgbx-bs .lgbx-bs-valg__radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--lb-field);
    border-radius: 50%;
    background: #fff;
    transition: border 0.15s;
}

.lgbx-bs .lgbx-bs-valg[aria-checked="true"] .lgbx-bs-valg__radio {
    border: 6px solid var(--lb-blue);
}

.lgbx-bs .lgbx-bs-valg:disabled .lgbx-bs-valg__radio {
    background: var(--lb-bg);
}

.lgbx-bs .lgbx-bs-valg__ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--lb-blue-soft);
    color: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-valg__ikon svg.lgbx-bs-ik {
    width: 22px;
    height: 22px;
}

.lgbx-bs .lgbx-bs-valg:disabled .lgbx-bs-valg__ikon {
    background: var(--lb-bg);
    color: var(--lb-off);
}

.lgbx-bs .lgbx-bs-valg__tekst {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lgbx-bs .lgbx-bs-valg__navn {
    color: var(--lb-navy);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
}

.lgbx-bs .lgbx-bs-valg__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    color: var(--lb-muted);
    font-size: 14px;
    line-height: 1.4;
}

.lgbx-bs .lgbx-bs-valg__meta b {
    color: var(--lb-navy);
    font-weight: 700;
}

.lgbx-bs .lgbx-bs-valg__status {
    flex-basis: 100%;
    color: var(--lb-green);
    font-size: 13px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-valg__status--av {
    color: var(--lb-warn);
}

.lgbx-bs .lgbx-bs-valg:disabled .lgbx-bs-valg__navn {
    color: var(--lb-off);
}

.lgbx-bs .lgbx-bs-valg__pris {
    padding-left: 4px;
    line-height: 1.15;
    text-align: right;
}

.lgbx-bs .lgbx-bs-valg__pris b {
    display: block;
    color: var(--lb-navy);
    font-size: 19px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lgbx-bs .lgbx-bs-valg__pris small {
    display: block;
    margin-top: 3px;
    color: var(--lb-faint);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.lgbx-bs .lgbx-bs-valg__pris s {
    font-weight: 500;
}

.lgbx-bs .lgbx-bs-valg__pris .lgbx-bs-gratis {
    color: var(--lb-green);
}

.lgbx-bs .lgbx-bs-valg:disabled .lgbx-bs-valg__pris b {
    color: var(--lb-off);
}

.lgbx-bs .lgbx-bs-brikke {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--lb-green-soft);
    color: var(--lb-green-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.lgbx-bs .lgbx-bs-valgt-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-blue-soft);
    color: var(--lb-navy);
    font-size: 14.5px;
    line-height: 1.5;
}

.lgbx-bs .lgbx-bs-valgt-info svg.lgbx-bs-ik {
    margin-top: 2px;
    color: var(--lb-blue);
}

/* ── Pluss og minus ───────────────────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-stepper {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1.5px solid var(--lb-field);
    border-radius: 14px;
    background: #fff;
}

.lgbx-bs .lgbx-bs-stepper button {
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--lb-blue);
    font-size: 24px;
    line-height: 1;
}

.lgbx-bs .lgbx-bs-stepper button:hover:not(:disabled) {
    background: var(--lb-blue-soft);
}

.lgbx-bs .lgbx-bs-stepper button:disabled {
    color: #c3cad3;
    cursor: default;
}

.lgbx-bs .lgbx-bs-stepper output {
    min-width: 44px;
    color: var(--lb-navy);
    font-size: 21px;
    font-weight: 800;
    text-align: center;
}

.lgbx-bs .lgbx-bs-mini {
    display: inline-flex;
    flex: none;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--lb-field);
    border-radius: 10px;
}

.lgbx-bs .lgbx-bs-mini button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--lb-blue);
    font-size: 19px;
    line-height: 1;
}

.lgbx-bs .lgbx-bs-mini button:disabled {
    color: #c3cad3;
    cursor: default;
}

.lgbx-bs .lgbx-bs-mini output {
    min-width: 26px;
    color: var(--lb-navy);
    font-weight: 700;
    text-align: center;
}

/* ── Hvor mange lagerbokser: foto av boksen, boligvalg, plussknapper og utregning ─────────────── */

.lgbx-bs .lgbx-bs-liten-tittel {
    color: var(--lb-navy);
    font-size: 15.5px;
    font-weight: 700;
}

/* Hjelpemidlene under antallet: to knapper som åpner boligstørrelse eller utregning. De endrer ikke antallet. */
.lgbx-bs .lgbx-bs-hjelpemidler {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--lb-line);
}

.lgbx-bs .lgbx-bs-hjelpeknapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lgbx-bs .lgbx-bs-boliger {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.lgbx-bs .lgbx-bs-bolig {
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: 52px;
    padding: 8px 6px;
    border: 1.5px solid var(--lb-line);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lgbx-bs .lgbx-bs-bolig:hover {
    border-color: #9cc3dd;
}

.lgbx-bs .lgbx-bs-bolig b {
    color: var(--lb-navy);
    font-size: 15px;
    line-height: 1.25;
}

.lgbx-bs .lgbx-bs-bolig[aria-pressed="true"] {
    border-color: var(--lb-blue);
    background: var(--lb-blue-tint);
    box-shadow: 0 0 0 3px var(--lb-blue-soft);
}

.lgbx-bs .lgbx-bs-antall {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    background: var(--lb-bg);
}

.lgbx-bs .lgbx-bs-antall__tegning,
.lgbx-bs .lgbx-bs-antall__valg {
    min-width: 0;
}

/* Fotoet av en fylt lagerboks, gjentatt per boks (2.15.1). Én boks står stor med målestrek; flere står
   tre i bredden. Fyllnivået fra utregningen dekker den ubrukte delen av åpningen mellom dørene. */
.lgbx-bs .lgbx-bs-foto {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-height: 230px;
    padding: 14px 12px 10px 44px;
    border: 1px solid var(--lb-line);
    border-radius: 12px;
    background: #fff;
}

.lgbx-bs .lgbx-bs-foto--flere {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 12px;
}

.lgbx-bs .lgbx-bs-foto__boks {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}

.lgbx-bs .lgbx-bs-foto__boks img {
    display: block;
    width: auto;
    height: 200px;
    max-width: none;
    margin: 0;
    border: 0;
    filter: drop-shadow(0 6px 10px rgba(11, 34, 57, 0.16));
}

.lgbx-bs .lgbx-bs-foto--flere .lgbx-bs-foto__boks {
    max-width: calc((100% - 16px) / 3);
}

.lgbx-bs .lgbx-bs-foto--flere .lgbx-bs-foto__boks img {
    width: 100%;
    height: auto;
}

.lgbx-bs .lgbx-bs-foto__maal {
    position: absolute;
    top: 16px;
    bottom: 12px;
    left: 14px;
    width: 18px;
    border-left: 1.5px solid var(--lb-field);
}

.lgbx-bs .lgbx-bs-foto__maal::before,
.lgbx-bs .lgbx-bs-foto__maal::after {
    content: "";
    position: absolute;
    left: -5px;
    width: 9px;
    border-top: 1.5px solid var(--lb-field);
}

.lgbx-bs .lgbx-bs-foto__maal::before { top: 0; }
.lgbx-bs .lgbx-bs-foto__maal::after { bottom: 0; }

.lgbx-bs .lgbx-bs-foto__maal span {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    color: var(--lb-faint);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lgbx-bs .lgbx-bs-foto__maaltekst {
    margin: 6px 0 0;
    color: var(--lb-faint);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.lgbx-bs .lgbx-bs-foto__fyll {
    position: absolute;
    top: 2%;
    left: 23%;
    width: 59.5%;
    border-bottom: 2px dashed var(--lb-blue);
    background: rgba(244, 247, 251, 0.86);
}

.lgbx-bs .lgbx-bs-foto__fyll b {
    position: absolute;
    right: -6px;
    bottom: -13px;
    transform: translateX(100%);
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--lb-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

/* Små bokser: merket står midt på den stiplede streken, så det følger fyllnivået. */
.lgbx-bs .lgbx-bs-foto--flere .lgbx-bs-foto__fyll b {
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 2px 6px;
    font-size: 11px;
}

.lgbx-bs .lgbx-bs-tegning__tekst {
    margin-top: 10px;
    color: var(--lb-muted);
    font-size: 13.5px;
}

.lgbx-bs .lgbx-bs-antall__tall {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
    color: var(--lb-muted);
    font-size: 15px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-antall__tall b {
    color: var(--lb-navy);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lgbx-bs .lgbx-bs-antall__meta {
    margin: 2px 0 12px;
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-antall__pris {
    margin-top: 12px;
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-antall__pris b {
    color: var(--lb-navy);
    font-size: 16px;
}

.lgbx-bs .lgbx-bs-antall__pris span {
    display: block;
    margin-top: 2px;
}

.lgbx-bs .lgbx-bs-antall__note {
    margin-top: 6px;
    color: var(--lb-warn);
    font-size: 13.5px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-antall__trygg {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--lb-green-ink);
    font-size: 13.5px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-antall__trygg svg.lgbx-bs-ik {
    width: 16px;
    height: 16px;
    color: var(--lb-green);
}

.lgbx-bs .lgbx-bs-kalk-knapp {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    padding: 10px 14px;
    border: 1.5px solid var(--lb-field);
    border-radius: 12px;
    background: #fff;
    color: var(--lb-blue);
    font-size: 15px;
    font-weight: 700;
}

.lgbx-bs .lgbx-bs-kalk-knapp:hover {
    border-color: var(--lb-blue);
    background: var(--lb-blue-tint);
}

.lgbx-bs .lgbx-bs-kalk-knapp svg.lgbx-bs-ik {
    width: 18px;
    height: 18px;
}

.lgbx-bs .lgbx-bs-kalk {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid var(--lb-line);
    border-radius: 14px;
}

.lgbx-bs .lgbx-bs-faner {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.lgbx-bs .lgbx-bs-fane {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid var(--lb-line);
    border-radius: 999px;
    background: #fff;
    color: var(--lb-navy);
    font-size: 14px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-fane[aria-pressed="true"] {
    border-color: var(--lb-navy);
    background: var(--lb-navy);
    color: #fff;
}

.lgbx-bs .lgbx-bs-fane__tall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--lb-blue);
    color: #fff;
    font-size: 12px;
}

.lgbx-bs .lgbx-bs-ting {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.lgbx-bs .lgbx-bs-kalk__tom,
.lgbx-bs .lgbx-bs-hjelpelinje {
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-kalk__svar {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-blue-soft);
    color: var(--lb-navy);
    font-size: 15px;
}

.lgbx-bs .lgbx-bs-kalk__liten {
    color: var(--lb-muted);
    font-size: 13px;
}

.lgbx-bs .lgbx-bs-kalk__knapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.lgbx-bs .lgbx-bs-tel {
    color: var(--lb-navy);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lgbx-bs .lgbx-bs-tel:hover {
    text-decoration: underline;
}

/* ── Felt ─────────────────────────────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-felter {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
}

.lgbx-bs .lgbx-bs-felter .lgbx-bs-felt:first-child {
    grid-column: 1 / -1;
}

.lgbx-bs .lgbx-bs-felt {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.lgbx-bs .lgbx-bs-felt label {
    margin: 0;
    color: var(--lb-navy);
    font-size: 14.5px;
    font-weight: 600;
}

.lgbx-bs input.lgbx-bs-inp {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 14px;
    border: 1.5px solid var(--lb-field);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    color: var(--lb-ink);
    font-size: 17px;
    line-height: normal;
}

.lgbx-bs input.lgbx-bs-inp::placeholder {
    color: #8a94a3;
    opacity: 1;
}

.lgbx-bs input.lgbx-bs-inp:focus {
    border-color: var(--lb-blue);
    outline: none;
    box-shadow: 0 0 0 3px var(--lb-blue-soft);
}

.lgbx-bs input.lgbx-bs-inp[readonly] {
    background: var(--lb-bg);
    color: var(--lb-muted);
}

.lgbx-bs input.lgbx-bs-inp--feil {
    border-color: var(--lb-red);
    background: var(--lb-red-soft);
}

.lgbx-bs .lgbx-bs-feiltekst {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--lb-red);
    font-size: 13.5px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-feiltekst svg.lgbx-bs-ik {
    width: 16px;
    height: 16px;
}

.lgbx-bs .lgbx-bs-svar {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-green-soft);
    color: var(--lb-green-ink);
    font-size: 15px;
}

.lgbx-bs .lgbx-bs-svar svg.lgbx-bs-ik {
    margin-top: 1px;
    color: var(--lb-green);
}

.lgbx-bs .lgbx-bs-svar b {
    font-weight: 700;
}

.lgbx-bs .lgbx-bs-svar--feil {
    background: var(--lb-red-soft);
    color: var(--lb-red);
}

.lgbx-bs .lgbx-bs-svar--feil svg.lgbx-bs-ik {
    color: var(--lb-red);
}

.lgbx-bs .lgbx-bs-svar--info {
    background: var(--lb-blue-soft);
    color: var(--lb-navy);
}

.lgbx-bs .lgbx-bs-svar--info svg.lgbx-bs-ik {
    color: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-tips {
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-lenke {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lb-blue);
    font-size: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lgbx-bs .lgbx-bs-svar--feil .lgbx-bs-lenke,
.lgbx-bs .lgbx-bs-mangler .lgbx-bs-lenke {
    color: var(--lb-red);
}

/* ── Kalender med tider ved siden av (under på mobil) ─────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-kal {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    scroll-margin-top: 16px;
}

.lgbx-bs .lgbx-bs-kal__mnd {
    min-width: 0;
    padding: 14px;
    border: 1.5px solid var(--lb-line);
    border-radius: 14px;
    background: #fff;
}

.lgbx-bs .lgbx-bs-kal__mnd--feil {
    border-color: var(--lb-red);
}

.lgbx-bs .lgbx-bs-kal__hode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lgbx-bs .lgbx-bs-kal__hode b {
    color: var(--lb-navy);
    font-size: 16px;
}

.lgbx-bs .lgbx-bs-kal__hode button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--lb-line);
    border-radius: 10px;
    background: #fff;
    color: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-kal__hode button:disabled {
    color: #c3cad3;
    cursor: default;
}

.lgbx-bs .lgbx-bs-kal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    transition: opacity 0.2s;
}

.lgbx-bs .lgbx-bs-kal__grid--henter {
    opacity: 0.55;
}

.lgbx-bs .lgbx-bs-kal__uke {
    padding-bottom: 4px;
    color: var(--lb-faint);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.lgbx-bs .lgbx-bs-dag {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #b3bac4;
    font-size: 15px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-dag--ledig {
    background: var(--lb-green-soft);
    color: var(--lb-green-ink);
}

.lgbx-bs .lgbx-bs-dag--ledig::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lb-green);
}

.lgbx-bs .lgbx-bs-dag--ledig:hover {
    background: #cdebd8;
}

.lgbx-bs .lgbx-bs-dag--fullt {
    text-decoration: line-through;
}

.lgbx-bs .lgbx-bs-dag[aria-disabled="true"] {
    cursor: default;
}

.lgbx-bs .lgbx-bs-dag[aria-pressed="true"] {
    background: var(--lb-navy);
    color: #fff;
}

.lgbx-bs .lgbx-bs-dag[aria-pressed="true"]::after {
    background: #fff;
}

.lgbx-bs .lgbx-bs-kal__forkl {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 10px;
    color: var(--lb-faint);
    font-size: 12.5px;
}

.lgbx-bs .lgbx-bs-kal__prikk {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-radius: 3px;
    background: var(--lb-line);
    vertical-align: -1px;
}

.lgbx-bs .lgbx-bs-kal__prikk--ledig {
    border: 1px solid #9fd5b0;
    background: var(--lb-green-soft);
}

.lgbx-bs .lgbx-bs-kal__tider {
    min-width: 0;
    padding-top: 4px;
}

.lgbx-bs .lgbx-bs-kal__tider h4 {
    font-size: 16px;
}

.lgbx-bs .lgbx-bs-kal__tider > p {
    margin-top: 2px;
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-tider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.lgbx-bs .lgbx-bs-tider--rom {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.lgbx-bs .lgbx-bs-tid {
    height: 48px;
    padding: 0 6px;
    border: 1.5px solid var(--lb-field);
    border-radius: 12px;
    background: #fff;
    color: var(--lb-navy);
    font-size: 15px;
    font-weight: 700;
}

.lgbx-bs .lgbx-bs-tid:hover {
    border-color: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-tid[aria-pressed="true"] {
    border-color: var(--lb-blue);
    background: var(--lb-blue);
    color: #fff;
}

.lgbx-bs .lgbx-bs-tom-tider {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    background: var(--lb-bg);
    color: var(--lb-muted);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-kal__tider .lgbx-bs-svar {
    margin-top: 4px;
}

.lgbx-bs .lgbx-bs-melding {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-warn-soft);
    color: var(--lb-warn);
    font-size: 14.5px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-valgt-tid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--lb-green-ink);
    font-size: 14.5px;
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-kalk__knapper .lgbx-bs-valgt-tid {
    margin: 0;
}

.lgbx-bs .lgbx-bs-valgt-tid svg.lgbx-bs-ik {
    color: var(--lb-green);
}

/* Egen dato per boks: en fane per lagerboks over kalenderen. */
.lgbx-bs .lgbx-bs-boksfaner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lgbx-bs .lgbx-bs-boksfane {
    display: grid;
    gap: 1px;
    min-width: 128px;
    padding: 8px 12px;
    border: 1.5px solid var(--lb-line);
    border-radius: 12px;
    background: #fff;
    text-align: left;
}

.lgbx-bs .lgbx-bs-boksfane b {
    color: var(--lb-navy);
    font-size: 14.5px;
}

.lgbx-bs .lgbx-bs-boksfane span {
    color: var(--lb-muted);
    font-size: 13px;
}

.lgbx-bs .lgbx-bs-boksfane[aria-pressed="true"] {
    border-color: var(--lb-blue);
    background: var(--lb-blue-tint);
    box-shadow: 0 0 0 3px var(--lb-blue-soft);
}

/* ── Brytere (flyttemateriell, tilbakelevering) ───────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-bryter {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}

.lgbx-bs .lgbx-bs-bryter__spor {
    position: relative;
    flex: none;
    width: 46px;
    height: 28px;
    border-radius: 999px;
    background: var(--lb-field);
    transition: background 0.15s;
}

.lgbx-bs .lgbx-bs-bryter__spor::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s;
}

.lgbx-bs .lgbx-bs-bryter[aria-checked="true"] .lgbx-bs-bryter__spor {
    background: var(--lb-blue);
}

.lgbx-bs .lgbx-bs-bryter[aria-checked="true"] .lgbx-bs-bryter__spor::after {
    transform: translateX(18px);
}

.lgbx-bs .lgbx-bs-bryter__tekst {
    flex: 1;
    min-width: 0;
}

.lgbx-bs .lgbx-bs-bryter__tekst b {
    display: block;
    color: var(--lb-navy);
    font-size: 17px;
}

.lgbx-bs .lgbx-bs-bryter__tekst span {
    color: var(--lb-muted);
    font-size: 14.5px;
}

.lgbx-bs .lgbx-bs-bryter--liten .lgbx-bs-bryter__tekst b {
    font-size: 15.5px;
}

/* ── Flyttemateriell og tingene i utregningen ─────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-varer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lgbx-bs .lgbx-bs-vare {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 8px 8px 14px;
    border: 1px solid var(--lb-line);
    border-radius: 12px;
    background: #fff;
}

.lgbx-bs .lgbx-bs-vare--valgt {
    border-color: var(--lb-blue);
    background: var(--lb-blue-tint);
}

.lgbx-bs img.lgbx-bs-vare__bilde {
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0 0 0 -6px;
    border-radius: 8px;
    background: var(--lb-bg);
    object-fit: cover;
}

.lgbx-bs .lgbx-bs-vare__tekst {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.35;
}

.lgbx-bs .lgbx-bs-vare__tekst b {
    display: block;
    color: var(--lb-navy);
    font-weight: 600;
}

.lgbx-bs .lgbx-bs-vare__tekst span {
    color: var(--lb-muted);
    white-space: nowrap;
}

/* ── Prisen og oppsummeringen ─────────────────────────────────────────────────────────────────── */

.lgbx-bs .lgbx-bs-pris {
    padding: 22px 24px;
    border-radius: var(--lb-radius);
    background: var(--lb-navy);
    box-shadow: 0 16px 40px rgba(11, 34, 57, 0.18);
    color: #fff;
}

.lgbx-bs .lgbx-bs-pris__merke {
    color: #9fc4de;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lgbx-bs .lgbx-bs-pris__tall {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.lgbx-bs .lgbx-bs-pris__tall b {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.lgbx-bs .lgbx-bs-pris__tall span {
    color: #c9d6e3;
    font-size: 15px;
}

.lgbx-bs .lgbx-bs-pris__linje {
    margin-top: 8px;
    color: #c9d6e3;
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-pris__linje .lgbx-bs-brikke {
    margin-right: 6px;
    background: rgba(134, 239, 172, 0.16);
    color: #a7f3c0;
}

.lgbx-bs .lgbx-bs-sum {
    padding: 20px 22px;
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    background: #fff;
    box-shadow: var(--lb-shadow);
}

.lgbx-bs .lgbx-bs-sum h3 {
    margin: 16px 0 4px;
    color: var(--lb-faint);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lgbx-bs .lgbx-bs-sum h3:first-child {
    margin-top: 0;
}

.lgbx-bs .lgbx-bs-rad {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 14.5px;
}

.lgbx-bs .lgbx-bs-rad span:first-child {
    min-width: 0;
    color: var(--lb-muted);
}

.lgbx-bs .lgbx-bs-rad span:last-child {
    color: var(--lb-ink);
    font-weight: 600;
    text-align: right;
}

.lgbx-bs .lgbx-bs-rad--sum {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--lb-line);
}

.lgbx-bs .lgbx-bs-rad--sum span:first-child,
.lgbx-bs .lgbx-bs-rad--sum span:last-child {
    color: var(--lb-navy);
    font-size: 16.5px;
    font-weight: 800;
}

.lgbx-bs .lgbx-bs-rad--gratis span:last-child {
    color: var(--lb-green);
}

.lgbx-bs .lgbx-bs-rad--tom span:last-child {
    color: var(--lb-faint);
    font-weight: 500;
}

.lgbx-bs .lgbx-bs-sum__liten {
    margin-top: 2px;
    color: var(--lb-faint);
    font-size: 13px;
}

.lgbx-bs .lgbx-bs-knapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 12px;
    background: var(--lb-blue);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.25);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.lgbx-bs .lgbx-bs-knapp:hover:not(:disabled) {
    background: var(--lb-blue-dark);
}

.lgbx-bs .lgbx-bs-knapp:disabled {
    opacity: 0.7;
    cursor: progress;
}

.lgbx-bs .lgbx-bs-knapp--hel {
    width: 100%;
    margin-top: 16px;
}

.lgbx-bs .lgbx-bs-knapp--lys {
    min-height: 44px;
    padding: 0 18px;
    box-shadow: none;
    font-size: 15px;
}

.lgbx-bs .lgbx-bs-trygt {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    color: var(--lb-muted);
    font-size: 13.5px;
}

.lgbx-bs .lgbx-bs-trygt svg.lgbx-bs-ik {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--lb-green);
}

.lgbx-bs .lgbx-bs-mangler {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lb-red-soft);
    color: var(--lb-red);
    font-size: 14px;
}

.lgbx-bs .lgbx-bs-mangler ul {
    margin: 6px 0 0;
    padding-left: 18px;
    list-style: disc;
}

.lgbx-bs .lgbx-bs-mangler li {
    margin: 2px 0;
}

.lgbx-bs .lgbx-bs-hjelp {
    color: var(--lb-muted);
    font-size: 14px;
    text-align: center;
}

/* ── Linja nederst og oppsummeringen som ark (mobil og nettbrett) ─────────────────────────────── */

.lgbx-bs .lgbx-bs-linje,
.lgbx-bs .lgbx-bs-ark,
.lgbx-bs .lgbx-bs-ark-bak {
    display: none;
}

.lgbx-bs .lgbx-bs-ark__hode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.lgbx-bs .lgbx-bs-ark__hode h2 {
    font-size: 18px;
}

.lgbx-bs .lgbx-bs-ark__lukk {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--lb-line);
    border-radius: 50%;
    background: #fff;
    color: var(--lb-navy);
}

.lgbx-bs .lgbx-bs-ark .lgbx-bs-sum {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.lgbx-bs .lgbx-bs-ark__mnd {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--lb-line);
    color: var(--lb-muted);
    font-size: 15px;
}

.lgbx-bs .lgbx-bs-ark__mnd b {
    margin-right: 4px;
    color: var(--lb-navy);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lgbx-bs .lgbx-bs-ark__mnd span {
    display: block;
    margin-top: 2px;
    font-size: 13.5px;
}

/* Nettbrett og mobil: én spalte, prisen i en linje nederst som åpner hele oppsummeringen. */
@media (max-width: 1020px) {
    .lgbx-bs .lgbx-bs-rute {
        grid-template-columns: minmax(0, 1fr);
    }

    .lgbx-bs .lgbx-bs-sidefelt {
        position: static;
    }

    body.lgbx-bestiller-ny {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    html.lgbx-bs-laast,
    html.lgbx-bs-laast body {
        overflow: hidden;
    }

    .lgbx-bs .lgbx-bs-linje {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 990;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--lb-line);
        background: #fff;
        box-shadow: 0 -8px 24px rgba(11, 34, 57, 0.1);
        transition: transform 0.2s;
    }

    .lgbx-bs-fast--borte .lgbx-bs-linje,
    .lgbx-bs-fast--fokus .lgbx-bs-linje {
        transform: translateY(110%);
    }

    .lgbx-bs .lgbx-bs-linje__vis {
        display: grid;
        flex: 1;
        gap: 1px;
        min-width: 0;
        padding: 4px 0;
        border: 0;
        background: none;
        text-align: left;
    }

    .lgbx-bs .lgbx-bs-linje__vis b {
        color: var(--lb-navy);
        font-size: 19px;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .lgbx-bs .lgbx-bs-linje__vis span {
        display: flex;
        align-items: center;
        gap: 4px;
        color: var(--lb-muted);
        font-size: 13px;
        white-space: nowrap;
    }

    .lgbx-bs .lgbx-bs-linje__vis svg.lgbx-bs-ik {
        width: 16px;
        height: 16px;
        color: var(--lb-blue);
    }

    .lgbx-bs .lgbx-bs-linje .lgbx-bs-knapp {
        min-height: 48px;
        padding: 0 22px;
        font-size: 16px;
    }

    .lgbx-bs .lgbx-bs-ark-bak {
        position: fixed;
        inset: 0;
        z-index: 991;
        display: block;
        background: rgba(11, 34, 57, 0.45);
    }

    .lgbx-bs .lgbx-bs-ark {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 992;
        display: block;
        max-height: 82vh;
        overflow: auto;
        padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        background: #fff;
        box-shadow: 0 -12px 40px rgba(11, 34, 57, 0.2);
        overscroll-behavior: contain;
    }
}

/* Mobil: samme valgrader i én spalte, litt tettere, ingen skrift under 13 px. */
@media (max-width: 640px) {
    .lgbx-bs#lgbx-bs {
        padding-top: 20px;
    }

    .lgbx-bs .lgbx-bs-hode {
        margin-bottom: 16px;
    }

    .lgbx-bs .lgbx-bs-hode h1 {
        font-size: 28px;
    }

    .lgbx-bs .lgbx-bs-hode__ingress {
        font-size: 15.5px;
    }

    .lgbx-bs .lgbx-bs-hode__fordeler {
        gap: 4px 14px;
        font-size: 13.5px;
    }

    .lgbx-bs .lgbx-bs-hode__fordeler svg.lgbx-bs-ik {
        width: 16px;
        height: 16px;
    }

    .lgbx-bs .lgbx-bs-hoved {
        gap: 12px;
    }

    .lgbx-bs .lgbx-bs-kort {
        padding: 16px;
    }

    .lgbx-bs .lgbx-bs-kort__hode h2 {
        font-size: 18px;
    }

    .lgbx-bs .lgbx-bs-kort__valgt {
        display: none;
    }

    .lgbx-bs .lgbx-bs-valg {
        column-gap: 12px;
        min-height: 62px;
        padding: 12px 14px;
    }

    .lgbx-bs .lgbx-bs-valg--ikon {
        grid-template-columns: 20px 34px minmax(0, 1fr) auto;
    }

    .lgbx-bs .lgbx-bs-valg__ikon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .lgbx-bs .lgbx-bs-valg__ikon svg.lgbx-bs-ik {
        width: 20px;
        height: 20px;
    }

    .lgbx-bs .lgbx-bs-valg__navn {
        font-size: 16px;
    }

    .lgbx-bs .lgbx-bs-valg__meta {
        font-size: 13.5px;
    }

    .lgbx-bs .lgbx-bs-valg__pris b {
        font-size: 18px;
    }

    .lgbx-bs .lgbx-bs-boliger {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .lgbx-bs .lgbx-bs-bolig {
        min-height: 48px;
        padding: 8px 4px;
    }

    .lgbx-bs .lgbx-bs-hjelpeknapper .lgbx-bs-kalk-knapp {
        flex: 1 1 100%;
    }

    .lgbx-bs .lgbx-bs-bolig b {
        font-size: 14px;
    }

    .lgbx-bs .lgbx-bs-antall {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .lgbx-bs .lgbx-bs-antall__tall b {
        font-size: 32px;
    }

    .lgbx-bs .lgbx-bs-foto {
        min-height: 0;
    }

    .lgbx-bs .lgbx-bs-foto__boks img {
        height: 170px;
    }

    .lgbx-bs .lgbx-bs-foto--flere .lgbx-bs-foto__boks img {
        height: auto;
    }

    .lgbx-bs .lgbx-bs-antall .lgbx-bs-stepper {
        display: flex;
        justify-content: space-between;
    }

    .lgbx-bs .lgbx-bs-ting,
    .lgbx-bs .lgbx-bs-varer {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .lgbx-bs .lgbx-bs-felter {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
    }

    .lgbx-bs input.lgbx-bs-inp {
        height: 48px;
        font-size: 16px;
    }

    .lgbx-bs .lgbx-bs-svar {
        font-size: 14.5px;
    }

    .lgbx-bs .lgbx-bs-kal {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .lgbx-bs .lgbx-bs-kal__mnd {
        padding: 12px;
    }

    .lgbx-bs .lgbx-bs-tider {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .lgbx-bs .lgbx-bs-tider--rom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lgbx-bs .lgbx-bs-tid {
        height: 46px;
        font-size: 14.5px;
    }

    .lgbx-bs .lgbx-bs-boksfane {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }

    .lgbx-bs .lgbx-bs-varer .lgbx-bs-vare__tekst {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .lgbx-bs .lgbx-bs-faner {
        flex-wrap: wrap;
        overflow: visible;
    }

    .lgbx-bs .lgbx-bs-pris {
        padding: 18px 20px;
    }

    .lgbx-bs .lgbx-bs-pris__tall b {
        font-size: 34px;
    }

    .lgbx-bs .lgbx-bs-sum {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lgbx-bs *,
    .lgbx-bs *::before,
    .lgbx-bs *::after {
        transition: none !important;
    }
}
