/*
Theme Name: TAL Auto
Theme URI: https://talautocars.ro
Author: TAL Auto Cars
Description: Temă pentru dealer auto — stoc de mașini cu poze și video, filtre, calculator de rate și formulare de contact. Construită pe măsură, fără page builder, pentru viteză maximă pe mobil.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tal-auto
Tags: dealer, auto, custom
*/

/* =========================================================
   1. Variabile — culorile vin din logo
   ========================================================= */

:root {
	--orange: #f7941d;
	--orange-light: #ffb14d;
	--orange-dark: #dd7c0a;
	--red: #c0282e;
	--red-light: #e8484c;

	--ink: #14161a;
	--ink-2: #1d2026;
	--ink-3: #2a2e36;

	--text: #1b1f24;
	--text-soft: #5b636e;
	--text-faint: #8d95a0;

	--line: #e3e6ea;
	--line-soft: #eef0f3;
	--bg: #ffffff;
	--bg-soft: #f6f7f9;
	--bg-warm: #fff8ee;

	--green: #12783c;
	--green-soft: #e6f5ec;

	--radius: 14px;
	--radius-sm: 9px;
	--radius-lg: 22px;

	--shadow-sm: 0 1px 2px rgba(16, 20, 26, .06), 0 1px 3px rgba(16, 20, 26, .05);
	--shadow: 0 4px 6px -1px rgba(16, 20, 26, .07), 0 12px 24px -8px rgba(16, 20, 26, .1);
	--shadow-lg: 0 10px 15px -3px rgba(16, 20, 26, .08), 0 24px 48px -12px rgba(16, 20, 26, .16);

	--wrap: 1240px;
	--gap: clamp(16px, 3vw, 28px);

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Logo-ul e aproape pătrat: îl ținem mare ca textul „TAL AUTO CARS”
	   să rămână citibil — sub ~18px pe textul din imagine se pierde. */
	--header-h: 118px;
	--logo-h: 96px;
}

/* =========================================================
   2. Resetare
   ========================================================= */

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.021em;
	color: var(--ink);
}

