/* WP Car Manager - modern single vehicle layout
   Neutral and calm on purpose: it inherits the theme font and uses one accent colour
   (Settings > Listings > Accent colour), so it fits any website. */

#wpcm-m {
	/* --wpcm-accent is printed by the plugin from the settings */
	--wm-accent: var(--wpcm-accent, #1f2933);
	--wm-ink: #1f2933;
	--wm-text: #3e4752;
	--wm-mute: #6b7480;
	--wm-line: #e5e8ec;
	--wm-soft: #f5f6f8;
	--wm-paper: #ffffff;
	--wm-ok: #2f7d4f;
	--wm-sold: #9b2c2c;
	--wm-radius: var(--wpcm-radius, 10px);
	--wm-sticky-top: var(--wpcm-sticky-top, 24px);

	box-sizing: border-box;
	color: var(--wm-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto 56px;
	max-width: 1180px;
}

#wpcm-m *,
#wpcm-m *::before,
#wpcm-m *::after {
	box-sizing: inherit;
}

/* neutralize theme defaults inside the layout (e.g. Divi styles #left-area ul, h2, p) */
#wpcm-m ul,
#wpcm-m ol,
#wpcm-m dl,
#wpcm-m dd,
#wpcm-m figure,
#wpcm-m p {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* some themes (Divi) number or bullet every list item with high-specificity rules */
#wpcm-m ul,
#wpcm-m ol,
#wpcm-m li {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

#wpcm-m ul,
#wpcm-m ol {
	padding-bottom: 0 !important;
}

#wpcm-m .wpcm-m__thumbs {
	padding: 3px 3px 8px !important;
}

#wpcm-m li::marker {
	content: none;
}

#wpcm-m dt {
	font-weight: 400;
	margin: 0;
}

#wpcm-m h1,
#wpcm-m h2 {
	padding: 0;
	text-transform: none;
}

/* the layout defines its own look: no shadows, gradients, borders or underlines from the theme */
#wpcm-m button,
#wpcm-m a,
#wpcm-m img,
#wpcm-m figure,
#wpcm-m li,
#wpcm-m dl,
#wpcm-m dl div {
	background-image: none;
	box-shadow: none;
	text-shadow: none;
}

#wpcm-m button {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	letter-spacing: normal;
	min-width: 0;
	text-transform: none;
}

#wpcm-m a {
	text-decoration: none;
}

#wpcm-m img {
	border: 0;
	border-radius: 0;
	height: auto;
	max-width: 100%;
	padding: 0;
	vertical-align: middle;
}

#wpcm-m h1,
#wpcm-m h2,
#wpcm-m p {
	padding-bottom: 0;
}

#wpcm-m a:focus-visible,
#wpcm-m button:focus-visible,
#wpcm-m [tabindex]:focus-visible {
	outline: 2px solid var(--wm-accent);
	outline-offset: 3px;
}

.wpcm-m__icon {
	display: inline-block;
	fill: currentColor;
	flex: none;
	height: 1.15em;
	width: 1.15em;
}

/* ---------- head ---------- */
#wpcm-m .wpcm-m__head {
	margin: 0 0 24px;
}

#wpcm-m .wpcm-m__back {
	align-items: center;
	color: var(--wm-mute);
	display: inline-flex;
	font-size: 14px;
	gap: 2px;
	margin: 0 0 12px -4px;
	text-decoration: none;
}

#wpcm-m .wpcm-m__back:hover {
	color: var(--wm-ink);
}

#wpcm-m .wpcm-m__title {
	color: var(--wm-ink);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0 0 6px;
	max-width: 40ch;
	text-wrap: balance;
}

#wpcm-m .wpcm-m__sub {
	color: var(--wm-mute);
	font-size: 15px;
}

/* ---------- layout: gallery and content on the left, price box on the right ---------- */
#wpcm-m .wpcm-m__layout {
	column-gap: 40px;
	display: grid;
	grid-template-areas:
		"gallery side"
		"body    side";
	grid-template-columns: minmax(0, 1fr) 340px;
	grid-template-rows: auto 1fr;
}

