/* ==========================================================================
   Multi Veículos – novo visual
   Camada só de CSS sobre Blocksy + Elementor + WooCommerce.
   Não altera conteúdo, produtos nem links. Para desfazer: apagar este arquivo.
   ========================================================================== */

:root {
	--mv-navy: #0d2349;
	--mv-navy-deep: #0a1c3d;
	--mv-navy-2: #012a6d;
	--mv-blue: #1b5dc6;
	--mv-yellow: #fece01;
	--mv-ink: #101828;
	--mv-text: #344054;
	--mv-muted: #667085;
	--mv-line: #e4e8f0;
	--mv-bg: #f4f6fa;
	--mv-wa: #1fa855;
	--mv-wa-dark: #178a45;
	--mv-radius: 16px;
	--mv-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 24px -14px rgba(16, 24, 40, .18);
	--mv-shadow-hover: 0 2px 4px rgba(16, 24, 40, .06), 0 22px 40px -18px rgba(13, 35, 73, .35);
	--mv-wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");

	/* O tema veio com um verde-oliva de modelo como cor de destaque; troca pelo azul da marca. */
	--theme-palette-color-1: #1b5dc6;
	--theme-palette-color-2: #012a6d;
}

body {
	background-color: var(--mv-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--mv-yellow);
	color: var(--mv-navy);
}

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

#header {
	position: sticky;
	top: var(--admin-bar, 0px);
	z-index: 60;
}