h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-dark); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -60px; left: 12px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--orange);
	color: #fff;
	border-radius: 0 0 8px 8px;
	font-weight: 700;
	text-decoration: none;
	transition: top .16s;
}
.skip-link:focus { top: 0; color: #fff; }

/* =========================================================
   3. Structură
   ========================================================= */

.wrap {
	width: min(100% - 2 * var(--gap), var(--wrap));
	margin-inline: auto;
}

.section { padding: clamp(44px, 6vw, 76px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #e8eaee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-top: clamp(28px, 3.5vw, 42px); }

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.section__head h2 { margin: 0; }

.section__lead {
	margin: 8px 0 0;
	max-width: 62ch;
	color: var(--text-soft);
	font-size: 1.05rem;
}

.section--dark .section__lead { color: #a9b1bd; }

.eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--orange);
}

/* =========================================================
   4. Butoane
   ========================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s, box-shadow .16s, background .16s, color .16s, border-color .16s;
	white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
	background: linear-gradient(135deg, var(--orange-light), var(--orange));
	color: #fff;
	box-shadow: 0 4px 14px -4px rgba(247, 148, 29, .6);
}
.btn--primary:hover {
	background: linear-gradient(135deg, var(--orange), var(--orange-dark));
	color: #fff;
	box-shadow: 0 8px 22px -6px rgba(247, 148, 29, .7);
}

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--text);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--on-dark {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
}
.btn--on-dark:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.03rem; }
.btn--sm { padding: 9px 16px; font-size: .87rem; }

.btn svg { flex: none; }

/* `display: inline-flex` ar învinge regula implicită a atributului hidden. */
.btn[hidden] { display: none; }

/* =========================================================
   5. Bara de sus + antet
   ========================================================= */

.topbar {
	background: linear-gradient(90deg, var(--orange), var(--red));
	color: #fff;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .01em;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 34px;
	text-align: center;
	padding: 5px 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.5vw, 34px);
	min-height: var(--header-h);
}

.tal-logo {
	display: flex;
	align-items: center;
	flex: none;
	line-height: 0;
	/* Pe ecrane înguste logo-ul nu trebuie să împingă telefonul și meniul. */
	max-width: min(320px, 56vw);
}

.tal-logo img,
.tal-logo .custom-logo {
	display: block;
	width: auto;
	height: var(--logo-h);
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
	/* Pe ecrane Retina păstrează muchiile textului mai clare. */
	image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 1100px) {
	:root {
		--header-h: 104px;
		--logo-h: 84px;
	}
	.tal-logo { max-width: min(280px, 52vw); }
}

@media (max-width: 980px) {
	:root {
		--header-h: 96px;
		--logo-h: 76px;
	}
	.tal-logo { max-width: min(240px, 58vw); }
}

@media (max-width: 640px) {
	:root {
		--header-h: 84px;
		--logo-h: 68px;
	}
	.tal-logo { max-width: min(210px, 62vw); }
}

@media (max-width: 380px) {
	:root {
		--header-h: 76px;
		--logo-h: 60px;
	}
	.tal-logo { max-width: min(180px, 60vw); }
}

.main-nav { margin-left: auto; }

.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(4px, 1.2vw, 14px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: #d8dce2;
	font-size: .94rem;
	font-weight: 600;
	text-decoration: none;
	transition: color .14s, background .14s;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: #fff;
	background: rgba(255, 255, 255, .09);
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 800;
	font-size: 1.02rem;
	text-decoration: none;
	white-space: nowrap;
}
.header-phone:hover { color: var(--orange-light); }
.header-phone svg { color: var(--orange); }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 10px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

/* Butonul arată ce urmează să se întâmple: „X” cât timp meniul e deschis. */
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }

	/* Ancorat de antet, nu de fereastră: bara de anunțuri de deasupra dispare
	   la derulare, iar o poziție fixă ar acoperi logo-ul cât timp e vizibilă. */
	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		background: var(--ink-2);
		border-top: 1px solid rgba(255, 255, 255, .08);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}

	.main-nav.is-open { max-height: 80vh; overflow-y: auto; }

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 0 18px;
	}

	.nav-list li { border-bottom: 1px solid rgba(255, 255, 255, .06); }

	.nav-list a {
		border-radius: 0;
		padding: 15px calc(var(--gap));
		font-size: 1.05rem;
	}

	.header-phone span { display: none; }
}

@media (max-width: 560px) {
	.header-cta .btn { display: none; }
}

/* =========================================================
   6. Fir Ariadna
   ========================================================= */

.breadcrumbs {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--line-soft);
	font-size: .84rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 11px 0;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "›";
	margin-right: 6px;
	color: var(--text-faint);
}

.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; }
.breadcrumbs span { color: var(--text-faint); }

/* =========================================================
   7. Erou (homepage)
   ========================================================= */

.hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 420px at 82% 8%, rgba(247, 148, 29, .3), transparent 62%),
		radial-gradient(700px 400px at 8% 96%, rgba(192, 40, 46, .26), transparent 60%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px);
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--orange-light); }

.hero__lead {
	max-width: 54ch;
	margin: 14px 0 26px;
	font-size: clamp(1.02rem, 1.7vw, 1.18rem);
	color: #b7bec9;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: clamp(30px, 4vw, 44px);
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 3vw, 40px);
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero__trust-item {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: .93rem;
	color: #ccd2da;
}

.hero__trust-item svg { color: var(--orange); flex: none; }
.hero__trust-item strong { color: #fff; display: block; font-size: 1.02rem; }

/* Căutare rapidă */

.quick-search {
	position: relative;
	margin-top: -34px;
	margin-bottom: clamp(40px, 5vw, 60px);
	padding: clamp(18px, 2.5vw, 26px);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	z-index: 5;
}

.quick-search__title {
	margin: 0 0 14px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--text-faint);
}