#wpcm-m .wpcm-m__gallery {
	grid-area: gallery;
	min-width: 0;
}

#wpcm-m .wpcm-m__side {
	grid-area: side;
	min-width: 0;
}

#wpcm-m .wpcm-m__body {
	grid-area: body;
	min-width: 0;
}

/* gallery */
#wpcm-m .wpcm-m__stage {
	aspect-ratio: 3 / 2;
	background: var(--wm-soft);
	border-radius: var(--wm-radius);
	overflow: hidden;
	position: relative;
}

#wpcm-m .wpcm-m__stage--empty {
	align-items: center;
	color: var(--wm-mute);
	display: flex;
	justify-content: center;
}

#wpcm-m .wpcm-m__track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

#wpcm-m .wpcm-m__track::-webkit-scrollbar {
	display: none;
}

#wpcm-m .wpcm-m__slide {
	flex: 0 0 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

/* a soft, blurred copy of the photo fills the frame: photos are never cropped */
#wpcm-m .wpcm-m__slide::before {
	background: var(--wpcm-bg) center / cover no-repeat;
	content: "";
	filter: blur(24px) saturate(0.9);
	inset: -40px;
	opacity: 0.45;
	position: absolute;
}

#wpcm-m .wpcm-m__stage .wpcm-m__img {
	height: 100%;
	object-fit: contain;
	position: relative;
	width: 100%;
}

#wpcm-m .wpcm-m__stage .wpcm-m__nav,
#wpcm-m .wpcm-m__lb .wpcm-m__nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(31, 41, 51, 0.18);
	color: var(--wm-ink);
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	margin-top: -20px;
	padding: 0;
	position: absolute;
	top: 50%;
	transition: background-color 0.15s, opacity 0.15s;
	width: 40px;
	z-index: 2;
}

#wpcm-m .wpcm-m__nav:hover {
	background: #fff;
}

#wpcm-m .wpcm-m__nav[disabled] {
	opacity: 0;
	pointer-events: none;
}

#wpcm-m .wpcm-m__nav--prev {
	left: 12px;
}

#wpcm-m .wpcm-m__nav--next {
	right: 12px;
}

#wpcm-m .wpcm-m__bar {
	align-items: center;
	bottom: 12px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	left: 12px;
	pointer-events: none;
	position: absolute;
	right: 12px;
	z-index: 2;
}

#wpcm-m .wpcm-m__bar .wpcm-m__count,
#wpcm-m .wpcm-m__bar .wpcm-m__zoom {
	background: rgba(255, 255, 255, 0.9);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(31, 41, 51, 0.18);
	color: var(--wm-ink);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
	line-height: 1;
	padding: 7px 12px;
}

#wpcm-m .wpcm-m__zoom {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	gap: 6px;
	pointer-events: auto;
}

#wpcm-m .wpcm-m__zoom:hover {
	background: #fff;
}

#wpcm-m .wpcm-m__stamp {
	background: var(--wm-sold);
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	left: 12px;
	line-height: 1;
	padding: 8px 14px;
	pointer-events: none;
	position: absolute;
	top: 12px;
	z-index: 2;
}

#wpcm-m .wpcm-m__thumbs {
	display: flex;
	gap: 8px;
	margin: 12px 0 0;
	overflow-x: auto;
	padding: 2px 2px 6px;
	scroll-behavior: smooth;
	scrollbar-color: #cfd4da transparent;
	scrollbar-width: thin;
}

#wpcm-m .wpcm-m__thumbs li {
	flex: none;
}

#wpcm-m .wpcm-m__thumbs button {
	background: none;
	border: 2px solid transparent;
	border-radius: calc(var(--wm-radius) * 0.6);
	cursor: pointer;
	display: block;
	height: 64px;
	opacity: 0.7;
	overflow: hidden;
	padding: 0;
	transition: opacity 0.15s, border-color 0.15s;
	width: 86px;
}

