/* ==========================================================
   Parsun Sweden – ny design
   Palett: vitt, djupt marinblått, Parsun-rött
   ========================================================== */

:root {
    --ink: #0b1b27;
    --ink-2: #132a3a;
    --ink-3: #1e3b50;
    --white: #fff;
    --text: #111c24;
    --muted: #55626c;
    --line: #d5dbe0;
    --line-dark: rgba(255, 255, 255, .14);
    --red: #c81c1b;
    --red-hover: #a81514;

    --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 76rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --radius: 4px;
    --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font: 400 1.0625rem/1.65 var(--f-body);
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 {
    font-family: var(--f-display);
    font-stretch: 108%;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.015em;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--red); color: var(--white); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--ink); --fg: var(--white);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; padding: .75rem 1.4rem;
    font: 600 .98rem/1 var(--f-body);
    color: var(--fg); background: var(--bg);
    border: 2px solid var(--bg); border-radius: var(--radius);
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { color: var(--fg); }
.btn--accent { --bg: var(--red); --fg: var(--white); }
.btn--accent:hover { --bg: var(--red-hover); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { --bg: var(--ink-3); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: #e6ebef; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--white); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    color: var(--white);
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand img { width: 34px; height: 34px; }
.brand__word { font: 900 1.35rem/1 var(--f-display); font-stretch: 125%; letter-spacing: .06em; display: flex; flex-direction: column; }
.brand__word small { font: 600 .6rem/1.3 var(--f-body); letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-top: .2rem; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__btn {
    font: 500 .95rem/1 var(--f-body); color: inherit;
    background: none; border: 0; cursor: pointer;
    padding: .75rem .9rem; border-radius: var(--radius);
    display: inline-flex; align-items: center; gap: .35rem;
}
.nav__btn::after { content: ""; width: .4rem; height: .4rem; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .15s; }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgba(255,255,255,.08); }
.nav__btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav__item--cta { margin-left: .75rem; }

.nav__sub {
    position: absolute; top: calc(100% + .5rem); left: 0;
    min-width: 16rem; padding: .5rem;
    background: var(--white); color: var(--text);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 16px 40px -16px rgba(11, 27, 39, .35);
    display: none;
}
.nav__sub a { display: block; padding: .6rem .8rem; border-radius: var(--radius); text-decoration: none; font-size: .95rem; }
.nav__sub a:hover { background: #eef2f5; color: var(--text); }
.nav__item.is-open > .nav__sub { display: block; }

.nav__sub--models { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; min-width: 34rem; }
.nav__item.is-open > .nav__sub--models { display: grid; }
.nav__sub--models a { display: flex; align-items: center; gap: .6rem; padding: .5rem; }
.nav__sub--models img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.nav__sub--models span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); line-height: 1.25; }
.nav__sub--models b { font: 800 1.05rem/1.1 var(--f-display); font-stretch: 110%; color: var(--text); }

.nav-toggle { display: none; }

@media (max-width: 60rem) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 2.75rem; height: 2.75rem; padding: 0 .65rem;
        background: none; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); cursor: pointer;
    }
    .nav-toggle span:not(.sr) { height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        background: var(--ink); overflow-y: auto;
        padding: 1rem var(--gutter) 3rem;
        display: none;
    }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid var(--line-dark); }
    .nav__btn { width: 100%; justify-content: space-between; padding: 1.1rem 0; font-size: 1.15rem; border-radius: 0; }
    .nav__btn:hover, .nav__btn[aria-expanded="true"] { background: none; }
    .nav__sub, .nav__sub--models {
        position: static; min-width: 0; box-shadow: none; border: 0; background: transparent; color: var(--white); padding: 0 0 1rem;
    }
    .nav__sub a:hover { background: rgba(255,255,255,.06); color: var(--white); }
    .nav__sub--models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav__sub--models span { color: rgba(255,255,255,.6); }
    .nav__sub--models b { color: var(--white); }
    .nav__sub--models img { background: var(--white); border-radius: var(--radius); }
    .nav__item--cta { margin: 1.5rem 0 0; border: 0; }
    .nav__item--cta .btn { width: 100%; min-height: 3.25rem; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Hero: textpanel + måttritning ---------- */
.hero {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    min-height: min(calc(100svh - var(--header-h)), 46rem);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero__title {
    font-size: clamp(2.4rem, 4.3vw, 3.9rem);
    font-stretch: 100%; font-weight: 900;
    line-height: .98; letter-spacing: -.025em;
    margin-bottom: 1.25rem;
}
.hero__sub {
    font: 700 clamp(1.15rem, 1.8vw, 1.45rem)/1.3 var(--f-display);
    font-stretch: 100%;
    margin-bottom: 1.25rem;
}
.hero__lead { font-size: 1.075rem; color: rgba(255,255,255,.78); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__drawing { margin: 0; }
.hero__drawing img { width: 100%; max-height: 40rem; object-fit: contain; margin-inline: auto; }
.hero__drawing figcaption { margin-top: .75rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }
.hero__drawing figcaption a { color: var(--white); font-weight: 600; text-decoration: none; }
.hero__drawing figcaption a:hover { text-decoration: underline; }
@media (max-width: 56rem) {
    .hero__inner { grid-template-columns: 1fr; min-height: 0; }
    .hero__drawing { order: -1; margin: 0 calc(var(--gutter) * -0.5) 1rem; }
    .hero__drawing img { max-height: 24rem; }
}

.stats-band { border-bottom: 1px solid var(--line); }
.stats {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stats li { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1 var(--f-display); font-stretch: 112%; color: var(--ink); }
.stats span { display: block; margin-top: .4rem; font-size: .95rem; color: var(--muted); }
@media (max-width: 44rem) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats li { padding: 1.25rem 0 1.25rem 1rem; }
    .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--rule { border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink p { color: rgba(255,255,255,.8); }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__lead { font-size: 1.125rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__text { max-width: 36rem; }
.split__text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.split__media img { width: 100%; }
.split__media--map { display: flex; justify-content: center; }
.dealer-map { position: relative; height: 36rem; aspect-ratio: 1 / 2; }
.dealer-map img, .dealer-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dealer-map circle { fill: #ef4135; stroke: var(--ink); stroke-width: 1.5; }
.dealer-map circle:hover { fill: var(--white); }
.split__media--panel { background: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 52rem) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .dealer-map { height: 26rem; }
}

.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .35rem;
    width: 1.1rem; height: 1.1rem;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.facts { margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.facts div { border-left: 3px solid var(--red); padding-left: 1rem; }
.facts dt { font: 700 1.05rem/1.3 var(--f-display); font-stretch: 108%; }
.facts dd { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Filter (flikar) & models ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.filter button {
    font: 600 .98rem/1 var(--f-body); color: var(--muted);
    padding: .95rem 0; margin-bottom: -1px; cursor: pointer;
    background: none; border: 0; border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
}
.filter button:hover { color: var(--text); }
.filter button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--red); }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 60rem) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .models { grid-template-columns: 1fr; } }
.model { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.model[hidden] { display: none; }
.model:hover { border-color: var(--ink); box-shadow: 0 14px 30px -18px rgba(11, 27, 39, .45); }
.model__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.model__link:hover { color: inherit; }
.model__media {
    position: relative; height: 15.5rem;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(11, 27, 39, .05) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(11, 27, 39, .05) 1px, transparent 1px) 0 0 / 22px 22px,
        radial-gradient(120% 90% at 50% 100%, #f5f8fa 0%, #e3eaf0 60%, #d3dee6 100%);
    display: flex; align-items: flex-end; justify-content: center; padding: 2.75rem 1rem .5rem;
}
.model__media img { height: 100%; width: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .35s ease; }
.model:hover .model__media img { transform: translateY(-4px); }
.model__hp {
    position: absolute; left: 1rem; top: .9rem;
    font: 900 2.3rem/1 var(--f-display); font-stretch: 115%; letter-spacing: -.02em; color: var(--ink);
}
.model__hp small { font-size: .4em; font-weight: 700; margin-left: .15em; }
.model__badge {
    position: absolute; right: 1rem; top: 1.1rem;
    font: 700 .75rem/1 var(--f-body); letter-spacing: .04em;
    background: var(--red); color: var(--white); padding: .35rem .5rem; border-radius: 2px;
}
.model__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.model__name { font-size: 1.25rem; margin-bottom: .45rem; }
.model__text { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.model__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: 0 0 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.model__specs dt { font-size: .8rem; color: var(--muted); }
.model__specs dd { margin: .05rem 0 0; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.model__price { margin: auto 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.model__price span { font-size: .85rem; color: var(--muted); }
.model__price strong { font: 800 1.3rem/1 var(--f-display); font-stretch: 108%; }
.models__note { margin-top: 1.75rem; font-size: .92rem; color: var(--muted); }

/* ---------- Warranty ---------- */
.warranty { position: relative; overflow: hidden; background: var(--red); color: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem); }
.warranty::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px);
}
.warranty__inner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.warranty__num {
    font: 900 clamp(9rem, 22vw, 17rem)/.8 var(--f-display); font-stretch: 125%;
    color: transparent; -webkit-text-stroke: 3px rgba(255,255,255,.92);
}
.warranty h2 { color: var(--white); }
.warranty p { color: rgba(255,255,255,.92); max-width: 40rem; }
@media (max-width: 40rem) { .warranty__inner { grid-template-columns: 1fr; } .warranty__num { font-size: 8rem; } }

/* ---------- Tiles ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); border-top: 2px solid var(--ink); }
.tiles li { padding: 1.5rem 1.5rem 1.5rem 0; display: flex; flex-direction: column; gap: .5rem; }
.tiles strong { font: 800 1.55rem/1.1 var(--f-display); font-stretch: 108%; }
.tiles span { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__head p:last-child { color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
    font: 700 1.15rem/1.3 var(--f-display); font-stretch: 105%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
    font: 400 1.6rem/1 var(--f-body); color: var(--red);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 42rem; }
@media (max-width: 52rem) { .faq { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #06111a; color: rgba(255,255,255,.72); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font: 700 1rem/1.2 var(--f-display); font-stretch: 108%; letter-spacing: 0; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.brand--light { color: var(--white); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .82rem; color: rgba(255,255,255,.5); }
@media (max-width: 60rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Buy dialog ---------- */
.buy {
    width: min(26rem, calc(100% - 2rem)); border: 0; border-radius: var(--radius);
    padding: 2rem 1.75rem 1.75rem; color: var(--text);
    box-shadow: 0 24px 60px -20px rgba(11, 27, 39, .5);
}
.buy::backdrop { background: rgba(11, 27, 39, .65); }
.buy h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.buy__model { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.buy .btn + .btn { margin-top: .6rem; }
.buy__close { position: absolute; right: .75rem; top: .75rem; }
.buy__close button { width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* ==========================================================
   Sidor: modellsida, översikt, garanti, frågor, återförsäljare
   ========================================================== */

.nav__sub--models .nav__all { grid-column: 1 / -1; justify-content: center; font-weight: 600; font-size: .9rem; border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .75rem; border-radius: 0; }
@media (max-width: 60rem) { .nav__sub--models .nav__all { border-color: var(--line-dark); color: var(--white); } }
.nowrap { white-space: nowrap; }

/* Enkelt sidhuvud */
.page-head { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-stretch: 105%; font-weight: 900; letter-spacing: -.02em; max-width: 22ch; margin-bottom: 1rem; }
.page-head__lead { font-size: 1.125rem; color: rgba(255,255,255,.78); max-width: 44rem; margin: 0; }
.page-head__toc { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; }
.page-head__toc a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: .15rem; }
.page-head__toc a:hover { color: var(--white); border-color: var(--white); }

/* Hero: pris */
.hero__price { font-size: 1rem; color: rgba(255,255,255,.75); margin: .25rem 0 0; }
.hero__price strong { font: 800 1.6rem/1 var(--f-display); font-stretch: 108%; color: var(--white); margin-left: .35rem; }

/* Undermeny på modellsida */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 1rem 0; font-weight: 600; font-size: .95rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--text); border-bottom-color: var(--red); }
.page-model { scroll-padding-top: calc(var(--header-h) + 4.5rem); }
html:has(.page-model) { scroll-padding-top: calc(var(--header-h) + 4.5rem); }

/* Text + sidokolumn */
.split--top { align-items: start; }
.prose p { font-size: 1.075rem; }
.prose .checks { margin-bottom: 1.5rem; }
.split__aside { display: grid; gap: 1rem; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-box h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.aside-box p { color: var(--muted); }
.checks--sm { margin: 0; gap: .5rem; }
.checks--sm li { font-size: .98rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.plain li { padding-left: 1.1rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: 2px; background: var(--red); }

/* Rutnätsbakgrund (samma som modellkort) */
.section--tint {
    border-top: 1px solid var(--line);
    background:
        linear-gradient(rgba(11, 27, 39, .04) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(11, 27, 39, .04) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(180deg, #eef3f6, #e3eaf0);
}

/* Varianter */
.variants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: .75rem; }
.variant { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.variant__name { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.variant__name strong { font: 800 1.1rem/1.2 var(--f-display); font-stretch: 105%; }
.variant__name span { font-size: .9rem; color: var(--muted); }
.variant__buy { display: flex; align-items: center; gap: .9rem; flex: none; }
.variant__price { font: 800 1.2rem/1 var(--f-display); font-stretch: 105%; white-space: nowrap; }
.variants__sub { margin: 2rem 0 .9rem; }
.legend { margin: 1.25rem 0 0; font-size: .9rem; color: var(--muted); }

/* Specifikationstabell */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec { width: 100%; border-collapse: collapse; font-size: .98rem; font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.spec tbody th { font-weight: 600; width: 38%; color: var(--text); }
.spec tbody tr:hover { background: #f3f6f8; }
.spec a { font-weight: 700; text-decoration: none; }
.spec a:hover { text-decoration: underline; }
.spec--compare { min-width: 62rem; }
.spec--compare td { white-space: nowrap; }
.spec--compare tbody th { width: auto; white-space: nowrap; }

/* Rigg */
.rigg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rigg__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.rigg__item > strong { position: absolute; right: 1.25rem; top: .75rem; font: 900 3rem/1 var(--f-display); font-stretch: 120%; color: var(--line); }
.rigg__item h3 { font-size: 1.15rem; }
.rigg__item p { color: var(--muted); margin: 0; }
.rigg__item--tip { border-color: var(--red); border-left-width: 4px; }
@media (max-width: 52rem) { .rigg { grid-template-columns: 1fr; } }

/* Andra modeller */
.section__head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; max-width: none; }
.mini-models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.mini-models a { display: flex; align-items: center; gap: .9rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.mini-models a:hover { border-color: var(--ink); color: inherit; }
.mini-models img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.mini-models span { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.mini-models b { font: 800 1.15rem/1.1 var(--f-display); font-stretch: 108%; }
.mini-models small { color: var(--muted); font-size: .85rem; margin-top: .15rem; }

/* Garanti */
.warranty--hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1; margin-bottom: 1rem; color: var(--white); }
.cover { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cover__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top-width: 4px; }
.cover__col--yes { border-top-color: var(--ink); }
.cover__col--no { border-top-color: var(--red); }
@media (max-width: 44rem) { .cover { grid-template-columns: 1fr; } }
.action-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.action-cards a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; transition: border-color .15s; }
.action-cards a:hover { border-color: var(--ink); color: inherit; }
.action-cards p { color: var(--muted); flex: 1; }

/* Vanliga frågor */
.faq-page { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.faq--group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq details p a { color: var(--text); }

/* Återförsäljare */
.section--dealers { padding-top: clamp(2rem, 5vw, 3.5rem); }
.dealers { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.dealers__map { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--ink); border-radius: var(--radius); padding: 1.5rem; display: flex; justify-content: center; }
.dealers__map .dealer-map { height: min(40rem, calc(100vh - var(--header-h) - 6rem)); }
.dealers__tools { display: flex; flex-wrap: wrap; gap: .75rem; }
.input {
    flex: 1 1 14rem; min-height: 3rem; padding: .7rem 1rem;
    font: 400 1rem/1.2 var(--f-body); color: var(--text);
    border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.input:focus { border-color: var(--ink); outline: none; }
.dealers__status { min-height: 1.5em; margin: .75rem 0 .25rem; font-size: .9rem; color: var(--muted); }
.dealer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dealer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding: 1.25rem .75rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 2rem); transition: background-color .15s; }
.dealer.is-active { background: #f3f6f8; }
.dealer__name { font-size: 1.2rem; margin-bottom: .25rem; }
.dealer__addr { margin: 0 0 .5rem; color: var(--muted); }
.dealer__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; }
.tag { font-size: .78rem; font-weight: 600; padding: .25rem .5rem; border: 1px solid var(--line); border-radius: 2px; }
.dealer__dist { font-weight: 700; font-size: .9rem; margin-left: .25rem; }
.dealer__links { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; font-size: .95rem; }
.dealer__links a { font-weight: 600; }
.dealers__empty { padding: 1.5rem 0; color: var(--muted); }
.dealers__credit { margin-top: 1.25rem; font-size: .8rem; color: var(--muted); }
.dealer-map circle { cursor: pointer; transition: r .15s, fill .15s, opacity .15s; }
.dealer-map circle.is-active { fill: var(--white); r: 8; }
.dealer-map circle.is-dim { opacity: .2; }
@media (max-width: 52rem) {
    .dealers { grid-template-columns: 1fr; }
    .dealers__map { position: static; }
    .dealers__map .dealer-map { height: 24rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