.quick-search__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	align-items: end;
}

.quick-search .btn { height: 48px; }

/* =========================================================
   8. Câmpuri de formular
   ========================================================= */

.field { display: block; margin-bottom: 14px; }

.field > span {
	display: block;
	margin-bottom: 6px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--text-soft);
}

.field > span em { color: var(--red); font-style: normal; }
.field > span small { font-weight: 500; color: var(--text-faint); }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text);
	transition: border-color .14s, box-shadow .14s;
	appearance: none;
}

textarea {
	height: auto;
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}

select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b636e'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 15px;
	padding-right: 38px;
	cursor: pointer;
}

input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(247, 148, 29, .18);
}

input::placeholder, textarea::placeholder { color: #aeb5bf; }

/* =========================================================
   9. Card de mașină
   ========================================================= */

.cars-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 640px) {
	.cars-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

.car-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .16s, box-shadow .2s, border-color .2s;
}

.car-card:hover {
	transform: translateY(-3px);
	border-color: var(--line);
	box-shadow: var(--shadow);
}

.car-card--sold { opacity: .72; }

.car-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--bg-soft);
	overflow: hidden;
}

.car-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.car-card:hover .car-card__media img { transform: scale(1.045); }

.car-card__empty {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--text-faint);
	font-size: .85rem;
}

.badges {
	position: absolute;
	top: 10px; left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	max-width: calc(100% - 20px);
	z-index: 2;
	pointer-events: none;
}

.badge {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(20, 22, 26, .82);
	color: #fff;
	font-size: .69rem;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
	line-height: 1.5;
}