#wpcm-m .wpcm-m__thumbs button:hover {
	opacity: 1;
}

#wpcm-m .wpcm-m__thumbs button[aria-current="true"] {
	border-color: var(--wm-accent);
	opacity: 1;
}

#wpcm-m .wpcm-m__thumbs button img {
	border-radius: 4px;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* ---------- summary card ---------- */
/* the price box follows the scroll until the end of the listing */
#wpcm-m.is-sticky .wpcm-m__plate {
	position: -webkit-sticky;
	position: sticky;
	top: var(--wm-sticky-top);
}

.admin-bar #wpcm-m.is-sticky .wpcm-m__plate {
	top: calc(var(--wm-sticky-top) + 32px);
}

#wpcm-m .wpcm-m__plate-inner {
	background: var(--wm-paper);
	border: 1px solid var(--wm-line);
	border-radius: var(--wm-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -18px rgba(16, 24, 40, 0.18);
	padding: 24px;
}

#wpcm-m .wpcm-m__status {
	align-items: center;
	color: var(--wm-mute);
	display: flex;
	font-size: 14px;
	gap: 8px;
	margin: 0 0 4px;
}

#wpcm-m .wpcm-m__dot {
	background: var(--wm-ok);
	border-radius: 50%;
	height: 8px;
	width: 8px;
}

#wpcm-m.is-sold .wpcm-m__dot {
	background: var(--wm-sold);
}

#wpcm-m .wpcm-m__price {
	color: var(--wm-ink);
	font-size: 34px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 20px;
}

#wpcm-m .wpcm-m__price--ask {
	font-size: 24px;
}

#wpcm-m.is-sold .wpcm-m__price {
	color: var(--wm-mute);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

#wpcm-m .wpcm-m__stats {
	border-top: 1px solid var(--wm-line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 20px;
}

#wpcm-m .wpcm-m__stats div {
	border-bottom: 1px solid var(--wm-line);
	padding: 12px 0;
}

#wpcm-m .wpcm-m__stats div:nth-child(even) {
	padding-left: 16px;
}

#wpcm-m .wpcm-m__stats dt {
	color: var(--wm-mute);
	font-size: 13px;
	line-height: 1.3;
}

#wpcm-m .wpcm-m__stats dd {
	color: var(--wm-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

#wpcm-m .wpcm-m__actions {
	display: grid;
	gap: 10px;
}

#wpcm-m .wpcm-m__btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: calc(var(--wm-radius) * 0.8);
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 10px 16px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
}

#wpcm-m .wpcm-m__btn small {
	display: block;
	font-size: 13px;
	font-weight: 400;
	opacity: 0.8;
}

/* primary button: accent colour */
#wpcm-m .wpcm-m__btn--dark {
	background: var(--wm-accent);
	color: #fff;
}

#wpcm-m .wpcm-m__btn--dark:hover {
	color: #fff;
	filter: brightness(0.88);
}

/* secondary buttons: quiet outline */
#wpcm-m .wpcm-m__btn--wa,
#wpcm-m .wpcm-m__btn--line {
	background: var(--wm-paper);
	border-color: var(--wm-line);
	color: var(--wm-ink);
}

#wpcm-m .wpcm-m__btn--wa .wpcm-m__icon {
	color: #25a35a;
}

#wpcm-m .wpcm-m__btn--wa:hover,
#wpcm-m .wpcm-m__btn--line:hover {
	background: var(--wm-soft);
	border-color: #cfd4da;
	color: var(--wm-ink);
}

#wpcm-m .wpcm-m__admin-hint {
	background: #fff8e6;
	border: 1px dashed #e0b84c;
	border-radius: 8px;
	color: var(--wm-text);
	font-size: 13px;
	line-height: 1.45;
	padding: 10px 12px;
}