[data-header*="type-1"] {
	--header-height: 84px;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
	--height: 84px;
	background-color: var(--mv-navy);
	background-image: linear-gradient(180deg, #102b5a 0%, var(--mv-navy) 100%);
	border-bottom: 3px solid var(--mv-yellow);
	box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
	--logo-max-height: 44px;
}

[data-header*="type-1"] .ct-header [data-id="menu"] {
	--menu-items-spacing: 44px;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
	--theme-font-size: 13px;
	--theme-link-initial-color: rgba(255, 255, 255, .82);
	--theme-link-hover-color: #ffffff;
	--theme-link-active-color: var(--mv-yellow);
	position: relative;
	letter-spacing: .08em;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a::after {
	content: "";
	position: absolute;
	left: calc(var(--menu-items-spacing, 44px) / 2);
	right: calc(var(--menu-items-spacing, 44px) / 2);
	top: calc(50% + 16px);
	height: 2px;
	border-radius: 2px;
	background: var(--mv-yellow);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s ease;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover::after,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a::after {
	transform: scaleX(1);
}

[data-header*="type-1"] [data-id="search"] {
	--theme-icon-hover-color: var(--mv-yellow);
}

[data-header*="type-1"] [data-id="mobile-menu"] {
	--theme-link-hover-color: var(--mv-yellow);
	--theme-link-active-color: var(--mv-yellow);
}

[data-header*="type-1"] #offcanvas .ct-panel-inner {
	background-color: rgba(10, 28, 61, .98);
}

/* --------------------------------------------------------------------------
   Topo das páginas de listagem (Veículos, categorias, busca, blog)
   -------------------------------------------------------------------------- */

body[data-prefix] .hero-section[data-type="type-2"] {
	--container-padding: 56px 0;
	--theme-heading-color: #ffffff;
	--theme-text-color: rgba(255, 255, 255, .8);
	--theme-link-initial-color: rgba(255, 255, 255, .8);
	--theme-link-hover-color: var(--mv-yellow);
	background-color: var(--mv-navy);
	background-image:
		radial-gradient(900px 300px at 85% 0%, rgba(27, 93, 198, .55), transparent 70%),
		linear-gradient(135deg, var(--mv-navy) 0%, var(--mv-navy-2) 100%);
}

body[data-prefix] .hero-section[data-type="type-2"] .page-title {
	color: #ffffff;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.1;
}

body[data-prefix] .hero-section[data-type="type-2"] .page-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 16px auto 0;
	border-radius: 4px;
	background: var(--mv-yellow);
}

.woo-listing-top {
	align-items: center;
	margin-bottom: 24px;
}

.woo-listing-top .woocommerce-result-count {
	color: var(--mv-muted);
}

.woocommerce-ordering {
	--theme-form-field-height: 44px;
	--theme-form-field-border-radius: 10px;
	--theme-form-field-border-initial-color: var(--mv-line);
	--theme-form-field-border-focus-color: var(--mv-blue);
}

/* --------------------------------------------------------------------------
   Cards de veículo (home, /veiculos, categorias, relacionados)
   -------------------------------------------------------------------------- */

ul[data-products].products {
	--grid-columns-gap: 20px;
	--grid-rows-gap: 24px;
}

[data-products] .product {
	--horizontal-alignment: stretch;
	--text-horizontal-alignment: left;
	overflow: hidden;
	padding-bottom: 16px;
	border: 1px solid var(--mv-line);
	border-radius: var(--mv-radius);
	background: #ffffff;
	box-shadow: var(--mv-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

[data-products] .product:hover {
	transform: translateY(-4px);
	border-color: #c8d4ec;
	box-shadow: var(--mv-shadow-hover);
}

[data-products] .product > *:not(figure) {
	margin-inline: 16px;
}

[data-products] .product figure {
	--product-element-spacing: 14px;
	order: 0;
}

[data-products] .product figure .ct-media-container {
	display: block;
	border-radius: 0;
	background: #e9edf5;
}

[data-products] .product figure img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1 !important; /* o tema grava 3/4 inline; 1/1 deixa a vitrine menos "comprida" */
	object-fit: cover;
}

[data-products] .product .entry-meta {
	--product-element-spacing: 6px;
	--theme-font-size: 11px;
	--theme-font-weight: 700;
	--theme-link-initial-color: var(--mv-blue);
	--theme-link-hover-color: var(--mv-navy-2);
	order: 1;
	letter-spacing: .08em;
	color: var(--mv-blue);
}

[data-products] .product .woocommerce-loop-product__title {
	--theme-font-size: 17px;
	--theme-font-weight: 700;
	--theme-line-height: 1.25;
	--theme-heading-color: var(--mv-ink);
	--theme-link-hover-color: var(--mv-blue);
	--product-element-spacing: 10px;
	order: 2;
}

[data-products] .product .price {
	--theme-font-size: 22px;
	--theme-font-weight: 700;
	--product-element-spacing: 16px;
	order: 3;
	color: var(--mv-navy-2);
	font-family: 'League Spartan', var(--theme-font-family, sans-serif);
	line-height: 1.1;
}

.price .sale-price {
	display: inline-flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}

.price ins {
	order: 1;
	text-decoration: none;
}

.price del {
	order: 2;
	color: #98a2b3;
	font-family: var(--theme-font-family, sans-serif);
	font-size: 13px;
	font-weight: 500;
}

[data-products] .product .ct-woo-card-actions {
	order: 4;
}

[data-products] .ct-woo-card-actions .button {
	--theme-button-min-height: 44px;
	--theme-button-border-radius: 10px;
	--theme-button-font-size: 14px;
	--theme-button-font-weight: 600;
	--theme-button-padding: 5px 12px;
	--theme-button-text-initial-color: #ffffff;
	--theme-button-background-initial-color: var(--mv-blue);
	--theme-button-background-hover-color: var(--mv-navy-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

/* Ícone do WhatsApp nos botões que levam para o WhatsApp
   (o tema já usa ::before no botão para o efeito de hover; por isso ::after com order -1) */
a.button[href*="wa.me"]::after,
a.button[href*="api.whatsapp.com"]::after,
form.cart[action*="wa.me"] .single_add_to_cart_button::after,
form.cart[action*="api.whatsapp.com"] .single_add_to_cart_button::after {
	content: "";
	order: -1;
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	background-color: currentColor;
	-webkit-mask: var(--mv-wa-icon) center / contain no-repeat;
	mask: var(--mv-wa-icon) center / contain no-repeat;
}

/* Selo OFERTA */
.onsale[data-shape] {
	--badge-background-color: var(--mv-yellow);
	--badge-text-color: var(--mv-navy);
	--badge-radius: 999px;
	--badge-top: 12px;
	--badge-left: 12px;
	--badge-height: 26px;
	--badge-padding: 4px 12px;
	--theme-font-size: 11px;
	--theme-font-weight: 800;
	letter-spacing: .08em;
	box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .3);
}

/* --------------------------------------------------------------------------
   Página do veículo
   -------------------------------------------------------------------------- */

.single-product .ct-breadcrumbs {
	--theme-text-color: var(--mv-muted);
	--theme-link-initial-color: var(--mv-muted);
	--theme-link-hover-color: var(--mv-blue);
}

.single-product .woocommerce-product-gallery .flexy-view,
.single-product .woocommerce-product-gallery .flexy-item .ct-media-container {
	border-radius: var(--mv-radius);
}

.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container {
	overflow: hidden;
	border-radius: 10px;
}

.single-product div.product .entry-summary {
	align-self: start;
	padding: clamp(20px, 2.4vw, 32px);
	border: 1px solid var(--mv-line);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--mv-shadow);
}

.single-product .entry-summary .entry-title {
	--theme-font-size: clamp(26px, 2.6vw, 34px);
	--theme-line-height: 1.15;
	--theme-heading-color: var(--mv-ink);
}

.single-product .entry-summary-items > .price {
	--theme-font-size: 34px;
	--product-element-spacing: 22px;
	color: var(--mv-navy-2);
	font-family: 'League Spartan', var(--theme-font-family, sans-serif);
	line-height: 1.1;
}

.single-product .entry-summary .price del {
	font-size: 16px;
}

.single-product .entry-summary .woocommerce-product-details__short-description {
	--product-element-spacing: 24px;
	color: var(--mv-text);
	font-size: 15px;
	line-height: 1.7;
}

.single-product .entry-summary .single_add_to_cart_button {
	--theme-button-min-height: 58px;
	--theme-button-border-radius: 14px;
	--theme-button-font-size: 17px;
	--theme-button-font-weight: 700;
	--theme-button-text-initial-color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.single-product .entry-summary .single_add_to_cart_button:hover {
	transform: translateY(-2px);
}

form.cart[action*="wa.me"] .single_add_to_cart_button,
form.cart[action*="api.whatsapp.com"] .single_add_to_cart_button {
	--theme-button-background-initial-color: var(--mv-wa);
	--theme-button-background-hover-color: var(--mv-wa-dark);
	box-shadow: 0 14px 26px -14px rgba(31, 168, 85, .9);
}

.single-product .entry-summary .product_meta {
	color: var(--mv-muted);
	font-size: 12px;
	letter-spacing: .04em;
}

.single-product .entry-summary .product_meta a {
	color: var(--mv-navy-2);
	font-weight: 600;
}

.single-product .woocommerce-tabs .tabs {
	--theme-font-size: 13px;
	--theme-link-initial-color: var(--mv-muted);
	--theme-link-hover-color: var(--mv-navy-2);
	--theme-link-active-color: var(--mv-navy-2);
}

.single-product .woocommerce-tabs .wc-tab {
	color: var(--mv-text);
	line-height: 1.75;
}

.related .ct-module-title,
.upsells .ct-module-title {
	position: relative;
	margin-bottom: 28px;
	padding-bottom: 14px;
	font-size: 26px;
}

.related .ct-module-title::after,
.upsells .ct-module-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 4px;
	border-radius: 4px;
	background: var(--mv-yellow);
}

/* --------------------------------------------------------------------------
   Home (página Elementor 838) – só acabamento; o conteúdo continua editável
   -------------------------------------------------------------------------- */

/* Foto de fachada: altura mais contida + degradê que emenda na faixa azul */
body .elementor-838 .elementor-element.elementor-element-5dc855d {
	--min-height: clamp(300px, 40vw, 520px);
	position: relative;
}

body .elementor-838 .elementor-element.elementor-element-5dc855d::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 35, 73, .35) 0%, rgba(13, 35, 73, 0) 30%, rgba(1, 42, 109, .2) 60%, #012a6d 100%);
	pointer-events: none;
}

