/**
 * Offerte, homepage componibile e landing di marca e modello.
 *
 * La cornice è quella del resto della vetrina (tela bianca, fili sottili,
 * angoli a 12px, testo in inchiostro): è lei che tiene in ordine la pagina.
 * Dentro la cornice le offerte possono alzare la voce, come fanno le
 * locandine dei concessionari: colore pieno, prezzo enorme, l'auto in primo
 * piano. Il colore delle azioni è quello del concessionario.
 */

.dcrm-hpg,
.dcrm-lp,
.dcrm-of-page,
.dcrm-of-section,
.dcrm-block {
	--of-ink: var(--dcrm-n-ink, #37352f);
	--of-muted: var(--dcrm-n-steel, #6e6c66);
	--of-line: var(--dcrm-n-hairline, #e5e3df);
	--of-line-strong: var(--dcrm-n-hairline-strong, #c8c4be);
	--of-surface: var(--dcrm-n-surface, #f6f5f4);
	--of-action: var(--dcrm-n-action, var(--dcrm-color-accent, var(--dcrm-accent, #c8102e)));
	--of-brand: var(--dcrm-n-brand, var(--dcrm-color-primary, var(--dcrm-primary, #0b2545)));
	--of-font: var(--dcrm-n-font, var(--dcrm-font, Inter, ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif));
	--of-ease: cubic-bezier(.2, .8, .2, 1);
	--of-gap: 16px;

	font-family: var(--of-font);
	color: var(--of-ink);
	-webkit-font-smoothing: antialiased;
}

.dcrm-hpg *,
.dcrm-lp *,
.dcrm-of-page *,
.dcrm-of-section * {
	box-sizing: border-box;
}

/* Le pagine generate dal plugin stanno in una colonna larga e centrata. */
.dcrm-shell > .dcrm-lp,
.dcrm-shell > .dcrm-of-page {
	width: min(1240px, 100% - 40px);
	margin-inline: auto;
	padding-block: 28px 72px;
}

.dcrm-hpg > * + * {
	margin-top: clamp(40px, 6vw, 72px);
}

.dcrm-of-section + .dcrm-of-section,
.dcrm-of-page > .dcrm-of-section,
.dcrm-of-page > .dcrm-of-legal + .dcrm-of-section {
	margin-top: clamp(48px, 6vw, 80px);
}

/* ==========================================================================
   Pulsanti
   ========================================================================== */

.dcrm-of-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid var(--of-action);
	border-radius: 8px;
	background: var(--of-action);
	color: #fff;
	font: 600 15px/1.2 var(--of-font);
	letter-spacing: -0.005em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .15s var(--of-ease), transform .15s var(--of-ease);
}

.dcrm-of-btn:hover {
	filter: brightness(.92);
	color: #fff;
}

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

.dcrm-of-btn.is-ghost {
	border-color: var(--of-line-strong);
	background: transparent;
	color: var(--of-ink);
}

.dcrm-of-btn.is-ghost:hover {
	filter: none;
	background: rgba(55, 53, 47, .06);
	color: var(--of-ink);
}

.dcrm-of-btn:focus-visible,
.dcrm-of-nav__btn:focus-visible,
.dcrm-of-card:focus-visible,
.dcrm-of-more:focus-visible {
	outline: 2px solid var(--dcrm-n-link, #0075de);
	outline-offset: 3px;
}

/* ==========================================================================
   Testata di sezione
   ========================================================================== */

.dcrm-of-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.dcrm-of-head__title {
	margin: 0;
	font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--of-font);
	letter-spacing: -0.025em;
	color: var(--of-ink);
	text-wrap: balance;
}

.dcrm-of-head__sub {
	margin: 6px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--of-muted);
}

.dcrm-of-head__side {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
}

.dcrm-of-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--of-ink);
	text-decoration: none;
	white-space: nowrap;
}

.dcrm-of-more:hover {
	color: var(--of-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dcrm-of-arrow {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	transition: transform .2s var(--of-ease);
}

.dcrm-of-more:hover .dcrm-of-arrow {
	transform: translateX(3px);
}

.dcrm-of-nav {
	display: inline-flex;
	gap: 8px;
}

.dcrm-of-nav__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--of-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--of-ink);
	cursor: pointer;
	transition: background-color .15s var(--of-ease), opacity .15s var(--of-ease);
}

.dcrm-of-nav__btn svg {
	width: 20px;
	height: 20px;
}

.dcrm-of-nav__btn:hover {
	background: var(--of-surface);
}

.dcrm-of-nav__btn:disabled {
	opacity: .35;
	cursor: default;
}

/* ==========================================================================
   Carosello
   ========================================================================== */

.dcrm-of-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--of-gap)) / 1.15);
	gap: var(--of-gap);
	margin: 0;
	padding: 0 0 4px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
}

.dcrm-of-track::-webkit-scrollbar {
	display: none;
}

.dcrm-of-track__item {
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

@media (min-width: 600px) {
	.dcrm-of-track {
		grid-auto-columns: calc((100% - 2 * var(--of-gap)) / 2.2);
	}
}

@media (min-width: 900px) {
	.dcrm-of-track {
		grid-auto-columns: calc((100% - 2 * var(--of-gap)) / 3);
	}
}

@media (min-width: 1200px) {
	.dcrm-of-track {
		grid-auto-columns: calc((100% - 3 * var(--of-gap)) / 4);
	}
}

/* ==========================================================================
   Card dell'offerta
   ========================================================================== */

.dcrm-of-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .25s var(--of-ease), transform .25s var(--of-ease);
}

.dcrm-of-card:hover {
	box-shadow: 0 14px 34px -12px rgba(15, 15, 15, .35);
	transform: translateY(-2px);
}

/* Locandina del grafico: com'è, senza scritte sopra. */
.dcrm-of-card.is-poster {
	background: var(--of-surface);
}

.dcrm-of-card.is-poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Card composta: colore pieno, prezzo in alto, auto al centro. */
.dcrm-of-card.is-composed {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	gap: 10px;
	padding: 22px 20px 0;
	background: var(--of-bg, #14284b);
	color: var(--of-fg, #fff);
	text-align: center;
}

.dcrm-of-card__price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.dcrm-of-lead {
	font-size: 15px;
	font-weight: 600;
	opacity: .9;
}

.dcrm-of-amount {
	font-size: clamp(34px, 3.4vw, 46px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
}

.dcrm-of-amount sup {
	margin-left: 1px;
	font-size: .5em;
	vertical-align: .65em;
}

.dcrm-of-amount.is-saving {
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.dcrm-of-note {
	font-size: 13px;
	opacity: .85;
}

/* Senza foto: il prezzo o il vantaggio occupa il centro della card. */
.dcrm-of-card.is-composed.no-car {
	grid-template-rows: minmax(0, 1fr) auto auto;
}

.dcrm-of-card.no-car .dcrm-of-card__price {
	justify-content: center;
}

.dcrm-of-card.no-car .dcrm-of-amount.is-saving {
	font-size: clamp(30px, 3vw, 40px);
}

.dcrm-of-card__car {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.dcrm-of-card__car img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.dcrm-of-card.has-cutout .dcrm-of-card__car img {
	object-fit: contain;
	border-radius: 0;
	filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .28));
}

.dcrm-of-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.dcrm-of-card__title {
	margin: 0;
	color: inherit;
	font: 700 22px/1.15 var(--of-font);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.dcrm-of-card__terms {
	font-size: 14px;
	line-height: 1.35;
	opacity: .9;
	font-variant-numeric: tabular-nums;
}

.dcrm-of-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 4px;
}

.dcrm-of-tags span {
	padding: 2px 8px;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}

.dcrm-of-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 6px -20px 0;
	padding: 13px 20px 15px;
	border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
}

.dcrm-of-card:hover .dcrm-of-arrow {
	transform: translateX(3px);
}

/* ==========================================================================
   Slider della homepage
   ========================================================================== */

.dcrm-of-hero {
	--of-ink: var(--dcrm-n-ink, #37352f);
	--of-action: var(--dcrm-n-action, var(--dcrm-color-accent, var(--dcrm-accent, #c8102e)));
	--of-font: var(--dcrm-n-font, var(--dcrm-font, Inter, ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif));
	--of-ease: cubic-bezier(.2, .8, .2, 1);

	position: relative;
	font-family: var(--of-font);
}

.dcrm-of-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: 16px;
}

.dcrm-of-hero__track::-webkit-scrollbar {
	display: none;
}

.dcrm-of-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
	overflow: hidden;
}

/* Banner del grafico con la barra del titolo sotto. */
.dcrm-of-slide__media {
	display: block;
	background: #111;
}

.dcrm-of-slide__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

.dcrm-of-slide__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px clamp(18px, 3vw, 32px);
	background: #15140f;
	color: #fff;
}

.dcrm-of-slide__bar-title {
	margin: 0;
	color: #fff;
	font: 700 clamp(17px, 1.8vw, 22px)/1.2 var(--of-font);
	letter-spacing: -0.015em;
}

.dcrm-of-slide__bar p {
	margin: 3px 0 0;
	font-size: 14px;
	opacity: .78;
}

/* Slide composta: il prezzo è il titolo. */
.dcrm-of-slide.is-composed {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	min-height: clamp(420px, 44vw, 600px);
	padding: clamp(28px, 5vw, 72px);
	background: var(--of-bg, #14284b);
	color: var(--of-fg, #fff);
}

.dcrm-of-slide__text {
	position: relative;
	z-index: 1;
	max-width: 620px;
}

.dcrm-of-slide__title {
	margin: 0;
	color: inherit;
	font: 800 clamp(38px, 5.6vw, 80px)/.98 var(--of-font);
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.dcrm-of-slide__sub {
	margin: 14px 0 0;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.45;
	opacity: .88;
}

.dcrm-of-slide__price {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: clamp(22px, 3vw, 40px);
}

.dcrm-of-slide__price .dcrm-of-lead {
	font-size: clamp(18px, 1.8vw, 26px);
	font-weight: 500;
}

.dcrm-of-slide__price .dcrm-of-amount {
	font-size: clamp(54px, 8vw, 116px);
	letter-spacing: -0.045em;
}

.dcrm-of-slide__price .dcrm-of-amount.is-saving {
	font-size: clamp(32px, 4vw, 56px);
}

.dcrm-of-slide__price .dcrm-of-note {
	margin-top: 4px;
	font-size: 13px;
}

.dcrm-of-slide__terms {
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 600;
	opacity: .92;
	font-variant-numeric: tabular-nums;
}

.dcrm-of-slide__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin: clamp(22px, 3vw, 34px) 0 0;
}

/* Sul colore pieno il pulsante si inverte: bianco su colore. */
.dcrm-of-slide.is-composed .dcrm-of-btn {
	border-color: var(--of-fg, #fff);
	background: var(--of-fg, #fff);
	color: var(--of-bg, #14284b);
}

.dcrm-of-slide.is-composed .dcrm-of-btn:hover {
	color: var(--of-bg, #14284b);
}

.dcrm-of-slide__ends {
	font-size: 14px;
	font-weight: 600;
	opacity: .85;
}

.dcrm-of-slide__car {
	position: relative;
	margin-top: 24px;
}

.dcrm-of-slide__car img {
	display: block;
	width: 100%;
	max-height: 340px;
	object-fit: cover;
	border-radius: 12px;
}

.dcrm-of-slide.has-cutout .dcrm-of-slide__car img {
	object-fit: contain;
	border-radius: 0;
	filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35));
}

@media (min-width: 900px) {
	.dcrm-of-slide.is-composed {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 32px;
	}

	.dcrm-of-slide__car {
		margin-top: 0;
	}

	.dcrm-of-slide__car img {
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	.dcrm-of-slide.has-cutout .dcrm-of-slide__car img {
		aspect-ratio: auto;
		width: 112%;
		max-width: none;
	}
}

.dcrm-of-hero__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 16px;
}

.dcrm-of-hero .dcrm-of-nav__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--dcrm-n-hairline-strong, #c8c4be);
	border-radius: 50%;
	background: #fff;
	color: var(--of-ink);
	cursor: pointer;
}

.dcrm-of-hero .dcrm-of-nav__btn svg {
	width: 20px;
	height: 20px;
}

.dcrm-of-dots {
	display: inline-flex;
	gap: 8px;
}

.dcrm-of-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--dcrm-n-hairline-strong, #c8c4be);
	cursor: pointer;
	transition: width .3s var(--of-ease), background-color .3s var(--of-ease);
}

.dcrm-of-dots button.is-on {
	width: 26px;
	background: var(--of-ink);
}

/* ==========================================================================
   Griglia di auto e ricerca della homepage
   ========================================================================== */

.dcrm-of-section .dcrm-sr {
	margin: 0;
}

.dcrm-sr .dcrm-sr__grid.dcrm-of-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--of-gap, 16px);
}

/* Sul telefono le griglie di auto scorrono di lato: otto card una sotto
   l'altra sono tre metri di pagina prima della sezione successiva. */
@media (max-width: 559px) {
	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		margin-inline: -20px;
		padding: 2px 20px 8px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: 20px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid::-webkit-scrollbar {
		display: none;
	}

	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid > * {
		scroll-snap-align: start;
	}
}

@media (min-width: 560px) {
	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.dcrm-sr .dcrm-sr__grid.dcrm-of-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.dcrm-hpg-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: end;
	padding: clamp(18px, 2.4vw, 28px);
	border: 1px solid var(--of-line);
	border-radius: 12px;
	background: #fff;
}

.dcrm-hpg-search__title {
	grid-column: 1 / -1;
	margin: 0 0 2px;
	font: 700 22px/1.2 var(--of-font);
	letter-spacing: -0.02em;
	color: var(--of-ink);
}

.dcrm-hpg-search__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.dcrm-hpg-search__field > span {
	font-size: 13px;
	font-weight: 500;
	color: var(--of-muted);
}

.dcrm-hpg-search__field select,
.dcrm-hpg-search__field input {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background-color: #fff;
	color: var(--of-ink);
	font: inherit;
}

.dcrm-hpg-search__field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6c66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
}

.dcrm-hpg-search__field select:focus,
.dcrm-hpg-search__field input:focus {
	border-color: var(--dcrm-n-link, #0075de);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(0, 117, 222, .35);
}

@media (min-width: 760px) {
	.dcrm-hpg-search {
		grid-template-columns: 1fr 1fr 1.4fr auto;
	}
}

/* Carrozzerie e marche riusano le griglie della home: qui solo il ritmo. */
.dcrm-hpg__bodies .dcrm-home,
.dcrm-hpg__makes .dcrm-home {
	margin: 0;
}

.dcrm-hpg__fallback .dcrm-home__banner {
	margin-bottom: 0;
}

/* ==========================================================================
   Pagina dell'offerta e archivio
   ========================================================================== */

.dcrm-of-expired {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fef3c7;
	color: #6b4e00;
	font-size: 15px;
}

.dcrm-of-page__banner img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	border-radius: 16px;
}

.dcrm-of-page__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
	margin-top: 28px;
}

.dcrm-of-page__banner + .dcrm-of-page__top {
	margin-top: 32px;
}

.dcrm-of-page__poster img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

.dcrm-of-page__poster .dcrm-of-card:hover {
	transform: none;
	box-shadow: none;
}

@media (min-width: 900px) {
	.dcrm-of-page__top.has-poster,
	.dcrm-of-page__top:has(.dcrm-of-page__poster) {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

.dcrm-of-page__title {
	margin: 0;
	color: var(--of-ink);
	font: 800 clamp(32px, 4.4vw, 56px)/1.02 var(--of-font);
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.dcrm-of-page__sub {
	margin: 12px 0 0;
	max-width: 60ch;
	font-size: 18px;
	line-height: 1.5;
	color: var(--of-muted);
}

.dcrm-of-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1px;
	margin: 28px 0 0;
	overflow: hidden;
	border: 1px solid var(--of-line);
	border-radius: 12px;
	background: var(--of-line);
}

.dcrm-of-facts > div {
	padding: 14px 16px;
	background: #fff;
}

.dcrm-of-facts dt {
	font-size: 13px;
	font-weight: 500;
	color: var(--of-muted);
}

.dcrm-of-facts dd {
	margin: 4px 0 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--of-ink);
	font-variant-numeric: tabular-nums;
}

.dcrm-of-facts dd.is-price {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.dcrm-of-page__note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--of-muted);
}

.dcrm-of-page__info .dcrm-of-tags {
	justify-content: flex-start;
	margin-top: 16px;
}

.dcrm-of-page__info .dcrm-of-tags span {
	border: 0;
	background: var(--dcrm-n-tag-gray-bg, #f0eeec);
	color: var(--dcrm-n-tag-gray, #5d5b54);
	font-weight: 500;
}

.dcrm-of-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}

.dcrm-of-form {
	max-width: 820px;
	margin-inline: auto;
	scroll-margin-top: 100px;
}

#dcrm-of-auto {
	scroll-margin-top: 100px;
}

.dcrm-of-legal {
	max-width: 90ch;
	margin: 32px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--of-muted);
}

.dcrm-of-archive__head {
	margin-bottom: 24px;
}

.dcrm-of-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.dcrm-of-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--of-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--of-ink);
	text-decoration: none;
}

.dcrm-of-tabs a span {
	color: var(--of-muted);
	font-variant-numeric: tabular-nums;
}

.dcrm-of-tabs a:hover {
	background: var(--of-surface);
}

.dcrm-of-tabs a.is-on {
	border-color: var(--of-ink);
	background: var(--of-ink);
	color: #fff;
}

.dcrm-of-tabs a.is-on span {
	color: rgba(255, 255, 255, .75);
}

.dcrm-of-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: var(--of-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.dcrm-of-cards > li {
	margin: 0;
}

.dcrm-of-empty {
	padding: 40px 24px;
	border: 1px dashed var(--of-line-strong);
	border-radius: 12px;
	text-align: center;
}

.dcrm-of-empty p {
	margin: 0 0 16px;
	font-size: 16px;
	color: var(--of-muted);
}

/* ==========================================================================
   Landing di marca e modello

   Una pagina modello da casa costruttrice, con i numeri veri dello stock:
   il nome enorme, l'auto in grande che poggia sul bordo del palco, i dati
   che contano (quante, da quanto, di che anni) al posto degli slogan.
   ========================================================================== */

.dcrm-lp {
	--lp-stage: #f3f1ee;
	--lp-radius: 20px;
}

.dcrm-lp__stage {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding: clamp(24px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(28px, 5vw, 64px);
	border-radius: var(--lp-radius);
	background: var(--lp-stage);
}

.dcrm-lp__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(20px, 3vw, 36px);
	font-size: 14px;
	color: var(--of-muted);
}

.dcrm-lp__crumbs a {
	color: inherit;
	text-decoration: none;
}

.dcrm-lp__crumbs a:hover {
	color: var(--of-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dcrm-lp__crumbs [aria-current] {
	color: var(--of-ink);
	font-weight: 500;
}

.dcrm-lp__badge {
	display: inline-grid;
	place-items: center;
	height: 60px;
	min-width: 60px;
	margin-bottom: 20px;
	padding: 10px 14px;
	border: 1px solid var(--of-line);
	border-radius: 14px;
	background: #fff;
}

.dcrm-lp__badge img {
	display: block;
	max-width: 120px;
	max-height: 38px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.dcrm-lp__title {
	margin: 0;
	color: var(--of-ink);
	font-family: var(--of-font);
	font-size: clamp(40px, 5.6vw, 76px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.dcrm-lp__name {
	display: block;
	font-size: clamp(52px, 8.4vw, 124px);
	line-height: .9;
	letter-spacing: -0.05em;
}

/* Nomi lunghi («Toyota Yaris Cross», «Mercedes-Benz Classe A»): un gradino
   sotto, così stanno su due righe invece di tre. */
.dcrm-lp__name.is-long {
	font-size: clamp(42px, 5.6vw, 84px);
	line-height: .95;
	letter-spacing: -0.045em;
}

.dcrm-lp__kind {
	display: block;
	margin-top: clamp(8px, 1vw, 14px);
	font-size: clamp(22px, 2.6vw, 36px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--of-muted);
}

.dcrm-lp__lead {
	max-width: 52ch;
	margin: clamp(18px, 2.4vw, 28px) 0 0;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.55;
	color: var(--dcrm-n-slate, #5d5b54);
}

.dcrm-lp__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 0;
	margin: clamp(22px, 3vw, 36px) 0 0;
}

.dcrm-lp__facts > div {
	padding: 0 28px;
	border-left: 1px solid var(--of-line-strong);
}

.dcrm-lp__facts > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.dcrm-lp__facts dt {
	font-size: 13px;
	font-weight: 500;
	color: var(--of-muted);
}

.dcrm-lp__facts dd {
	margin: 4px 0 0;
	white-space: nowrap;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--of-ink);
	font-variant-numeric: tabular-nums;
}

.dcrm-lp__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin: clamp(24px, 3vw, 36px) 0 0;
}

.dcrm-lp__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--of-ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.dcrm-lp__phone:hover {
	color: var(--of-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dcrm-lp__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

/* L'auto in grande, appoggiata al bordo del palco. */
.dcrm-lp__visual {
	position: relative;
	margin: 0;
}

.dcrm-lp__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 34px 60px -34px rgba(15, 15, 15, .45);
}

/* Vista 3D: l'auto girevole sul palco, la foto sotto finché il 3D non è pronto. */
.dcrm-lp__visual.is-3d {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dcrm-3d__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	touch-action: pan-y;
}

.dcrm-3d__poster,
.dcrm-3d__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.dcrm-lp__visual.is-3d .dcrm-3d__poster {
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 34px 60px -34px rgba(15, 15, 15, .45);
	transition: opacity .5s var(--of-ease);
}

.dcrm-3d__canvas {
	opacity: 0;
	cursor: grab;
	transition: opacity .6s var(--of-ease);
}

.dcrm-3d__canvas:active {
	cursor: grabbing;
}

.is-ready .dcrm-3d__canvas {
	opacity: 1;
}

.is-ready .dcrm-3d__poster {
	opacity: 0;
	pointer-events: none;
}

.dcrm-3d__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
	margin-top: 12px;
	font-size: 13px;
	color: var(--of-muted);
}

.dcrm-3d__hint {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: opacity .4s var(--of-ease);
}

.dcrm-3d__hint svg {
	width: 22px;
	height: 22px;
}

.is-touched .dcrm-3d__hint,
.is-failed .dcrm-3d__hint {
	opacity: 0;
}

.is-failed .dcrm-3d__bar {
	display: none;
}

.dcrm-3d__colors {
	display: inline-flex;
	gap: 8px;
}

.dcrm-3d__colors button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.dcrm-3d__colors button span {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(15, 15, 15, .18);
}

.dcrm-3d__colors button[aria-pressed="true"] {
	border-color: var(--of-ink);
}

.dcrm-3d__note {
	font-size: 12px;
}

/* Senza foto il logo della marca fa da protagonista, su un disco bianco. */
.dcrm-lp__visual.is-logo {
	display: grid;
	place-items: center;
	width: min(100%, 420px);
	aspect-ratio: 1;
	margin-inline: auto;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(15, 15, 15, .25), 0 0 0 1px var(--of-line);
}

.dcrm-lp__visual.is-logo img {
	width: 56%;
	height: 56%;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 0;
	box-shadow: none;
}

/* Copertina caricata: a tutto palco, testo bianco su un velo a sinistra. */
.dcrm-lp__stage.is-cover {
	min-height: clamp(420px, 46vw, 640px);
	background: #111 var(--lp-cover) center / cover no-repeat;
	overflow: hidden;
}

.dcrm-lp__stage.is-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 10, 10, .8) 0%, rgba(10, 10, 10, .45) 50%, rgba(10, 10, 10, 0) 85%);
}

.dcrm-lp__stage.is-cover .dcrm-lp__copy {
	position: relative;
}

.dcrm-lp__stage.is-cover .dcrm-lp__crumbs,
.dcrm-lp__stage.is-cover .dcrm-lp__crumbs [aria-current],
.dcrm-lp__stage.is-cover .dcrm-lp__title,
.dcrm-lp__stage.is-cover .dcrm-lp__kind,
.dcrm-lp__stage.is-cover .dcrm-lp__lead,
.dcrm-lp__stage.is-cover .dcrm-lp__facts dt,
.dcrm-lp__stage.is-cover .dcrm-lp__facts dd,
.dcrm-lp__stage.is-cover .dcrm-lp__phone {
	color: #fff;
}

.dcrm-lp__stage.is-cover .dcrm-lp__kind,
.dcrm-lp__stage.is-cover .dcrm-lp__lead,
.dcrm-lp__stage.is-cover .dcrm-lp__facts dt {
	opacity: .85;
}

.dcrm-lp__stage.is-cover .dcrm-lp__facts > div {
	border-left-color: rgba(255, 255, 255, .35);
}

.dcrm-lp__stage.is-cover .dcrm-of-btn.is-ghost {
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
}

.dcrm-lp__stage.is-cover .dcrm-of-btn.is-ghost:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

@media (min-width: 900px) {
	.dcrm-lp__stage {
		grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
		gap: clamp(32px, 4vw, 64px);
	}

	.dcrm-lp__stage.is-cover,
	.dcrm-lp__stage.is-none {
		grid-template-columns: minmax(0, 1fr);
	}

	.dcrm-lp__stage.is-cover .dcrm-lp__copy,
	.dcrm-lp__stage.is-none .dcrm-lp__copy {
		max-width: 720px;
	}

	/* La foto scende oltre il bordo del palco: l'auto «esce» verso la pagina. */
	.dcrm-lp__stage.is-photo {
		padding-bottom: clamp(28px, 4vw, 56px);
	}

	.dcrm-lp__stage.is-photo .dcrm-lp__visual {
		align-self: end;
		margin-bottom: calc(-1 * clamp(56px, 6vw, 96px));
	}

	.dcrm-lp__stage.is-photo + .dcrm-lp__bar {
		margin-top: clamp(72px, 8vw, 120px);
	}
}

/* Barra che resta in vista: il nome, le scorciatoie, la richiesta. */
.dcrm-lp__bar {
	position: sticky;
	top: var(--dcrm-lp-sticky-top, 12px);
	z-index: 30;
	margin-top: 20px;
}

/* Con la barra di WordPress in cima (chi è collegato) si scende sotto di lei. */
.admin-bar .dcrm-lp__bar {
	top: calc(var(--dcrm-lp-sticky-top, 12px) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .dcrm-lp__bar {
		top: calc(var(--dcrm-lp-sticky-top, 12px) + 46px);
	}
}

.dcrm-lp__bar-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 10px 10px 18px;
	border: 1px solid var(--of-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 10px 30px -18px rgba(15, 15, 15, .25);
}

.dcrm-lp__bar-name {
	flex: 0 0 auto;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--of-ink);
}

.dcrm-lp__chips {
	display: flex;
	flex: 1 1 auto;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
	list-style: none;
}

.dcrm-lp__chips::-webkit-scrollbar {
	display: none;
}

.dcrm-lp__chips li {
	flex: 0 0 auto;
	margin: 0;
}

.dcrm-lp__chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--of-surface);
	font-size: 14px;
	font-weight: 500;
	color: var(--of-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s var(--of-ease);
}

.dcrm-lp__chips a:hover {
	background: #ebe8e4;
	color: var(--of-ink);
}

.dcrm-lp__chips a span {
	color: var(--of-muted);
	font-variant-numeric: tabular-nums;
}

.dcrm-lp__bar .dcrm-of-btn {
	flex: 0 0 auto;
	min-height: 40px;
	margin-left: auto;
	padding: 9px 16px;
	font-size: 14px;
}

.dcrm-lp > .dcrm-of-section {
	margin-top: clamp(48px, 6vw, 88px);
	scroll-margin-top: 96px;
}

/* Modelli: righe da scegliere, con quante auto e da quanto. */
.dcrm-lp__model-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dcrm-lp__model-list li {
	margin: 0;
}

.dcrm-lp__model {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	padding: 12px 18px 12px 12px;
	border: 1px solid var(--of-line);
	border-radius: 14px;
	background: #fff;
	color: var(--of-ink);
	text-decoration: none;
	transition: box-shadow .2s var(--of-ease), border-color .2s var(--of-ease);
}

.dcrm-lp__model:hover {
	border-color: var(--of-line-strong);
	box-shadow: 0 6px 18px -8px rgba(15, 15, 15, .2);
	color: var(--of-ink);
}

.dcrm-lp__model-art {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 84px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 10px;
	background: var(--of-surface);
}

.dcrm-lp__model-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dcrm-lp__model-art img.is-logo {
	width: 56%;
	height: 56%;
	object-fit: contain;
	opacity: .9;
}

.dcrm-lp__model-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dcrm-lp__model-body strong {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.dcrm-lp__model-body span {
	white-space: nowrap;
	font-size: 14px;
	color: var(--of-muted);
	font-variant-numeric: tabular-nums;
}

.dcrm-lp__model .dcrm-lp__icon {
	color: var(--of-muted);
	transition: transform .2s var(--of-ease), color .2s var(--of-ease);
}

.dcrm-lp__model:hover .dcrm-lp__icon {
	color: var(--of-ink);
	transform: translateX(3px);
}

.dcrm-lp__credits {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--of-muted);
}

.dcrm-lp__credits a {
	color: inherit;
}

/* Chiusura: i contatti veri accanto al modulo. */
.dcrm-lp__contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	padding: clamp(24px, 4vw, 56px);
	border-radius: var(--lp-radius);
	background: var(--lp-stage);
}