.badge--discount { background: var(--red); }
.badge--new      { background: var(--green); }
.badge--lowkm    { background: #0f5ea8; }
.badge--vat      { background: #4c3ba8; }
.badge--video    { background: var(--orange); }
.badge--reserved { background: #8a5b00; }
.badge--sold     { background: #4a4f57; }
.badge--order    { background: #123a80; }

.car-card__photos {
	position: absolute;
	right: 10px; bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(20, 22, 26, .74);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

.car-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 15px 16px 16px;
}

.car-card__title {
	margin: 0 0 3px;
	font-size: 1.06rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.015em;
}

.car-card__title a { color: var(--ink); text-decoration: none; }
.car-card__title a:hover { color: var(--red); }

.car-card__version {
	margin: 0 0 11px;
	font-size: .85rem;
	color: var(--text-faint);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.car-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.car-specs li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 7px;
	background: var(--bg-soft);
	font-size: .79rem;
	font-weight: 600;
	color: var(--text-soft);
	white-space: nowrap;
}

.car-specs svg { color: var(--text-faint); flex: none; }

.car-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 13px;
	border-top: 1px solid var(--line-soft);
}

.price { line-height: 1.15; }

.price__old {
	display: block;
	font-size: .82rem;
	color: var(--text-faint);
	text-decoration: line-through;
}

.price__now {
	display: block;
	font-size: 1.42rem;
	font-weight: 900;
	letter-spacing: -.02em;
	color: var(--ink);
}

.price__rate {
	display: block;
	margin-top: 2px;
	font-size: .79rem;
	font-weight: 600;
	color: var(--green);
}

.price__vat {
	display: inline-block;
	margin-top: 3px;
	font-size: .72rem;
	font-weight: 700;
	color: #4c3ba8;
}

/* =========================================================
   10. Pagina de stoc
   ========================================================= */

.stock-layout {
	display: grid;
	grid-template-columns: 278px 1fr;
	gap: clamp(20px, 3vw, 36px);
	align-items: start;
}

@media (max-width: 980px) {
	.stock-layout { grid-template-columns: 1fr; }
}

.filters {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

@media (max-width: 980px) {
	.filters {
		position: static;
		display: none;
	}
	.filters.is-open { display: block; }
}

.filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--line-soft);
}

.filters__head h2 { margin: 0; font-size: 1.05rem; }

.filters__reset {
	font-size: .82rem;
	font-weight: 600;
	color: var(--text-faint);
	text-decoration: none;
}
.filters__reset:hover { color: var(--red); text-decoration: underline; }

.filter-group { margin-bottom: 18px; }

.filter-group > legend,
.filter-group__label {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	padding: 0;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.filter-group fieldset { margin: 0; padding: 0; border: 0; }

.filter-range { display: flex; align-items: center; gap: 8px; }
.filter-range input { height: 42px; text-align: center; padding: 0 8px; }
.filter-range span { color: var(--text-faint); font-size: .9rem; }

.filter-checks {
	display: flex;
	flex-direction: column;
	gap: 3px;
	max-height: 210px;
	overflow-y: auto;
	margin: 0;
	padding: 0 4px 0 0;
	list-style: none;
}

.filter-check {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 6px 4px;
	border-radius: 7px;
	font-size: .92rem;
	cursor: pointer;
	transition: background .12s;
}

.filter-check:hover { background: var(--bg-soft); }
.filter-check input { width: 17px; height: 17px; accent-color: var(--orange); flex: none; margin: 0; }
.filter-check span { flex: 1; }
.filter-check small { color: var(--text-faint); font-size: .8rem; }

.stock-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.stock-count { font-size: .95rem; color: var(--text-soft); }
.stock-count strong { color: var(--ink); font-size: 1.06rem; }

.stock-toolbar select { width: auto; min-width: 200px; height: 44px; }

.filters-toggle { display: none; }

@media (max-width: 980px) {
	.filters-toggle { display: inline-flex; }
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 18px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bg-warm);
	border: 1px solid #f3ddbb;
	color: #7a5410;
	font-size: .83rem;
	font-weight: 600;
	text-decoration: none;
}

.chip:hover { background: #ffeed6; color: #7a5410; }
.chip b { font-weight: 800; }
.chip span { font-size: 1.1em; line-height: 1; opacity: .6; }

.empty-state {
	padding: clamp(40px, 6vw, 72px) 24px;
	text-align: center;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.empty-state h2 { margin-bottom: 8px; }
.empty-state p { max-width: 46ch; margin-inline: auto; color: var(--text-soft); }

/* Paginare */

.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: clamp(28px, 4vw, 44px);
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
	transition: border-color .14s, background .14s, color .14s;
}

.pagination .page-numbers:hover { border-color: var(--ink); }

.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.pagination .dots { border: 0; }

/* =========================================================
   11. Pagina unei mașini
   ========================================================= */

.car-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 372px;
	gap: clamp(22px, 3vw, 42px);
	align-items: start;
	padding: clamp(24px, 3.5vw, 40px) 0 clamp(40px, 5vw, 64px);
}

@media (max-width: 1100px) {
	.car-layout { grid-template-columns: 1fr; }
}

.car-head { margin-bottom: 18px; }

.car-head h1 { margin: 0 0 6px; font-size: clamp(1.55rem, 3.2vw, 2.3rem); }

.car-head__sub {
	margin: 0;
	font-size: 1.02rem;
	color: var(--text-soft);
}

/* Prețul repetat în antet: apare doar cât timp caseta din dreapta stă
   dedesubt, adică sub 1100px. Peste, ar fi de două ori pe același ecran. */
.car-head__price { display: none; }

@media (max-width: 1100px) {
	.car-head__price {
		display: flex;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 10px;
		margin: 12px 0 0;
	}

	.car-head__price strong {
		font-size: clamp(1.5rem, 5vw, 1.9rem);
		font-weight: 900;
		letter-spacing: -.03em;
		color: var(--ink);
	}

	.car-head__price s { color: var(--text-soft); }
}

/* Galerie */

.gallery { margin-bottom: 26px; }

.gallery__main {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--bg-soft);
	border-radius: var(--radius);
	overflow: hidden;
}

.gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__nav {
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--ink);
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background .14s, scale .14s;
}

.gallery__nav:hover { background: #fff; scale: 1.06; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }

.gallery__counter {
	position: absolute;
	right: 12px; bottom: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(20, 22, 26, .76);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
}

.gallery__thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 96px;
	gap: 9px;
	margin-top: 10px;
	padding-bottom: 6px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.gallery__thumb {
	aspect-ratio: 4 / 3;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 9px;
	overflow: hidden;
	background: var(--bg-soft);
	cursor: pointer;
	opacity: .62;
	transition: opacity .14s, border-color .14s;
}

.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--orange); }

