/* ==========================================================================
   Električni avtomobili – theme styles
   Tokens · base · components · layout · pages · blocks · utilities · print
   ========================================================================== */

:root {
	--ink: #0d1212;
	--slate: #34484a;
	--slate-2: #2a3a3c;
	--text-2: #34484a;
	--muted: #4f625f;
	--eyebrow: #4d7569;
	--accent: #2fe0a0;
	--accent-2: #5ce8b6;
	--accent-ink: #0b6e4b;
	--ok: #0b9a6a;
	--mint: #edf4f2;
	--mint-2: #e3ece9;
	--mint-3: #e1ede9;
	--mist: #f6faf8;
	--hero: #ededed;
	--line: rgba(91, 130, 121, .2);
	--line-2: #eef3f1;
	--track: #dce5e2;
	--chip-line: #c8d6d2;
	--warn-bg: #fff4de;
	--warn-ink: #7a4700;
	--warn-2: #8a5200;
	--bad: #b0301a;
	--bad-bg: #fde8e4;
	--ok-bg: #e3f7ee;
	--info-bg: #e5efff;
	--info-ink: #1d4ed8;
	--amber-card: #fff6e6;
	--r-xl: 36px;
	--r-lg: 28px;
	--r-md: 24px;
	--r-sm: 16px;
	--font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--shadow: 0 30px 60px -30px rgba(13, 18, 18, .35);
	--gutter: 24px;
	--head-h: 64px;
	color-scheme: light;
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #5b8279; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, .btn { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: #d3e4df; color: var(--ink); }
input[type=range] { width: 100%; margin: 12px 0 0; accent-color: var(--slate); cursor: pointer; height: 22px; }
input[type=checkbox] { accent-color: var(--slate); width: 16px; height: 16px; margin: 0; }
[hidden] { display: none !important; }
.no-js .js-only { display: none !important; }

.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-mid { max-width: 1280px; }

/* --- Type ---------------------------------------------------------------- */

.eyebrow { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.h-hero { font: 400 clamp(40px, 5.4vw, 76px)/1 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.h-page { font: 400 clamp(38px, 5vw, 72px)/1.02 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.h-section { font: 400 clamp(36px, 4.6vw, 64px)/1.04 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.h-section-s { font: 400 clamp(30px, 3.4vw, 46px)/1.06 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.h-sub { font: 400 clamp(24px, 2.4vw, 30px)/1.1 var(--font); letter-spacing: -.02em; }
.h-card { font: 400 22px/1.2 var(--font); letter-spacing: -.02em; }
.h-card-lg { font: 400 clamp(26px, 2.6vw, 32px)/1.12 var(--font); letter-spacing: -.025em; }
.h-model { font: 400 clamp(34px, 3.6vw, 52px)/1.02 var(--font); letter-spacing: -.035em; margin-top: 12px; text-wrap: balance; }
/* Brand inside the model heading: part of the H1 (how people search: »Tesla Model Y«), quieter than the model. */
.h-brand { color: var(--eyebrow); }
.ov-card .eyebrow a { color: inherit; text-decoration: none; }
.ov-card .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-article { font: 400 clamp(36px, 4.6vw, 64px)/1.04 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.lead { margin-top: 18px; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.lead-lg { font-size: 18px; color: #3f4745; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; line-height: 1.5; }
.note { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.center { text-align: center; }
.big { font: 400 clamp(40px, 4.8vw, 60px)/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin-top: 12px; }
.num, .price, dd, output { font-variant-numeric: tabular-nums; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1; color: var(--text-2); margin-bottom: 7px; }
.kv b { font-weight: 600; color: var(--ink); }

/* --- Buttons and controls ----------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn .ico { flex: none; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-2); color: var(--ink); }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--slate-2); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a3230; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #fff0d4; color: var(--ink); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover, .btn-line[aria-pressed="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn-sm { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 11px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-pressed="true"].btn-accent { background: var(--slate); color: #fff; }
.btn-sm[data-cmp-toggle] { background: #fff; border: 1px solid var(--chip-line); color: var(--slate); }
.btn-sm[data-cmp-toggle][aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btns .grow { flex: 1 1 170px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.linkbtn { border: 0; background: none; padding: 0; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); text-decoration: underline; text-underline-offset: 4px; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mint); color: var(--slate); display: inline-grid; place-items: center; }

.seg { display: flex; gap: 2px; padding: 3px; background: var(--mint); border-radius: 14px; }
.seg button { flex: 1 1 auto; min-height: 34px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; color: #4a5a57; font: 600 13px/1 var(--font); white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13, 18, 18, .12); }
.seg-dark button[aria-pressed="true"] { background: var(--slate); color: #fff; box-shadow: none; }
.seg-white { background: #fff; border: 1px solid var(--line); }
.seg-white button[aria-pressed="true"] { background: var(--slate); color: #fff; box-shadow: none; }
.seg-lg { padding: 4px; border-radius: 22px; }
.seg-lg button { min-height: 44px; border-radius: 18px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px 0 10px; border-radius: 999px; border: 1px solid var(--chip-line); background: #fff; color: var(--slate); font: 500 14px/1 var(--font); }
.chip-sm { min-height: 34px; font-size: 13.5px; padding: 0 12px 0 8px; }
.chip-n { width: 18px; height: 18px; border-radius: 50%; background: var(--track); color: var(--ink); display: grid; place-items: center; font: 700 10.5px/1 var(--font); }
.chip[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.chip[aria-pressed="true"] .chip-n { background: var(--accent); }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(52, 72, 74, .2); background: #fff; color: var(--slate); font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pill:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.pill.on, .pill[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font: 700 10.5px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: var(--mint); color: var(--slate); }
.tone-ok { background: var(--ok-bg); color: var(--accent-ink); }
.tone-bad { background: var(--bad-bg); color: var(--bad); }
.tone-warn { background: var(--warn-bg); color: var(--warn-2); }
.tone-info { background: var(--info-bg); color: var(--info-ink); }
.tone-muted { background: #f1f1ef; color: #4f5653; }
.tone-neutral { background: var(--mint); color: var(--slate); }
.tone-accent { background: var(--accent); color: var(--ink); }
.tone-white { background: #fff; color: var(--slate); }
.badge.on-white { background: #fff; }

.select, .input { height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 16px/1 var(--font); width: 100%; }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B8279' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.input:focus, .select:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 10px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.field-top output, .field-val { font: 500 18px/1 var(--font); }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field-row > * { flex: 1 1 200px; }
.range-f { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: baseline; font-size: 15px; color: var(--text-2); }
.range-f output { font-weight: 600; color: var(--ink); }
.range-f input { grid-column: 1 / -1; }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 30px; margin: 12px 0 2px; }
.hist span { flex: 1; min-height: 2px; background: var(--track); border-radius: 2px 2px 0 0; }
.hist span.on { background: var(--slate); }
.range-ends { position: relative; height: 14px; margin-top: 6px; font-size: 11px; line-height: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.range-ends span { position: absolute; top: 0; left: 0; white-space: nowrap; }
.range-ends span:nth-child(2) { transform: translateX(-50%); }
.range-ends span:last-child { left: auto; right: 0; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; cursor: pointer; font: 500 14.5px/1.2 var(--font); position: relative; }
.switch input { position: absolute; opacity: 0; width: 38px; height: 24px; right: 0; margin: 0; cursor: pointer; }
.switch-ui { position: relative; width: 38px; height: 24px; flex: none; border-radius: 999px; background: var(--chip-line); transition: background .15s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.switch input:checked + .switch-ui { background: var(--slate); }
.switch input:checked + .switch-ui::after { left: 17px; }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch-pill { justify-content: flex-start; min-height: 44px; padding: 0 16px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.switch-pill input { left: 8px; right: auto; }
.switch-pill span:last-child { display: flex; flex-direction: column; gap: 3px; }
.switch-pill b { font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.switch-pill small { font-size: 12px; color: var(--muted); }

/* --- Data pieces -------------------------------------------------------- */

.ring { --size: 72px; --pad: 6px; --track-c: var(--mint-2); position: relative; width: var(--size); height: var(--size); flex: none; border-radius: 50%; background: conic-gradient(from 225deg, var(--accent) 0 var(--deg), var(--track-c) var(--deg) 270deg, transparent 270deg); display: inline-block; }
.ring-in { position: absolute; inset: var(--pad); border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-v { font: 500 21px/1 var(--font); font-variant-numeric: tabular-nums; }
.ring-l { font: 600 9.5px/1 var(--font); color: var(--eyebrow); margin-top: 3px; letter-spacing: .04em; text-transform: uppercase; }
.ring-sm { --size: 46px; --pad: 4px; }
.ring-sm .ring-v { font: 600 14px/1 var(--font); }
.ring-lg { --size: 72px; }
.ring-xl { --size: 76px; --track-c: #fff; }
.ring-xl .ring-in { background: var(--mint); }
.ring-xl .ring-v { font-size: 22px; }
.segs { display: flex; gap: 2px; }
.segs span { flex: 1; height: 6px; border-radius: 2px; background: var(--track); }
.segs span.on { background: var(--slate); }
.segs-accent span { height: 5px; }
.segs-accent span.on { background: var(--accent); }
.bar { display: block; height: 4px; border-radius: 2px; background: var(--mint-2); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--slate); border-radius: inherit; }
.bar.accent > span { background: var(--accent); }
.bar.good > span { background: var(--ok); }
.bar.on-mint { background: #fff; }
.bar-thick { height: 8px; border-radius: 4px; background: #fff; }
.bar-thick > span { background: var(--accent); }
.bar-dark > span { background: var(--slate); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 80px; background: var(--mint); color: #b8cbc5; }
.ph-mark { width: 62%; max-width: 260px; height: auto; }
.tagw { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 999px; background: #fff; font: 700 10.5px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 12.5px/1 var(--font); padding: 7px 10px; border-radius: 999px; background: var(--mint); color: var(--slate); }
.tags li.match { display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; background: var(--ink); color: #fff; font-weight: 600; }
.tags li.match i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--accent) var(--deg), var(--slate) 0); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.ticks .ico { margin-top: 2px; flex: none; }
.ico.ok { color: var(--ok); }
.ico.warn { color: #b8670a; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.card.mint { background: var(--mint); border-color: transparent; }
.card.flush { padding: 0; overflow: hidden; }
.notice-box, .empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--text-2); font-size: 16px; margin: 32px 0; }
.empty-box { padding: 56px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.warnbox { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn-ink); font: 500 13.5px/1.45 var(--font); }
.caveat { font: 500 12.5px/1.35 var(--font); color: #9a5800; margin-top: -6px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; border-collapse: collapse; min-width: 560px; }
.dtable caption { caption-side: bottom; text-align: left; padding: 12px 24px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-2); }
.dtable th, .dtable td { padding: 16px; text-align: left; border-top: 1px solid var(--line-2); font-weight: 400; vertical-align: middle; }
.dtable thead th { background: var(--mist); border-top: 0; font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.dtable th:first-child, .dtable td:first-child { padding-left: 24px; }
.dtable th:last-child, .dtable td:last-child { padding-right: 24px; }
.dtable th small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.dtable .num { text-align: right; }
.dtable .big-num { font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.dtable a { text-decoration: underline; text-underline-offset: 3px; }
.dtable .is-off { opacity: .6; }
.dtable .is-current th { font-weight: 600; }
.chart { width: 100%; height: auto; display: block; margin-top: 12px; overflow: visible; }
.chart .grid { stroke: #edf1ef; stroke-width: 1; }
.chart .axis { font: 500 11px var(--font); fill: #73877f; }
.chart .end { text-anchor: end; }
.chart .mid { text-anchor: middle; }
.chart .area { fill: var(--accent); fill-opacity: .15; }
.chart .line { fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; }
.legend > span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; }
.credit { font-size: 12px; color: var(--muted); }

/* --- Subscribe and popovers --------------------------------------------- */

.subscribe { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 460px; }
.subscribe .input { flex: 1 1 200px; height: 48px; font-size: 15px; font-weight: 400; }
.subscribe .btn { min-height: 48px; }
.subscribe-msg { flex: 1 1 100%; font: 500 14px/1.45 var(--font); color: var(--accent-ink); }
.subscribe-msg.err { color: var(--bad); }
.subscribe.done .input, .subscribe.done .btn { display: none; }
.subscribe-stack { flex-direction: column; flex-wrap: nowrap; flex: 0 0 auto; } /* in a column the 460px basis would become its height */
.subscribe-stack .input, .subscribe-stack .btn { flex: none; width: 100%; }
.hp { position: absolute; left: -9999px; }
.pop { position: relative; }
.pop > summary { list-style: none; }
.pop > summary::-webkit-details-marker { display: none; }
.pop-body { position: absolute; z-index: 45; /* above the sticky subnav (40), below the header (50) */  right: 0; top: calc(100% + 8px); width: min(340px, 86vw); padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px -16px rgba(13, 18, 18, .35); display: flex; flex-direction: column; gap: 12px; }
.pop-t { font-size: 14.5px; line-height: 1.45; }
.toast { position: fixed; z-index: 90; left: 50%; top: 92px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); padding: 12px 12px 12px 18px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font: 500 14.5px/1.4 var(--font); box-shadow: var(--shadow); }
.toast-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }

/* --- Header ------------------------------------------------------------- */

.site-head { position: sticky; top: 16px; z-index: 50; padding: 0 16px; margin-top: 16px; }
/* Once the page scrolls, the gap above the floating bar and the strip beside it fade to white, so content does
   not show above the menu; the bar itself keeps its glass look. */
.site-head::before { content: ""; position: absolute; left: 0; right: 0; top: -200px; height: calc(200px + 100% + 12px); z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #fff 0, #fff 200px, rgba(255, 255, 255, .82) calc(100% - 30px), rgba(255, 255, 255, 0) 100%); opacity: 0; transition: opacity .2s; }
.is-scrolled .site-head::before { opacity: 1; }
.admin-bar .site-head { top: 48px; }
.hbar { max-width: 1440px; margin: 0 auto; height: var(--head-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 0 8px 0 20px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 8px 24px -16px rgba(13, 18, 18, .25); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); justify-self: start; min-width: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 64px; height: auto; flex: none; color: var(--ink); }
.hbar .logo-mark { width: 92px; }
.logo-word { font: 600 16px/1 var(--font); letter-spacing: -.02em; white-space: nowrap; }
.logo-tld { font: 600 16px/1 var(--font); color: var(--ok); }
.nav { list-style: none; display: flex; gap: 28px; justify-content: center; }
.nav a { display: block; padding: 8px 0; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.hact { display: flex; justify-content: flex-end; align-items: center; gap: 8px; grid-column: 3; }
.hcmp { padding: 0 10px 0 20px; }
.hcmp .count { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 700 12px/1 var(--font); }
.burger { display: none; width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; place-items: center; }
.mnav { max-width: 1440px; margin: 8px auto 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.mnav-list { list-style: none; display: flex; flex-direction: column; }
.mnav-list a { display: block; padding: 14px 12px; font: 700 13px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.mnav-search { display: flex; align-items: center; gap: 10px; margin-top: 10px; height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--eyebrow); }
.mnav-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
@media (max-width: 980px) {
	.hnav { display: none; }
	.burger { display: inline-grid; }
	.hbar { grid-template-columns: minmax(0, 1fr) auto; }
	.hact { grid-column: 2; }
}
@media (max-width: 560px) {
	.site-head { padding: 0 10px; top: 10px; margin-top: 10px; }
	.hbar { padding: 0 6px 0 14px; gap: 10px; }
	.hbar .logo-mark { width: 78px; }
	.hcmp-l { display: none; }
	.hcmp { padding: 0 8px; min-height: 48px; }
}

/* --- Footer ------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); margin-top: 120px; }
.home .site-foot, .site-foot { padding: 72px 0 32px; }
.fgrid { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-bottom: 56px; }
.fintro { flex: 1.4 1 300px; display: flex; flex-direction: column; gap: 20px; }
.fintro-t { font: 400 28px/1.15 var(--font); letter-spacing: -.02em; max-width: 380px; }
.fintro p:last-child { font-size: 15px; color: var(--text-2); max-width: 360px; }
.fcol { flex: 1 1 150px; }
.fcol .eyebrow { margin-bottom: 20px; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.fword { display: block; width: 100%; height: auto; margin: 8px 0 28px; overflow: visible; }
.fword text { font: 400 84px var(--font); letter-spacing: -3px; fill: #dce6e2; }
.fword tspan { fill: var(--accent); }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
.fbottom > span:nth-child(2) { max-width: 720px; }
.fcopy { font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }

/* --- Comparison tray ---------------------------------------------------- */

.tray { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; width: min(800px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 24px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 18px 44px -16px rgba(13, 18, 18, .35); }
.tray-l { flex: none; }
.tray-items { list-style: none; display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tray-items li { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--mint); font: 500 13.5px/1 var(--font); white-space: nowrap; flex: none; }
.tray-items button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; color: var(--slate); display: grid; place-items: center; }
/* »Dodaj model«: opens a picker above the tray with similar models and search. */
.tray-add { height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px dashed var(--chip-line, #b9cfc8); border-radius: var(--r-sm); background: #fff; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); flex: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.tray-add:hover, .tray-add[aria-expanded="true"] { background: var(--mint); border-color: var(--slate); }
.tray-add.is-solo { border-style: solid; background: var(--slate); border-color: var(--slate); color: #fff; }
.tray-add.is-solo:hover { background: var(--ink); }
.tray-add[hidden] { display: none; }
.tray .btn.is-ready { box-shadow: 0 0 0 4px rgba(47, 224, 160, .45); transition: box-shadow .3s; }
.tray-pick { position: absolute; right: 8px; bottom: calc(100% + 10px); width: min(400px, calc(100vw - 32px)); max-height: min(60vh, 460px); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(13, 18, 18, .4); }
.tray-pick[hidden] { display: none; }
.tray-search { position: relative; display: block; flex: none; }
.tray-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.tray-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--line); border-radius: 999px; font: 500 15px/1 var(--font); }
.tray-search input:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.tray-pick-l { margin: 4px 4px 0; }
.tray-sugg { list-style: none; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.tray-sugg button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; }
.tray-sugg button:hover, .tray-sugg button:focus-visible { background: var(--mist); }
.tray-sugg b { display: block; font: 500 15px/1.3 var(--font); }
.tray-sugg small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.tray-sugg .ico { flex: none; color: var(--slate); }
.tray-sugg .tray-none { padding: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
	.tray { padding-left: 12px; } .tray-l { display: none; }
	.tray-add { padding: 0 12px; font-size: 11px; }
	.tray-add-x { display: none; }
	.tray-pick { right: 0; left: 0; width: auto; max-height: 65vh; }
}

/* --- Breadcrumbs -------------------------------------------------------- */

.crumbs { margin: 48px 0 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--chip-line); }
.crumbs [aria-current] { color: var(--ink); }

/* ==========================================================================
   Home
   ========================================================================== */

.hero { margin-top: -96px; }
.hero-in { position: relative; overflow: hidden; border-radius: 0 0 40px 40px; background: var(--hero); padding: clamp(140px, 11vw, 164px) var(--gutter) 40px; }
.hero-copy { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.hero-lead { margin: 22px auto 0; max-width: 600px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: #3f4745; text-wrap: pretty; }
.hero-stage { position: relative; max-width: 1440px; margin: clamp(48px, 6vw, 88px) auto 0; }
.hero-bg { position: absolute; z-index: 0; top: calc(8px - clamp(64px, 7vw, 104px) - max(31.2vw, 291px)); left: calc(50% - 50vw); width: 100vw; height: max(66.4vw, 620px); pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.06) brightness(1.04); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--hero) 0%, rgba(237, 237, 237, .85) 10%, rgba(237, 237, 237, 0) 26%); }
.hero-cards { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.glass { background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.finder { flex: 1.5 1 520px; min-width: 0; padding: 10px; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.fpanel { padding: 22px 18px 14px; display: flex; flex-direction: column; gap: 22px; }
.finder-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.presets .eyebrow { margin-right: 6px; }
.finder-sum { font-size: 13.5px; color: var(--muted); min-width: 0; }
.presets .pill { min-height: 32px; font: 500 13px/1 var(--font); text-transform: none; letter-spacing: 0; }
.topmatch { flex: 1 1 340px; min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.topmatch-img { position: relative; aspect-ratio: 16 / 9; max-height: 240px; margin: -12px -12px 0; border-radius: 26px; overflow: hidden; background: #f2f3f2; }
.topmatch-img img { width: 100%; height: 100%; object-fit: cover; }
.topmatch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.topmatch-name { font: 400 26px/1.1 var(--font); letter-spacing: -.02em; margin-top: 10px; }
.topmatch-price { font-size: 15px; color: var(--muted); margin-top: 8px; }
.topmatch-why { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font: 500 14px/1.4 var(--font); color: var(--slate); text-wrap: pretty; }
.m3, .m4, .m2x2 { margin: 0; display: grid; border-top: 1px solid var(--line); }
.m3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m4 { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.m3 > div, .m4 > div { padding: 14px 12px 0; border-left: 1px solid var(--line); min-width: 0; }
.m4 > div { padding: 14px 12px; }
.m3 > div:first-child, .m4 > div:first-child { padding-left: 0; border-left: 0; }
.m3 dt, .m4 dt, .m2x2 dt { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.m3 dd, .m4 dd, .m2x2 dd { margin: 9px 0 0; font: 500 20px/1 var(--font); }
.m4 dd { font-size: 17px; }
.m3 dd.sub { font: 400 12.5px/1 var(--font); color: var(--muted); margin-top: 8px; }
.m3 .segs { margin-top: 9px; }
.m4-big dd { font: 400 34px/1 var(--font); }
@media (max-width: 560px) { .m4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m4 > div:nth-child(3) { border-left: 0; padding-left: 0; } .m4-big dd { font-size: 28px; } }

.sec-matches { padding-top: 72px; scroll-margin-top: 100px; }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.row-head .eyebrow { margin-bottom: 12px; }
.row-tools { display: flex; align-items: center; gap: 12px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mcard-t { font: 500 17px/1.25 var(--font); letter-spacing: -.01em; margin-top: 8px; }
.mcard-why { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; line-height: 1.4; color: var(--slate); min-height: 38px; text-wrap: pretty; }
.mcard-why .ico, .topmatch-why .ico { flex: none; margin-top: 2px; color: var(--accent-ink); }
.mcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.mcard-foot .price { font: 500 16px/1 var(--font); }
.mcard-foot .price small { display: block; margin-top: 5px; font: 500 12px/1.2 var(--font); color: var(--accent-ink); }

.sec-brands { padding-top: 72px; }
.brands { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands a { display: flex; align-items: baseline; gap: 6px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.brands a:hover { color: var(--ink); }
.brands span { font-weight: 500; color: var(--eyebrow); }

.sec { padding-top: 120px; padding-bottom: 0; scroll-margin-top: 90px; }
.sec-tight { padding-top: 120px; scroll-margin-top: 90px; }
.shead { max-width: 780px; margin: 0 auto 48px; display: flex; flex-direction: column; }
.shead.center { align-items: center; text-align: center; }
.shead .eyebrow { margin-bottom: 20px; }
.shead .lead { margin-left: auto; margin-right: auto; }
.shead > p:last-child:not(.lead) { margin-top: 32px; }
.tabs-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; margin-top: 32px; border: 1px solid var(--line); border-radius: 18px; }
.tabs-line button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 14px; background: transparent; color: var(--slate); font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tabs-line button[aria-pressed="true"] { background: var(--slate); color: #fff; }

.rank { display: flex; flex-wrap: wrap; gap: 16px; }
.rank-top { flex: 1.3 1 520px; min-width: 0; padding: 0; display: flex; flex-direction: column; }
.rank-img { position: relative; aspect-ratio: 16 / 8.5; background: var(--mint); }
.rank-img img, .rank-img .ph { width: 100%; height: 100%; object-fit: cover; }
.badge-rank { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 12px; background: #fff; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.badge-rank span:first-child { background: var(--accent); padding: 5px 7px; border-radius: 8px; }
.rank-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.rank-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.rank-t { font: 400 32px/1.08 var(--font); letter-spacing: -.025em; margin-top: 10px; }
.score { text-align: right; flex: none; display: flex; flex-direction: column; gap: 8px; }
.score-v { font: 400 40px/1 var(--font); letter-spacing: -.03em; }
.score-v small { font-size: 16px; color: var(--eyebrow); }
.rank-verdict { font-size: 16px; line-height: 1.6; color: var(--slate); text-wrap: pretty; }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px 18px; }
.parts .kv { font: 500 13px/1 var(--font); }
.parts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; flex: 1; min-width: 0; }
.parts-2 .kv { font-size: 12.5px; margin-bottom: 6px; }
.rank-rest { flex: 1 1 380px; min-width: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.rank-list { list-style: none; }
.rank-list a { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.rank-list a:hover { background: var(--mist); color: var(--ink); }
.rank-n { font: 400 22px/1 var(--font); color: var(--eyebrow); width: 30px; flex: none; }
.rank-thumb { width: 88px; height: 58px; flex: none; border-radius: 14px; overflow: hidden; background: var(--mint); }
.rank-thumb img, .rank-thumb .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.rank-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; font: 500 16px/1.25 var(--font); }
.rank-score { display: flex; align-items: center; gap: 8px; }
.rank-score .bar { flex: 1; max-width: 110px; }
.rank-score b { font: 600 13px/1 var(--font); }
.rank-price { text-align: right; flex: none; display: flex; flex-direction: column; gap: 7px; }
.rank-price b { font: 500 15px/1 var(--font); }
.rank-price span { font-size: 12.5px; color: var(--muted); }
.rank-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.rank-more:hover { background: var(--mist); }
@media (max-width: 560px) { .rank-thumb { display: none; } .rank-list a { padding: 16px; gap: 12px; } .rank-body { padding: 20px; } }

.band-wrap { padding: 120px 16px 0; scroll-margin-top: 90px; }
.band { max-width: 1440px; margin: 0 auto; background: var(--mint); border-radius: var(--r-xl); padding: 112px var(--gutter); }
.pairs { list-style: none; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.pair { display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 12px 12px 22px; border-radius: var(--r-lg); background: #fff; transition: transform .2s; }
.pair:hover { transform: translateY(-3px); color: var(--ink); }
.pair-img { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair-img > span:not(.vs) { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--mint-2); }
.pair-img img, .pair-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 700 12px/1.3 var(--font); text-transform: uppercase; }
.pair-body { padding: 0 10px; display: flex; flex-direction: column; gap: 12px; }
.pair-t { font: 400 20px/1.25 var(--font); letter-spacing: -.015em; }
.pair-l { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--slate); }
.more { display: flex; align-items: center; gap: 8px; margin-top: 4px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 760px) { .band { padding: 72px 16px; } .band-wrap { padding-left: 8px; padding-right: 8px; } }

.carpick { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.carpick .select { min-width: 260px; height: 48px; font-size: 15px; }
.tools { display: flex; flex-wrap: wrap; gap: 16px; }
.tool-cost { flex: 1 1 400px; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.tool-cost .h-card { font-size: 26px; }
.tool-cost .muted { font-size: 15px; margin-top: 6px; }
.savebox { padding: 24px; border-radius: var(--r-md); background: var(--mint); display: flex; flex-direction: column; gap: 14px; }
.savebox-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.savebox-side { text-align: right; font-size: 14px; line-height: 1.55; color: var(--slate); }
.savebox-side b { color: var(--ink); font-weight: 600; }
.tool-tabs { flex: 1.3 1 520px; min-width: 0; padding: 18px; display: flex; flex-direction: column; }
.tpanel { padding: 28px 12px 12px; display: flex; flex-direction: column; gap: 26px; }
/* Trip ends: two place pickers with a swap button, popular destinations below. */
.trip-ends { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; margin-bottom: 14px; }
.tcombo { position: relative; min-width: 0; }
.tcombo-l { display: block; margin-bottom: 6px; font: 600 11px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.tcombo-in { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font: 500 16px/1 var(--font); color: var(--ink); text-overflow: ellipsis; }
.tcombo-in:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.tcombo-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; min-width: 240px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.tcombo-list[hidden] { display: none; }
.tcombo-list [role="option"] { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.3; cursor: pointer; }
.tcombo-list [role="option"][aria-selected="true"], .tcombo-list [role="option"]:hover { background: var(--mist); }
.tcombo-list [role="option"] small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.tcombo-list .ico { flex: none; color: var(--muted); }
.tcombo-info, .tcombo-attr { padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
.tcombo-attr { padding: 6px 12px 4px; font-size: 11.5px; text-align: right; }
.trip-swap { width: 44px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: background .15s, transform .2s; }
.trip-swap:hover { background: var(--mist); }
.trip-swap:active { transform: rotate(180deg); }
.trip-msg { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.trip-msg[hidden] { display: none; }
.route-meta { margin-top: 6px; font-size: 13.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.trip-open { margin-top: 14px; }
.calc-in .trip-ends { margin-bottom: 0; }
/* Trip planner: itinerary as a timeline, the same trip in the three seasons. */
.itin-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; }
.itin { list-style: none; margin: 0; padding: 4px 0 0; }
.itin li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 0 0 22px 40px; }
.itin li::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: -6px; width: 2px; background: repeating-linear-gradient(180deg, #9fb8b1 0 8px, transparent 8px 13px); }
.itin li:last-child { padding-bottom: 0; }
.itin li:last-child::before { display: none; }
.itin li::after { content: ""; position: absolute; left: 6px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--slate); }
.itin .itin-stop::after { left: 2px; top: -2px; width: 24px; height: 24px; border-radius: 8px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%230d1212' d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E") no-repeat center; }
.itin .itin-b::after { border: 3px solid var(--slate); background: #fff; }
.itin b { font: 500 16px/1.3 var(--font); }
.itin span { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.seasons { display: grid; gap: 10px; }
.season { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; text-align: left; transition: background .15s, border-color .15s; }
.season:hover { background: var(--mist); }
.season[aria-pressed="true"] { border-color: var(--slate); background: var(--mint); }
.season b { font: 500 18px/1.2 var(--font); }
.season > span:last-child { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 760px) {
	.itin-wrap { grid-template-columns: none; }
	.seasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.season { padding: 12px; }
	.season b { font-size: 15px; }
}
@media (max-width: 560px) {
	.trip-ends { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a s" "b s"; row-gap: 10px; }
	.trip-ends > .tcombo:first-child { grid-area: a; }
	.trip-ends > .tcombo:last-child { grid-area: b; }
	.trip-swap { grid-area: s; align-self: center; margin-top: 22px; transform: rotate(90deg); }
	.trip-swap:active { transform: rotate(270deg); }
}
.dests { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dests .eyebrow { margin-right: 6px; }
.dests .pill { font: 500 14px/1 var(--font); text-transform: none; letter-spacing: 0; min-height: 36px; }
.route { padding: 24px 20px 18px; border-radius: var(--r-md); background: var(--mint); }
.route-line { position: relative; height: 30px; }
.route-line::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #9fb8b1 0 14px, transparent 14px 22px); }
.route-a, .route-b { position: absolute; top: 7px; width: 16px; height: 16px; border-radius: 50%; }
.route-a { left: 0; background: var(--slate); }
.route-b { right: 0; border: 3px solid var(--slate); background: #fff; }
.route-stop { position: absolute; top: 1px; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: var(--ink); }
.route-ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.dialrow, .rangecard { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: center; }
.dial { position: relative; width: 210px; height: 210px; flex: none; margin: 0 auto; border-radius: 50%; background: conic-gradient(from 225deg, var(--accent) 0 var(--deg), var(--mint-2) var(--deg) 270deg, transparent 270deg); }
.dial-lg { width: 230px; height: 230px; }
.dial-in { position: absolute; inset: 12px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.dial-lg .dial-in { inset: 14px; }
.dial-v { font: 400 44px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial-lg .dial-v { font-size: 48px; }
.dial-in .muted { font-size: 13px; }
.dial-ctrl { flex: 1 1 260px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tbars { display: flex; align-items: flex-end; gap: 3px; height: 68px; }
.tbars-lg { height: 78px; gap: 4px; }
.tbars span { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; }
.tbars i { width: 100%; background: #d9d9d5; border-radius: 4px 4px 2px 2px; display: block; transition: height .2s; }
.tbars .cold i { background: #bfd3e0; }
.tbars .on i { background: var(--slate); }
.tbars b { font: 600 10px/1 var(--font); color: #73877f; }
.tbars .on b { color: var(--slate); }
.powers { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.power { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 20px; border: 1px solid var(--track); background: #fff; color: var(--slate); text-align: left; }
.power b { font: 500 17px/1 var(--font); }
.power span { font-size: 12.5px; line-height: 1.3; color: #5b6b68; }
.power em { font: 600 13.5px/1 var(--font); font-style: normal; margin-top: 6px; }
.power[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.power[aria-pressed="true"] span { color: var(--chip-line); }
.homeres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.homeres .big { font-size: 52px; }
.homeres > p { font-size: 15px; line-height: 1.5; color: var(--slate); padding-bottom: 6px; }
.toollinks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.toollinks a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); }
.toollinks a:hover { background: var(--mint); color: var(--ink); }
.toollinks-t { display: flex; align-items: center; justify-content: space-between; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.toollinks .muted { font-size: 14px; }
@media (max-width: 760px) { .carpick { flex-direction: column; align-items: stretch; width: 100%; } .carpick .select { min-width: 0; } .tool-cost, .tool-tabs { padding: 20px; } .tpanel { padding: 22px 4px 4px; } }

.subsidy-block { display: flex; flex-wrap: wrap; gap: 32px 40px; padding: 36px; }
.subsidy-head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.subsidy-cards { list-style: none; flex: 3 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.scard { padding: 20px; border-radius: var(--r-md); background: var(--mint); display: flex; flex-direction: column; gap: 9px; }
.scard .badge { align-self: flex-start; background: #fff; font-size: 12px; padding: 6px 10px; }
.scard .badge.tone-bad { color: var(--bad); }
.scard .badge.tone-warn { color: var(--warn-2); }
.scard .badge.tone-ok { color: var(--accent-ink); }
.scard-t { font: 500 16px/1.3 var(--font); }
.scard-x { font-size: 14px; line-height: 1.5; color: var(--slate); }
.subsidy-foot { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.subsidy-cta { font-size: 17px; line-height: 1.4; }
@media (max-width: 760px) { .subsidy-block { padding: 22px; } }

.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
.news-feat { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.news-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); display: block; }
.news-img img, .news-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-feat:hover img { transform: scale(1.02); }
.meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.tag { font: 700 12px/1.3 var(--font); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.news-t { font: 400 clamp(24px, 2.4vw, 34px)/1.12 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.news-t.big { font-size: clamp(26px, 2.6vw, 38px); margin: 0; }
.news-x { font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 640px; text-wrap: pretty; }
.news-list { display: flex; flex-direction: column; min-width: 0; }
.news-list > a:not(.link-more) { display: flex; flex-direction: column; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-list > a:first-child { padding-top: 0; }
.news-lt { font: 400 19px/1.3 var(--font); letter-spacing: -.01em; text-wrap: pretty; }
.news-list .link-more { padding-top: 22px; }
.sec-tight .shead .pills { justify-content: center; margin-top: 28px; }
@media (max-width: 700px) { .news-feat { grid-column: auto; } }
.news-feat .news-img { aspect-ratio: 2 / 1; } /* a lower photo beside the list of titles */
/* One or two articles: the first as a horizontal card (photo left, text right), the rest below. */
.news-few { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.news-few .news-feat { grid-column: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; gap: 14px 40px; }
.news-few .news-img { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 16 / 10; }
.news-few .news-feat > .meta { grid-column: 2; grid-row: 2; }
.news-few .news-feat > .news-t { grid-column: 2; grid-row: 3; }
.news-few .news-feat > .news-x { grid-column: 2; grid-row: 4; }
.news-few .news-list { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.news-few .news-list > a:not(.link-more) { flex: 1 1 360px; padding: 0; border: 0; }
.news-few .news-list .link-more { padding-top: 0; margin-left: auto; }
@media (max-width: 760px) {
	.news-few .news-feat { display: flex; }
}

.bodies { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.body { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 12px 12px 20px; border-radius: var(--r-lg); background: var(--mint); }
.body:hover { background: var(--mint-3); color: var(--ink); }
.body-img { aspect-ratio: 16 / 10; border-radius: 20px; background: #fff; overflow: hidden; display: grid; place-items: center; color: #b8cbc5; }
.body-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; } /* press photos: the car sits in the lower part */
@media (max-width: 560px) {
	.bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.body { padding: 8px 8px 14px; gap: 10px; border-radius: 22px; }
	.body-img { border-radius: 16px; }
	.body-t { padding: 0 6px; font-size: 18px; }
	.bodies .body .muted { padding: 0 6px; font-size: 13px; }
}
.body-img .ph-mark { width: 60%; }
.body-t { padding: 0 8px; display: flex; justify-content: space-between; align-items: baseline; font: 400 21px/1 var(--font); letter-spacing: -.015em; }
.body .muted { padding: 0 8px; font-size: 14px; line-height: 1.4; }
.home-prose { padding-top: 96px; }

/* ==========================================================================
   Finder (archive)
   ========================================================================== */

.fp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.fp-head > div { flex: 1 1 520px; min-width: 0; }
.searchbox { flex: 0 1 420px; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--eyebrow); }
.searchbox:focus-within { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.searchbox input::-webkit-search-cancel-button { display: none; }
.searchbox-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--mint); color: var(--slate); display: grid; place-items: center; }
.searchbox-wide { max-width: 640px; margin-top: 24px; }
.btabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.btabs a { flex: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid rgba(91, 130, 121, .28); background: #fff; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.btabs a span { font-weight: 500; opacity: .7; }
.btabs a[aria-current] { background: var(--slate); border-color: var(--slate); color: #fff; }
.fp-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.filters { flex: 1 1 280px; max-width: 340px; position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 24px; background: #fff; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head > span { display: flex; align-items: center; gap: 12px; }
.fbox { padding: 16px; border-radius: 20px; background: var(--mist); border: 0; margin: 0; }
.fbox legend { float: left; width: 100%; margin-bottom: 6px; }
.fbox .muted { clear: both; margin-bottom: 12px; }
.ff { padding-top: 20px; border-top: 1px solid var(--line); border-left: 0; border-right: 0; border-bottom: 0; margin: 0; min-width: 0; }
.fbox + .ff { border-top: 0; padding-top: 0; }
.ff .field-top output { font: 500 15px/1 var(--font); }
.ff legend { float: left; width: 100%; margin-bottom: 12px; }
.checks { list-style: none; clear: both; display: flex; flex-direction: column; gap: 2px; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font: 500 14.5px/1.2 var(--font); }
.checks label span:nth-child(2) { flex: 1; }
.checks .count { font-size: 13px; font-weight: 400; color: var(--eyebrow); }
.checks label.dim { opacity: .45; }
.toggles { padding-top: 12px; }
.only-m { display: none !important; }
.results { flex: 3 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
.toolbar-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar .btn .count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 700 11px/1 var(--font); padding: 0 6px; }
.sortsel { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); }
.sortsel select { border: 0; background: transparent; font: 600 14px/1 var(--font); color: var(--ink); cursor: pointer; padding-right: 4px; }
.sortsel select:focus { outline: none; }
.sortsel:focus-within { box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.pricebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 20px; background: var(--mist); }
.pricebar .seg button { font-size: 12.5px; min-height: 32px; }
.pricebar p { flex: 1 1 100%; }
.fchips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fchips:empty { display: none; }
.fchips button { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px; border: 0; background: var(--mint); color: var(--ink); font: 500 13.5px/1 var(--font); }
.fchips button span { width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--slate); }
.rows { display: flex; flex-direction: column; gap: 12px; }
.crow { display: grid; grid-template-columns: 200px minmax(200px, 1fr) minmax(330px, 1.4fr) 168px; align-items: stretch; gap: 18px 24px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .15s; content-visibility: auto; contain-intrinsic-size: auto 160px; }
.crow:hover { border-color: rgba(91, 130, 121, .45); }
.crow.in-cmp { border-color: var(--slate); }
.crow-img { position: relative; min-height: 132px; border-radius: 20px; overflow: hidden; background: var(--mint); display: block; }
.crow-img img, .crow-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crow-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.crow-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.crow-t { margin-top: 6px; font: 400 24px/1.12 var(--font); letter-spacing: -.02em; }
.crow-score { flex: none; text-align: right; font: 400 26px/1 var(--font); letter-spacing: -.02em; }
.crow-score small { font-size: 13px; color: var(--eyebrow); }
.crow-score .bar { width: 64px; margin: 8px 0 0 auto; }
.crow-meta { font-size: 14px; line-height: 1.4; }
.crow-main .tags { margin-top: auto; }
.crow-m { margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: center; border-left: 1px solid var(--line); padding-left: 20px; }
.crow-m > div { padding: 6px 12px; min-width: 0; }
.crow-m > div:first-child { padding-left: 0; }
.crow-m dt { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.crow-m dd { margin: 10px 0 9px; font: 500 19px/1 var(--font); white-space: nowrap; }
.crow-m dd:last-child { margin: 0; }
.crow-m dd.sub { font: 400 12px/1.2 var(--font); color: var(--muted); white-space: normal; }
.crow-act { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.crow-act .btn { min-height: 46px; padding: 0 16px; }
.ctable { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.ctable table { min-width: 940px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ctable th, .ctable td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ctable thead th { position: sticky; top: 0; background: var(--mist); font: 700 11px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--eyebrow); }
.ctable thead button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.ctable thead button:hover, .ctable thead button.is-on { color: var(--ink); }
.ctable .tsort-i { width: 10px; font-size: 12px; letter-spacing: 0; opacity: .3; transition: opacity .15s; }
.ctable thead button:hover .tsort-i, .ctable thead button:focus-visible .tsort-i { opacity: .8; }
.ctable thead button.is-on .tsort-i { opacity: 1; color: var(--accent-ink, var(--ink)); }
/* Where the table fits, the page scrolls instead of the box, so the header row stays under the site header. */
@media (min-width: 1240px) {
	.ctable { overflow: visible; }
	.ctable table { min-width: 0; }
	.ctable th, .ctable td { padding: 10px 8px; }
	.ctable td.tname { min-width: 150px; white-space: normal; }
	.ctable thead th { top: calc(var(--head-h) + 22px); z-index: 2; }
	.ctable thead th:first-child { border-top-left-radius: var(--r-lg); }
	.ctable thead th:last-child { border-top-right-radius: var(--r-lg); }
}
.loadmore { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; text-align: center; }
.loadmore[hidden] { display: none; }
.loadmore-t { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.loadmore-bar { width: min(240px, 60%); height: 4px; border-radius: 999px; background: var(--track); overflow: hidden; }
.loadmore-bar span { display: block; height: 100%; background: var(--slate); transition: width .25s; }
.loadmore-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; }
.loadmore .btn-link { border: 0; background: none; padding: 8px 4px; font: 500 14px/1.3 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.loadmore .btn-link[hidden] { display: none; }
.js .crow[data-more] { display: none; }
.ctable th:first-child, .ctable td:first-child { width: 36px; text-align: center; }
.ctable .tname { text-align: left; }
.ctable .tname a { font-weight: 500; }
.ctable .tname small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.ctable tr.in-cmp { background: #f3fbf7; }
.ctable .sc { display: inline-block; padding: 6px 9px; border-radius: 999px; background: var(--mint); font-weight: 600; }
.term-guide { max-width: 860px; margin: 96px 0 0; }
@media (max-width: 1480px) {
	.crow { grid-template-columns: 160px minmax(0, 1fr); }
	.crow-m { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 14px; border-top: 1px solid var(--line); }
	.crow-act { grid-column: 1 / -1; flex-direction: row; }
	.crow-act > * { flex: 1; }
}
@media (max-width: 900px) {
	.filters { display: none; }
	.filters.open { display: flex; position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-width: none; max-height: 86vh; z-index: 80; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px rgba(13, 18, 18, .25); }
	.no-js .filters { display: flex; position: static; max-width: none; max-height: none; }
	.only-m { display: inline-flex !important; }
	.filters-go { position: sticky; bottom: 0; }
	.sheet-backdrop { position: fixed; inset: 0; background: rgba(13, 18, 18, .35); z-index: 75; }
}
@media (max-width: 560px) {
	.crow { grid-template-columns: minmax(0, 1fr); padding: 12px; }
	.crow-img { min-height: 180px; }
	.crow-m { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
	.crow-m > div:nth-child(3) { padding-left: 0; }
	.searchbox { flex-basis: 100%; }
}

/* ==========================================================================
   Model page
   ========================================================================== */

.ov { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.ov-media { flex: 1.35 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ov-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
.ov-main img, .ov-main .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-thumbs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ov-thumbs a { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--mint); }
.ov-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ov-thumbs a:hover img { transform: scale(1.04); }
.ov-card { flex: 1 1 380px; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.ov-card .badge { margin-top: 12px; }
.scorebox { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-md); background: var(--mint); }
.pricebig { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 400 40px/1 var(--font); letter-spacing: -.03em; }
.pricebig .muted { font-size: 15px; letter-spacing: 0; }
.ov-card .pricebig + p { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.m2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m2x2 > div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.m2x2 > div:nth-child(even) { padding: 14px 0 14px 12px; border-left: 1px solid var(--line); }
.m2x2 dd { font-size: 21px; }
.m2x2 abbr { text-decoration: none; color: var(--warn-2); cursor: help; }
.ov-card .btns { margin-top: auto; }
.ov-card .pop { flex: 1 1 150px; }
.ov-card .pop > summary { width: 100%; }
.subnav { --sub-gap: 8px; position: sticky; top: calc(16px + var(--head-h) + var(--sub-gap)); z-index: 40; margin-top: 28px; padding: 0 16px; transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
.admin-bar .subnav { top: calc(48px + var(--head-h) + var(--sub-gap)); }
/* Page sections as a second floating bar, the same width and glass as the header. */
.subnav .subnav-in { max-width: 1440px; margin: 0 auto; padding: 6px 6px 6px 8px; display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px -16px rgba(13, 18, 18, .25); }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -200px; height: calc(200px + 100% + 12px); z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #fff 0, #fff 200px, rgba(255, 255, 255, .82) calc(100% - 30px), rgba(255, 255, 255, 0) 100%); opacity: 0; transition: opacity .2s; }
.subnav.is-stuck::before { opacity: 1; }
.subnav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; scroll-behavior: smooth; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; padding: 10px 14px; border-radius: 14px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--text-2); transition: background .15s, color .15s; }
.subnav ul a:hover { background: var(--mist); color: var(--ink); }
.subnav ul a.on { background: var(--mint); color: var(--ink); }
.subnav-r { display: flex; align-items: center; gap: 12px; flex: none; }
.subnav-name { font: 500 15px/1 var(--font); white-space: nowrap; }
.subnav-name b { font-weight: 600; }
/* Scrolling down past the sections bar hides the main menu and the bar takes its place; scrolling up brings it back. */
.site-head { transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
.nav-away .site-head { transform: translateY(calc(-100% - 40px)); }
.nav-away .subnav.is-stuck { transform: translateY(calc(-1 * (var(--head-h) + var(--sub-gap)))); }
@media (prefers-reduced-motion: reduce) { .site-head, .subnav { transition: none; } }
@media (max-width: 760px) {
	.subnav { --sub-gap: 6px; top: calc(10px + var(--head-h) + var(--sub-gap)); padding: 0 10px; }
	.subnav-r { display: none; }
	.subnav .subnav-in { padding: 5px; border-radius: 18px; }
	.subnav ul { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
	.subnav ul a { padding: 9px 12px; }
}
.model-body { padding-bottom: 24px; }
.msec { padding-top: 104px; scroll-margin-top: 170px; }
.msec.narrow { max-width: 900px; }
.msec-head { margin-bottom: 28px; }
.msec-head .eyebrow { margin-bottom: 14px; }
.msec-head .lead { margin-top: 14px; font-size: 16px; max-width: 620px; }
.nk { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.nk-box { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.nk-box.mint { background: var(--mint); border-color: transparent; }
.nk-box h3 { margin-bottom: 16px; }
.nk-box ul:not(.ticks) { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.45; }
.nk-box ul:not(.ticks) li { position: relative; padding-left: 18px; }
.nk-box ul:not(.ticks) li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }
.rangecard { padding: 32px; gap: 32px 48px; }
.trips { flex: 1 1 280px; align-self: stretch; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); display: flex; flex-direction: column; gap: 2px; }
.trips ul { list-style: none; }
.trips li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trips li > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 15px; }
.trips b { font-weight: 500; }
.trips small { font-size: 12.5px; color: var(--muted); }
.trips .badge { font: 600 13px/1 var(--font); text-transform: none; letter-spacing: 0; padding: 6px 10px; }
.two { display: flex; flex-wrap: wrap; gap: 16px; }
.two > * { flex: 1 1 400px; min-width: 0; margin: 0; }
.two > .curvecard { flex: 1.4 1 520px; }
.curve-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.curve-head .muted { font-size: 14px; }
.rows-dl { margin: 10px 0 0; }
.rows-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows-dl dt { font: 500 15px/1.25 var(--font); }
.rows-dl dt small { display: block; font: 400 12.5px/1.3 var(--font); color: var(--muted); margin-top: 3px; }
.rows-dl dd { margin: 0; font: 500 17px/1 var(--font); white-space: nowrap; }
.costcard { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 32px; }
.costcard-in { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.costboxes { flex: 1.4 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.costbox { padding: 22px; border-radius: var(--r-md); background: var(--mint); }
.costbox .big { font-size: 34px; letter-spacing: -.025em; }
.costbox .small { margin-top: 8px; color: var(--slate); }
.costbox.accent { background: var(--accent); }
.costbox.accent .eyebrow, .costbox.accent .small { color: var(--ink); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.specgroup { padding: 10px 26px 14px; border-radius: var(--r-lg); }
.specgroup .h-card { padding: 16px 0 10px; font-size: 21px; }
.specgroup dl { margin: 0; }
.specgroup dl > div { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.specgroup dt { font-size: 14.5px; line-height: 1.3; color: var(--slate); }
.specgroup dt small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.specgroup dd { margin: 0; font: 500 15px/1.3 var(--font); }
.spec-tag .badge { font: 600 11px/1 var(--font); letter-spacing: .03em; text-transform: none; padding: 5px 8px; }
@media (max-width: 480px) { .specgroup dl > div { grid-template-columns: minmax(0, 1fr) auto; } .spec-tag { grid-column: 1 / -1; } .specgroup { padding: 6px 18px 12px; } }
.rivals { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.rival { padding: 12px 12px 22px; border-radius: var(--r-lg); background: var(--mint); display: flex; flex-direction: column; gap: 16px; }
.rival-img { display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #fff; }
.rival-img img, .rival-img .ph { width: 100%; height: 100%; object-fit: cover; }
.rival-body { padding: 0 10px; display: flex; flex-direction: column; gap: 10px; }
.rival-body .small { font-size: 14px; line-height: 1.5; color: var(--slate); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font: 400 19px/1.35 var(--font); }
.faq-i { color: var(--eyebrow); flex: none; transition: transform .2s; }
.faq details[open] .faq-i { transform: rotate(45deg); }
.faq-a p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 720px; }
.card .faq-q { font: 600 15px/1.4 var(--font); }
.card .faq details { padding: 14px 0; border-color: var(--mint); }
.card .faq-a p { font-size: 14.5px; }
.sources { padding-top: 56px; }
.sources .eyebrow { margin-bottom: 12px; }
.srclist { list-style: none; margin-top: 12px; }
.srclist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font: 500 15px/1.35 var(--font); }
.card.sources { padding: 28px; }

/* ==========================================================================
   Comparison
   ========================================================================== */

.cmp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 28px; }
.cmp-head > div:first-child { flex: 1 1 560px; min-width: 0; }
/* Comparison heading: each car on its own line with its colour from the charts, »vs« as a small tag between. */
.cmp-h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; }
.cmp-h1-car { display: block; text-wrap: pretty; }
@media (max-width: 560px) { .cmp-h1 { font-size: 28px; } }
.cmp-dot { display: inline-block; width: .3em; height: .3em; margin: 0 .32em .12em 0; border-radius: 50%; vertical-align: middle; }
.cmp-vs { display: inline-flex; align-items: center; margin: 6px 0 4px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--eyebrow); font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.verdicts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 28px; }
.verdicts li { padding: 22px; border-radius: var(--r-md); background: var(--mint); display: flex; flex-direction: column; gap: 12px; }
.verdict-n { display: flex; align-items: center; gap: 8px; font: 400 20px/1.2 var(--font); letter-spacing: -.015em; }
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.ctab { overflow: clip; --lead: minmax(130px, 1fr); }
.ctab-head { position: sticky; top: 92px; z-index: 5; display: grid; grid-template-columns: var(--lead) repeat(var(--cols), minmax(0, 1.25fr)); gap: 0 12px; padding: 14px 16px 14px 20px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.admin-bar .ctab-head { top: 124px; }
/* Stuck car bar: solid (no blurred photos behind it), white above it, and like the sections bar on the car page it
   moves up to the top while the main menu is away. */
.ctab-head { --ch-gap: 12px; transition: transform .32s cubic-bezier(.2, .7, .2, 1), background .2s; }
.ctab-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 200px; background: #fff; pointer-events: none; opacity: 0; transition: opacity .2s; }
.ctab-head.is-stuck { background: #fff; border-radius: 0; }
.ctab-head.is-stuck::before { opacity: 1; }
.nav-away .ctab-head.is-stuck { transform: translateY(calc(-1 * (var(--head-h) + var(--ch-gap)))); }
/* Desktop: the stuck bar is one row per car (small photo, name, price) instead of the big cards, so the table keeps
   the screen; the colour line under each car stays. */
@media (min-width: 761px) {
	.ctab-head.is-stuck { padding-top: 8px; padding-bottom: 12px; align-items: center; box-shadow: 0 12px 28px -22px rgba(13, 18, 18, .4); }
	.ctab-head.is-stuck .ctab-lead .small { display: none; }
	.ctab-head.is-stuck .ctab-lead { justify-content: center; padding-bottom: 0; }
	.ctab-head.is-stuck .ccar { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 12px; padding: 6px 40px 6px 6px; border-radius: 16px; }
	.ctab-head.is-stuck .ccar::after { bottom: -9px; }
	.ctab-head.is-stuck .ccar-img { grid-row: 1 / 3; width: 64px; height: 44px; max-height: none; aspect-ratio: auto; border-radius: 10px; }
	.ctab-head.is-stuck .ccar-n { display: none; }
	.ctab-head.is-stuck .ccar-pick { padding: 0; align-self: end; }
	.ctab-head.is-stuck .ccar-name { font-size: 14px; padding-right: 0; }
	.ctab-head.is-stuck .ccar-name .ico { margin-top: 3px; }
	.ctab-head.is-stuck .ccar-foot { padding: 0; align-self: start; font-size: 13px; color: var(--muted); }
	.ctab-head.is-stuck .ccar-foot .badge { display: none; }
	.ctab-head.is-stuck .ccar-x { top: 50%; right: 8px; transform: translateY(-50%); width: 24px; height: 24px; }
	.ctab-head.is-stuck .cadd { min-height: 56px; flex-direction: row; gap: 10px; border-radius: 16px; }
	.ctab-head.is-stuck .cadd-i { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ctab-head { transition: none; } }
.ctab-lead { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding-bottom: 4px; }
.ccar { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 8px; border-radius: 22px; background: var(--mist); }
.ccar::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -15px; height: 3px; border-radius: 2px; background: var(--c); }
.ccar-img { position: relative; aspect-ratio: 16 / 10; max-height: 110px; border-radius: 16px; overflow: hidden; background: var(--mint-2); }
.ccar-img img, .ccar-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.ccar-n { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; background: #fff; font: 700 10.5px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.ccar-n .dot { width: 8px; height: 8px; background: var(--c); }
.ccar-pick { position: relative; display: block; padding: 0 4px; }
.ccar-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ccar-pick select:focus-visible + .ccar-name { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ccar-name { display: flex; align-items: flex-start; gap: 6px; padding-right: 22px; font: 600 15px/1.25 var(--font); letter-spacing: -.01em; }
.ccar-name .ico { margin-top: 4px; color: var(--eyebrow); flex: none; }
.ccar-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 4px; font: 500 14px/1 var(--font); }
.ccar-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--slate); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(13, 18, 18, .15); }
.cadd { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; border-radius: 22px; border: 1.5px dashed rgba(91, 130, 121, .4); font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); cursor: pointer; }
.cadd:hover { background: var(--mist); }
.cadd select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cadd-i { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.cgroup { scroll-margin-top: 330px; }
.cgroup .h-card { padding: 30px 20px 12px; font-size: 24px; }
.cgroup-empty { padding: 0 20px 18px; }
.crowc { display: grid; grid-template-columns: var(--lead) repeat(var(--cols), minmax(0, 1.25fr)); gap: 0 12px; align-items: center; padding: 6px 16px 6px 20px; border-top: 1px solid var(--line-2); }
.crowc:hover { background: #f8fbfa; }
.crowc-l { min-width: 0; padding: 8px 0; display: flex; flex-direction: column; gap: 3px; font: 500 14.5px/1.3 var(--font); }
.crowc-l small { font: 400 12.5px/1.3 var(--font); color: var(--muted); }
.cell { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 14px; font: 500 15px/1.3 var(--font); font-variant-numeric: tabular-nums; }
.cell.best { background: #e3f4ee; color: #0b8a5e; font-weight: 700; }
.best-tag { display: flex; align-items: center; gap: 4px; font: 700 10px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: #0b8a5e; white-space: nowrap; }
.ctab.only-diff .crowc[data-same] { display: none; }
.cmp-charts, .cmp-end { padding-top: 16px; }
.cmp-charts .card, .cmp-end .card { padding: 24px; }
.costbars { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.costbars .kv { font: 600 13.5px/1.3 var(--font); color: var(--ink); align-items: center; }
.costbars .kv span { display: flex; align-items: center; gap: 8px; }
.costbars .kv b { font-size: 15px; }
.stack { display: flex; height: 10px; border-radius: 999px; background: var(--mint); overflow: hidden; margin-bottom: 6px; }
.stack span { display: block; height: 100%; }
.stack .soft { opacity: .35; }
.related-list { list-style: none; margin-top: 12px; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--mint); }
.related-list a span { display: flex; flex-direction: column; gap: 2px; }
.related-list b { font: 600 14.5px/1.3 var(--font); }
.related-list small { font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.related-list a:hover { color: #2e7d68; }
.cmp-builder .pickform { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; margin: 32px 0 56px; }
/* Phones: no sideways scrolling. Each row is its label on top and one value per car below, and a
   slim sticky bar with the car names keeps the columns identifiable all the way down. */
@media (max-width: 760px) {
	.ctab-head, .crowc { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 8px; padding-left: 12px; padding-right: 12px; }
	.ctab-head { --ch-gap: 8px; top: 82px; padding-top: 10px; padding-bottom: 14px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
	.admin-bar .ctab-head { top: 120px; }
	.ctab-head.is-stuck .cadd { display: none; }
	.ctab-head.is-stuck { box-shadow: 0 10px 24px -18px rgba(13, 18, 18, .35); }
	.ctab-lead, .ccar-img, .ccar-foot { display: none; }
	.ccar { padding: 8px 6px 8px 10px; gap: 0; border-radius: 14px; }
	.ccar::after { bottom: -11px; }
	.ccar-name { padding-right: 28px; font-size: 13.5px; }
	.ccar-name .ico { display: none; }
	.ccar-x { top: 50%; right: 4px; transform: translateY(-50%); }
	.cadd { grid-column: 1 / -1; flex-direction: row; min-height: 44px; margin-top: 18px; border-radius: 14px; }
	.cadd-i { width: 26px; height: 26px; }
	.crowc-l { grid-column: 1 / -1; padding: 10px 0 6px; }
	.crowc { padding-bottom: 10px; }
	.cell { min-height: 40px; padding: 8px 10px; font-size: 14px; }
	.best-tag { font-size: 0; gap: 0; }
	.cgroup { scroll-margin-top: 150px; }
	.cgroup .h-card { padding: 26px 12px 6px; font-size: 21px; }
}

/* ==========================================================================
   Subsidy page
   ========================================================================== */

.page-head { max-width: 880px; margin-bottom: 40px; }
.updated { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.pill-status { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--mint); font-weight: 500; color: #2f3735; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(11, 154, 106, .5); animation: live 2.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(11, 154, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 154, 106, 0); } }
.tldr { margin: 0 0 12px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--mint); scroll-margin-top: 110px; }
.tldr-h { margin: 0 0 14px !important; font: 500 12px/1.3 var(--font) !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--eyebrow); }
.tldr-dl { max-width: 880px; margin-bottom: 40px; padding: 28px 30px; }
.tldr dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.tldr dt { font: 600 16px/1.4 var(--font); }
.tldr dd { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: #1f2928; }
.tldr ul { list-style: none; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.tldr li { position: relative; padding-left: 19px; font-size: 16.5px; line-height: 1.55; }
.tldr li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.toc-pills { margin-bottom: 48px; }
.state { display: flex; flex-wrap: wrap; gap: 16px; scroll-margin-top: 110px; }
.state-main { flex: 1.5 1 520px; min-width: 0; padding: 32px; border-radius: var(--r-xl); background: var(--mint); display: flex; flex-direction: column; gap: 16px; }
.state-main > p:not(.state-badges) { font-size: 16px; line-height: 1.6; max-width: 640px; }
.tone-bg-bad, .tone-bg-warn { background: var(--amber-card); }
.tone-bg-bad > p:not(.state-badges), .tone-bg-warn > p:not(.state-badges) { color: #4a3a1f; }
.tone-bg-ok { background: var(--ok-bg); }
.state-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.state-badges .badge { font-size: 12px; padding: 7px 12px; }
.state-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.state-facts dt { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.state-facts dd { margin: 4px 0 0; font: 500 17px/1.2 var(--font); }
.state-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.state-card { padding: 26px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.state-card > p:not(.state-row) { font-size: 15.5px; line-height: 1.55; color: var(--slate); }
.state-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.state-sub { border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.state-sub .h-card { font-size: 20px; line-height: 1.25; }
.state-sub .subscribe { flex: none; }
.elig { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 32px; }
.elig-in { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.elig-out { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.elig-res { padding: 26px; border-radius: var(--r-lg); background: var(--mint); }
.elig-res.ok { background: var(--ok-bg); }
.elig-res.ok .eyebrow { color: var(--accent-ink); }
.elig-res.warn { background: var(--warn-bg); }
.elig-res.warn .eyebrow { color: var(--warn-ink); }
.elig-res > p:last-child { font-size: 15px; line-height: 1.5; color: #1f2928; margin-top: 10px; }
.elig .ticks li { font-size: 14.5px; color: var(--slate); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps li { padding: 24px; border-radius: var(--r-lg); background: var(--mint); display: flex; flex-direction: column; gap: 12px; }
.steps b { font: 400 19px/1.25 var(--font); letter-spacing: -.01em; }
.steps li > span:last-child { font-size: 14px; line-height: 1.55; color: var(--slate); }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 600 14px/1 var(--font); flex: none; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #b9c6c2; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(91, 130, 121, .3); }
.timeline .tl-key::before { background: var(--slate); }
.timeline .tl-warning::before { background: #c26a00; }
.timeline .tl-current::before { background: var(--accent); }
.tl-t { font: 500 17px/1.35 var(--font); margin-top: 6px; }
.tl-x { font-size: 15px; line-height: 1.55; color: var(--slate); margin-top: 4px; max-width: 680px; }
.related-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding-top: 72px; }
.relcard { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: var(--r-md); background: var(--mint); font-size: 19px; line-height: 1.3; }
.relcard:hover { background: var(--mint-3); color: var(--ink); }

/* ==========================================================================
   Advice, article, pages
   ========================================================================== */

.feat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 96px; }
.feat-row .news-feat { grid-column: span 2; }
@media (max-width: 760px) { .feat-row .news-feat { grid-column: auto; } }
.path { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-lg); align-self: start; }
.path .eyebrow { margin-bottom: 12px; }
.path ol { list-style: none; }
.path a { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.path a > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.path b { font: 500 15.5px/1.3 var(--font); }
.path small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.path .step-n { width: 28px; height: 28px; font-size: 13px; }
.topics { margin-bottom: 96px; }
.topics .eyebrow { margin-bottom: 20px; }
.topics ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.topics a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.topics a:hover { background: var(--mint); color: var(--ink); }
.topic-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 400 22px/1.15 var(--font); letter-spacing: -.015em; }
.postlist .row-head { margin-bottom: 24px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 20px; }
.pcard { display: flex; flex-direction: column; gap: 14px; }
.pcard-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--mint); }
.pcard-img img, .pcard-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.03); }
.pcard-t { font: 400 21px/1.25 var(--font); letter-spacing: -.015em; text-wrap: pretty; }
.pcard .muted:not(.small) { font-size: 14.5px; line-height: 1.55; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; }
.pagination .current { background: var(--slate); color: #fff; border-color: var(--slate); }

.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transform-origin: left; }
.admin-bar .progress { top: 32px; }
.art-head { max-width: 900px; }
.art-head .meta { margin-bottom: 20px; }
.art-lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--slate); max-width: 760px; text-wrap: pretty; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-who { display: flex; align-items: center; gap: 12px; }
.byline-n { font: 500 15px/1.2 var(--font); }
.avatar { border-radius: 50%; background: var(--mint); }
.art-cover { margin: 32px 0 0; aspect-ratio: 21 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-cover { position: relative; }
.art-cover figcaption { position: absolute; right: 14px; bottom: 12px; max-width: calc(100% - 28px); padding: 5px 11px; border-radius: 999px; background: rgba(13, 18, 18, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 12px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 56px; }
.art-aside { flex: 0 1 260px; position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.toc ol { list-style: none; margin-top: 12px; }
.toc a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid var(--line); font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.toc a.on { border-color: var(--ok); color: var(--ink); font-weight: 600; }
.asidecta { padding: 20px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 10px; }
.asidecta .h-card { font-size: 19px; }
.art-body { flex: 1 1 640px; min-width: 0; max-width: 760px; }
@media (max-width: 980px) { .art-aside { position: static; flex-basis: 100%; } .art-grid { gap: 32px; } }
.helpful { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 22px 24px; border-radius: var(--r-md); background: var(--mist); font: 500 16px/1.3 var(--font); }
.authorbox { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); }
.authorbox .eyebrow { margin-bottom: 6px; }
.authorbox .small { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.authorbox a { text-decoration: underline; text-underline-offset: 3px; }
.page-plain .page-head { margin-bottom: 24px; }
.page-plain .art-body { padding-top: 0; }
.notfound { padding-bottom: 40px; }
.notfound .btns { margin-top: 24px; }

/* --- Prose (post content) ---------------------------------------------- */

.prose { font-size: 18px; line-height: 1.7; color: #1f2928; }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 56px; font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--font); letter-spacing: -.02em; color: var(--ink); scroll-margin-top: 110px; }
.prose h3 { margin-top: 40px; font: 500 22px/1.25 var(--font); letter-spacing: -.01em; color: var(--ink); }
.prose a { color: #0b8a5e; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 10px; }
.prose strong { font-weight: 600; }
.prose img { border-radius: var(--r-md); }
.prose figure { margin: 32px 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 20px; color: var(--ink); }
.prose ol.is-style-koraki, .prose .is-style-koraki { list-style: none; padding: 0; counter-reset: k; display: flex; flex-direction: column; gap: 14px; }
.prose .is-style-koraki > li { counter-increment: k; position: relative; padding-left: 46px; font-size: 17px; line-height: 1.6; margin: 0; }
.prose .is-style-koraki > li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font: 600 13px/1 var(--font); }
.prose table, .wtable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose .wp-block-table { border: 1px solid var(--line); border-radius: var(--r-md); overflow-x: auto; margin: 8px 0 22px; background: #fff; }
.prose .wp-block-table table, .prose .wp-block-table .has-fixed-layout { table-layout: auto; width: 100%; min-width: 520px; border: 0; }
.prose .wp-block-table thead, .prose .wp-block-table tfoot { border: 0; }
.prose .wp-block-table th, .prose .wp-block-table td { padding: 13px 18px; border: 0; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose .wp-block-table thead th { background: var(--mist); border-top: 0; font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); vertical-align: bottom; }
.prose .wp-block-table tbody td:first-child { font-weight: 500; color: var(--ink); }
.prose .wp-block-table .nw { white-space: nowrap; }
.prose .wp-block-table tbody tr:hover td { background: #f9fbfa; }
.prose .wp-block-table figcaption { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); text-align: left; }
.prose details { border-top: 1px solid var(--line); padding: 18px 0; }
.prose details + details { margin-top: 0; }
.prose details summary { cursor: pointer; font: 500 17.5px/1.4 var(--font); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: "+"; color: var(--eyebrow); font-size: 22px; line-height: 1; transition: transform .2s; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary) { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--slate); }
.tip { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); margin: 8px 0 22px; }
.tip-ico { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--accent); display: grid; place-items: center; color: var(--ink); }
.tip-k { font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.tip-body, .tip-body * { font-size: 16.5px; line-height: 1.6; }
.tip-body > .wp-block-group { margin: 0; }
.wtable { margin: 8px 0 22px; }
.wtable .table-scroll { border: 1px solid var(--line); border-radius: var(--r-md); }
.wtable th, .wtable td { padding: 12px 18px; border-top: 1px solid var(--line-2); text-align: left; font-weight: 400; }
.wtable thead th { border-top: 0; background: var(--mist); font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.wtable .num { text-align: right; white-space: nowrap; }
.wtable .strong { font-weight: 600; }
.wtable tbody th a { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(91, 130, 121, .35); text-underline-offset: 3px; color: var(--ink); }
.keep { display: inline-flex; align-items: center; gap: 8px; }
.keep .bar { width: 44px; height: 5px; }
.carcard { display: flex; flex-wrap: wrap; gap: 18px; padding: 14px; border-radius: var(--r-lg); background: var(--mint); margin: 8px 0 22px; }
.carcard-img { flex: 0 0 220px; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #fff; }
.carcard-img img, .carcard-img .ph { width: 100%; height: 100%; object-fit: cover; }
.carcard-body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; }
.carcard-t { font: 400 22px/1.2 var(--font); }
.carcard-t a { color: var(--ink); text-decoration: none; }
.facts4 { margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.facts4 dt { font: 500 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.facts4 dd { margin: 6px 0 0; font: 500 16px/1 var(--font); }
@media (max-width: 560px) { .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Coming soon
   ========================================================================== */

.is-coming-soon { background: var(--hero); }
.cs { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 48px 16px; overflow: hidden; }
.cs-bg { position: absolute; inset: 0; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
.cs-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: grayscale(1) contrast(1.06) brightness(1.04); }
.cs-card { position: relative; z-index: 1; width: min(720px, 100%); padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.cs-logo { justify-content: center; }
.cs-logo .logo-tld { margin-left: -10px; }
.cs-logo .logo-mark { width: 84px; }
.cs-staff { font-size: 13.5px; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); }
.cs-staff a { text-decoration: underline; }
.cs-title { font: 400 clamp(34px, 4.6vw, 56px)/1.04 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.cs-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.cs-count { display: flex; gap: 10px; }
.cs-count > span { display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 12px; border-radius: var(--r-sm); background: var(--mint); font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.cs-count b { font: 400 34px/1 var(--font); color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.cs-sub { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.cs-sub-t { font: 500 16px/1.4 var(--font); }
.cs-sub .subscribe { width: 100%; max-width: 460px; flex: none; }
.pill-ok { padding: 12px 18px; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--accent-ink); font-weight: 500; }
.cs-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cs-facts li { font: 500 13px/1 var(--font); padding: 9px 12px; border-radius: 999px; background: var(--mint); color: var(--slate); }
.cs-foot { font-size: 13px; color: var(--muted); }
.cs-foot a { text-decoration: underline; }

/* --- Responsive spacing ---------------------------------------------------- */

@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.sec, .sec-tight, .band-wrap { padding-top: 88px; }
	.msec { padding-top: 80px; }
	.card { padding: 20px; border-radius: var(--r-lg); }
	.rangecard, .costcard, .elig { padding: 20px; }
	.ov-card { padding: 22px; }
	.crumbs { margin-top: 32px; }
	.site-foot { margin-top: 88px; }
	.hero-in { border-radius: 0 0 28px 28px; }
	.finder { flex-basis: 100%; }
	.fpanel { padding: 18px 10px 10px; }
	.topmatch { padding: 20px; }
}

/* --- Print (comparison "PDF za trgovca") --------------------------------- */

@media print {
	.site-head, .site-foot, .tray, .noprint, .subnav, .toast, .progress, .skip { display: none !important; }
	body { font-size: 12px; }
	.ctab-head { position: static; }
	.card { border-color: #ccc; break-inside: avoid; }
	.crowc { break-inside: avoid; }
	a { text-decoration: none; }
}

/* --- Lightbox ------------------------------------------------------------ */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(13, 18, 18, .9); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.lb-fig img { max-width: min(1400px, calc(100vw - 32px)); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 20px; transition: opacity .2s; pointer-events: auto; user-select: none; -webkit-user-drag: none; }
.lightbox:not([open]) img, .lightbox.is-loading img { opacity: 0; }
.lightbox.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: lb-spin .8s linear infinite; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-cap { color: rgba(255, 255, 255, .88); font: 500 14px/1.4 var(--font); text-align: center; padding: 0 16px; }
.lb-count { position: absolute; top: 20px; left: 20px; color: rgba(255, 255, 255, .8); font: 600 13px/1 var(--font); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.lightbox .iconbtn { width: 44px; height: 44px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.lightbox .iconbtn:hover { background: #fff; }
.lb-x { position: absolute; top: 12px; right: 12px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: 16px; }
.lightbox.single .lb-nav { display: none; }
@media (max-width: 760px) { .lb-nav { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } .lb-fig img { max-height: calc(100dvh - 180px); border-radius: 14px; } }
.lb-open { overflow: hidden; }
a.ov-main { display: block; cursor: zoom-in; }
a.ov-main img { transition: transform .4s; }
a.ov-main:hover img { transform: scale(1.02); }
.ov-thumbs a { position: relative; cursor: zoom-in; }
.ov-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 18, 18, .55); color: #fff; font: 500 22px/1 var(--font); }

/* --- Share menu (native share sheet on phones) ---------------------------- */

.share { display: inline-block; }
.share > summary { cursor: pointer; }
.share-menu { width: 252px; padding: 10px; gap: 2px; }
.share-menu .eyebrow { padding: 6px 10px 6px; }
.share-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 10px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: 500 15px/1.2 var(--font); text-align: left; cursor: pointer; }
.share-item:hover, .share-item:focus-visible { background: var(--mist); }
.share-i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--slate); transition: background .2s, color .2s; }
.share-whatsapp .share-i { background: #25d366; color: #fff; }
.share-viber .share-i { background: #7360f2; color: #fff; }
.share-facebook .share-i { background: #0866ff; color: #fff; }
.share-x .share-i { background: #0d1212; color: #fff; }
.share-item.is-done .share-i { background: var(--accent); color: var(--ink); }
.share-url { height: 40px; margin: 2px 0 6px; font-size: 13px; }
@media (max-width: 560px) { .share .pop-body { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; z-index: 85; } }

/* ==========================================================================
   Rankings, strengths, corrections, share
   ========================================================================== */

.u { text-decoration: underline; text-underline-offset: 3px; }
.msec-tight { padding-top: 56px; }
.btn-icon { flex: none; padding: 0 16px; }
.btn-icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; font-size: 15px; font-weight: 400; }
.rpos { font: 400 22px/1 var(--font); color: var(--eyebrow); font-variant-numeric: tabular-nums; flex: none; min-width: 30px; }

.mine { padding: 30px; display: flex; flex-direction: column; gap: 20px; border-radius: var(--r-xl); }
.mine-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mine-head .eyebrow { margin-bottom: 10px; }
.minebudget { display: flex; align-items: center; gap: 12px; }
.minebudget .select { min-width: 190px; height: 46px; background-color: #fff; }
.minelist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.minelist-empty { padding: 22px; border-radius: var(--r-md); border: 1px dashed rgba(91, 130, 121, .35); background: rgba(255, 255, 255, .6); color: var(--text-2); }
.mrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 20px; background: #fff; }
.mrow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mrow-main a { font: 500 17px/1.25 var(--font); }
.mrow-main small { font-size: 13px; color: var(--muted); }
.mrow .btn-sm { flex: none; }
@media (max-width: 560px) { .mrow { flex-wrap: wrap; } .mrow-main { flex-basis: calc(100% - 110px); } .mine { padding: 20px; } }

.rcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 14px; margin-top: 24px; }
.rcard { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.rcard:hover { border-color: rgba(91, 130, 121, .45); box-shadow: 0 18px 40px -28px rgba(13, 18, 18, .3); }
.rcard-link { display: flex; flex-direction: column; gap: 8px; }
.rcard-link:hover { color: var(--ink); }
.rcard-t { font: 400 22px/1.2 var(--font); letter-spacing: -.015em; text-wrap: balance; }
.rcard-x { font-size: 14px; line-height: 1.45; color: var(--muted); }
.rcard-top { list-style: none; border-top: 1px solid var(--line); }
.rcard-top li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.rcard-top .rpos { font-size: 15px; min-width: 18px; }
.rcard-top a { flex: 1; min-width: 0; font-weight: 500; }
.rcard-top b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcard .link-more { margin-top: auto; }

.rank-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 24px; }
.rank-hero-t { flex: 1 1 560px; min-width: 0; max-width: 880px; }
.rank-hero .eyebrow { margin-bottom: 16px; }
.method { display: flex; gap: 16px; align-items: flex-start; max-width: 880px; padding: 20px 24px; border-radius: var(--r-md); background: var(--mint); margin-bottom: 24px; }
.method-i { width: 36px; height: 36px; flex: none; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--slate); }
.method .eyebrow { margin-bottom: 6px; }
.method p:last-child { font-size: 15.5px; line-height: 1.55; color: #1f2928; }
.winner { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; }
.winner-img { position: relative; flex: 1 1 460px; min-height: 300px; background: var(--mint); }
.winner-img img, .winner-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.winner-body { flex: 1 1 420px; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.winner-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.winner-v { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.winner-v .big { font-size: clamp(32px, 3.4vw, 46px); margin-top: 8px; }
.rlist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.rrow { display: grid; grid-template-columns: 40px 112px minmax(0, 1fr) minmax(160px, 240px) auto; align-items: center; gap: 16px 20px; padding: 12px 18px 12px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: border-color .15s; content-visibility: auto; contain-intrinsic-size: auto 96px; }
.rrow:hover { border-color: rgba(91, 130, 121, .45); }
.rrow.in-cmp { border-color: var(--slate); }
.rrow-img { display: block; height: 70px; border-radius: 14px; overflow: hidden; background: var(--mint); }
.rrow-img img, .rrow-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.rrow-t { font: 500 18px/1.25 var(--font); letter-spacing: -.01em; margin-bottom: 4px; }
.rrow-v { display: flex; flex-direction: column; gap: 8px; }
.rrow-v b { font: 500 19px/1 var(--font); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
	.rrow { grid-template-columns: 34px 84px minmax(0, 1fr); }
	.rrow-v { grid-column: 2 / -1; flex-direction: row; align-items: center; gap: 12px; }
	.rrow-v .bar { flex: 1; }
	.rrow-act { grid-column: 2 / -1; }
	.rrow-img { height: 56px; }
	.winner-body { padding: 22px; }
}

.strengths { margin: -8px 0 28px; }
.strengths .eyebrow { margin-bottom: 12px; }
.strengths > ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.strengths > ul > li { padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); border-top: 3px solid var(--c); display: flex; flex-direction: column; gap: 12px; }
.strengths-n { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 16px/1.3 var(--font); }
.strengths-n .dot { background: var(--c); width: 9px; height: 9px; }
.strengths-n .badge { margin-left: auto; }
.strengths .tags li { font-size: 12px; padding: 6px 9px; }

.fix { margin: 18px 0 6px; }
.fix > summary { list-style: none; cursor: pointer; display: inline-flex; }
.fix > summary::-webkit-details-marker { display: none; }
.fix[open] > summary { background: var(--slate); color: #fff; border-color: var(--slate); }
.fix-form { margin-top: 12px; padding: 24px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; }
.fix-lead { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.fix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fix-wide { grid-column: 1 / -1; }
.fix-go { display: flex; align-items: flex-end; }
.fix-msg { font: 500 15px/1.45 var(--font); color: var(--accent-ink); }
.fix-msg.err { color: var(--bad); }
.fix .input[aria-invalid="true"], .fix .select[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(176, 48, 26, .15); }
@media (max-width: 560px) { .fix-grid { grid-template-columns: 1fr; } .fix-form { padding: 18px; } }

/* ==========================================================================
   Touch and small screens: 16 px form text (no zoom on focus in iOS Safari),
   touch targets of at least 40–44 px, labels that wrap instead of overflowing
   ========================================================================== */
.seg button { min-width: 0; }
.searchbox input, .sortsel select { align-self: stretch; }
.subscribe .input, .carpick .select, .sortsel select { font-size: 16px; }
@media (max-width: 560px) {
	.seg-lg button { white-space: normal; padding: 6px 8px; font-size: 11px; line-height: 1.2; letter-spacing: .02em; }
	.btn-sm { font-size: 12px; }
}
@media (pointer: coarse) {
	.logo { min-height: 44px; }
	.btn-sm { min-height: 42px; }
	.chip { min-height: 42px; }
	.pill, .presets .pill { min-height: 40px; }
	.seg button, .pricebar .seg button { min-height: 40px; }
	.tray-items button { width: 32px; height: 32px; }
	.searchbox-x { width: 40px; height: 40px; }
	.link-more { min-height: 40px; }
	.brands a { padding: 8px 0; }
	.fcol ul { gap: 2px; }
	.fcol ul a { display: inline-block; padding: 8px 0; }
}
/* Questions: the whole row is the touch target (padding on the summary, not on the details). */
.faq details, .prose details { padding: 0; }
.faq summary { padding: 20px 0; }
.prose details summary { padding: 18px 0; }
.faq details[open] summary, .prose details[open] summary { padding-bottom: 6px; }
.faq details[open] .faq-a, .prose details[open] > :last-child { padding-bottom: 20px; }
.textarea, .ccar-pick select, .cadd select { font-size: 16px; }
@media (pointer: coarse) { .ccar-x { width: 34px; height: 34px; top: 10px; right: 10px; } }
/* Ranking rows: the whole row opens the model (stretched link), the compare button stays on top. */
.rrow, .rcard li, .mrow { position: relative; }
.rrow-t a::after, .rcard li a::after, .mrow-main a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rrow .btn, .rrow button, .mrow .btn, .mrow button { position: relative; z-index: 1; }
/* Finder toolbar on phones: [Filtri][Razvrsti] in one row, both display toggles in the next. */
@media (max-width: 760px) {
	.toolbar-r { width: 100%; }
	.toolbar-r .sortsel { flex: 1 1 calc(100% - 140px); min-width: 0; }
	.toolbar-r .sortsel select { min-width: 0; width: 100%; text-overflow: ellipsis; }
	.toolbar-r .seg { flex: 3 1 0; }
	.toolbar-r .seg.js-only { flex: 2 1 0; }
	.toolbar-r .seg button { padding: 0 8px; }
	.pricebar .seg { flex: 1 1 auto; }
	.pricebar .seg button { padding: 0 8px; }
}
/* The fixed comparison tray never hides the end of the page. */
.has-tray .site-foot { padding-bottom: 120px; }
/* The comparison card must not clip: overflow other than visible would turn off its sticky car bar. */
.ctab.card.flush { overflow: visible; }

/* ==========================================================================
   Methodology and data sources pages
   ========================================================================== */

.method-page .msec:first-of-type, .sources-page .msec:first-of-type { padding-top: 72px; }
.wbar { display: flex; gap: 4px; margin-bottom: 18px; }
.wbar-s { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; border-radius: 16px; font: 500 14px/1.2 var(--font); color: var(--ink); }
.wbar-s b { font: 400 clamp(22px, 2.4vw, 30px)/1 var(--font); letter-spacing: -.02em; }
.wbar-1 { background: #c9f5e3; } .wbar-2 { background: #d6ecff; } .wbar-3 { background: #ffe9c7; } .wbar-4 { background: #ece4ff; }
.mparts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 18px; }
.part { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.part-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.part-w { padding: 6px 10px; border-radius: 999px; font: 700 13px/1 var(--font); color: var(--ink); }
.part-what { font: 500 16px/1.45 var(--font); }
.part-range { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.part-range div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.part-range dt { color: var(--muted); }
.part-range dd { margin: 0; font-weight: 600; text-align: right; }
.calc { overflow-x: auto; }
.calc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc th, .calc td { padding: 14px 20px; border-top: 1px solid var(--line-2); text-align: left; }
.calc thead th { border-top: 0; background: var(--mist); font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.calc tbody th { font-weight: 600; }
.calc tfoot th, .calc tfoot td { background: var(--mint); font-weight: 600; }
.calc tfoot b { font: 500 22px/1 var(--font); }
.calc-pts { display: inline-block; width: 64px; height: 6px; margin-right: 10px; border-radius: 999px; background: var(--mint); vertical-align: middle; overflow: hidden; }
.calc-pts i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.tempcard { margin: 0; }
.tempbars { list-style: none; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: end; gap: 6px; height: 220px; margin: 18px 0 14px; }
.tempbars li { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; height: 100%; font-size: 11.5px; color: var(--muted); }
.tempbars i { display: block; width: 100%; height: var(--h); max-height: calc(100% - 44px); border-radius: 8px 8px 4px 4px; background: #c9e4dc; }
.tempbars b { font: 600 11.5px/1 var(--font); color: var(--ink); }
.tempbars span { white-space: nowrap; }
.tempbars .is-ref i { background: var(--accent); }
.formula { margin: 12px 0; padding: 14px 16px; border-radius: 14px; background: var(--mist); font: 500 15px/1.6 var(--font); }
.formulas { margin: 12px 0 0; display: flex; flex-direction: column; gap: 14px; }
.formulas dt { font: 600 15px/1.3 var(--font); }
.formulas dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: #1f2928; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334484a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.checklist-no { margin-top: 16px; }
.checklist-no li::before { background-color: #fde8e4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0301a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.next-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.next-link { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 56px 24px 24px; transition: border-color .15s, transform .15s; }
.next-link b { font: 400 21px/1.2 var(--font); letter-spacing: -.01em; }
.next-link .ico { position: absolute; right: 22px; bottom: 26px; color: var(--eyebrow); transition: transform .15s; }
.next-link:hover { border-color: rgba(91, 130, 121, .45); }
.next-link:hover .ico { transform: translateX(4px); }
.srctypes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.srctype { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.srctype-i { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--mint); color: var(--slate); display: grid; place-items: center; }
.srcbrands { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.srcbrand { border-bottom: 1px solid var(--line); }
.srcbrand > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; cursor: pointer; list-style: none; }
.srcbrand > summary::-webkit-details-marker { display: none; }
.srcbrand-n { font: 400 22px/1.2 var(--font); letter-spacing: -.01em; }
.srcbrand > summary .faq-i { margin-left: auto; }
.srcbrand[open] .faq-i { transform: rotate(45deg); }
.srccars { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; padding: 0 0 22px; margin: 0; }
.srccars > li { padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); }
.srccar-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.srccar-h a { font: 600 16px/1.3 var(--font); }
.srclinks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.srclinks a { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--slate); text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 3px; }
.srclinks a:hover { color: var(--ink); text-decoration-color: currentColor; }
.srclinks .ico { flex: none; transform: translateY(1px); }
.tip-card { display: flex; gap: 18px; align-items: flex-start; }
.tip-card .srctype-i { background: var(--accent); color: var(--ink); }
@media (max-width: 760px) {
	.wbar { flex-wrap: wrap; }
	.wbar-s { flex: 1 1 calc(50% - 4px) !important; }
	.tempbars { gap: 3px; height: 180px; }
	.tempbars li, .tempbars b { font-size: 10px; }
	.tempbars span { writing-mode: vertical-rl; transform: rotate(180deg); }
	.calc th, .calc td { padding: 12px 14px; }
	.srccars { grid-template-columns: 1fr; }
}

/* --- Cars by brand origin (/avtomobili/kitajski/) ------------------------- */

.origin-guide { padding-top: 96px; }
.obrands { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 18px; }
.obrand { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.obrand-top { display: flex; flex-direction: column; gap: 4px; }
.obrand-cars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.obrand-cars li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.obrand-cars a { font-weight: 600; }
.obrand-cars span { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.obrand .link-more { margin-top: auto; }

/* Links to the page of cars by brand origin (shown once that page is indexed). */
.hub-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 14px/1.3 var(--font); color: var(--slate); text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 4px; }
.hub-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.hub-link-sm { margin-top: 10px; font-size: 13px; }
.hub-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--slate); font: 600 12px/1.2 var(--font); }
.hub-chip:hover { background: var(--ok-bg); color: var(--ink); }
.brands-hub a { padding: 6px 12px; border-radius: 999px; background: var(--mint); }

/* --- Comparison builder (/primerjava/) ----------------------------------- */

.cmp-builder .pickform { display: block; margin: 32px 0 56px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.slot { position: relative; min-height: 236px; border-radius: var(--r-lg); }
.slot-pick { position: relative; height: 100%; min-height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; border-radius: inherit; border: 1.5px dashed rgba(91, 130, 121, .4); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.slot-pick:hover, .slot-pick:focus-within, .slot.is-next .slot-pick { background: var(--mist); border-color: var(--slate); }
.slot-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.slot-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--slate); }
.slot.is-next .slot-plus { background: var(--accent); color: var(--ink); }
.slot-l { display: flex; flex-direction: column; gap: 4px; font: 700 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.slot-l small { font: 400 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.slot-car { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 16px; border-radius: inherit; background: var(--mist); }
.slot-car::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 2px; background: var(--c); }
.slot-img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--mint-2); }
.slot-img img, .slot-img .ph { width: 100%; height: 100%; object-fit: cover; }
.slot-n { display: flex; align-items: center; gap: 8px; padding: 4px 6px 0; font: 600 15.5px/1.25 var(--font); }
.slot-n .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.slot-m { padding: 0 6px; }
.slot-x { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--slate); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(13, 18, 18, .15); cursor: pointer; }
.pick-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; }
.pick-hint { font-size: 15px; color: var(--slate); }
.pick-foot .btn[disabled] { opacity: .45; cursor: not-allowed; }
.suggest { margin: -24px 0 56px; }
.suggest .h-sub { margin-bottom: 16px; }
.suggest .pair { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 12px 10px 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: border-color .15s; }
.suggest .pair:hover { border-color: var(--slate); }
.suggest .pair-img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--mint); }
.suggest .pair-img img, .suggest .pair-img .ph { width: 100%; height: 100%; object-fit: cover; }
.suggest .pair-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.suggest .pair-t small { color: var(--muted); font-size: 13px; }
@media (max-width: 980px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.slot, .slot-pick { min-height: 168px; }
	.slot-pick { padding: 14px; }
	.pick-foot .btn { width: 100%; }
	.suggest .pair { grid-template-columns: 72px minmax(0, 1fr); }
	.suggest .pair .btn { display: none; }
}

/* Logged-in: the WordPress toolbar is fixed at 32 px (desktop) and 46 px (782 px and less), and on
   phones (600 px and less) it scrolls away, so sticky bars must not keep its offset there. */
@media (max-width: 782px) {
	.admin-bar .site-head { top: 62px; }
	.admin-bar .subnav { top: 132px; }
	.admin-bar .ctab-head { top: 138px; }
	.admin-bar .progress { top: 46px; }
}
@media (max-width: 760px) {
	.admin-bar .subnav { top: 132px; }
	.admin-bar .ctab-head { top: 128px; }
}
@media (max-width: 600px) {
	.admin-bar .site-head { top: 16px; }
	.admin-bar .subnav { top: 86px; }
	.admin-bar .ctab-head { top: 82px; }
	.admin-bar .progress { top: 0; }
}
@media (max-width: 560px) {
	.admin-bar .site-head { top: 10px; }
	.admin-bar .subnav { top: 80px; }
}

/* --- Warranty strip (model page, »Na kratko«) ---------------------------- */

.warranty { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.warranty-i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ok-bg); color: var(--accent-ink); }
.warranty-b { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.warranty-b .eyebrow { margin: 0; }
.warranty-l { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; }
.warranty-l div { display: flex; align-items: baseline; gap: 10px; }
.warranty-l dt { font: 500 14px/1.3 var(--font); color: var(--muted); }
.warranty-l dd { margin: 0; font: 500 20px/1.25 var(--font); letter-spacing: -.01em; }
.warranty .small { color: var(--slate); }
@media (max-width: 560px) { .warranty { padding: 18px; gap: 14px; } .warranty-l { flex-direction: column; } .warranty-l dd { font-size: 18px; } }

/* Finder rows: labels on one line, the price column wide enough for »subvencija do 6.500 €». */
.crow { grid-template-columns: 200px minmax(200px, 1fr) minmax(400px, 1.5fr) 156px; }
.crow-m { grid-template-columns: repeat(3, minmax(64px, 1fr)) minmax(118px, 1.35fr); }
.crow-m > div { padding: 6px 10px; }
.crow-m dt { white-space: nowrap; letter-spacing: .04em; }
.crow-m dd { white-space: nowrap; }
.crow-m dd.sub { white-space: normal; line-height: 1.35; }
.crow-m dd.sub b { white-space: nowrap; font-weight: inherit; }
@media (max-width: 1480px) {
	.crow { grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.crow { grid-template-columns: minmax(0, 1fr); }
	.crow-m { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Spec groups: values on one line (fixed value and badge columns) and cards stacked without the
   empty space equal-height rows left in the shorter card. */
.specs { display: block; columns: 2 480px; column-gap: 16px; }
.specgroup { display: inline-block; width: 100%; margin: 0 0 16px; break-inside: avoid; }
.specgroup dl > div { grid-template-columns: minmax(0, 1fr) 10.5em 8.5em; gap: 14px; }
.specgroup dd { font-variant-numeric: tabular-nums; }
.spec-tag { justify-self: end; }
@media (max-width: 480px) {
	.specgroup dl > div { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
	.spec-tag { grid-column: 1 / -1; justify-self: start; }
	.spec-tag:empty { display: none; }
}
/* The one-line row needs about 1.200 px of result column (not of window): narrower, the data moves
   to a second line of the card, whatever the window and the filter column take. */
.results { container: results / inline-size; }
@container results (max-width: 1199px) {
	.crow { grid-template-columns: 160px minmax(0, 1fr); }
	.crow-m { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 14px; border-top: 1px solid var(--line); }
	.crow-act { grid-column: 1 / -1; flex-direction: row; }
	.crow-act > * { flex: 1; }
}
@container results (max-width: 520px) {
	.crow { grid-template-columns: minmax(0, 1fr); padding: 12px; }
	.crow-m { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
}
/* Medium result column (desktop with filters): photo on the left over two rows, name and buttons on
   top, the four figures across the bottom. */
@container results (min-width: 700px) and (max-width: 1199px) {
	.crow { grid-template-columns: 190px minmax(0, 1fr) 168px; grid-template-areas: "img main act" "img m m"; gap: 14px 22px; }
	.crow-img { grid-area: img; min-height: 0; }
	.crow-main { grid-area: main; }
	.crow-act { grid-area: act; grid-column: auto; flex-direction: column; justify-content: flex-start; }
	.crow-act > * { flex: none; }
	.crow-m { grid-area: m; grid-column: auto; padding-top: 12px; }
}

/* Hero: the photo ends (and has faded out) exactly at the bottom of the grey panel, so the road is not
   cut by a hard line; both cards share one height with the top match's figures at the bottom. */
.hero-cards { align-items: stretch; }
.topmatch > :last-child { margin-top: auto; }
@media (min-width: 941px) {
	.hero-bg { height: auto; bottom: -40px; } /* cards side by side: the hero is short, the photo can fill it */
}

/* --- Calculators (/kalkulatorji/) ------------------------------------------ */

.calc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.calc-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.calc-links .link-more { color: var(--slate); }
.calc-links .link-more:hover .ico { transform: translateX(4px); }
.calc-links .ico { transition: transform .15s; }
.calc-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; transition: border-color .15s, transform .15s; }
.calc-card .link-more { margin-top: auto; padding-top: 8px; color: var(--slate); }
.calc-card:hover { border-color: rgba(91, 130, 121, .45); transform: translateY(-2px); }
.calc-card:hover .ico { transform: translateX(4px); }
.calc-card .ico { transition: transform .15s; }
.calc-head { margin-bottom: 24px; }
.calc-head .eyebrow { margin-bottom: 14px; }
.calc-answer { max-width: 880px; margin-bottom: 32px; padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--mist); font-size: 17px; line-height: 1.55; color: #1f2928; text-wrap: pretty; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc-in { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.calc-in fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.cfield { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cfield legend { padding: 0 0 10px; margin: 0; } /* a legend ignores its bottom margin */
.cfield > .eyebrow { margin-bottom: 0; }
fieldset.cfield { gap: 14px; }
.cfield-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 18px; align-items: end; }
.cfield-row-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cunit { position: relative; display: block; }
.cunit .input { padding-right: 86px; font-variant-numeric: tabular-nums; }
.cunit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 13px/1 var(--font); font-style: normal; color: var(--muted); pointer-events: none; }
.cunit .input::-webkit-inner-spin-button { opacity: .4; }
.cswitch { padding: 0 0 6px; }
.cswitch > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.cswitch small { font-size: 12.5px; color: var(--muted); }
.calc-in .range-f input { margin-top: 10px; }
.mixbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--track); }
.mixbar span { display: block; height: 100%; transition: width .2s; }
.mix-home { background: var(--accent); }
.mix-ac { background: #7fb9a6; }
.mix-dc { background: var(--slate); }
.cmore { border-top: 1px solid var(--line); padding-top: 16px; }
.cmore summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font: 600 14.5px/1.3 var(--font); color: var(--slate); }
.cmore summary::-webkit-details-marker { display: none; }
.cmore summary::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.cmore[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.cmore[open] summary { margin-bottom: 16px; }
.cmore .small { margin-top: 12px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { min-height: 40px; padding: 0 14px; border: 1px solid var(--chip-line); border-radius: 999px; background: #fff; font: 600 13.5px/1 var(--font); color: var(--slate); transition: background .15s, border-color .15s; }
.pchip:hover { border-color: var(--slate); }
.pchip[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.calc-res { position: sticky; top: calc(var(--head-h) + 20px); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 10px; }
.calc-big b { font: 400 clamp(44px, 5vw, 64px)/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc-big span { font-size: 16px; color: var(--muted); }
.calc-res .rows-dl > div:last-child { border-bottom: 0; }
.calc-res .rows-dl dd { font-variant-numeric: tabular-nums; }
.calc-res > .small:last-child { margin-top: 8px; }
.calc-save dd { color: var(--accent-ink); font-weight: 700; }
.calc-save.is-neg dd { color: var(--bad); }
.calc-be { margin: 8px 0 4px; }
.calc-be .badge { font-size: 11px; padding: 7px 11px; }
.calc-res .dot { margin-right: 8px; vertical-align: 1px; }
.dot-ev { background: var(--accent); }
.dot-ice { background: var(--slate); }
.calc-res dt span[data-out] { display: inline; }
.tco-chart { margin: 14px 0 0; }
.tco-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tco-chart .grid { stroke: rgba(91, 130, 121, .3); stroke-width: 1; }
.tco-chart .axis { font: 500 13px var(--font); fill: #5d716b; }
.tco-chart .end { text-anchor: end; }
.tco-chart .mid, .tco-chart .val { text-anchor: middle; }
.tco-chart .val { font: 600 12px var(--font); fill: var(--ink); font-variant-numeric: tabular-nums; }
.tco-chart .bar-ev { fill: var(--accent); }
.tco-chart .bar-ice { fill: #b9c8c4; }
.tco-chart figcaption { margin-top: 10px; }
.calc-table table { min-width: 680px; }
.calc-table th:first-child, .calc-table td:first-child { width: auto; text-align: left; }
.calc-table td small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.calc-table tr.is-on { background: #f3fbf7; }
.calc-table tr.is-on .tname { font-weight: 600; }
.calc-table .tname a { text-decoration: underline; text-decoration-color: rgba(91, 130, 121, .35); text-underline-offset: 3px; }
.calc-table .tname a:hover { text-decoration-color: currentColor; }
/* Cars no longer sold: a note on the car page, a tag in the finder, earlier versions on the model page. */
.soldbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); font-size: 14.5px; line-height: 1.4; }
.soldbar b { font-weight: 600; }
.soldbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.sold-tag { margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--bad); }
.crow.is-sold .crow-img img { filter: grayscale(.6); opacity: .85; }
.oldlist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.oldlist a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.oldlist a:hover { background: var(--mist); color: var(--ink); }
.oldlist span { font-size: 13.5px; color: var(--muted); }
/* Model tables: tools above (search, body chips), rank in the name cell, »Pokaži vse« below. */
.mt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.mt-search { position: relative; flex: 0 1 300px; min-width: 200px; }
.mt-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.mt-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 15px/1 var(--font); }
.mt-search input:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chips .pill { min-height: 36px; font: 500 13.5px/1 var(--font); text-transform: none; letter-spacing: 0; }
.mt-sortm { display: none; }
.calc-table .mt-rank { display: inline-block; min-width: 26px; margin-right: 6px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.calc-table .tname small { padding-left: 32px; }
.calc-table thead .tsort { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.calc-table thead .tsort:hover, .calc-table thead .tsort.is-on { color: var(--ink); }
.calc-table .tsort-i { width: 10px; font-size: 12px; letter-spacing: 0; opacity: .3; }
.calc-table thead .tsort:hover .tsort-i, .calc-table thead .tsort.is-on .tsort-i { opacity: 1; }
.calc-table tr.mt-gap td { padding: 8px 12px; background: var(--mist); font-size: 12.5px; color: var(--muted); text-align: left; }
.calc-table tr.mt-empty td { padding: 22px 12px; text-align: center; color: var(--muted); }
.mt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.mt-count { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mt-more[hidden] { display: none; }
@media (min-width: 1100px) {
	.calc-table[data-mtable] { overflow: visible; }
	.calc-table[data-mtable] thead th { top: calc(var(--head-h) + 22px); z-index: 2; }
	.calc-table[data-mtable] thead th:first-child { border-top-left-radius: var(--r-lg); }
	.calc-table[data-mtable] thead th:last-child { border-top-right-radius: var(--r-lg); }
}
/* Phones: every model is a small card with the column name next to each value; sorting through the select. */
@media (max-width: 640px) {
	.mt-search { flex: 1 1 100%; }
	.mt-chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
	.mt-chips::-webkit-scrollbar { display: none; }
	.mt-chips .pill { flex: none; }
	.mt-sortm { display: block; flex: 1 1 100%; }
	.calc-table[data-mtable] { border: 0; border-radius: 0; overflow: visible; }
	.calc-table[data-mtable] table { min-width: 0; }
	.calc-table[data-mtable] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.calc-table[data-mtable] tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }
	.calc-table[data-mtable] tbody tr[hidden] { display: none; }
	.calc-table[data-mtable] tbody td { display: flex; justify-content: space-between; gap: 8px; padding: 0; border: 0; text-align: right; white-space: normal; }
	.calc-table[data-mtable] tbody td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; }
	.calc-table[data-mtable] tbody td.tname { grid-column: 1 / -1; display: block; text-align: left; font-size: 15.5px; }
	.calc-table[data-mtable] tbody td.tname::before, .calc-table[data-mtable] tr.mt-gap td::before, .calc-table[data-mtable] tr.mt-empty td::before { content: none; }
	.calc-table[data-mtable] tr.mt-gap, .calc-table[data-mtable] tr.mt-empty { display: block; border: 0; padding: 4px 0; }
	.calc-table[data-mtable] tr.mt-gap td, .calc-table[data-mtable] tr.mt-empty td { display: block; background: none; }
	.mt-foot .mt-more { flex: 1 1 100%; }
}
.calc-page .msec { padding-top: 80px; }
.calc-page .method { margin-bottom: 0; }
.calc-dock { display: none; }
@media (max-width: 980px) {
	.calc-grid { grid-template-columns: minmax(0, 1fr); }
	.calc-res { position: static; scroll-margin-top: calc(var(--head-h) + 24px); }
	.calc-dock:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border: 0; border-radius: 20px; background: var(--slate); color: #fff; text-align: left; box-shadow: 0 18px 40px -14px rgba(13, 18, 18, .5); animation: dock-in .2s ease-out; }
	.calc-dock b { font: 500 22px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
	.calc-dock span { flex: 1; min-width: 0; font-size: 14px; color: rgba(255, 255, 255, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.calc-dock .ico { align-self: center; color: var(--accent); transform: rotate(90deg); }
	.has-tray .calc-dock { bottom: 92px; }
}
@keyframes dock-in { from { transform: translateY(16px); opacity: 0; } }
@media (max-width: 560px) {
	.calc-in, .calc-res { padding: 22px 18px; border-radius: var(--r-lg); }
	.calc-answer { font-size: 16px; padding: 14px 16px; }
	.calc-page .msec { padding-top: 64px; }
	.cfield-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.cfield-row-3 > :first-child { grid-column: 1 / -1; }
	.pchip { min-height: 38px; padding: 0 12px; font-size: 13px; }
}

/* --- Car picker (select[data-carpick] → searchable list) -------------------- */

select[data-carpick][hidden] { display: none !important; }
.cp-trigger { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; padding-left: 8px; }
.cp-trigger:hover { border-color: rgba(91, 130, 121, .5); }
.cp-trigger:focus-visible { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(47, 224, 160, .35); }
.cp-trigger[aria-expanded="true"] { border-color: var(--slate); }
.cp-img { flex: none; width: 52px; height: 34px; border-radius: 9px; overflow: hidden; background: var(--mint); display: grid; place-items: center; }
.cp-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-img .ph { width: 100%; height: 100%; display: grid; place-items: center; color: #9fb3ad; }
.cp-img .ph-mark { width: 34px; }
.cp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-trigger:not(:has(.cp-img)) { padding-left: 14px; }
.cp-overlay { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.cp-overlay:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cp-overlay:disabled { pointer-events: none; }
html.cpick-open { overflow: hidden; }

.cpick { position: fixed; inset: auto; margin: 0; padding: 0; width: 420px; max-width: calc(100vw - 32px); max-height: 520px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -24px rgba(13, 18, 18, .45); overflow: hidden; }
.cpick[open] { display: flex; flex-direction: column; animation: cpick-in .14s ease-out; }
.cpick::backdrop { background: rgba(13, 18, 18, .12); }
@keyframes cpick-in { from { transform: translateY(-6px); } }
.cpick-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; border-bottom: 1px solid var(--line-2); }
.cpick-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--mist); color: var(--muted); }
.cpick-search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--slate) inset; }
.cpick-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font: 500 16px/1 var(--font); color: var(--ink); }
.cpick-search input::-webkit-search-cancel-button { cursor: pointer; }
.cpick-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--slate); display: grid; place-items: center; }
.cpick-x:hover { background: var(--mint); }
.cpick-bar { position: relative; flex: none; border-bottom: 1px solid var(--line-2); }
.cpick-bar[hidden], .cpick-bar.is-off { display: none; }
.cpick-brands { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; scroll-padding: 0 44px; }
.cpick-bar.has-next .cpick-brands { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent calc(100% - 8px)); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent calc(100% - 8px)); }
.cpick-bar.has-prev .cpick-brands { -webkit-mask-image: linear-gradient(90deg, transparent 8px, #000 64px); mask-image: linear-gradient(90deg, transparent 8px, #000 64px); }
.cpick-bar.has-prev.has-next .cpick-brands { -webkit-mask-image: linear-gradient(90deg, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px)); mask-image: linear-gradient(90deg, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px)); }
.cpick-arr { position: absolute; top: 50%; z-index: 2; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--slate); display: none; place-items: center; box-shadow: 0 4px 12px -4px rgba(13, 18, 18, .25); }
.cpick-arr:hover { border-color: var(--slate); }
.cpick-prev { left: 8px; }
.cpick-prev .ico { transform: rotate(180deg); }
.cpick-next { right: 8px; }
@media (hover: hover) and (pointer: fine) {
	.cpick-bar.has-prev .cpick-prev, .cpick-bar.has-next .cpick-next { display: grid; }
}
.cpick-brands::-webkit-scrollbar { display: none; }
.cpick-brands button { flex: none; min-height: 32px; padding: 0 12px; border: 1px solid var(--chip-line); border-radius: 999px; background: #fff; font: 600 12.5px/1 var(--font); color: var(--slate); white-space: nowrap; }
.cpick-brands button:hover { border-color: var(--slate); }
.cpick-brands button[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.cpick-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 10px; outline: none; }
.cpick-g { position: sticky; top: -4px; z-index: 1; display: flex; justify-content: space-between; padding: 12px 10px 6px; background: #fff; font: 700 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.cpick-g span { font-weight: 500; color: #8aa098; }
.cpick-o { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; cursor: pointer; }
.cpick-o.is-active { background: var(--mint); }
.cpick-o[aria-selected="true"] .cpick-t b { color: var(--accent-ink); }
.cpick-o.is-off { opacity: .45; cursor: default; }
.cpick-img { flex: none; width: 64px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--mint); display: grid; place-items: center; color: var(--slate); }
.cpick-img img { width: 100%; height: 100%; object-fit: cover; }
.cpick-img .ph { width: 100%; height: 100%; display: grid; place-items: center; color: #9fb3ad; }
.cpick-img .ph-mark { width: 42px; }
.cpick-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cpick-t b { font: 500 15px/1.25 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick-t small { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick-ok { flex: none; color: var(--accent-ink); }
.cpick-empty { padding: 28px 20px 34px; text-align: center; color: var(--muted); font-size: 14.5px; }
.cpick.is-sheet { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: 100%; height: 86dvh; max-height: 86dvh; border-radius: 24px 24px 0 0; border-bottom: 0; animation: cpick-up .2s ease-out; }
.cpick.is-sheet::backdrop { background: rgba(13, 18, 18, .4); }
.cpick.is-sheet .cpick-head { padding-top: 18px; position: relative; }
.cpick.is-sheet .cpick-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--track); }
.cpick.is-sheet .cpick-o { padding: 10px; }
@keyframes cpick-up { from { transform: translateY(40px); } }

/* --- Car photos link to the car page (duplicate of the title link, hidden from assistive tech) --- */

a.topmatch-img, a.rank-img, a.ccar-img, a.slot-img { display: block; color: inherit; }
a.topmatch-img[hidden] { display: none; }
.rank-img { overflow: hidden; border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0; }
:is(a.topmatch-img, a.rank-img, a.ccar-img, a.slot-img, .crow-img, .rival-img, .carcard-img, .rrow-img, .winner-img) img { transition: transform .35s ease; }
:is(a.topmatch-img, a.rank-img, a.ccar-img, a.slot-img, .crow-img, .rival-img, .carcard-img, .rrow-img, .winner-img):hover img { transform: scale(1.03); }

/* --- Home: next best matches + link to all of them ------------------------- */

.row-sub { margin-top: 10px; max-width: 640px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, .72fr); }
.mmore { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px; border-radius: var(--r-md); background: var(--mint); color: var(--ink); transition: background .15s; }
.mmore[hidden] { display: none; }
.mmore:hover { background: var(--mint-2); color: var(--ink); }
.mmore-n { font: 400 30px/1.05 var(--font); letter-spacing: -.02em; }
.mmore-t { font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.mmore-i { width: 42px; height: 42px; margin-top: 10px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .15s; }
.mmore:hover .mmore-i { transform: translateX(4px); }
@media (max-width: 1099px) {
	.mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	/* Phones: a row to swipe through, the link to all of them at its end. */
	.mgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
	.mgrid::-webkit-scrollbar { display: none; }
	.mgrid > * { scroll-snap-align: start; }
	.mmore { min-width: 180px; }
}
.topmatch-empty { display: none; }
.topmatch.is-empty { justify-content: center; }
.topmatch.is-empty > :not(.topmatch-empty) { display: none; }
.topmatch.is-empty .topmatch-empty { display: flex; flex-direction: column; gap: 10px; padding: 24px 12px; font-size: 15px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.topmatch-empty b { font: 400 24px/1.2 var(--font); letter-spacing: -.02em; color: var(--ink); }
.topmatch-empty a { text-decoration: underline; text-underline-offset: 3px; }
.topmatch-empty .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) {
	/* Phones: quick starts in one row to swipe, not three rows of pills. */
	.presets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -10px 16px; padding: 2px 10px 16px; }
	.presets::-webkit-scrollbar { display: none; }
	.presets > * { flex: none; }
}

/* --- Model page: compare, price alert and share in one tidy row ---------------------------- */

.ov-card .btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.ov-card .btns:not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 1fr) auto; }
.ov-card .btns > * { min-width: 0; }
.ov-card .btns > .btn, .ov-card .btns > .pop > summary { width: 100%; }
.ov-card .btns > .share > summary { width: 50px; padding: 0; justify-content: center; }
.ov-card { container: ovcard / inline-size; }
@container ovcard (max-width: 560px) {
	.ov-card .btns { grid-template-columns: minmax(0, 1fr) auto; }
	.ov-card .btns:has(> :nth-child(3)) > :first-child { grid-column: 1 / -1; }
}

/* --- Header search ------------------------------------------------------------------------- */

.hsearch { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 10px 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--mist); color: var(--muted); font: 500 14px/1 var(--font); transition: border-color .15s, background .15s; }
.hsearch:hover { border-color: rgba(91, 130, 121, .45); background: #fff; color: var(--ink); }
.hsearch .ico { color: var(--slate); }
.hsearch-l { min-width: 92px; }
.hsearch-k, .gs-foot kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: 600 11px/1 var(--font); color: var(--muted); }
@media (max-width: 1199px) {
	.hsearch { width: 48px; padding: 0; justify-content: center; background: #fff; }
	.hsearch-l, .hsearch-k { display: none; }
}
@media (max-width: 980px) {
	.hcmp.is-empty { display: none; }
}
html.gs-open { overflow: hidden; }

.gsearch { position: fixed; inset: 0; margin: 9vh auto auto; padding: 0; width: min(680px, calc(100vw - 32px)); max-height: min(720px, 82vh); border: 1px solid var(--line); border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(13, 18, 18, .5); overflow: hidden; }
.gsearch[open] { display: flex; flex-direction: column; animation: cpick-in .14s ease-out; }
.gsearch::backdrop { background: rgba(13, 18, 18, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.gs-head { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line-2); flex: none; }
.gs-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 16px; background: var(--mist); color: var(--slate); }
.gs-field:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--slate) inset; }
.gs-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 17px/1 var(--font); color: var(--ink); }
.gs-field input::placeholder { color: #8a9c97; }
.gs-x { flex: none; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; font: 600 13px/1 var(--font); color: var(--slate); }
.gs-x:hover { background: var(--mint); }
.gs-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 10px 12px; }
.gs-g + .gs-g { margin-top: 4px; }
.gs-gt { padding: 12px 10px 6px; font: 700 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.gs-o { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 10px; border-radius: 14px; color: var(--ink); }
.gs-o.is-active, .gs-o:hover { background: var(--mint); color: var(--ink); }
.gs-i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--slate); }
.gs-i:has(.gs-img) { width: 72px; height: 46px; background: var(--mint); overflow: hidden; }
.gs-img, .gs-img img, .gs-img .ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.gs-img .ph { display: grid; place-items: center; color: #9fb3ad; }
.gs-img .ph-mark { width: 46px; }
.gs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gs-t b { font: 500 15.5px/1.25 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-t small { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-t mark { background: none; color: var(--accent-ink); font-weight: 700; }
.gs-a { flex: none; }
.gs-score { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--mint); font: 700 12.5px/1 var(--font); color: var(--slate); }
.gs-o.is-active .gs-score, .gs-o:hover .gs-score { background: #fff; }
.gs-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 10px; background: var(--accent); font: 700 13px/1 var(--font); color: var(--ink); }
.gs-intent .gs-i { background: var(--slate); color: var(--accent); }
.gs-intent .gs-t b { font-weight: 600; }
.gs-blog .gs-t b { font-weight: 400; color: var(--slate); }
.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 6px; }
.gs-chips .pill { min-height: 36px; font: 500 13.5px/1 var(--font); text-transform: none; letter-spacing: 0; }
.gs-none { padding: 18px 12px 8px; font-size: 14.5px; color: var(--muted); }
.gs-foot { flex: none; display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.gs-foot span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 640px), (pointer: coarse) {
	.gsearch { margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; animation: none; }
	.gs-head { padding: 10px 10px 10px 12px; }
	.gs-field { height: 50px; }
	.gs-field input { font-size: 16px; }
	.gs-o { min-height: 58px; }
	.gs-foot { display: none; }
}

/* --- Finder on phones: one sticky row (count · Filtri · Razvrsti), display options in the filter
   sheet, compact cards (3–4 models per screen) where the whole card opens the model. ---------- */

.fview { display: none; }
.fview .seg { width: 100%; }
.crow { position: relative; }
.crow-t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is the link */
.crow-img, .crow-act, .crow .tags { position: relative; z-index: 1; }
@media (max-width: 900px) {
	.fview { display: flex; flex-direction: column; gap: 10px; }
	.toolbar-r .seg, .pricebar { display: none !important; }
	.toolbar { position: sticky; top: calc(var(--head-h) + 22px); z-index: 6; flex-wrap: nowrap; gap: 8px; margin: 0 -12px; padding: 8px 12px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 18px; }
	.toolbar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: #fff; pointer-events: none; } /* closes the gap to the header */
	.toolbar .h-sub { flex: 1 1 auto; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.toolbar-r { width: auto; flex: none; flex-wrap: nowrap; }
	.toolbar-r .sortsel { flex: none; height: 44px; padding: 0 10px; }
	.toolbar-r .sortsel .eyebrow { display: none; }
	.toolbar-r .sortsel select { max-width: 132px; font-size: 14px; }
	.toolbar .btn-sm { min-height: 44px; }
}
@media (max-width: 560px) {
	.toolbar { top: calc(var(--head-h) + 16px); }
	.fp-head .lead { font-size: 15px; margin-top: 10px; }
}
@container results (max-width: 520px) {
	.crow { grid-template-columns: 108px minmax(0, 1fr); grid-template-areas: "img main" "m m" "act act"; gap: 10px 12px; padding: 10px; border-radius: 22px; contain-intrinsic-size: auto 210px; }
	.crow-img { grid-area: img; min-height: 0; aspect-ratio: 4 / 3; border-radius: 14px; align-self: start; }
	.crow-img .tagw { display: none; }
	.crow-main { grid-area: main; gap: 6px; padding: 2px 0 0; }
	.crow-head { gap: 8px; }
	.crow-head .eyebrow { font-size: 11px; }
	.crow-t { margin-top: 3px; font-size: 18px; line-height: 1.15; }
	.crow-score { font-size: 18px; }
	.crow-score small { font-size: 11px; }
	.crow-score .bar { display: none; }
	.crow-meta { display: none; }
	.crow .tags { margin-top: 0; }
	.crow .tags li:not(.match) { display: none; }
	.crow .tags li.match { font-size: 12px; }
	.crow-m { grid-area: m; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 10px; border-top: 1px solid var(--line-2); row-gap: 0; }
	.crow-m > div { padding: 0 8px; }
	.crow-m > div:first-child { padding-left: 2px; }
	.crow-m > div:nth-child(3) { display: none; }
	.crow-m dt { font-size: 10.5px; }
	.crow-m dd { margin: 5px 0 0; font-size: 16px; }
	.crow-m dd:has(.bar) { display: none; }
	.crow-m dd.sub { margin-top: 3px; font-size: 11px; }
	.crow-m dd.sub:not(:has(b)) { display: none; }
	.crow-act { grid-area: act; flex-direction: row; justify-content: flex-end; }
	.crow-act > * { flex: none; }
	.crow-act .btn-accent { display: none; }
	.crow-act .btn { min-height: 38px; padding: 0 14px; font-size: 11px; }
}

/* --- Home on phones: shorter advisor, one-row tabs and brands, tools as links, fewer pairs, the
   front page text folded. Desktop keeps the full layout. ------------------------------------- */

.adv-more-btn, .prose-more { display: none; }
@media (max-width: 760px) {
	.adv-more-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; text-align: left; color: var(--ink); }
	.adv-more-btn > span { display: flex; flex-direction: column; gap: 3px; font: 600 14px/1.2 var(--font); }
	.adv-more-btn small { font: 400 12.5px/1.2 var(--font); color: var(--muted); }
	.adv-more-btn .ico { flex: none; color: var(--slate); transition: transform .15s; }
	.adv-more-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
	.adv-more:not(.is-open) { display: none; }
	.tabs-line { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
	.tabs-line::-webkit-scrollbar { display: none; }
	.tabs-line > * { flex: none; }
	.brands { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 10px 26px; padding: 20px var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
	.brands::-webkit-scrollbar { display: none; }
	.brands > li { flex: none; }
	.sec-brands { padding-top: 48px; }
	#orodja .tools, #orodja .carpick { display: none; }
	#orodja .toollinks { margin-top: 24px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.pairs > li:nth-child(n+4) { display: none; } /* still in the HTML for search engines */
	.home-prose .prose:not(.is-open) { max-height: 280px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
	.prose-more { display: inline-flex; margin-top: 16px; }
	.home-prose { padding-top: 64px; }
	#primerjava .pair { gap: 12px; padding: 10px 10px 16px; }
	#primerjava .pair-img > span:not(.vs) { aspect-ratio: 16 / 10; border-radius: 14px; }
	#primerjava .pair-t { font-size: 18px; }
	#primerjava .pair-body { gap: 8px; padding: 0 6px; }
}

/* Spec groups are <details>: a plain heading on desktop, an accordion on phones. */
.specgroup > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; pointer-events: none; }
.specgroup > summary::-webkit-details-marker { display: none; }
.specgroup > summary .ico { display: none; color: var(--slate); transition: transform .15s; }
@media (max-width: 760px) {
	.specgroup > summary { pointer-events: auto; cursor: pointer; min-height: 52px; }
	.specgroup > summary .ico { display: block; }
	.specgroup[open] > summary .ico { transform: rotate(180deg); }
	.specgroup:not([open]) { padding-bottom: 6px; }
	.specgroup .h-card { font-size: 19px; }
}

/* --- Subsidy status at a car's price: a quiet line (coloured dot only), it informs, the price leads. --- */

.ov-monthly { margin-top: 6px; }
.subst { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.subst-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #9fb3ad; }
.subst-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.subst-t b { font: 600 14px/1.35 var(--font); color: var(--ink); }
.subst-t span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.subst-pop { flex: none; position: relative; }
.ov-card .subst .subst-pop { flex: none; }
.ov-card .subst .subst-pop > summary, .subst-a { width: auto; }
.subst-a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0; border: 0; background: none; font: 600 13px/1.2 var(--font); color: var(--slate); cursor: pointer; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 3px; }
.subst-a:hover { color: var(--ink); text-decoration-color: currentColor; }
.subst-a .ico { flex: none; }
.subst-pop > summary { list-style: none; }
.subst-pop > summary::-webkit-details-marker { display: none; }
.subst-pop .pop-body { right: 0; left: auto; width: min(320px, calc(100vw - 32px)); }
.subst.tone-ok .subst-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(11, 154, 106, .15); }
.subst.tone-warn .subst-dot { background: #e0a020; box-shadow: 0 0 0 3px rgba(224, 160, 32, .18); }
.subst.tone-info .subst-dot { background: var(--info-ink); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
@container ovcard (max-width: 560px) {
	.subst { flex-wrap: wrap; }
	.subst-t { flex-basis: calc(100% - 18px); }
	.subst-pop, .subst > .subst-a { margin-left: 18px; }
	.subst-pop .pop-body { left: 0; right: auto; }
}

/* Finder row, medium width (photo left, buttons right): the price sits under the buttons, larger, so it
   reads first; the figures row below keeps range, charging and boot space. */
.crow-price { display: none; }
@container results (min-width: 700px) and (max-width: 1199px) {
	.crow { grid-template-areas: "img main act" "img m act"; }
	.crow-act { justify-content: flex-start; }
	.crow-price { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--mist); }
	.crow-price span { font: 500 11px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
	.crow-price b { font: 500 24px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
	.crow-price small { font-size: 12px; line-height: 1.35; color: var(--muted); }
	.crow-price small b { font: inherit; font-weight: 600; letter-spacing: 0; }
	.crow-m { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.crow-m > div:nth-child(4) { display: none; }
}

/* Finder row on phones: the figures row shows range, charging and boot space, the bottom row the price
   (large, left) next to »Primerjaj« (right), like a product card. */
@container results (max-width: 520px) {
	.crow-m > div:nth-child(3) { display: block; }
	.crow-m > div:nth-child(4) { display: none; }
	.crow-act { align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); }
	.crow-price { order: -1; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; margin: 0; }
	.crow-price span { font: 500 10.5px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
	.crow-price b { font: 500 22px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
	.crow-price small { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
	.crow-price small b { font: inherit; font-weight: 600; letter-spacing: 0; }
}

/* Editorial byline picture: the site's mark in a mint circle (instead of a personal photo). */
.avatar-brand { flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--slate); color: #fff; overflow: hidden; }
.avatar-brand .avatar-mark { width: 74%; height: auto; margin: 2px 0 0 -2px; }
.avatar-brand .avatar-mark g { stroke-width: 12; } /* the logo's thin line stays legible at 44 px */

/* Tooltips (data-tip): on hover and keyboard focus where there is a mouse; phones get a hint line instead. */
[data-tip] { position: relative; }
@media (hover: hover) and (pointer: fine) {
	[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 60; top: calc(100% + 10px); left: 50%; width: max-content; max-width: 250px; padding: 9px 12px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 12.5px/1.45 var(--font); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; box-shadow: 0 12px 30px -12px rgba(13, 18, 18, .45); opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
	[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: .3s; }
	.seg [data-tip]:last-child::after { left: auto; right: 0; transform: translate(0, -4px); }
	.seg [data-tip]:last-child:hover::after, .seg [data-tip]:last-child:focus-visible::after { transform: none; }
}
.rmode-hint { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.rmode-hint-touch { display: none; flex-basis: 100%; text-align: right; }
@media (hover: none) {
	.rmode-hint-touch { display: block; }
}

/* Price from–to: two range inputs over one drawn track; only the thumbs take the pointer, so either
   handle can be dragged (and keyboard arrows move the focused one). */
.drange { position: relative; height: 24px; margin-top: 12px; --a: 0%; --b: 100%; }
.drange::before, .drange::after { content: ""; position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; }
.drange::before { left: 0; right: 0; background: var(--track); }
.drange::after { left: var(--a); right: calc(100% - var(--b)); background: var(--slate); }
.drange input[type=range] { position: absolute; inset: 0; z-index: 1; width: 100%; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.drange input[type=range]::-webkit-slider-runnable-track { background: transparent; border: 0; height: 24px; }
.drange input[type=range]::-moz-range-track { background: transparent; border: 0; }
.drange input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: #fff; border: 2px solid var(--slate); box-shadow: 0 2px 6px rgba(13, 18, 18, .2); cursor: grab; }
.drange input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--slate); box-shadow: 0 2px 6px rgba(13, 18, 18, .2); cursor: grab; }
.drange input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.08); }
.drange input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(47, 224, 160, .45); }
.drange input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(47, 224, 160, .45); }
.drange input[type=range]:focus { outline: none; }

/* --- Site pages: Kontakt, O nas, Zasebnost, Pravno obvestilo ------------- */

.fcookie { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fcookie:hover { color: var(--ink); }

.cgrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cform { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.ctopics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-radius: var(--r-sm); }
.ctopic { position: relative; display: flex; }
.ctopic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ctopic span { position: relative; flex: 1; display: flex; align-items: center; min-height: 52px; padding: 12px 16px 12px 44px; border-radius: var(--r-sm); border: 1px solid var(--chip-line); background: #fff; font: 500 15px/1.3 var(--font); color: var(--slate); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.ctopic span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--chip-line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ctopic:hover span { border-color: rgba(52, 72, 74, .45); }
.ctopic input:checked + span { border-color: var(--slate); background: var(--slate); color: #fff; }
.ctopic input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--slate); }
.ctopic input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.ctopics[aria-invalid] .ctopic span { border-color: var(--bad); }
.cfix { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: var(--r-md); background: var(--mint); }
.cfix-tip { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.cfix-tip .ico { flex: none; margin-top: 2px; color: var(--eyebrow); }
.cform .fix-grid { gap: 18px 16px; }
.cform .textarea { min-height: 160px; }
.cform .input[aria-invalid], .cform .textarea[aria-invalid] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(176, 48, 26, .12); }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 4px; }
.cform-foot .small { max-width: 340px; }
.cform-foot a { text-decoration: underline; text-underline-offset: 3px; }
.cdone { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0 4px; outline: none; }
.cdone-i { width: 48px; height: 48px; border-radius: 16px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.cdone .h-card { max-width: 480px; }
.caside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--head-h) + 24px); }
.cmail { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cmail-a { font: 400 clamp(22px, 2.2vw, 28px)/1.15 var(--font); letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 6px; }
.cmail-a:hover { text-decoration-color: currentColor; color: var(--ink); }
.cmail-t { display: flex; align-items: center; gap: 10px; width: 100%; padding-top: 14px; border-top: 1px solid rgba(91, 130, 121, .18); font-size: 14.5px; color: var(--text-2); }
.cmail-t .ico { flex: none; width: 18px; height: 18px; color: var(--eyebrow); }
.cshort { padding: 24px; }
.cshort ul { list-style: none; margin-top: 10px; }
.cshort li + li { border-top: 1px solid var(--line); }
.cshort a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 32px 14px 0; }
.cshort a b { font: 500 15.5px/1.35 var(--font); }
.cshort a .ico { position: absolute; right: 2px; top: 50%; margin-top: -8px; color: var(--eyebrow); transition: transform .15s; }
.cshort a:hover .ico { transform: translateX(3px); }
.contact-page .msec:first-of-type { padding-top: 88px; }

.astats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.astats li { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 28px 0; }
.astats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.astats b { font: 400 clamp(40px, 4.4vw, 60px)/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.astats span { max-width: 220px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.aboutwhy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: start; }
.aboutwhy .eyebrow { margin-bottom: 14px; }
.aboutwhy-t { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.6; color: #1f2928; }
.srctypes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.astats .is-date b { padding-top: clamp(6px, .9vw, 12px); font-size: clamp(30px, 3vw, 42px); white-space: nowrap; }
@media (max-width: 1100px) { .srctypes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .srctypes-4 { grid-template-columns: 1fr; } }
.checklist-ok { margin-top: 20px; }
.checklist-ok li::before { background-color: var(--ok-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b9a6a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.tip-card-b { flex: 1; min-width: 0; }
.tip-card-b .small { margin-top: 6px; }
.tip-card-b a { text-decoration: underline; text-underline-offset: 3px; }
.tip-card > .btn { flex: none; align-self: center; }

.pub { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-style: normal; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.pub b { margin-bottom: 6px; font: 400 24px/1.2 var(--font); letter-spacing: -.02em; color: var(--ink); }
.pub a { margin-top: 10px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.privacy-page .card .small a, .privacy-page .lead a { text-decoration: underline; text-underline-offset: 3px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.pcard-h { display: flex; align-items: center; gap: 14px; }
.pcard-h .h-card { font-size: 19px; }
.pdl { display: flex; flex-direction: column; margin: 0; }
.pdl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.pdl dt { padding-top: 1px; font: 500 12px/1.5 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--eyebrow); }
.pdl dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.ptable th, .ptable td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.ptable thead th { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); background: var(--mist); }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th { font-weight: 500; white-space: nowrap; }
.ptable code, .plocal code { padding: 2px 7px; border-radius: 6px; background: var(--mint); color: var(--slate); font: 500 13px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.plocal { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 14.5px; color: var(--text-2); }
.prights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.pright { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.pright b { font: 500 16px/1.3 var(--font); }
.pright .small { margin-top: 4px; color: var(--text-2); }
.legal-top { margin-bottom: 8px; }
.legal-grid { padding-top: 48px; }
.legal-page .prose h2:first-child { margin-top: 0; }

@media (max-width: 960px) {
	.cgrid, .aboutwhy { grid-template-columns: 1fr; }
	.caside { position: static; }
}
@media (max-width: 640px) {
	.cform { padding: 20px; gap: 20px; }
	.ctopics { grid-template-columns: 1fr; }
	.cform-foot .btn { width: 100%; }
	.astats { grid-template-columns: 1fr 1fr; }
	.astats li, .astats li + li { padding: 20px 12px 20px 0; border-left: 0; }
	.astats li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
	.astats li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.astats b { font-size: 38px; }
	.aboutwhy-t { font-size: 16.5px; }
	.tip-card { flex-wrap: wrap; }
	.tip-card > .btn { width: 100%; }
	.ptable thead { display: none; }
	.ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
	.ptable tr { padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
	.ptable tbody tr:last-child { border-bottom: 0; }
	.ptable th, .ptable td { padding: 0; border: 0; }
	.ptable tbody th { margin-bottom: 8px; white-space: normal; }
	.ptable td { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 4px 0; }
	.ptable td::before { content: attr(data-l); font: 500 11.5px/1.6 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--eyebrow); }
	.pdl > div { grid-template-columns: 1fr; gap: 2px; }
}
.pcomplaint { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.pcomplaint a { text-decoration: underline; text-underline-offset: 3px; }

/* Phones: popovers (Spremljaj ceno, Obvesti me) open as a bottom sheet, so they never run off the
   screen edge or cause sideways scrolling; small labels stay readable; the footer link is tappable. */
@media (max-width: 560px) {
	.pop > .pop-body, .subst-pop > .pop-body { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-height: 70vh; overflow-y: auto; z-index: 70; box-shadow: 0 -10px 50px -12px rgba(13, 18, 18, .45); }
	.fcookie { display: inline-flex; align-items: center; min-height: 32px; }
}
@container results (max-width: 520px) {
	.crow-m dt { font-size: 11.5px; }
	.crow-head .eyebrow { font-size: 11.5px; }
}

/* --- Model page (/modeli/…): versions, side-by-side table, which one to choose --------------- */

.model-page .tldr { margin-top: 8px; }
.mstats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px !important; }
.mstats dd { font: 500 clamp(19px, 1.8vw, 24px)/1.2 var(--font) !important; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mvars { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.mvar { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.mvar-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--mint); }
.mvar-img img, .mvar-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mvar-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.mvar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mvar-t { font: 400 24px/1.15 var(--font); letter-spacing: -.02em; }
.mvar-price { display: flex; flex-direction: column; gap: 2px; }
.mvar-price b { font: 500 28px/1.05 var(--font); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.mvar-price small { font-size: 13px; color: var(--muted); }
.mvar .m4 { margin-top: auto; }
.mvar .btns { margin-top: 4px; }
.vtable-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.vtable-wrap:focus-visible { outline: 3px solid var(--accent); }
.vtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.vtable th, .vtable td { padding: 13px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.vtable tbody tr:last-child > * { border-bottom: 0; }
.vtable thead th { font: 600 14px/1.3 var(--font); background: var(--mist); }
.vtable thead th a { text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 3px; }
.vtable tbody th { position: sticky; left: 0; z-index: 1; background: #fff; font: 500 12px/1.3 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--eyebrow); }
.vtable thead th:first-child { position: sticky; left: 0; z-index: 2; }
.vtable td.best { font-weight: 600; color: var(--accent-ink); }
.vtable td.best::after { content: " ✓"; }
.mpicks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 22px; }
.mpick { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 52px 22px 22px; transition: border-color .15s; }
.mpick b { font: 400 22px/1.2 var(--font); letter-spacing: -.02em; }
.mpick .small { color: var(--text-2); }
.mpick .ico { position: absolute; right: 20px; top: 24px; color: var(--eyebrow); transition: transform .15s; }
.mpick:hover { border-color: rgba(91, 130, 121, .45); color: inherit; }
.mpick:hover .ico { transform: translateX(3px); }
.hub-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.hub-models .eyebrow { margin-right: 4px; }
@media (max-width: 760px) {
	.mstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vtable th, .vtable td { padding: 11px 12px; font-size: 14px; }
}

/* --- Polnilnice: calculator, price table (two payment modes), operators ------------------------ */

.chcalc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 28px 36px; padding: 32px; }
.chcalc-in { display: flex; flex-direction: column; gap: 18px; }
.chcalc-in .seg { flex-wrap: wrap; }
.chcalc-out { display: flex; flex-direction: column; gap: 12px; }
.chlist { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.chlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 4px 14px; padding: 12px 16px; border-radius: 14px; background: #fff; }
.chlist li.is-best { box-shadow: inset 0 0 0 2px var(--accent); }
.chl-n { font-weight: 600; }
.chl-p { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chlist b { font: 500 20px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chl-empty { color: var(--muted); }
.chtable[data-ch-table="adhoc"] .m-app, .chtable[data-ch-table="app"] .m-adhoc { display: none; }
.chtable tbody th { position: sticky; left: 0; z-index: 1; background: #fff; font: 600 14.5px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.chtable tbody th a { text-decoration: underline; text-decoration-color: rgba(52, 72, 74, .3); text-underline-offset: 3px; }
.chops { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.chop { padding: 0 22px; }
.chop > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; cursor: pointer; list-style: none; }
.chop > summary::-webkit-details-marker { display: none; }
.chop > summary .small { flex: 1; min-width: 0; }
.chop-n { font: 500 18px/1.2 var(--font); min-width: 150px; }
.chop[open] .faq-i { transform: rotate(45deg); }
.chop .pdl { padding-bottom: 16px; }
.chop .pdl dd a { text-decoration: underline; text-underline-offset: 3px; }
.chhr { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 16px; }
.chhr li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.chhr b { font: 500 17px/1.2 var(--font); color: var(--ink); }
.chhr a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
	.chcalc { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 560px) {
	.chop { padding: 0 16px; }
	.chop > summary { flex-wrap: wrap; gap: 4px 12px; padding: 12px 28px 12px 0; position: relative; }
	.chop > summary .faq-i { position: absolute; right: 0; top: 22px; }
	.chop-n { min-width: 0; flex-basis: 100%; }
	.chlist li { grid-template-columns: minmax(0, 1fr) auto; }
	.chl-p { grid-column: 1; grid-row: 2; }
	.chlist b { grid-row: 1 / 3; align-self: center; }
}

/* --- Polnjenje doma: comparison by time of day, block map 0–24 h ---------------------------- */

.seg-wrap { flex-wrap: wrap; }
.homecmp { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(91, 130, 121, .2); }
.homecmp ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.homecmp li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .6); font-size: 14.5px; }
.homecmp li b { font: 500 18px/1 var(--font); font-variant-numeric: tabular-nums; }
.homecmp li.is-on { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.blkmap { margin-top: 20px; overflow-x: auto; padding-bottom: 4px; }
.blkrow { display: grid; grid-template-columns: 150px repeat(24, minmax(18px, 1fr)); gap: 3px; align-items: center; min-width: 640px; margin-bottom: 3px; }
.blkrow > span { font-size: 13px; color: var(--text-2); padding-right: 8px; }
.blkrow i { display: grid; place-items: center; height: 30px; border-radius: 6px; font: 600 11px/1 var(--font); font-style: normal; }
.blkhead i { height: auto; background: none; color: var(--muted); font-weight: 500; justify-items: start; }
.b1 { background: #b0301a; color: #fff; }
.b2 { background: #e07a3c; color: #fff; }
.b3 { background: #f2c14e; color: var(--ink); }
.b4 { background: #9fd8bf; color: var(--ink); }
.b5 { background: #2fe0a0; color: var(--ink); }
.blklegend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.blklegend li { display: flex; align-items: center; gap: 8px; }
.blklegend i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font: 600 11px/1 var(--font); font-style: normal; }
@media (max-width: 560px) {
	.blkrow { grid-template-columns: 112px repeat(24, 16px); min-width: 0; }
	.blkrow > span { font-size: 12px; }
}

/* Polnilnice v2: stats, calculator with both payment modes, best price marked. */
.chstats { margin-bottom: 18px; }
.chpills { margin: 18px 0 28px; }
.chcalc-sec { scroll-margin-top: 110px; }
.chtldr { margin-top: 28px; }
.chsum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.chsum b { font: 500 30px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chsum span { font-size: 14px; color: var(--text-2); }
.chnote { padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: 13.5px; line-height: 1.45; }
.chhead, .chlist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 132px) minmax(0, 132px); gap: 10px; align-items: center; }
.chhead { padding: 4px 16px 0; font: 500 11.5px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow); }
.chlist li { display: grid; padding: 10px 16px; }
.chlist li.is-best { box-shadow: none; }
.chl-n { font-weight: 600; text-decoration: none; }
.chl-n:hover { text-decoration: underline; text-underline-offset: 3px; }
.chl-c { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: 10px; }
.chl-c b { font: 500 18px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chl-c small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chl-c.is-best { background: var(--ok-bg); box-shadow: inset 0 0 0 1.5px var(--ok); }
.chl-c.is-best b::after { content: " ✓"; color: var(--ok); }
.chhome { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.chhome .ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ok); }
.chhome a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.chtable span.best { font-weight: 600; color: var(--accent-ink); }
.chtable span.best::after { content: " ✓"; }
@media (max-width: 560px) {
	.chhead { display: none; }
	.chlist li { grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 12px; }
	.chl-n { grid-column: 1 / -1; }
	.chl-c::before { content: attr(data-l); font: 500 10.5px/1.2 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--eyebrow); }
	.chsum b { font-size: 26px; }
}

/* Polnjenje doma v2: advice, the block right now, the charging window on the map. */
.hometip { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 14px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.hometip .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.blknow { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.blknow i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font: 700 14px/1 var(--font); font-style: normal; }
.blknow b { color: var(--ink); }
.blkrow i.is-win { box-shadow: inset 0 0 0 2px var(--ink); }
.blkwin { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.blkwin-i { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--ink); }

/* Tesla Supercharger table: prices by hour, sites only for Tesla muted. */
.teslatable td { white-space: normal; min-width: 150px; }
.teslatable tr.is-closed td, .teslatable tr.is-closed th a { color: var(--muted); }
#tesla .lead { max-width: 760px; }
