/* Voorraad: overzicht, kaarten, filters en detailpagina. Bouwt op styles.css, site.css en compleet.css (kleuren en maten uit de bestaande variabelen). */
.vr-intern { margin: 24px 0 0; padding: 12px 16px; border: 1px solid #e3c26a; border-left-width: 4px; background: #fdf6e3; color: var(--ink); font-size: .9375rem; line-height: 1.5; }
.vr-intern p { margin: 0; }
.vr { padding-block: 32px 72px; }

/* Filters */
.vr-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.vr-veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vr-veld label { font-size: .8125rem; font-weight: 650; color: var(--ink); }
.vr-veld input, .vr-veld select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #b9c3cf; border-radius: 6px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.vr-veld input:focus-visible, .vr-veld select:focus-visible, .vr-wis:focus-visible, .vr-paginas button:focus-visible, .vd-thumb:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.vr-zoek { grid-column: 1 / -1; }
.vr-acties { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.vr-wis { min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 720px) { .vr-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vr-filters { grid-template-columns: repeat(5, minmax(0, 1fr)); } .vr-zoek { grid-column: span 2; } .vr-acties { grid-column: auto; align-items: flex-end; } }

.vr-aantal { margin: 24px 0 16px; font-weight: 650; color: var(--ink); scroll-margin-top: 96px; }
.vr-aantal:focus { outline: none; }

/* Kaarten */
.vr-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .vr-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vr-lijst { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vk[hidden] { display: none; }
.vk { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; transition: border-color .15s var(--ease); }
.vk:has(.vk-link:hover) { border-color: var(--navy-700); }
.vk-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.vk-link:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.vk-acties { margin: 0; padding: 0 16px 16px; }
.vk-aanvraag { display: block; width: 100%; text-align: center; min-height: 40px; padding: 8px 12px; }
.vk-foto { position: relative; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.vk-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-geenfoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .875rem; }
.vk-status { position: absolute; left: 10px; top: 10px; padding: 6px 10px; background: #fdf6e3; border: 1px solid #e3c26a; color: #5c4400; font-size: .75rem; font-weight: 700; }
.vk-tekst { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.vk-titel { margin: 0; font-size: 1.125rem; line-height: 1.3; color: var(--ink); }
.vk-uitv { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vk-kenm { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; color: var(--ink); }
.vk-prijs { margin: auto 0 0; padding-top: 10px; font-size: 1.25rem; font-weight: 750; color: var(--navy-900); }
.vk-prijs span, .vd-prijs span { font-size: .8125rem; font-weight: 600; color: var(--muted); }

.vr-leeg { margin: 24px 0; padding: 20px; border: 1px solid var(--line); background: #fff; }
.vr-paginas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.vr-paginas[hidden] { display: none; }
.vr-paginas button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; }
.vr-paginas button[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.vr-paginas button:disabled { opacity: .45; cursor: default; }
.vr-zoekservice { margin-top: 56px; padding: 28px 24px; border-top: 1px solid var(--line); }
.vr-zoekservice h2 { margin: 0 0 8px; }
.vr-zoekservice p { max-width: 62ch; }

/* Detail */
.vd { padding-block: 24px 72px; }
.vd-crumbs { margin: 0 0 16px; color: var(--muted); }
.vd-crumbs a { color: var(--navy-700); }
.vd .vr-intern { margin: 0 0 20px; }
.vd-kop { display: grid; gap: 28px; }
@media (min-width: 960px) { .vd-kop { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } }
.vd-galerij { margin: 0; min-width: 0; }
.vd-hoofd { position: relative; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.vd-hoofd img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-geenfoto { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--mist); color: var(--muted); }
.vd-galerij figcaption { margin: 8px 0; font-size: .8125rem; color: var(--muted); }
.vd-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.vd-thumb { flex: 0 0 auto; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--mist); cursor: pointer; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-thumb[aria-pressed="true"] { border-color: var(--navy-900); }
.vd-titel { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.vd-uitv { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.vd-prijs { margin: 20px 0 4px; font-size: 1.75rem; font-weight: 750; color: var(--navy-900); }
.vd-voorbehoud { margin: 0 0 20px; font-size: .875rem; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.vd-snel { margin: 0 0 20px; }
.vd-snel a { font-weight: 650; color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.vd-specblok { margin-top: 48px; scroll-margin-top: 96px; }
.vd-specblok h2 { margin: 0 0 8px; }
.vd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.vd-specs div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.vd-specs dt { font-size: .8125rem; color: var(--muted); }
.vd-specs dd { margin: 2px 0 0; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }

.vd-reken { margin-top: 24px; padding: 28px; border: 1px solid var(--line); background: #fff; display: grid; gap: 18px; }
.vd-reken h2 { margin: 0; font-size: 1.1875rem; color: var(--navy-900); }

/* Rechterkolom "Bereken de leaseprijs" (29-11-2026, premium eigen versie van een extern referentiebeeld — zelfde logische
   opbouw: aankoopbedrag, btw, aanbetaling/inruil, te financieren, looptijd, slottermijn, maandbedrag, aanvraagknop).
   Eén rustig wit kader, geen losse kaarten: elke regel (vast of invoer) is één rij, label links, waarde/invoerveld
   rechts uitgelijnd, zelfde hoogte en breedte, gescheiden door een dunne lijn in plaats van een vak-in-vak-vorm. */
.vd-vorm { display: grid; gap: 0; border-top: 1px solid var(--line); }
.vd-rij { display: grid; grid-template-columns: minmax(0, 1fr) minmax(108px, 42%); align-items: center; gap: 10px; min-height: 48px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.vd-rij-label { font-size: .875rem; font-weight: 650; color: var(--ink); }
.vd-rij-waarde { font-size: .9375rem; font-weight: 700; color: var(--navy-900); text-align: right; overflow-wrap: anywhere; }
/* Invoerbare regels krijgen een subtiel groen label: het enige accent, geen gekleurde vakken of pillen. */
.vd-rij:has(.vd-rij-invoer) .vd-rij-label { color: var(--green-700); }
.vd-rij-invoer { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid #b9c3cf; border-radius: 6px; background: #fff; font: inherit; font-size: .9375rem; color: var(--navy-900); text-align: right; }
.vd-rij-invoer:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

.vd-uitkomst { padding-top: 4px; border-top: 1px solid var(--line); }
.vd-label { margin: 0; font-size: .875rem; font-weight: 700; color: var(--green-700); }
.vd-bedrag { margin: 4px 0 8px; font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.1; color: var(--navy-900); }
.vd-bedrag small { font-size: 1rem; font-weight: 600; color: var(--muted); }
/* Zonder bevestigd tarief tonen we een CTA-zin in plaats van een bedrag ("Vraag een persoonlijke berekening aan"/"Op aanvraag");
   de forse bedraggrootte past daar niet bij (30-11-2026, financiële-transparantiebesluit). */
.vd-bedrag.vd-bedrag-cta { font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
.vd-fout { margin: 0 0 8px; color: #a3261e; font-weight: 650; }
.vd-noot { margin: 8px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 70ch; }
/* Binnen de smallere rechterkolom (naast de hoofdfoto) passen de twee knoppen niet meer naast elkaar; voorheen
   stond dit blok over de volle paginabreedte. Altijd onder elkaar, volle breedte: voorkomt een willekeurige
   terugval naar twee ongelijke regels op desktop én mobiel. */
.vd-acties { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.vd-acties .btn { width: 100%; }
.vd-waarsch { margin: 0; font-size: .875rem; color: var(--ink); }
.vd-hoofd .vk-geenfoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.vd-thumb[hidden] { display: none; }

/* Filterblok: op mobiel inklapbaar, op grotere schermen altijd open */
.vr-filterkop { list-style: none; display: none; }
.vr-filterkop::-webkit-details-marker { display: none; }
@media (max-width: 719px) {
  .vr-filterkop { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; }
  .vr-filterkop::after { content: "+"; font-size: 1.25rem; font-weight: 600; }
  .vr-filterblok[open] .vr-filterkop::after { content: "\2212"; }
  .vr-filterblok[open] .vr-filters { border-top: 0; }
}
.vk-status.vk-probleem { background: #fdebec; border-color: #e7a8a4; color: #7a1d17; }
.home-lijst { margin-top: 4px; }
.home-zin-onder { margin: 20px 0 0; }
@media (max-width: 639px) { .home-lijst .vk-uitv, .vr-lijst .vk-uitv { display: none; } }
/* Homepage op mobiel: twee kolommen, alleen titel, jaar, kilometerstand en prijs */
@media (max-width: 639px) {
  .home-lijst, .vr-lijst { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-lijst .vk-tekst, .vr-lijst .vk-tekst { padding: 10px 10px 12px; gap: 4px; }
  .home-lijst .vk-titel, .vr-lijst .vk-titel { font-size: .9375rem; }
  .home-lijst .vk-kenm, .vr-lijst .vk-kenm { font-size: .75rem; gap: 2px 8px; }
  .home-lijst .vk-kenm li:nth-child(n+3), .vr-lijst .vk-kenm li:nth-child(n+3) { display: none; }
  .home-lijst .vk-prijs, .vr-lijst .vk-prijs { font-size: 1rem; padding-top: 6px; }
  .home-lijst .vk-prijs span, .vr-lijst .vk-prijs span { display: block; font-size: .6875rem; }
  .home-lijst .vk-status { font-size: .625rem; padding: 4px 6px; left: 6px; top: 6px; }
}
/* Niet-bevestigd productonderdeel in het Lease-menu: zichtbaar, maar bewust geen link (geen misleidende claim). */
.nav-sub-gesloten { display: block; padding: 12px 14px; color: var(--muted); cursor: default; }
.nav-sub-gesloten small { display: block; font-size: .8125rem; }
.nav.is-open .nav-sub-gesloten { display: flex; align-items: center; min-height: 44px; padding-left: 24px; font-weight: 600; font-size: .9688rem; }
.nav.is-open .nav-sub-gesloten small { display: inline; margin-left: 4px; }

/* hoofdspecificaties met een klein lijnicoon (website-compleet/iconen.cjs) */
.vd-spec-icoon dt { display: flex; align-items: center; gap: 6px; }
.vd-spec-icoon .icoon { width: 16px; height: 16px; flex: none; color: var(--green-700); }