/* Faixa "Melhor qualidade / Estoque completo / Melhor garantia" */
body .elementor-838 .elementor-element.elementor-element-6237813 {
	--padding-top: 56px;
	--padding-bottom: 64px;
	--margin-bottom: 64px;
}

body .elementor-838 .elementor-element-6237813 .elementor-widget-icon-box .elementor-icon-box-wrapper {
	gap: 20px;
}

body .elementor-838 .elementor-element-6237813 .elementor-element.elementor-widget-icon-box.elementor-view-default .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 1px solid rgba(254, 206, 1, .35);
	border-radius: 16px;
	background: rgba(254, 206, 1, .12);
	color: var(--mv-yellow);
	fill: var(--mv-yellow);
	font-size: 26px;
}

body .elementor-838 .elementor-element-6237813 .elementor-icon-box-title {
	font-size: 22px;
}

body .elementor-838 .elementor-element-6237813 .elementor-icon-box-description {
	color: rgba(255, 255, 255, .74);
	line-height: 1.6;
}

/* Contêiner vazio entre a faixa e a vitrine: tira o espaço em branco sobrando */
body .elementor-838 .elementor-element.elementor-element-d7a517e:not(:has(.elementor-widget)) {
	--margin-top: 0px;
	--margin-bottom: 0px;
}

/* Botão "Ver todos os veículos" */
body .elementor-838 .elementor-element.elementor-element-3e2ac0f .elementor-button {
	border-radius: 999px;
	background-color: var(--mv-yellow);
	color: var(--mv-navy);
	fill: var(--mv-navy);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .05em;
	box-shadow: 0 16px 30px -16px rgba(254, 206, 1, .9);
	transition: transform .2s ease, background-color .2s ease;
}

body .elementor-838 .elementor-element.elementor-element-3e2ac0f .elementor-button:hover,
body .elementor-838 .elementor-element.elementor-element-3e2ac0f .elementor-button:focus {
	background-color: #ffdc3a;
	color: var(--mv-navy);
	transform: translateY(-2px);
}

