/* ==========================================================================
   MP auto trgovina - main stylesheet
   1. Fonts & tokens   2. Base   3. Layout & buttons   4. Header & drawer
   5. Hero   6. Page content (blocks)   7. Home sections   8. Vehicle cards
   9. Vehicle page   10. Contact, map, forms   11. Footer   12. Utilities
   ========================================================================== */

/* 1. Fonts & tokens -------------------------------------------------------- */
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ink: #1C2026;
	--ink-2: #2A2F36;
	--text: #2B3038;
	--muted: #626A75;
	--soft: #8B929C;
	--line: #E2E5E9;
	--line-2: #D2D6DC;
	--paper: #F2F3F5;
	--paper-2: #E6E8EB;
	--white: #FFFFFF;
	--accent: #003079;
	--accent-2: #00235A;
	--accent-soft: #E6ECF5;
	--accent-on-dark: #A9C2EA;
	--brand-grad: linear-gradient(135deg, #003079 0%, #0B4196 55%, #00235A 100%);
	--ok: #1E7A4C;
	--warn: #A86A06;
	--err: #B4362B;

	--font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4.2vw, 40px);
	--header-h: 76px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(28, 32, 38, .06);
	--shadow: 0 1px 2px rgba(28, 32, 38, .05), 0 10px 30px -12px rgba(28, 32, 38, .18);
	--shadow-lg: 0 2px 4px rgba(28, 32, 38, .05), 0 30px 60px -24px rgba(28, 32, 38, .35);
	--ease: cubic-bezier(.22, .8, .24, 1);

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
	--fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
	--fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
	--fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.5rem);
	--fs-display: clamp(2.5rem, 1.5rem + 4.6vw, 5.5rem);
	--section: clamp(64px, 9vw, 128px);
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.08; letter-spacing: -.022em; font-weight: 620; margin: 0 0 .5em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; }
h2 em, h1 em { color: var(--accent); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong, b { font-weight: 640; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; font-size: 16px; } /* 16px: iOS ne zumira na fokus */

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.site-main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. Layout & buttons --------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.btn { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --b-bg: var(--accent); --b-bd: var(--accent); box-shadow: 0 10px 24px -12px rgba(0, 48, 121, .7); }
.btn--primary:hover { --b-bg: var(--accent-2); --b-bd: var(--accent-2); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn--ghost:hover .icon { transform: none; }
.btn--glass { --b-bg: rgba(255, 255, 255, .1); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--light:hover { --b-bg: var(--accent-on-dark); --b-bd: var(--accent-on-dark); --b-fg: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow, .mp-eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2em; }
.eyebrow::before, .mp-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }

/* 4. Header & drawer ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; height: var(--header-h); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid rgba(28, 32, 38, .07); transition: background .35s var(--ease), border-color .35s, box-shadow .35s; }
.site-header.is-solid { box-shadow: 0 10px 30px -18px rgba(28, 32, 38, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; position: relative; flex: none; }
.logo__img { height: 48px; width: auto; transition: opacity .3s; }
.logo--custom .logo__img { max-height: 48px; }
.logo__img--light { position: absolute; left: 0; top: 0; opacity: 0; }

.nav { display: flex; align-items: center; gap: 28px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a { position: relative; display: block; padding: 10px 14px; color: var(--ink); font-weight: 560; font-size: .96rem; text-decoration: none; border-radius: 10px; transition: color .2s, background .2s; }
.menu a:hover { background: var(--accent-soft); color: var(--accent); }
.menu .current-menu-item > a, .menu .current_page_item > a { background: var(--accent); color: #fff; }

.social { display: flex; gap: 6px; padding-left: 22px; border-left: 1px solid var(--line); }
.social__link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.social__link .icon { width: 18px; height: 18px; }
.social__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }


.burger { display: none; position: relative; z-index: 120; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; padding: 0; margin-right: -8px; }
.burger__line { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease), background .3s, width .45s var(--ease); }
.burger__line:nth-child(1) { top: 18px; }
.burger__line:nth-child(2) { top: 27px; left: 20px; }
.menu-open .burger__line { background: #fff !important; }
.menu-open .burger__line:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger__line:nth-child(2) { top: 22.5px; left: 12px; transform: rotate(-45deg); }

/* Drawer - slides in from the right, frosted glass */
.drawer { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 18, 46, .38); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 400px); display: flex; flex-direction: column; padding: 0 28px max(24px, env(safe-area-inset-bottom)); color: #fff; background: linear-gradient(160deg, rgba(0, 48, 121, .74), rgba(0, 18, 46, .84)); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); border-left: 1px solid rgba(255, 255, 255, .14); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .45); transform: translateX(104%); transition: transform .6s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.drawer__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 60% at 100% 0%, rgba(169, 194, 234, .22), transparent 60%); }
.menu-open .drawer { visibility: visible; pointer-events: auto; }
.menu-open .drawer__scrim { opacity: 1; }
.menu-open .drawer__panel { transform: none; }
.drawer__menu { list-style: none; margin: 0; padding: 0; position: relative; }
.drawer__menu li { opacity: 0; transform: translateX(28px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu-open .drawer__menu li { opacity: 1; transform: none; }
.menu-open .drawer__menu li:nth-child(1) { transition-delay: .12s; }
.menu-open .drawer__menu li:nth-child(2) { transition-delay: .17s; }
.menu-open .drawer__menu li:nth-child(3) { transition-delay: .22s; }
.menu-open .drawer__menu li:nth-child(4) { transition-delay: .27s; }
.menu-open .drawer__menu li:nth-child(5) { transition-delay: .32s; }
.drawer__menu { display: grid; gap: 4px; }
.drawer__menu a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; margin-inline: -14px; color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 560; letter-spacing: -.02em; border-radius: 12px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.drawer__menu a:hover { background: rgba(255, 255, 255, .06); }
.drawer__menu a::after { content: "→"; font-size: 1rem; opacity: .4; transition: transform .3s var(--ease), opacity .3s; }
.drawer__menu a:hover::after { opacity: 1; transform: translateX(-4px); }
.drawer__brand { position: relative; display: flex; align-items: center; height: var(--header-h); margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer__brand .logo__img { height: 38px; }
.drawer__contact { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.drawer__contact a, .drawer__static { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: rgba(255, 255, 255, .9); text-decoration: none; font-size: .95rem; font-variant-numeric: tabular-nums; line-height: 1.35; }
.drawer__contact a:hover { color: #fff; }
.drawer__static { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.drawer__contact .icon { flex: none; display: grid; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--accent-on-dark); }
.drawer__foot { position: relative; margin-top: auto; padding-top: 24px; display: grid; gap: 10px; opacity: 0; transform: translateY(12px); transition: opacity .5s .3s var(--ease), transform .6s .3s var(--ease); }
.menu-open .drawer__foot { opacity: 1; transform: none; }
.drawer-social { display: flex; gap: 8px; }
.drawer-social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.drawer-social__link:hover { background: #fff; color: var(--ink); }
.drawer-social__link .icon { width: 19px; height: 19px; }

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav { display: none; }
	.burger { display: block; }
	.logo__img { height: 40px; }
	.menu-open .site-header .logo { opacity: 0; transition: opacity .3s; }
	.menu-open .site-header { background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
	.menu-open .site-header { z-index: 115; }
}
@media (max-width: 380px) { .logo__img { height: 36px; } }

/* 5. Hero --------------------------------------------------------------------- */
.hero { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 520px; color: #fff; background: var(--accent); overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; transform: scale(1.08); transition: transform 9s linear; will-change: transform; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
	linear-gradient(180deg, rgba(0, 18, 46, .55) 0%, rgba(0, 18, 46, 0) 22%),
	linear-gradient(90deg, rgba(0, 18, 46, .86) 0%, rgba(0, 18, 46, .55) 42%, rgba(0, 18, 46, .08) 78%),
	linear-gradient(0deg, rgba(0, 18, 46, .7) 0%, rgba(0, 18, 46, 0) 40%); }
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 120px; }
.hero__content > * { max-width: 760px; }
.hero__title { color: #fff; font-size: var(--fs-display); line-height: .98; letter-spacing: -.035em; font-weight: 600; margin-bottom: 24px; }
.hero__title em { color: var(--accent-on-dark); }
.hero__text { font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--primary { --b-bg: #fff; --b-fg: var(--accent); --b-bd: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.hero .btn--primary:hover { --b-bg: var(--accent-on-dark); --b-bd: var(--accent-on-dark); --b-fg: var(--accent-2); }
.hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .hero__actions { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .35s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .48s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: .6s; }
.no-js .hero__slide:first-child { opacity: 1; visibility: visible; }
.no-js .hero__slide:first-child * { opacity: 1 !important; transform: none !important; }

.hero__ui { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); z-index: 3; transform: translateX(-50%); width: min(420px, calc(100% - 160px)); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__count { margin: 0; font-variant-numeric: tabular-nums; font-size: var(--fs-sm); font-weight: 600; color: #fff; letter-spacing: .06em; text-align: center; }
.hero__of { color: rgba(255, 255, 255, .5); }
.hero__bars { width: 100%; display: flex; gap: 10px; }
.hero__bar { flex: 1; position: relative; height: 22px; border: 0; background: none; cursor: pointer; padding: 0; }
.hero__bar::before, .hero__fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.hero__fill { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done .hero__fill { transform: scaleX(1); }
.hero__bar.is-active .hero__fill { animation: mp-fill var(--hero-dur, 7s) linear forwards; }
.hero.is-paused .hero__bar.is-active .hero__fill { animation-play-state: paused; }
@keyframes mp-fill { to { transform: scaleX(1); } }
.hero__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.hero__arrow:hover { background: #fff; color: var(--ink); }
.hero__arrow .icon { width: 20px; height: 20px; }
.hero__arrow--prev { left: clamp(12px, 2.4vw, 36px); }
.hero__arrow--next { right: clamp(12px, 2.4vw, 36px); }
@media (min-width: 701px) { .hero__content { padding-inline: max(var(--gutter), 104px); } }

@media (max-width: 700px) {
	.hero__shade { background: linear-gradient(180deg, rgba(0, 18, 46, .55) 0%, rgba(0, 18, 46, .15) 30%, rgba(0, 18, 46, .55) 55%, rgba(0, 18, 46, .92) 100%); }
	.hero__img { object-position: 68% 50%; }
	.hero__content { justify-content: flex-end; padding-bottom: 112px; }
	.hero__title { line-height: 1.02; }
	.hero__text { font-size: 1.05rem; margin-bottom: 28px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__arrow { width: 38px; height: 38px; }
	.hero__arrow .icon { width: 17px; height: 17px; }
	.hero__arrow--prev { left: 8px; }
	.hero__arrow--next { right: 8px; }
	.hero__content { padding-inline: 56px; }
	.hero__ui { width: calc(100% - 112px); bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* 6. Page content (blocks) ------------------------------------------------------ */
.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(135deg, #001538 0%, #002566 55%, #001a47 100%); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .6; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%); mask-image: linear-gradient(90deg, transparent 20%, #000 90%); }
.page-head::after { content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; background: radial-gradient(28% 34% at 78% 30%, rgba(80, 140, 235, .38), transparent 70%), radial-gradient(22% 28% at 30% 85%, rgba(0, 92, 220, .28), transparent 70%); animation: mp-drift 16s ease-in-out infinite alternate; }
.page-head .container { position: relative; }
.page-head .container::after { content: ""; position: absolute; left: var(--gutter); bottom: calc(clamp(32px, 5vw, 64px) * -1); width: min(320px, 60%); height: 2px; background: linear-gradient(90deg, rgba(169, 194, 234, .9), transparent); transform-origin: left; animation: mp-line 1.2s .2s var(--ease) both; }
@keyframes mp-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6%, 4%, 0) scale(1.08); } 100% { transform: translate3d(5%, -3%, 0) scale(1.02); } }
@keyframes mp-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.page-head__title { font-size: var(--fs-h1); margin: 0; max-width: 18ch; color: #fff; }
.page-head__lead { font-size: var(--fs-lg); color: rgba(255, 255, 255, .78); max-width: 640px; margin: 20px 0 0; }
.page-head .crumbs ol, .page-head .crumbs a { color: rgba(255, 255, 255, .62); }
.page-head .crumbs a:hover { color: #fff; }
.page-head .crumbs [aria-current] { color: #fff; }

.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

.entry { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.entry--home { padding: 0; }
.entry:has(> .mp-section:first-child) { padding-top: 0; }
.entry:has(> .mp-section:last-child), .entry:has(> .mp-company-line:last-child) { padding-bottom: 0; }
.entry > * { max-width: calc(760px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.entry > .alignwide, .entry > .mp-wide { max-width: calc(var(--container) + var(--gutter) * 2); }
.entry > .alignfull { max-width: none; padding-inline: 0; }
.entry > h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 1.8em; }
.entry > h3 { font-size: var(--fs-h3); margin-top: 1.6em; }
.entry > p, .entry > ul, .entry > ol { color: var(--text); }
.entry > :first-child { margin-top: 0; }
.prose ul, .entry > ul { padding-left: 0; list-style: none; }
.entry > ul { padding-left: var(--gutter); }
.entry > .mp-lead { max-width: calc(760px + var(--gutter) * 2); margin-bottom: 1.6em; }
.prose ul li, .entry > ul li { position: relative; padding-left: 1.4em; margin-bottom: .45em; }
.prose ul li::before, .entry > ul li::before { content: ""; position: absolute; left: .1em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.entry a:not(.btn):not(.wp-block-button__link) { font-weight: 560; }

/* Core blocks the theme uses */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin: 0 auto 1.5em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; } .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: auto !important; } }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em auto; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.6em; border-radius: 999px; background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; transition: background .25s, transform .25s var(--ease), color .25s; }
.wp-block-button__link:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line-2); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.wp-block-image { margin: 2em auto; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: .7em; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.wp-block-table td, .wp-block-table th { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.wp-block-table td:first-child { color: var(--muted); width: 42%; }
.wp-block-group { margin: 0 auto; }

/* Theme sections built from Group blocks (class names set in the editor: Napredno → Dodatne CSS klase) */
.mp-section { padding-block: var(--section); }
.mp-section--paper { background: var(--paper); }
.mp-section--dark { background: var(--brand-grad); color: rgba(255, 255, 255, .8); }
.mp-section--dark h2, .mp-section--dark h3 { color: #fff; }
.mp-section--dark h2 em { color: var(--accent-on-dark); }
.mp-section--dark .mp-eyebrow { color: rgba(255, 255, 255, .6); }
.entry > .mp-section, .entry > .mp-band { max-width: none; padding-inline: 0; }
.mp-section > .wp-block-group__inner-container, .mp-section > * { max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mp-section h2 { font-size: var(--fs-h2); max-width: 20ch; }
.mp-lead { font-size: var(--fs-lg); color: var(--muted); max-width: 640px; }
.mp-section--dark .mp-lead { color: rgba(255, 255, 255, .72); }

.mp-head { display: flex !important; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px) !important; }
.mp-head > * { margin: 0 !important; }
.mp-head h2 { margin: 0; }
.mp-head p { margin: 0; }
.mp-head .mp-lead { max-width: 440px; }

/* 7. Home sections ------------------------------------------------------------- */
/* Intro + stats */
.mp-intro { padding-top: clamp(64px, 9vw, 120px); }
.mp-intro__grid { align-items: end; }
.mp-stats { position: relative; isolation: isolate; overflow: hidden; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 72px) !important; max-width: var(--container) !important; width: calc(100% - var(--gutter) * 2); padding: clamp(30px, 4.5vw, 56px) clamp(24px, 4vw, 56px) !important; border-radius: 28px; background: linear-gradient(135deg, #001538 0%, #002566 55%, #001a47 100%); box-shadow: 0 40px 80px -44px rgba(0, 37, 102, .8); }
.mp-stats::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 90%); mask-image: linear-gradient(90deg, transparent 10%, #000 90%); }
.mp-stats::after { content: ""; position: absolute; inset: -40%; z-index: -2; pointer-events: none; background: radial-gradient(26% 40% at 80% 30%, rgba(80, 140, 235, .38), transparent 70%), radial-gradient(22% 34% at 20% 90%, rgba(0, 92, 220, .26), transparent 70%); animation: mp-drift 16s ease-in-out infinite alternate; }
.mp-stats > .wp-block-group { padding: 0; margin: 0; }
.mp-stat__value { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); font-weight: 560; letter-spacing: -.04em; line-height: 1; color: #fff; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.mp-stat__value em { font-style: normal; color: var(--accent-on-dark); }
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; line-height: 1; }
.odo__col { display: flex; flex-direction: column; transition: transform 1.9s cubic-bezier(.2, .75, .15, 1); }
.odo__col > span { height: 1em; }
.is-static .odo__col { transition: none; }
.mp-stat__label { font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); margin: 0; max-width: 22ch; }
@media (max-width: 860px) { .mp-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* Service cards */
.mp-services { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mp-service { position: relative; padding: 30px 26px 28px !important; margin: 0 !important; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.mp-section--paper .mp-service { background: var(--white); }
.mp-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.mp-service__num { display: none; }
.mp-service h3 { padding-top: 6px; }
.mp-service h3 { font-size: 1.3rem; margin-bottom: .5em; }
.mp-service p:last-child { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 1080px) { .mp-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mp-services { grid-template-columns: 1fr; } }

/* Featured vehicles section */
.mp-featured .mp-cards { margin-top: 0; }

/* CTA band: a raised blue card with a soft light sweep, clearly apart from the footer */
.mp-band { position: relative; background: transparent !important; padding-block: clamp(40px, 6vw, 80px) !important; }
.mp-section--paper + .mp-band, .mp-band:first-child { background: var(--paper) !important; }
.mp-band > .wp-block-columns { position: relative; overflow: hidden; isolation: isolate; max-width: var(--container) !important; width: calc(100% - var(--gutter) * 2); padding: clamp(32px, 5vw, 64px) !important; border-radius: 28px; background: var(--brand-grad); color: rgba(255, 255, 255, .8); box-shadow: 0 40px 80px -40px rgba(0, 48, 121, .65), inset 0 1px 0 rgba(255, 255, 255, .14); }
.mp-band > .wp-block-columns::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 10%, transparent 65%); mask-image: radial-gradient(120% 120% at 100% 0%, #000 10%, transparent 65%); }
.mp-band > .wp-block-columns::after { content: ""; position: absolute; z-index: -1; top: -60%; left: -30%; width: 40%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); transform: rotate(18deg); animation: mp-sweep 7s ease-in-out infinite; }
@keyframes mp-sweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.mp-band .wp-block-columns { align-items: center; margin: 0 auto; }
.mp-band h2 { max-width: 16ch; margin-bottom: .35em; }
.mp-band .wp-block-buttons { justify-content: flex-end; margin: 0; }
.mp-band .wp-block-button__link { background: #fff; color: var(--ink); border-color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.mp-band .wp-block-button__link:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--ink); }
.mp-band .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.mp-band .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 781px) { .mp-band .wp-block-buttons { justify-content: flex-start; } .mp-band .wp-block-button { flex: 1 1 100%; } .mp-band .wp-block-button__link { width: 100%; } }

/* Image + text split (O nama) */
.mp-split { align-items: center; }
.mp-split .wp-block-image { margin: 0; }
.mp-split .wp-block-image img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mp-checks { list-style: none !important; padding: 0 !important; margin: 1.5em 0 !important; display: grid; gap: 10px; }
.mp-checks li { position: relative; padding: 0 0 0 34px !important; margin: 0 !important; }
.mp-checks li::before { content: "" !important; position: absolute; left: 0 !important; top: .15em !important; width: 22px !important; height: 22px !important; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003079' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat !important; }

/* Awards row */
.mp-awards { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.mp-awards .wp-block-image { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; justify-content: center; }
.mp-awards .wp-block-image img { border-radius: 8px; max-height: 260px; width: auto; margin-inline: auto; object-fit: contain; }
.mp-awards .wp-block-image figcaption { text-align: center; }
@media (max-width: 860px) { .mp-awards { grid-template-columns: repeat(2, 1fr); } }

/* Gallery strip */
.mp-photos { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mp-photos .wp-block-image { margin: 0; }
.mp-photos .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 700px) { .mp-photos { grid-template-columns: 1fr 1fr; } .mp-photos .wp-block-image:first-child { grid-column: 1 / -1; } }

/* Locations (shortcode) */
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.location { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: background .35s var(--ease), border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.location .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.location:hover, .location:focus-within { background: var(--brand-grad); border-color: transparent; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 48, 121, .7); }
.location:hover .location__name, .location:hover .link-arrow, .location:focus-within .location__name, .location:focus-within .link-arrow { color: #fff; }
.location:hover .location__addr, .location:focus-within .location__addr { color: rgba(255, 255, 255, .78); }
.location:hover .location__addr .icon, .location:focus-within .location__addr .icon { color: var(--accent-on-dark); }
.location:hover .link-arrow .icon { transform: translateX(4px); }
.location .location__name, .location .location__addr, .location .link-arrow { transition: color .3s; }
.mp-section--dark .location { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.mp-section--dark .location__name, .mp-section--dark .link-arrow { color: #fff; }
.location__name { font-size: 1.45rem; margin: 0; }
.location__addr { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); margin: 4px 0 18px; }
.mp-section--dark .location__addr { color: rgba(255, 255, 255, .7); }
.location__addr .icon { margin-top: 3px; color: var(--accent); width: 18px; height: 18px; }
.location .link-arrow { margin-top: auto; }
@media (max-width: 640px) { .locations { grid-template-columns: 1fr; } }

/* 8. Vehicle cards (plugin markup .pa-car, restyled) ----------------------------- */
.mp-cards, .pa-wrap, .pa-single {
	--pa-line: var(--line);
	--pa-card: var(--white);
	--pa-ink: var(--ink);
	--pa-muted: var(--muted);
	--pa-soft: var(--soft);
	--pa-brand: var(--accent);
	--pa-brand-strong: var(--accent-2);
	--pa-brand-tint: rgba(0, 48, 121, .14);
	--pa-grey-bg: rgba(0, 18, 46, .55);
	--pa-sale: var(--err);
	--pa-radius: var(--radius-lg);
	color: var(--ink);
}
.mp-cards *, .mp-cards *::before { box-sizing: border-box; }
.mp-cards .pa-grid, .pa-wrap .pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .mp-cards .pa-grid, .pa-wrap .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mp-cards .pa-grid, .pa-wrap .pa-grid { grid-template-columns: 1fr; } }
body .pa-car { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
body .pa-car:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
body .pa-card-link { color: inherit; text-decoration: none; }
body .pa-photo { aspect-ratio: 4 / 3; margin: 8px 8px 0; border-radius: 15px; background: var(--paper-2); }
body .pa-photo img { transition: transform 1.2s var(--ease); }
body .pa-car:hover .pa-photo img { transform: scale(1.045); }
body .pa-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 0; }
body .pa-title { font-family: var(--font); font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 12px; color: var(--ink); }
body .pa-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; }
/* Fuel · year / gearbox · km - two per row; power alone on the last row. */
body .pa-spec:has(path[d^="M13 2"]), body .pa-specs > .pa-spec:last-child:nth-child(odd) { grid-column: 1 / -1; }
body .pa-spec { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .82rem; font-weight: 540; color: var(--text); background: var(--paper); border-radius: 10px; padding: 8px 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .pa-spec svg { width: 15px; height: 15px; flex: none; color: var(--accent); opacity: .75; }
body .pa-spec-vin { display: none; }
body .pa-price-row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 14px; border-top: 1px solid var(--line); }
body .pa-price-label { flex: 0 0 100%; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
body .pa-price { font-size: 1.5rem; font-weight: 620; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
body .pa-price.pa-old { font-size: 1rem; font-weight: 500; color: var(--soft); text-decoration: line-through; order: 2; }
body .pa-price.pa-sale { color: var(--err); }
body .pa-sidrena { font-size: .76rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 6px; }
body .pa-sidrena-val { color: var(--ink); }
body .pa-sold span { border-radius: 999px; letter-spacing: .14em; font-weight: 600; font-size: .8rem; padding: 8px 18px; border-width: 1px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body .pa-stamp { top: 14px; right: auto; left: 14px; }
body .pa-stamp span { border-radius: 999px; font-weight: 600; font-size: .72rem; letter-spacing: .12em; padding: 7px 12px; box-shadow: none; }
body .pa-stamp-dolazak span { background: #F4B23E; color: var(--ink); }
body .pa-stamp-rezervirano span { background: var(--accent); }
body .pa-badge.pa-akcija { border-radius: 999px; }
.mp-empty { padding: 32px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--muted); }

/* Stock list page toolbar (plugin) */
body .pa-wrap { max-width: calc(var(--container) + var(--gutter) * 2) !important; width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.entry > .wp-block-shortcode, .entry > .pa-wrap { max-width: calc(var(--container) + var(--gutter) * 2); }
body .pa-toolbar { gap: 10px; padding: 10px; margin-bottom: 28px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); }
body .pa-search { border-radius: 14px; border-color: var(--line); background: var(--white); min-height: 50px; }
body .pa-search input { font-size: 16px; }
body .pa-sel { font-size: .82rem; color: var(--muted); }
body .pa-sel select { font-size: 16px; border-radius: 14px; border-color: var(--line); min-height: 50px; padding: 0 36px 0 14px; -webkit-appearance: none; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
body .pa-more { border-radius: 999px; min-height: 52px; padding: 0 28px; font-weight: 600; border-color: var(--line-2); color: var(--ink); }
body .pa-more:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
body .pa-pg { border-radius: 12px; min-width: 44px; height: 44px; }
body .pa-pg.is-current, body .pa-pg[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 700px) {
	body .pa-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
	body .pa-search { grid-column: 1 / -1; }
	body .pa-sel { flex-direction: column; align-items: stretch; gap: 4px; }
	body .pa-sel:last-child { grid-column: 1 / -1; }
}

/* 9. Vehicle page ----------------------------------------------------------------- */
.vehicle { padding: clamp(28px, 4vw, 48px) 0 0; }
.vehicle__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vehicle__top .crumbs ol { margin: 0; }
.vehicle__pager { display: flex; gap: 6px; flex: none; }
.chip-link { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 560; }
.chip-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-link .icon { width: 15px; height: 15px; }
.page-head--vehicle .vehicle__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); letter-spacing: -.035em; margin: 0; max-width: 24ch; }
.page-head--vehicle .vehicle__sub { margin-top: 14px; max-width: none; }
.page-head--vehicle .vehicle__top { margin-bottom: 22px; }
.page-head--vehicle .chip-link { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.page-head--vehicle .chip-link:hover { background: #fff; color: var(--accent); border-color: #fff; }

.vehicle__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.vehicle__gallery { min-width: 0; }
.vehicle__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.vehicle__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.vehicle__main.is-swapping img { opacity: .35; }
.vehicle__main .pa-photo-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.vehicle__main .pa-photo-ph svg { width: 40%; opacity: .5; }
.vehicle__main .pa-sold { position: absolute; inset: 0; background: rgba(0, 18, 46, .5); display: grid; place-items: center; }
.vehicle__main .pa-sold span { color: #fff; border: 1px solid rgba(255, 255, 255, .8); padding: 10px 22px; border-radius: 999px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.vehicle__counter { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 18, 46, .55); color: #fff; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vehicle__expand { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 18, 46, .55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.vehicle__expand .icon { width: 17px; height: 17px; }
.vehicle__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .25s, background .25s; box-shadow: var(--shadow); }
.vehicle__nav--prev { left: 14px; }
.vehicle__nav--next { right: 14px; }
.vehicle__main:hover .vehicle__nav, .vehicle__nav:focus-visible { opacity: 1; }
.vehicle__nav:hover { background: #fff; }
.vehicle__nav .icon { width: 20px; height: 20px; }
@media (hover: none) { .vehicle__nav { display: none; } }
.vehicle__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
.vehicle__thumbs::-webkit-scrollbar { display: none; }
.vehicle__thumbs .pa-thumb { flex: 0 0 auto; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .25s, box-shadow .25s; scroll-snap-align: start; background: var(--paper-2); }
.vehicle__thumbs .pa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle__thumbs .pa-thumb:hover { opacity: .85; }
.vehicle__thumbs .pa-thumb.is-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }
.vehicle__thumbs .pa-thumb.is-active img { padding: 2px; border-radius: 10px; }

.vehicle__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.price-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card__label { margin: 0 0 6px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.price-card__price { margin: 0; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.9rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card__old { margin: 4px 0 0; color: var(--soft); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-card__sold { margin: 0 0 10px; font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.price-card__note { color: var(--muted); font-size: var(--fs-sm); }
.price-card .pa-sidrena { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin: 14px 0 0; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--paper); font-size: .84rem; color: var(--muted); }
.price-card .pa-sidrena-label { font-weight: 560; }
.price-card .pa-sidrena-val { font-weight: 640; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card__actions { display: grid; gap: 10px; margin: 22px 0 16px; }
.price-card__actions .btn--ghost { font-variant-numeric: tabular-nums; font-size: 1rem; }
.price-card__actions .btn--ghost .icon { width: 17px; height: 17px; }
.price-card__hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--muted); }
.price-card__hours .icon { width: 15px; height: 15px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .68rem; letter-spacing: .1em; }
.tag--sale { background: #FBE7E4; color: var(--err); }
.perks { list-style: none; margin: 0; padding: 6px 22px; border-radius: var(--radius-lg); background: var(--paper); }
.perks li { display: flex; gap: 12px; align-items: center; padding: 13px 0; font-size: .9rem; color: var(--text); }
.perks li + li { border-top: 1px solid var(--line); }
.perks .icon { width: 20px; height: 20px; color: var(--accent); }

.vehicle__body { padding-bottom: var(--section); }
.vehicle__body > .vehicle__section:first-child { max-width: calc(100% - 380px - clamp(24px, 3vw, 44px)); }
.equipment { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px 40px; }
.vehicle__section { padding-top: clamp(44px, 6vw, 72px); }
.vehicle__h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 22px; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-sm); }
.specs dt svg { width: 17px; height: 17px; color: var(--soft); flex: none; }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.vehicle__desc { color: var(--text); }
.vehicle__desc h3 { font-size: 1.15rem; margin: 1.8em 0 .7em; }
.vehicle__desc table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: 0 0 1.5em; }
.vehicle__desc td, .vehicle__desc th { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vehicle__desc td:first-child, .vehicle__desc th { color: var(--muted); font-weight: 400; width: 50%; }
.vehicle__desc td:last-child { font-weight: 560; color: var(--ink); }
.vehicle__desc .wp-block-table { margin: 0 0 1.5em; overflow-x: visible; }
.vehicle__desc .wp-block-table table { margin: 0; }
.vehicle__desc .wp-block-table td, .vehicle__desc .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); padding: 11px 0; }
.vehicle__desc .wp-block-table td:first-child { width: 50%; }
.equipment { display: grid; gap: 28px; }
.equipment__title { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 0 0 12px; }
.equipment__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.equipment__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--text); line-height: 1.25; }
.equipment__list .icon { width: 15px; height: 15px; color: var(--accent); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vehicle__inquiry { scroll-margin-top: calc(var(--header-h) + 20px); }
.inquiry { display: grid; gap: 28px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--brand-grad); color: rgba(255, 255, 255, .75); }
.inquiry .eyebrow { color: rgba(255, 255, 255, .6); }
.inquiry__title { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.inquiry__title em { color: var(--accent-on-dark); }
.inquiry .form-card { background: var(--white); color: var(--text); }
.related { padding-block: clamp(56px, 8vw, 104px); }

.sticky-cta { display: none; }
@media (max-width: 960px) {
	.vehicle__grid { grid-template-columns: 1fr; }
	.vehicle__aside { position: static; }
	.vehicle__body > .vehicle__section:first-child { max-width: none; }
	.vehicle__main { margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 4 / 3; }
	.vehicle__thumbs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.vehicle__pager .chip-link span { display: none; }
	.vehicle__top .crumbs [aria-current] { max-width: 18ch; }
	.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(28, 32, 38, .08); box-shadow: 0 16px 40px -14px rgba(28, 32, 38, .4); transform: translateY(140%); transition: transform .5s var(--ease); }
	.sticky-cta.is-visible { transform: none; }
	.sticky-cta__price { flex: 1; min-width: 0; line-height: 1.15; }
	.sticky-cta__price strong { display: block; font-size: 1.1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
	.sticky-cta__label { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
	.sticky-cta .btn--ghost { width: 44px; padding: 0; }
	.sticky-cta .btn .icon { width: 18px; height: 18px; }
	.single-vozilo .site-footer { padding-bottom: 80px; }
}
@media (max-width: 560px) {
	.specs { grid-template-columns: 1fr; }
	.price-card { padding: 22px; }
}

/* Plugin lightbox polish */
body .pa-lb { background: rgba(0, 18, 46, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); touch-action: none; }
body .pa-lb-img { border-radius: 10px; }
body .pa-lb-nav, body .pa-lb-close { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }

/* Image gallery lightbox (Priznanja, Galerija) */
.mp-zoomable img { cursor: zoom-in; transition: transform .6s var(--ease), filter .3s; }
.mp-photos.mp-zoomable .wp-block-image { overflow: hidden; border-radius: var(--radius-lg); }
.mp-photos.mp-zoomable img:hover { transform: scale(1.04); }
.mp-awards.mp-zoomable .wp-block-image:hover { box-shadow: var(--shadow); }
.mp-lb { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 56px 12px 64px; background: rgba(0, 12, 32, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); touch-action: none; opacity: 0; transition: opacity .3s var(--ease); }
.mp-lb[hidden] { display: none; }
.mp-lb.is-in { opacity: 1; }
.mp-lb__stage { margin: 0; display: flex; align-items: center; justify-content: center; max-width: 94vw; max-height: 100%; }
.mp-lb__img { max-width: 94vw; max-height: calc(100svh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform-origin: 0 0; user-select: none; -webkit-user-select: none; }
.mp-lb__cap { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: 80vw; text-align: center; color: rgba(255, 255, 255, .8); font-size: .86rem; }
.mp-lb__count { position: absolute; top: 18px; left: 20px; color: #fff; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mp-lb__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .25s, color .25s; }
.mp-lb__btn:hover { background: #fff; color: var(--accent); }
.mp-lb__btn .icon { width: 22px; height: 22px; }
.mp-lb__close { top: 12px; right: 14px; width: 44px; height: 44px; }
.mp-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.mp-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.mp-lb.is-single .mp-lb__prev, .mp-lb.is-single .mp-lb__next, .mp-lb.is-single .mp-lb__count { display: none; }
@media (max-width: 600px) { .mp-lb__prev, .mp-lb__next { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; } .mp-lb__cap { bottom: 22px; max-width: 60vw; } }

/* 10. Contact, map, forms ---------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
a.contact-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon { width: 22px; height: 22px; color: var(--accent); margin-bottom: 18px; }
.contact-card__label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.contact-card__value { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; word-break: break-word; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map__canvas { height: clamp(360px, 52vw, 560px); z-index: 0; }
.map__canvas .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.map__list { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; background: var(--white); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.map__list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.map__pin, .mp-pin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; flex: none; }
.mp-pin-wrap { background: none; border: 0; }
.mp-pin { width: 40px; height: 40px; font-size: .95rem; box-shadow: 0 0 0 6px rgba(0, 48, 121, .22), 0 10px 20px -6px rgba(0, 18, 46, .6); border: 2px solid #fff; background: var(--accent); }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 14px 18px; font-size: .9rem; line-height: 1.45; }
.leaflet-popup-content strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.leaflet-popup-content a { display: inline-block; margin-top: 8px; font-weight: 600; }

.form-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field__label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 48, 121, .14); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.form .btn { justify-self: start; }
@media (max-width: 600px) { .form .btn { justify-self: stretch; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 560; margin: 0 0 18px; }
.notice--ok { background: #E6F4EC; color: var(--ok); }
.notice--err { background: #FBE7E4; color: var(--err); }

/* Contact page layout pieces */
.mp-contact-grid { align-items: flex-start; }
.mp-section > .map, .mp-section > .contact-cards, .mp-section > .form-card { width: calc(100% - var(--gutter) * 2); max-width: var(--container); padding-inline: 0; }
.entry > .mp-wide .contact-cards { margin-bottom: 0; }
.mp-company-line { padding-block: 28px; text-align: center; font-size: var(--fs-xs); color: var(--muted); }
.mp-company-line p { margin: 0; }

/* 11. Footer ----------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: clamp(56px, 8vw, 96px) 0 0; font-size: var(--fs-sm); }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(44px, 6vw, 72px); }
.site-footer__brand .logo__img { height: 54px; }
.site-footer__brand p { margin: 22px 0 24px; max-width: 34ch; line-height: 1.65; }
.site-footer__title { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin: 6px 0 18px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__list a { font-variant-numeric: tabular-nums; }
.site-footer__muted { color: rgba(255, 255, 255, .5); }
.footer-social { display: flex; gap: 8px; }
.footer-social__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff !important; transition: background .25s, color .25s; }
.footer-social__link:hover { background: #fff; color: var(--ink) !important; }
.footer-social__link .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 24px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.copyright { margin: 0; color: rgba(255, 255, 255, .55); }
.copyright__sep { margin: 0 .35em; opacity: .5; }
.copyright__by a { color: #fff; font-weight: 600; }
.legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 600px) { .site-footer__legal .legal { justify-content: center; } }
.legal a { color: rgba(255, 255, 255, .66); }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) {
	.site-footer__top { grid-template-columns: 1fr; text-align: center; gap: 32px; }
	.site-footer__brand { display: flex; flex-direction: column; align-items: center; }
	.site-footer__brand p { margin-inline: auto; }
	.footer-social { justify-content: center; }
	.site-footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
	.copyright__sep { display: none; }
	.copyright__by { display: block; margin-top: 4px; }
	.legal { justify-content: center; }
}

/* Marketplace links, cookie settings link */
.site-footer__market { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 20px 0 0 !important; font-size: .84rem; }
.site-footer__market > span { color: rgba(255, 255, 255, .5); }
.market { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.market .icon { width: 14px; height: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.cookie-link { color: rgba(255, 255, 255, .66) !important; }
@media (max-width: 600px) { .site-footer__market, .site-footer__legal { justify-content: center; } }

/* Cloudflare Turnstile */
.turnstile { min-height: 65px; }

/* Cookie banner + settings */
.consent { position: fixed; z-index: 130; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: min(440px, calc(100vw - 40px)); padding: 22px 22px 18px; border-radius: 20px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); border: 1px solid rgba(28, 32, 38, .08); box-shadow: 0 30px 70px -20px rgba(0, 18, 46, .45); opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.consent.is-in { opacity: 1; transform: none; }
.consent__title { margin: 0 0 6px; font-weight: 640; color: var(--ink); }
.consent__text { margin: 0 0 16px; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.consent__actions .btn { min-height: 42px; }
.consent__more { border: 0; background: none; padding: 8px 6px; font-size: .86rem; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 600px) {
	.consent { left: 10px; right: 10px; width: auto; bottom: max(10px, env(safe-area-inset-bottom)); }
	.consent__actions .btn { flex: 1 1 40%; }
}
.consent-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; }
.consent-modal[hidden] { display: none; }
.consent-modal__scrim { position: absolute; inset: 0; background: rgba(0, 18, 46, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent-modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: var(--white); box-shadow: var(--shadow-lg); }
.consent-modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.consent-modal__close .icon { width: 18px; height: 18px; }
.consent-modal__title { font-size: 1.5rem; margin: 0 40px 8px 0; }
.consent-modal__intro { color: var(--muted); font-size: .92rem; }
.consent-opt { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.consent-opt strong { display: block; color: var(--ink); margin-bottom: 2px; }
.consent-opt span { font-size: .86rem; color: var(--muted); }
.consent-modal .consent__actions { margin-top: 18px; }
.switch { position: relative; flex: none; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__ui { width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .55; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 12. Utilities / misc ---------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head__title { font-size: var(--fs-h2); margin: 0; }
.not-found { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.page-head__title em { color: var(--accent-on-dark); font-style: normal; }
.not-found__title { font-size: var(--fs-display); max-width: 14ch; }
.not-found__text { color: var(--muted); max-width: 560px; font-size: var(--fs-lg); margin-bottom: 32px; }
.post-list { display: grid; gap: 24px; }
.post-item__title { font-size: var(--fs-h3); }
.post-item__title a { color: var(--ink); text-decoration: none; }

/* Gentle reveal on scroll (only with JS, never for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero__img { transform: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .drawer, .hero__ui, .hero__arrow, .sticky-cta, .site-footer, .vehicle__thumbs { display: none !important; }
	.vehicle__grid, .vehicle__body { display: block; max-width: none; }
}