#wpcm-m .wpcm-m__share {
	align-items: center;
	background: none;
	border: 0;
	color: var(--wm-mute);
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	gap: 6px;
	margin: 16px 0 0;
	padding: 4px 0;
}

#wpcm-m .wpcm-m__share:hover {
	color: var(--wm-ink);
}

/* ---------- sections ---------- */
#wpcm-m .wpcm-m__section {
	margin: 48px 0 0;
}

#wpcm-m .wpcm-m__h2 {
	color: var(--wm-ink);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0 0 16px;
}

/* technical sheet */
#wpcm-m .wpcm-m__sheet {
	border-top: 1px solid var(--wm-line);
	column-gap: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#wpcm-m .wpcm-m__sheet div {
	border-bottom: 1px solid var(--wm-line);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 11px 0;
}

#wpcm-m .wpcm-m__sheet dt {
	color: var(--wm-mute);
	flex: 0 1 auto;
	font-size: 15px;
}

#wpcm-m .wpcm-m__sheet dd {
	color: var(--wm-ink);
	font-size: 15px;
	font-weight: 500;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: right;
}

#wpcm-m .wpcm-m__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#wpcm-m .wpcm-m__chips li {
	background: var(--wm-soft);
	border-radius: 999px;
	color: var(--wm-ink);
	font-size: 14px;
	line-height: 1.3;
	padding: 7px 14px !important; /* beats the list reset above */
}

#wpcm-m .wpcm-m__text {
	color: var(--wm-text);
	font-size: 16px;
	line-height: 1.7;
	max-width: 70ch;
	position: relative;
}

#wpcm-m .wpcm-m__text p {
	margin: 0 0 1em;
}

/* content written in the editor: keep its lists, give headings and lines a calm look */
#wpcm-m .wpcm-m__text ul {
	list-style: disc !important;
	margin: 0 0 1em !important;
	padding-left: 1.3em !important;
}

#wpcm-m .wpcm-m__text ol {
	list-style: decimal !important;
	margin: 0 0 1em !important;
	padding-left: 1.5em !important;
}

#wpcm-m .wpcm-m__text li {
	list-style: inherit !important;
	margin: 0 0 0.3em !important;
}

#wpcm-m .wpcm-m__text li::marker {
	content: normal;
}

#wpcm-m .wpcm-m__text h2,
#wpcm-m .wpcm-m__text h3,
#wpcm-m .wpcm-m__text h4,
#wpcm-m .wpcm-m__text h5 {
	color: var(--wm-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	margin: 1.6em 0 0.5em;
	padding: 0;
}

#wpcm-m .wpcm-m__text hr {
	background: none;
	border: 0;
	border-top: 1px solid var(--wm-line);
	height: 0;
	margin: 1.6em 0;
}

#wpcm-m .wpcm-m__text a {
	color: var(--wm-accent);
	text-decoration: underline;
}

/* fades out on any background colour */
#wpcm-m [data-collapsible].is-collapsed .wpcm-m__text {
	-webkit-mask-image: linear-gradient(#000 55%, transparent);
	mask-image: linear-gradient(#000 55%, transparent);
	max-height: 16em;
	overflow: hidden;
}

#wpcm-m .wpcm-m__more {
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	color: var(--wm-ink);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	margin: 12px 0 0;
	padding: 2px 0;
}

#wpcm-m .wpcm-m__more:hover {
	color: var(--wm-accent);
}

#wpcm-m .wpcm-m__footnote {
	color: var(--wm-mute);
	font-size: 13px;
	margin: 32px 0 0;
	max-width: 70ch;
}

/* ---------- mobile dock ---------- */
#wpcm-m .wpcm-m__dock {
	display: none;
}

/* ---------- full screen viewer ---------- */
#wpcm-m .wpcm-m__lb {
	background: #111417;
	border: 0;
	color: #fff;
	height: 100%;
	inset: 0;
	margin: 0;
	max-height: none;
	max-width: none;
	overflow: hidden;
	padding: 0;
	position: fixed;
	width: 100%;
}