.dcrm-lp__contact-title {
	margin: 0;
	color: var(--of-ink);
	font: 800 clamp(30px, 3.6vw, 48px)/1.02 var(--of-font);
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.dcrm-lp__contact-text > p {
	max-width: 46ch;
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--dcrm-n-slate, #5d5b54);
}

.dcrm-lp__contacts {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.dcrm-lp__contacts li {
	margin: 0;
	border-top: 1px solid var(--of-line-strong);
}

.dcrm-lp__contacts li:last-child {
	border-bottom: 1px solid var(--of-line-strong);
}

.dcrm-lp__contacts a,
.dcrm-lp__contact-static {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 2px;
	font-size: 16px;
	font-weight: 600;
	color: var(--of-ink);
	text-decoration: none;
}

.dcrm-lp__contact-static {
	font-weight: 500;
	color: var(--dcrm-n-slate, #5d5b54);
}

.dcrm-lp__contacts a:hover {
	color: var(--of-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dcrm-lp__contact-form .dcrm-form {
	margin: 0;
	border: 1px solid var(--of-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 40px -28px rgba(15, 15, 15, .3);
}

@media (min-width: 900px) {
	.dcrm-lp__contact {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
	}
}

@media (max-width: 599px) {
	.dcrm-lp__bar-name {
		display: none;
	}

	.dcrm-lp__bar-inner {
		padding-left: 10px;
	}

	/* Tre numeri su tre colonne, senza andare a capo a metà. */
	.dcrm-lp__facts {
		display: grid;
		grid-template-columns: repeat(3, auto);
		justify-content: start;
	}

	.dcrm-lp__facts > div {
		padding: 0 14px;
	}

	.dcrm-lp__facts dd {
		font-size: 21px;
	}
}

/* ==========================================================================
   Telefono e movimento
   ========================================================================== */

@media (max-width: 599px) {
	.dcrm-of-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.dcrm-of-head__side {
		width: 100%;
		justify-content: space-between;
	}

	.dcrm-of-slide__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.dcrm-of-slide__media img {
		aspect-ratio: 4 / 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dcrm-of-card,
	.dcrm-of-btn,
	.dcrm-of-arrow,
	.dcrm-of-dots button {
		transition: none;
	}

	.dcrm-of-card:hover {
		transform: none;
	}
}