/* Blocuri de conținut */

.car-block {
	margin-bottom: 26px;
	padding: clamp(18px, 2.4vw, 26px);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}

.car-block > h2 {
	margin: 0 0 16px;
	font-size: 1.2rem;
}

.spec-table {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 0 clamp(20px, 3vw, 44px);
}

.spec-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: .94rem;
}

.spec-row dt { color: var(--text-soft); }
.spec-row dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }

.features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.features li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: .93rem;
	line-height: 1.45;
}

.features svg { color: var(--green); flex: none; margin-top: 3px; }

.trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 24px;
}

.trust-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--green-soft);
	color: var(--green);
	font-size: .86rem;
	font-weight: 700;
}

.trust-pill svg { flex: none; }

/* Video */

.video-embed {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}

.video-embed--youtube { aspect-ratio: 16 / 9; }
.video-embed--tiktok { max-width: 340px; margin-inline: auto; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-embed--tiktok iframe { height: 740px; }

.video-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}
.video-link:hover { background: var(--ink-3); color: #fff; }
.video-link svg { color: var(--orange); flex: none; }

/* Coloana laterală */

.car-aside {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (max-width: 1100px) {
	.car-aside { position: static; }
}

.price-box {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.price-box__old {
	font-size: .95rem;
	color: var(--text-faint);
	text-decoration: line-through;
}

.price-box__now {
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.05;
	color: var(--ink);
}

.price-box__save {
	display: inline-block;
	margin-top: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	background: #fdeaea;
	color: var(--red);
	font-size: .82rem;
	font-weight: 800;
}

.price-box__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.tag {
	padding: 4px 10px;
	border-radius: 7px;
	background: var(--bg-soft);
	font-size: .78rem;
	font-weight: 700;
	color: var(--text-soft);
}

.tag--vat { background: #efecfb; color: #4c3ba8; }
.tag--rate { background: var(--green-soft); color: var(--green); }

.price-box__actions {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 18px;
}

.price-box__status {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: .88rem;
	font-weight: 700;
	text-align: center;
}

.price-box__status--rezervat { background: #fff3d6; color: #8a5b00; }
.price-box__status--vandut { background: var(--bg-soft); color: var(--text-soft); }

/* Calculator de rate */

.calc {
	padding: 20px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
}

.calc h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }

.calc__sub {
	margin: 0 0 16px;
	font-size: .86rem;
	color: #9aa3af;
}

.calc__field { margin-bottom: 15px; }

.calc__field-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 7px;
	font-size: .84rem;
	color: #b7bec9;
}

.calc__field-head b { color: #fff; font-size: .95rem; }

.calc input[type="range"] {
	width: 100%;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, .17);
	accent-color: var(--orange);
	cursor: pointer;
}

.calc__result {
	margin-top: 18px;
	padding: 16px;
	border-radius: 11px;
	background: rgba(247, 148, 29, .13);
	border: 1px solid rgba(247, 148, 29, .3);
	text-align: center;
}

.calc__result-label {
	display: block;
	font-size: .8rem;
	color: #cbd2da;
	margin-bottom: 2px;
}

.calc__result-value {
	display: block;
	font-size: 2rem;
	font-weight: 900;
	color: var(--orange-light);
	letter-spacing: -.02em;
	line-height: 1.1;
}

.calc__note {
	margin: 12px 0 0;
	font-size: .76rem;
	line-height: 1.5;
	color: #8b939f;
}

/* =========================================================
   12. Formular de cerere
   ========================================================= */

.lead-form {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.lead-form--flat { box-shadow: none; }

.lead-form__title { margin: 0 0 4px; font-size: 1.18rem; }

.lead-form__sub {
	margin: 0 0 16px;
	font-size: .9rem;
	color: var(--text-soft);
}

.lead-form__car {
	margin: 0 0 14px;
	padding: 9px 13px;
	border-radius: 9px;
	background: var(--bg-warm);
	font-size: .88rem;
	color: #7a5410;
}

.lead-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 520px) {
	.lead-form__row { grid-template-columns: 1fr; }
}

.field-money { position: relative; }

.field-money input { padding-right: 40px; }

.field-money__unit {
	position: absolute;
	right: 14px;
	top: 50%;
	translate: 0 -50%;
	font-weight: 800;
	color: var(--text-faint);
	pointer-events: none;
}

.field__help {
	display: block;
	margin-top: 5px;
	font-size: .78rem;
	line-height: 1.45;
	color: var(--text-faint);
}

.lead-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lead-form__legal {
	margin: 11px 0 0;
	font-size: .75rem;
	line-height: 1.5;
	color: var(--text-faint);
}

.lead-form__feedback:empty { display: none; }

.lead-form__feedback {
	margin-top: 13px;
	padding: 12px 15px;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 600;
}

.lead-form__feedback.is-ok { background: var(--green-soft); color: var(--green); }
.lead-form__feedback.is-err { background: #fdeaea; color: var(--red); }

.lead-form.is-sending button { opacity: .6; pointer-events: none; }

.notice-box {
	margin: 18px 0;
	padding: 14px 18px;
	border-radius: 11px;
	font-weight: 600;
}

.notice-box--ok { background: var(--green-soft); color: var(--green); }
.notice-box--err { background: #fdeaea; color: var(--red); }

/* =========================================================
   13. Blocuri de pe homepage
   ========================================================= */

.usp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.usp {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	transition: border-color .16s, transform .16s;
}

.usp:hover { border-color: var(--orange-light); transform: translateY(-2px); }

.usp__icon {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: var(--bg-warm);
	color: var(--orange-dark);
}

.usp h3 { font-size: 1.06rem; margin-bottom: 5px; }
.usp p { font-size: .92rem; color: var(--text-soft); margin: 0; }

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
	gap: 12px;
}

.cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 22px 14px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	color: var(--ink);
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	transition: border-color .16s, transform .16s, box-shadow .18s;
}

.cat-card:hover {
	border-color: var(--orange);
	color: var(--ink);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.cat-card svg { color: var(--orange); }
.cat-card small { display: block; font-weight: 500; color: var(--text-faint); font-size: .8rem; }

.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 9px;
}

.brand-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 11px 15px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: 10px;
	color: var(--text);
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .14s, color .14s;
}

.brand-chip:hover { border-color: var(--ink); color: var(--ink); }
.brand-chip small { color: var(--text-faint); font-weight: 500; }

/* Bandă TikTok */

.social-proof {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: clamp(14px, 2vw, 26px);
	text-align: center;
}

.stat__num {
	display: block;
	font-size: clamp(1.9rem, 4vw, 2.7rem);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.05;
	color: var(--orange-light);
}

.stat__label {
	display: block;
	margin-top: 4px;
	font-size: .88rem;
	color: #a9b1bd;
}

/* Bandă finală de îndemn */

.cta-band {
	position: relative;
	padding: clamp(40px, 5.5vw, 68px) 0;
	background: linear-gradient(120deg, var(--orange), var(--red));
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }

.cta-band p {
	max-width: 52ch;
	margin: 10px auto 24px;
	font-size: 1.06rem;
	color: rgba(255, 255, 255, .93);
}

.cta-band__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.cta-band .btn--white { background: #fff; color: var(--red); }
.cta-band .btn--white:hover { background: #fff6ea; color: var(--red); }

/* =========================================================
   14. Pagini de conținut
   ========================================================= */

.page-hero {
	padding: clamp(32px, 4.5vw, 56px) 0;
	background: var(--ink);
	color: #fff;
}

.page-hero h1 { color: #fff; margin-bottom: 8px; }

.page-hero p {
	max-width: 60ch;
	margin: 0;
	font-size: 1.05rem;
	color: #b7bec9;
}

.entry-content {
	max-width: 74ch;
	font-size: 1.04rem;
	line-height: 1.72;
}

.entry-content h2 { margin-top: 1.7em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }

.entry-content ul li, .entry-content ol li { margin-bottom: .4em; }

.content-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
}

@media (max-width: 900px) {
	.content-cols { grid-template-columns: 1fr; }
}

.info-card {
	padding: 22px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.info-card h3 { font-size: 1.08rem; }

.info-list { margin: 0; padding: 0; list-style: none; }

.info-list li {
	display: flex;
	gap: 11px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	font-size: .95rem;
}

.info-list li:last-child { border-bottom: 0; }
.info-list svg { color: var(--orange); flex: none; margin-top: 3px; }
.info-list strong { display: block; }
.info-list a { color: var(--text); text-decoration: none; }
.info-list a:hover { color: var(--red); }

.map-embed {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-soft);
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

.steps { counter-reset: step; display: grid; gap: 16px; }

.step {
	position: relative;
	padding: 20px 22px 20px 68px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}

.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 20px; top: 20px;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--orange);
	color: #fff;
	font-weight: 900;
	font-size: 1rem;
}

.step h3 { margin-bottom: 4px; font-size: 1.06rem; }
.step p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.map-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 4px;
}

.map-links a {
	font-weight: 700;
	font-size: .9rem;
	color: var(--red);
	text-decoration: none;
}

.map-links a:hover { text-decoration: underline; }

.nav-buttons {
	display: grid;
	gap: 8px;
}

.nav-buttons .btn { width: 100%; }

.partners {
	margin-top: 28px;
	padding: 20px 22px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.partners__title {
	margin: 0 0 12px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.partners__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partners__list li {
	padding: 8px 15px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 9px;
	font-weight: 700;
	font-size: .93rem;
	color: var(--ink);
}

.partners__note {
	margin: 12px 0 0;
	font-size: .86rem;
	color: var(--text-soft);
}

.faq { display: grid; gap: 10px; }

.faq details {
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
}

.faq summary {
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--orange);
	line-height: 1;
}

.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 11px 0 0; color: var(--text-soft); font-size: .96rem; }

/* =========================================================
   15. Subsol
   ========================================================= */

.site-footer {
	background: var(--ink);
	color: #97a0ac;
	font-size: .93rem;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: clamp(24px, 3vw, 48px);
	padding: clamp(38px, 5vw, 60px) 0 clamp(28px, 3.5vw, 40px);
}

@media (max-width: 900px) {
	.footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.footer-main { grid-template-columns: 1fr; }
}

.footer-col h3 {
	margin-bottom: 14px;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #fff;
}

.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #97a0ac; text-decoration: none; }
.footer-col a:hover { color: var(--orange-light); }

.footer-about .tal-logo {
	margin-bottom: 14px;
	max-width: 280px;
}
.footer-about .tal-logo img,
.footer-about .tal-logo .custom-logo {
	height: 96px;
}
.footer-about p { max-width: 40ch; line-height: 1.65; }

.social-links { display: flex; gap: 9px; margin-top: 16px; }

.social-links a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .07);
	color: #c3cad3;
	transition: background .14s, color .14s;
}

