/* EV-database. Scoped onder .evg-ev. Kleuren: royal #0b2a8f, geel #ffc21a, navy #0a1640. */
.evg-ev { color: var(--char); background: var(--page-bg); padding-bottom: 48px; }
.evg-ev .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.evg-ev-head { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 24px; margin-bottom: 28px; }
.evg-ev-head h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -.015em; margin: 6px 0 10px; color: var(--navy); }
.evg-ev-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #1d4ed8; }
.evg-ev-kicker a { color: inherit; text-decoration: none; }
.evg-ev-lead { max-width: 70ch; font-size: 1.08rem; line-height: 1.6; color: var(--gray); margin: 0; }
.evg-ev-sub { color: var(--gray); margin: 0 0 8px; font-size: .92rem; }
.evg-ev-preview { background: #fff7d6; border: 1px solid var(--amber); border-radius: var(--radius-md); padding: 10px 14px; margin: 14px 0 0; max-width: 70ch; font-size: .95rem; }

.evg-ev-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.evg-ev-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 18px; position: sticky; top: 16px; }
.evg-ev-filters h2 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 12px; }
.evg-ev-filters fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.evg-ev-filters legend, .evg-ev-field { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); padding: 0; margin: 0 0 6px; display: block; }
.evg-ev-filters input[type=number], .evg-ev-filters input[type=search], .evg-ev-filters select, .evg-ev-sort select {
    width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f6f7fb; padding: 9px 10px; font: inherit; font-size: .9rem; margin-top: 4px; }
.evg-ev-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.evg-ev-range legend { grid-column: 1 / -1; }
.evg-ev-range input { margin: 0 !important; }
.evg-ev-range span { font-size: .8rem; color: var(--mute); }
.evg-ev-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.evg-ev-chip { position: relative; }
.evg-ev-chip input { position: absolute; opacity: 0; }
.evg-ev-chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-size: .82rem; font-weight: 700; cursor: pointer; }
.evg-ev-chip input:checked + span { background: var(--royal); border-color: var(--royal); color: #fff; }
.evg-ev-chip input:focus-visible + span { outline: 3px solid var(--amber); }
.evg-ev-filter-actions { display: flex; gap: 8px; }

.evg-ev-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.evg-ev-bar h2 { font-family: var(--font-display); margin: 0; font-size: 1.3rem; }
.evg-ev-sort label { font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.evg-ev-sort select { margin: 0; width: auto; }

.evg-ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.evg-ev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); overflow: hidden; display: flex; flex-direction: column; }
.evg-ev-card-img { position: relative; display: block; aspect-ratio: 16 / 10; background: #e9ecf5; }
.evg-ev-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evg-ev-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-weight: 700; }
.evg-ev-badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill); }
.evg-ev-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.evg-ev-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.evg-ev-card h3 a { color: var(--navy); text-decoration: none; }
.evg-ev-price { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--royal); margin: 0; }
.evg-ev-price small { display: block; font: 600 .75rem var(--font-body); color: var(--gray); }
.evg-ev-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.evg-ev-stats div { background: #f3f6ff; border-radius: var(--radius-sm); padding: 8px 10px; }
.evg-ev-stats dt { font-size: .7rem; color: var(--gray); margin: 0; }
.evg-ev-stats dd { margin: 2px 0 0; font-weight: 800; font-size: .95rem; }
.evg-ev-cost { background: #fff7d6; border-radius: var(--radius-sm); padding: 10px 12px; font-size: .85rem; line-height: 1.5; }
.evg-ev-actions { display: flex; gap: 8px; margin-top: auto; }
.evg-ev-actions > * { flex: 1; text-align: center; }

.evg-ev-btn { display: inline-block; box-sizing: border-box; border: 1px solid var(--royal); background: var(--royal); color: #fff; border-radius: var(--radius-pill); padding: 10px 18px; font: 800 .9rem var(--font-body); text-decoration: none; cursor: pointer; }
.evg-ev-btn--ghost { background: #fff; color: var(--royal); }
.evg-ev-btn--y { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.evg-ev-btn input { margin-right: 4px; }
.evg-ev-btn.is-off { opacity: .45; pointer-events: none; }
.evg-ev-empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 28px; text-align: center; }

.evg-ev-compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 20; background: var(--navy); color: #fff; border-radius: var(--radius-pill); padding: 10px 12px 10px 22px; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 24px); box-shadow: 0 8px 30px rgba(10, 22, 64, .3); }
.evg-ev-compare-bar[hidden] { display: none; }
.evg-ev-compare-bar span { font-size: .85rem; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.evg-ev-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.evg-ev-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.evg-ev-table th, .evg-ev-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.evg-ev-table thead th { background: #f3f6ff; font-family: var(--font-display); }
.evg-ev-table thead small { display: block; font: 500 .75rem var(--font-body); color: var(--gray); }
.evg-ev-table tbody th { font-weight: 700; color: var(--gray); width: 34%; }
.evg-ev-table--spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 14px 0; }

.evg-ev-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.evg-ev-hero { margin: 0 0 16px; }
.evg-ev-hero img { width: 100%; height: auto; border-radius: var(--radius-2xl); display: block; }
.evg-ev-hero figcaption { font-size: .75rem; color: var(--credits); margin-top: 6px; }
.evg-ev-intro { font-size: 1.05rem; line-height: 1.7; max-width: 62ch; }
.evg-ev-test { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 18px; }
.evg-ev-test h2 { font-size: 1rem; margin: 0 0 6px; }

.evg-ev-about { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 22px 24px; margin-top: 32px; max-width: 760px; }
.evg-ev-about h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 8px; }
.evg-ev-about p { margin: 0 0 10px; line-height: 1.6; color: var(--text-body); font-size: .95rem; }

@media (max-width: 900px) {
    .evg-ev-layout, .evg-ev-detail { grid-template-columns: 1fr; }
    .evg-ev-filters { position: static; }
}
@media (max-width: 640px) {
    .evg-ev-grid { grid-template-columns: 1fr; }
    .evg-ev-compare-bar span { display: none; }
}