.wpcm-m__lb::backdrop {
	background: #111417;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-track::-webkit-scrollbar {
	display: none;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-slide {
	align-items: center;
	display: flex;
	flex: 0 0 100%;
	height: 100%;
	justify-content: center;
	margin: 0;
	padding: 56px 16px;
	scroll-snap-align: center;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-slide img {
	max-height: 100%;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-count {
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	left: 20px;
	margin: 0;
	opacity: 0.85;
	position: absolute;
	top: 20px;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-close {
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 10px;
	width: 44px;
}

#wpcm-m .wpcm-m__lb .wpcm-m__lb-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

#wpcm-m .wpcm-m__lb .wpcm-m__icon {
	height: 22px;
	width: 22px;
}

#wpcm-m .wpcm-m__lb .wpcm-m__nav {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
	color: #fff;
	height: 48px;
	margin-top: -24px;
	width: 48px;
}

#wpcm-m .wpcm-m__lb .wpcm-m__nav:hover {
	background: rgba(255, 255, 255, 0.22);
}

#wpcm-m .wpcm-m__lb .wpcm-m__nav--prev {
	left: 16px;
}

#wpcm-m .wpcm-m__lb .wpcm-m__nav--next {
	right: 16px;
}

#wpcm-m .wpcm-m__lb button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

html.wpcm-m-lock {
	overflow: hidden;
}

/* ---------- latest arrivals carousel ---------- */
#wpcm-m .wpcm-m__related {
	border-top: 1px solid var(--wm-line);
	margin: 64px 0 0;
	padding: 40px 0 0;
}

#wpcm-m .wpcm-m__related-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	margin: 0 0 18px;
}

#wpcm-m .wpcm-m__related-head .wpcm-m__h2 {
	margin: 0;
}

#wpcm-m .wpcm-m__related-tools {
	align-items: center;
	display: flex;
	gap: 8px;
}

#wpcm-m .wpcm-m__related-all {
	color: var(--wm-ink);
	font-size: 15px;
	font-weight: 600;
	margin-right: 8px;
}

#wpcm-m .wpcm-m__related-all:hover {
	color: var(--wm-accent);
}

#wpcm-m .wpcm-m__rnav {
	align-items: center;
	background: var(--wm-paper);
	border: 1px solid var(--wm-line);
	border-radius: 50%;
	color: var(--wm-ink);
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
	width: 40px;
}

#wpcm-m .wpcm-m__rnav:hover {
	background: var(--wm-soft);
	border-color: #cfd4da;
}

#wpcm-m .wpcm-m__rnav[disabled] {
	cursor: default;
	opacity: 0.35;
}

#wpcm-m .wpcm-m__cards {
	display: grid;
	gap: 20px;
	grid-auto-columns: calc((100% - 3 * 20px) / 4);
	grid-auto-flow: column;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 2px 2px 10px !important;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: #cfd4da transparent;
	scrollbar-width: thin;
}

#wpcm-m .wpcm-m__card {
	min-width: 0;
	scroll-snap-align: start;
}

#wpcm-m .wpcm-m__card a {
	color: var(--wm-ink);
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
}

#wpcm-m .wpcm-m__card-img {
	aspect-ratio: 4 / 3;
	background: var(--wm-soft);
	border-radius: var(--wm-radius);
	display: block;
	margin: 0 0 8px;
	overflow: hidden;
}

#wpcm-m .wpcm-m__card-img img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

#wpcm-m .wpcm-m__card a:hover .wpcm-m__card-img img {
	transform: scale(1.03);
}

#wpcm-m .wpcm-m__card-title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	overflow: hidden;
}

#wpcm-m .wpcm-m__card a:hover .wpcm-m__card-title {
	color: var(--wm-accent);
}