.social-links a:hover { background: var(--orange); color: #fff; }

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .09);
	font-size: .85rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

.footer-legal {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-bottom a { color: #97a0ac; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   16. Butoane plutitoare
   ========================================================= */

.floating-contact {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* În colțul de jos-dreapta stă butonul „Caută” din hero, iar butoanele
   plutitoare i-ar acoperi marginea. Le arătăm după ce vizitatorul a derulat.
   Atributul îl pune JavaScript-ul, ca fără el butoanele să rămână vizibile. */
.floating-contact[data-tal-floating-armed] {
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.floating-contact[data-tal-floating-armed].is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.floating-contact__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	font-size: .93rem;
	text-decoration: none;
	box-shadow: var(--shadow-lg);
	transition: transform .14s;
}

.floating-contact__btn:hover { transform: translateY(-2px); color: #fff; }
.floating-contact__btn--whatsapp { background: #25d366; }
.floating-contact__btn--call { background: var(--orange); }

@media (max-width: 640px) {
	.floating-contact {
		right: 12px;
		bottom: 12px;
		flex-direction: row;
	}

	.floating-contact__btn { padding: 13px; }
	.floating-contact__btn span { display: none; }

	/* Butoanele stau peste ultimul rând din subsol, iar acolo sunt linkurile
	   legale. Le facem loc, ca să rămână apăsabile. */
	.footer-bottom { padding-bottom: 84px; }
}

/* =========================================================
   16b. Bannerul de cookie-uri
   ========================================================= */

.cookie-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 120;
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.5vw, 28px);
	max-width: 1100px;
	margin-inline: auto;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	animation: cookie-in .28s ease-out;
}

@keyframes cookie-in {
	from { transform: translateY(14px); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.cookie-bar__text {
	flex: 1;
	font-size: .89rem;
	line-height: 1.55;
	color: var(--text-soft);
}

.cookie-bar__text strong { color: var(--ink); }
.cookie-bar__text a { color: var(--red); font-weight: 600; white-space: nowrap; }

.cookie-bar__actions {
	display: flex;
	gap: 9px;
	flex: none;
}

.cookie-bar__actions .btn { white-space: nowrap; }

@media (max-width: 780px) {
	.cookie-bar {
		flex-direction: column;
		align-items: stretch;
		padding: 16px 18px;
		bottom: 8px;
		left: 8px;
		right: 8px;
	}

	.cookie-bar__actions { flex-direction: column-reverse; }
	.cookie-bar__actions .btn { width: 100%; }
}

/* Cât timp bannerul e pe ecran, butoanele plutitoare urcă puțin,
   ca să nu se suprapună peste el. */
body:has(#cookie-bar) .floating-contact { bottom: 122px; }

@media (max-width: 780px) {
	body:has(#cookie-bar) .floating-contact { bottom: 210px; }
}

.video-consent {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: clamp(28px, 5vw, 46px) 24px;
	text-align: center;
	background: var(--bg-soft);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
}

.video-consent svg { color: var(--orange); }

.video-consent p {
	max-width: 46ch;
	margin: 0;
	font-size: .93rem;
	color: var(--text-soft);
}

.video-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
}

.cookie-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: #97a0ac;
	text-decoration: none;
	cursor: pointer;
}

.cookie-link:hover { color: #fff; }

/* =========================================================
   17. Detalii finale
   ========================================================= */

.related { padding-top: 8px; }

/* Coloanele de grilă nu trebuie să se lățească după conținut. */
.stock-main, .car-main { min-width: 0; }

/* În căutarea rapidă câmpurile stau pe un rând cu butonul. */
.quick-search .field { margin-bottom: 0; }

.stock-sort {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"] { flex: 1; }

.video-link small {
	display: block;
	margin-top: 2px;
	font-weight: 500;
	color: #9aa3af;
}

.filters > .btn { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.site-header, .site-footer, .floating-contact, .car-aside, .topbar, .breadcrumbs { display: none !important; }
	body { font-size: 12pt; }
}