body .elementor-838 .elementor-element.elementor-element-d82a842 .elementor-heading-title {
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	opacity: .55;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

[data-footer*="type-1"] .ct-footer [data-row*="top"] {
	--theme-text-color: rgba(255, 255, 255, .85);
	border-top: 3px solid var(--mv-yellow);
	background-color: var(--mv-navy-deep);
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] > div {
	--container-spacing: 22px;
}

[data-footer*="type-1"] .ct-footer [data-id="menu"] > ul > li > a {
	--theme-link-initial-color: rgba(255, 255, 255, .85);
	--theme-link-hover-color: var(--mv-yellow);
	--theme-link-active-color: var(--mv-yellow);
	letter-spacing: .08em;
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] {
	background-color: var(--mv-navy);
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
	--container-spacing: 64px;
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] .ct-widget {
	--theme-text-color: rgba(255, 255, 255, .76);
	--theme-link-initial-color: rgba(255, 255, 255, .86);
	--theme-link-hover-color: var(--mv-yellow);
	font-size: 14.5px;
	line-height: 1.75;
}

.ct-footer .ct-widget h5.wp-block-heading {
	position: relative;
	margin-bottom: 20px;
	padding-bottom: 12px;
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ct-footer .ct-widget h5.wp-block-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--mv-yellow);
}

.ct-footer .wc-block-product-categories-list,
.ct-footer .wp-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ct-footer .wc-block-product-categories-list-item-count {
	margin-left: 6px;
	opacity: .5;
	font-size: 12px;
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] {
	border-top: 1px solid rgba(255, 255, 255, .08);
	background-color: var(--mv-navy-deep);
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] > div {
	--container-spacing: 18px;
}

[data-footer*="type-1"] [data-id="copyright"] {
	--theme-font-size: 13px;
	--theme-text-color: rgba(255, 255, 255, .6);
	--theme-link-initial-color: rgba(255, 255, 255, .85);
	--theme-link-hover-color: var(--mv-yellow);
}

/* Aviso da loja (barra fixa no rodapé da tela) */
.demo_store {
	--background-color: var(--mv-navy-deep);
	border-top: 2px solid var(--mv-yellow);
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Tablet e celular
   -------------------------------------------------------------------------- */

@media (max-width: 999.98px) {
	[data-header*="type-1"] {
		--header-height: 70px;
	}

	[data-header*="type-1"] .ct-header [data-row*="middle"] {
		--height: 70px;
	}

	ul[data-products].products,
	.related ul[data-products].products,
	.upsells ul[data-products].products {
		--shop-columns: repeat(3, minmax(0, 1fr));
		--grid-columns-gap: 16px;
		--grid-rows-gap: 18px;
	}
}

@media (max-width: 689.98px) {
	body[data-prefix] .hero-section[data-type="type-2"] {
		--container-padding: 40px 0;
	}

	/* Duas colunas no celular: mais carros por tela */
	ul[data-products].products,
	.related ul[data-products].products,
	.upsells ul[data-products].products {
		--shop-columns: repeat(2, minmax(0, 1fr));
		--grid-columns-gap: 12px;
		--grid-rows-gap: 14px;
	}

	[data-products] .product {
		--horizontal-alignment: stretch;
		--text-horizontal-alignment: left;
		padding-bottom: 12px;
		border-radius: 14px;
	}

	[data-products] .product:hover {
		transform: none;
	}

	[data-products] .product > *:not(figure) {
		margin-inline: 12px;
	}

	[data-products] .product .entry-meta {
		--theme-font-size: 10px;
	}

	[data-products] .product .woocommerce-loop-product__title {
		--theme-font-size: 14.5px;
	}

	[data-products] .product .price {
		--theme-font-size: 18px;
		--product-element-spacing: 12px;
	}

	.price del {
		font-size: 12px;
	}

	[data-products] .ct-woo-card-actions .button {
		--theme-button-min-height: 40px;
		--theme-button-font-size: 12.5px;
		--theme-button-padding: 4px 8px;
		gap: 6px;
	}

	.onsale[data-shape] {
		--badge-top: 8px;
		--badge-left: 8px;
		--badge-height: 22px;
		--badge-padding: 3px 9px;
		--theme-font-size: 10px;
	}

	.single-product .entry-summary-items > .price {
		--theme-font-size: 28px;
	}

	.single-product .entry-summary .single_add_to_cart_button {
		--theme-button-min-height: 54px;
	}

	body .elementor-838 .elementor-element.elementor-element-6237813 {
		--padding-top: 40px;
		--padding-bottom: 44px;
		--margin-bottom: 40px;
	}

	[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
		--container-spacing: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-products] .product,
	.single-product .entry-summary .single_add_to_cart_button,
	body .elementor-838 .elementor-element.elementor-element-3e2ac0f .elementor-button {
		transition: none;
	}
}