#wpcm-m .wpcm-m__card-meta {
	color: var(--wm-mute);
	font-size: 13px;
	line-height: 1.4;
}

#wpcm-m .wpcm-m__card-price {
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	margin-top: auto;
	padding-top: 4px;
}

/* ---------- sticky needs a scrolling ancestor without overflow:hidden (Divi sets it on #page-container) ---------- */
body.wpcm-sticky.single-wpcm_vehicle #page-container,
body.wpcm-sticky.single-wpcm_vehicle #et-main-area,
body.wpcm-sticky.single-wpcm_vehicle #main-content,
body.wpcm-sticky.single-wpcm_vehicle #left-area,
body.wpcm-sticky.single-wpcm_vehicle .et_pb_post {
	overflow: visible;
	overflow-x: clip;
}

/* ---------- full width on Divi (hides the theme sidebar and duplicate title) ---------- */
body.wpcm-full-width.single-wpcm_vehicle #sidebar,
body.wpcm-full-width.single-wpcm_vehicle .et_post_meta_wrapper {
	display: none;
}

body.wpcm-full-width.single-wpcm_vehicle #left-area {
	float: none;
	padding-right: 0;
	width: 100%;
}

body.wpcm-full-width.single-wpcm_vehicle #main-content .container::before {
	display: none;
}

body.wpcm-full-width.single-wpcm_vehicle #main-content .container {
	padding-top: 32px;
}

body.wpcm-full-width.single-wpcm_vehicle .et_pb_post {
	margin-bottom: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	#wpcm-m .wpcm-m__cards {
		grid-auto-columns: calc((100% - 2 * 20px) / 3);
	}
}

@media (max-width: 980px) {
	#wpcm-m .wpcm-m__layout {
		grid-template-areas:
			"gallery"
			"side"
			"body";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	#wpcm-m .wpcm-m__side {
		margin-top: 24px;
	}

	#wpcm-m.is-sticky .wpcm-m__plate {
		position: static;
	}

	#wpcm-m .wpcm-m__cards {
		grid-auto-columns: calc((100% - 20px) / 2.3);
	}
}

@media (max-width: 640px) {
	#wpcm-m {
		margin-bottom: 96px;
	}

	#wpcm-m .wpcm-m__stage {
		border-radius: 0;
		margin: 0 -16px;
	}

	#wpcm-m .wpcm-m__stage .wpcm-m__nav {
		display: none;
	}

	#wpcm-m .wpcm-m__thumbs button {
		height: 52px;
		width: 70px;
	}

	#wpcm-m .wpcm-m__plate-inner {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 8px 0 0;
	}

	#wpcm-m .wpcm-m__sheet {
		grid-template-columns: 1fr;
	}

	#wpcm-m .wpcm-m__section {
		margin-top: 36px;
	}

	#wpcm-m .wpcm-m__cards {
		gap: 14px;
		grid-auto-columns: 72%;
	}

	#wpcm-m .wpcm-m__rnav {
		display: none;
	}

	#wpcm-m .wpcm-m__dock {
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid var(--wm-line);
		bottom: 0;
		display: grid;
		gap: 10px;
		grid-auto-columns: 1fr;
		grid-auto-flow: column;
		left: 0;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 9990;
	}

	#wpcm-m .wpcm-m__dock .wpcm-m__btn {
		min-height: 46px;
	}

	#wpcm-m .wpcm-m__lb .wpcm-m__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	#wpcm-m .wpcm-m__track,
	#wpcm-m .wpcm-m__thumbs,
	#wpcm-m .wpcm-m__cards {
		scroll-behavior: auto;
	}

	#wpcm-m * {
		transition: none !important;
	}
}

@media print {
	#wpcm-m .wpcm-m__nav,
	#wpcm-m .wpcm-m__bar,
	#wpcm-m .wpcm-m__dock,
	#wpcm-m .wpcm-m__share,
	#wpcm-m .wpcm-m__thumbs {
		display: none;
	}
}
