/* ==========================================================================
   Vermillion Auto Parts — estilos del tema
   Motivo de marca: la diagonal de la "M" del logo, usada como corte de la
   foto del vehículo en el hero. Rojo para acciones; verde solo en WhatsApp.
   ========================================================================== */

/* Archivo (variable: peso 400–800, ancho 62,5–125 %). SIL Open Font License 1.1. Los mismos archivos que servía
   Google Fonts, alojados aquí. "latin" cubre el español; "latin-ext" solo se descarga si hace falta. */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 62.5% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 62.5% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--v-red: #D91F26;
	--v-red-dark: #B5161C;
	--v-black: #0D0D0F;
	--v-white: #FFFFFF;
	--v-gray: #E8E8EA;
	--v-gray-50: #F3F3F4;
	--v-gray-300: #C9C9CE;
	--v-gray-500: #8A8A92;
	--v-gray-600: #5C5C64;
	--v-gray-800: #2A2A2F;
	--v-ink: #0D0D0F;
	--v-wa: #25D366;
	--v-wa-dark: #1EBE5A;
	--v-wa-text: #0B7A3E;

	--v-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--v-wide: 114%;
	--v-gutter: 16px;
	--v-max: 1280px;
	--v-header-h: 64px;
	--v-radius: 2px;
	--v-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 600px) {
	:root { --v-gutter: 24px; }
}

@media (min-width: 900px) {
	:root { --v-gutter: 40px; --v-header-h: 76px; }
}

/* Base
   ========================================================================== */

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

[hidden] { display: none !important; }

html {
	-webkit-text-size-adjust: 100%;
}

/* Compensa el header fijo al saltar a anclas o revelar campos del contenido.
   Va en los elementos de <main> y no como scroll-padding del documento: con
   scroll-padding, el navegador consideraba "tapados" los campos del propio
   header (sticky) y desplazaba la página al enfocar o escribir en ellos. */
main :is(section, [id], input, select, textarea) {
	scroll-margin-top: calc(var(--v-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--v-white);
	color: var(--v-ink);
	font-family: var(--v-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

button, input, select { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--v-red);
	outline-offset: 2px;
}

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

.v-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--v-black);
	color: var(--v-white);
	font-weight: 600;
}

.v-skip:focus { top: 12px; }

.v-wrap {
	width: 100%;
	max-width: calc(var(--v-max) + 2 * var(--v-gutter));
	margin-inline: auto;
	padding-inline: var(--v-gutter);
}

.v-icon { width: 20px; height: 20px; flex: none; }

/* Botones y enlaces
   ========================================================================== */

.v-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--v-radius);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}

.v-btn--primary { background: var(--v-red); color: var(--v-white); }
.v-btn--primary:hover { background: var(--v-red-dark); }

.v-btn--wa { background: var(--v-wa); color: var(--v-black); }
.v-btn--wa:hover { background: var(--v-wa-dark); }

.v-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.v-btn--block { width: 100%; }

.v-textlink {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--v-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.v-textlink:hover { color: var(--v-red); }
.v-textlink--muted { text-decoration-color: currentColor; opacity: .75; }

/* Header
   ========================================================================== */

.v-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--v-white);
	border-bottom: 1px solid var(--v-gray);
}

.admin-bar .v-header { top: 46px; }

@media (min-width: 783px) {
	.admin-bar .v-header { top: 32px; }
}

/* Hasta 600 px la barra de administración de WordPress no es fija: se desplaza
   con la página, así que el header vuelve a anclarse arriba del todo. */
@media (max-width: 600px) {
	.admin-bar .v-header { top: 0; }
}

.v-header__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: var(--v-header-h);
}

.v-logo { display: block; flex: none; margin-right: auto; }
.v-logo__img { width: auto; height: 18px; }
.v-logo__text { font-weight: 800; font-stretch: var(--v-wide); font-size: 20px; }

.v-nav,
.v-header .v-search { display: none; }

/* El WhatsApp del header no se muestra: en móvil lo cubre la burbuja flotante
   (y los botones de consulta del contenido); en escritorio ya estaba oculto. */
.v-header__wa { display: none; min-height: 44px; width: 44px; padding: 0; border-radius: 50%; }
.v-header__wa-text { display: none; }

.v-header__toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.v-header__toggle .v-icon { width: 24px; height: 24px; }
.v-header__toggle-close { display: none; }
.v-header__toggle[aria-expanded="true"] .v-header__toggle-open { display: none; }
.v-header__toggle[aria-expanded="true"] .v-header__toggle-close { display: block; }

@media (min-width: 900px) {
	.v-header__bar { gap: 32px; }
	.v-logo { margin-right: 0; }
	.v-logo__img { height: 27px; } /* +12,5 % en escritorio; ancho proporcional */

	.v-nav { display: block; }
	.v-nav__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
	.v-nav__list a {
		font-weight: 600;
		text-decoration: none;
		padding-block: 8px;
	}
	.v-nav__list a:hover,
	.v-nav__list a[aria-current="page"],
	.v-nav__list .current-menu-item > a {
		text-decoration: underline;
		text-decoration-color: var(--v-red);
		text-decoration-thickness: 2px;
		text-underline-offset: 10px;
	}

	/* Logo → navegación → espacio flexible → buscador. El buscador ocupa hasta
	   480 px y se reduce en anchos intermedios sin bajar de 260 px. */
	.v-header .v-search { display: flex; flex: 0 1 480px; min-width: 260px; margin-left: auto; }
	/* En escritorio no hay botón de WhatsApp en el header (queda el flotante). */
	.v-header__wa { display: none; }
	.v-header__toggle { display: none; }
}

/* Con un tercer enlace ("Consejos y guías", solo si hay artículos) los textos no
   se parten y, entre 900 y 1019 px, se ajustan los espacios para que quepa. */
@media (min-width: 900px) {
	.v-nav__list a { white-space: nowrap; }
}

@media (min-width: 900px) and (max-width: 1019px) {
	.v-header__bar:has(.v-nav__list > li:nth-child(3)) { gap: 24px; }
	.v-header__bar:has(.v-nav__list > li:nth-child(3)) .v-nav__list { gap: 20px; }
	.v-header__bar:has(.v-nav__list > li:nth-child(3)) .v-search { min-width: 220px; }
}

/* Búsqueda */

.v-search { position: relative; display: flex; }

.v-search__input {
	width: 100%;
	height: 44px;
	padding: 0 48px 0 14px;
	border: 1px solid transparent;
	border-radius: var(--v-radius);
	background: var(--v-gray-50);
	font-size: 16px;
}

.v-search__input::placeholder { color: var(--v-gray-600); }
.v-search__input:focus { outline: none; border-color: var(--v-ink); background: var(--v-white); }

.v-search__submit {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.v-search--page { max-width: 480px; margin-block: 24px; }

/* Menú móvil */

.v-drawer { border-top: 1px solid var(--v-gray); padding-block: 16px 24px; }
/* El buscador del menú móvil no hereda el ocultamiento del buscador de la barra. */
.v-drawer .v-search { display: flex; }
.v-drawer__list { margin: 16px 0 20px; padding: 0; list-style: none; }
.v-drawer__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--v-gray);
	font-size: 22px;
	font-weight: 700;
	font-stretch: var(--v-wide);
	text-decoration: none;
}

/* Hero con buscador
   ========================================================================== */

.v-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--v-black);
	color: var(--v-white);
}

.v-hero__stage {
	position: relative;
	aspect-ratio: 16 / 11;
	max-height: 62vh;
	width: 100%;
}

.v-hero__photo {
	position: absolute;
	inset: 0;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 100% calc(84% - 10px), 0 calc(100% - 10px));
	background: var(--v-gray-800);
}

.v-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(13, 13, 15, .55) 0%, rgba(13, 13, 15, 0) 40%);
	pointer-events: none;
}

.v-hero__edge {
	position: absolute;
	inset: 0;
	background: var(--v-red);
	clip-path: polygon(0 calc(100% - 5px), 100% calc(84% - 5px), 100% 84%, 0 100%);
}

.v-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity .7s ease, transform 1.4s var(--v-ease);
}

.v-hero__img.is-active { opacity: 1; transform: none; }

/* Navegación del slider: nombre del vehículo + flechas, sobre la foto. */
.v-hero__nav {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.v-hero__nav > * { pointer-events: auto; }

.v-hero__caption {
	position: absolute;
	top: 14px;
	right: var(--v-gutter);
	padding: 5px 10px;
	background: rgba(13, 13, 15, .6);
	color: var(--v-white);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.v-hero__caption:hover { text-decoration: underline; }

.v-hero__arrow {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	background: rgba(13, 13, 15, .55);
	box-shadow: 0 2px 12px rgba(13, 13, 15, .35);
	color: var(--v-white);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.v-hero__arrow:hover { border-color: var(--v-white); background: rgba(13, 13, 15, .82); }
.v-hero__arrow .v-icon { width: 18px; height: 18px; }
.v-hero__arrow--prev { left: 10px; }
.v-hero__arrow--prev .v-icon { transform: scaleX(-1); }
.v-hero__arrow--next { right: 10px; }

/* Con un vehículo elegido en el buscador, el slider se detiene y sin flechas. */
.v-hero__stage.is-locked .v-hero__arrow { display: none; }

.v-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block: 16px 40px;
}

.v-hero__intro { display: flex; flex-direction: column; gap: 14px; }

.v-hero__title {
	max-width: 11em;
	font-size: clamp(2rem, 7.4vw, 2.75rem);
	font-weight: 800;
	font-stretch: var(--v-wide);
	line-height: 1.02;
	letter-spacing: -.015em;
	text-wrap: balance;
}

.v-hero__lead {
	max-width: 32em;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.5;
	text-wrap: pretty;
}

@media (min-width: 900px) {
	.v-hero {
		display: flex;
		min-height: clamp(600px, calc(100vh - var(--v-header-h)), 820px);
	}

	.v-hero__stage {
		position: absolute;
		inset: 0 0 0 32%;
		width: auto;
		max-height: none;
		aspect-ratio: auto;
		z-index: -1;
	}

	/* Corte diagonal inspirado en la "M" del logo. */
	.v-hero__photo {
		clip-path: polygon(calc(24% + 10px) 0, 100% 0, 100% 100%, 10px 100%);
	}

	.v-hero__photo::after {
		background: linear-gradient(0deg, rgba(13, 13, 15, .94) 0%, rgba(13, 13, 15, .45) 30%, rgba(13, 13, 15, 0) 52%);
	}

	.v-hero__edge {
		clip-path: polygon(24% 0, calc(24% + 6px) 0, 6px 100%, 0 100%);
	}

	/* Escritorio: nombre arriba a la derecha; flechas al centro vertical de la
	   foto, una a cada lado. La izquierda sigue el corte diagonal (a media
	   altura, el borde de la foto está en el 12% del escenario). */
	.v-hero__caption { top: 28px; }

	.v-hero__arrow { width: 48px; height: 48px; margin-top: -24px; }
	.v-hero__arrow .v-icon { width: 20px; height: 20px; }
	.v-hero__arrow--prev { left: calc(12% + 28px); }
	.v-hero__arrow--next { right: var(--v-gutter); }

	/* El contenido del hero cubre la foto: deja pasar los clics hacia las flechas. */
	.v-hero__content { pointer-events: none; }
	.v-hero__content > * { pointer-events: auto; }
	/* El bloque título + subtítulo ocupa todo el ancho: solo sus textos reciben clics. */
	.v-hero__content > .v-hero__intro { pointer-events: none; }
	.v-hero__intro > * { pointer-events: auto; }

	.v-hero__content {
		justify-content: space-between;
		gap: 48px;
		padding-block: clamp(56px, 8vh, 96px) 48px;
	}

	.v-hero__title {
		max-width: 10em;
		font-size: clamp(2.5rem, 3.6vw, 3.75rem);
	}

	.v-hero__lead { max-width: 26em; }
}

/* Buscador
   ========================================================================== */

.v-finder__tabs { display: flex; gap: 24px; margin-bottom: 16px; }

.v-finder__tab {
	padding: 6px 0 4px;
	border: 0;
	/* Indicador del tab activo: borde inferior (no sombra interior, que con
	   zoom o anchos fraccionarios se filtraba como un trazo vertical). */
	border-bottom: 2px solid transparent;
	background: none;
	color: rgba(255, 255, 255, .62);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.v-finder__tab[aria-selected="true"] { color: var(--v-white); border-bottom-color: var(--v-red); }

.v-finder__form,
.v-finder__ref {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: end;
}

.v-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.v-field__label { font-size: 13px; font-weight: 600; }

.v-field__control {
	width: 100%;
	height: 56px;
	padding: 0 40px 0 16px;
	border: 1px solid;
	border-radius: var(--v-radius);
	font-size: 16px;
	appearance: none;
	-webkit-appearance: none;
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
	text-overflow: ellipsis;
}

input.v-field__control { padding-right: 16px; }

.v-field__control:disabled { opacity: .45; cursor: not-allowed; }

.v-finder__submit { min-height: 56px; }

/* En la portada los contenedores de campos y acciones no alteran la rejilla. */
.v-finder--hero .v-finder__fields,
.v-finder--hero .v-finder__actions { display: contents; }

/* Variante oscura (portada) */

.v-finder--hero {
	padding: 18px 16px 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(13, 13, 15, .88);
}

.v-finder--hero .v-field__label { color: rgba(255, 255, 255, .72); }

.v-finder--hero .v-field__control {
	border-color: #34343B;
	background-color: #1A1A1E;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	color: var(--v-white);
}

.v-finder--hero input.v-field__control { background-image: none; }
.v-finder--hero .v-field__control::placeholder { color: rgba(255, 255, 255, .45); }
.v-finder--hero .v-field__control:hover:not(:disabled) { border-color: #55555E; }

/* Variante clara (barra del catálogo) */

.v-finder--bar .v-field__label { color: var(--v-gray-600); }

.v-finder--bar .v-field__control {
	height: 48px;
	border-color: var(--v-gray-300);
	background-color: var(--v-white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.v-finder--bar .v-field__control:hover:not(:disabled) { border-color: var(--v-gray-600); }
.v-finder--bar .v-finder__submit { min-height: 48px; }

@media (min-width: 600px) {
	.v-finder__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v-finder__submit { grid-column: 1 / -1; }
	.v-finder__ref { grid-template-columns: minmax(0, 1fr) auto; }
	.v-finder__ref .v-finder__submit { grid-column: auto; }
}

/* Sin paso Motor, Categoría ocupa la fila completa en la rejilla de dos columnas. */
@media (max-width: 999px) {
	.v-finder__form [data-engine-field][hidden] + .v-field { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
	/* Barra del catálogo: etiquetas más compactas. */
	.v-finder--bar .v-field__label { font-size: 12px; }
}

@media (min-width: 1000px) {
	.v-finder__form {
		display: flex;
		flex-wrap: wrap;
	}
	.v-finder__form .v-field { flex: 1 1 160px; }
	.v-finder__form .v-finder__submit { flex: none; padding-inline: 32px; }

	.v-finder--hero { max-width: 1120px; padding: 20px 24px 24px; }
}

/* Secciones
   ========================================================================== */

.v-section { padding-block: clamp(56px, 7vw, 104px); }
.v-section--tint { background: var(--v-gray); }

.v-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 28px;
}

.v-section__title {
	font-size: clamp(1.625rem, 3vw, 2.5rem);
	font-weight: 800;
	font-stretch: var(--v-wide);
	line-height: 1.05;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.v-section__aside { color: var(--v-gray-600); }

/* Pestañas de marcas */

/* Botón propio para limpiar búsquedas (sustituye la X nativa del navegador). */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
input[type="search"]::-ms-clear { display: none; }

.v-clear {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--v-gray-800);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%);
	transition: opacity .15s ease, visibility .15s ease, background-color .15s ease, color .15s ease;
}

.v-clear.is-visible { opacity: 1; visibility: visible; }
.v-clear .v-icon { width: 16px; height: 16px; }
.v-clear:hover,
.v-clear:focus-visible { background: var(--v-gray); color: var(--v-ink); }
.v-clear:focus-visible { outline: 2px solid var(--v-gray-600); outline-offset: 0; }

/* Posición en cada buscador: la lupa conserva su lugar. */
.v-search.has-clear .v-search__input { padding-right: 82px; }
/* Vacío (sin ×): más espacio para que el placeholder se lea completo. */
.v-search.has-clear .v-search__input:placeholder-shown { padding-right: 46px; }
.v-search .v-clear { right: 44px; }

.v-vsearch.has-clear .v-vsearch__input { padding-right: 44px; }
.v-vsearch .v-clear { right: 5px; }

/* Pestaña "Por referencia" del hero (fondo oscuro). */
.v-finder__ref .v-field { position: relative; }
.v-finder__ref .has-clear .v-field__control { padding-right: 52px; }
.v-finder__ref .v-clear {
	top: auto;
	right: 11px;
	bottom: 11px;
	transform: none;
	color: rgba(255, 255, 255, .78);
}
.v-finder__ref .v-clear:hover,
.v-finder__ref .v-clear:focus-visible { background: rgba(255, 255, 255, .14); color: var(--v-white); }
.v-finder__ref .v-clear:focus-visible { outline-color: rgba(255, 255, 255, .6); }

/* Desplegable de sugerencias (buscador principal y de categorías): se superpone
   al contenido, no lo desplaza. */
.v-suggest {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 60;
	min-width: 260px;
	max-height: 360px;
	margin: 0;
	padding: 4px 0;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	box-shadow: 0 10px 28px rgba(13, 13, 15, .12);
	text-align: left;
}

.v-suggest a {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 8px 14px;
	color: var(--v-ink);
	text-decoration: none;
}

.v-suggest .is-active a { background: var(--v-gray-50); }
.v-suggest__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.v-suggest__meta { color: var(--v-gray-600); font-size: 13px; font-variant-numeric: tabular-nums; }
.v-suggest__empty { padding: 10px 14px; color: var(--v-gray-600); font-size: 14px; }

/* Buscador de categorías: mismo aspecto que el de vehículos, sobre fondo gris. */
.v-catsearch { margin-bottom: 16px; }

/* Buscador de vehículos (marca o modelo) de la portada. */
.v-vsearch {
	position: relative;
	width: 100%;
	margin-bottom: 16px;
}

@media (min-width: 600px) {
	.v-vsearch { max-width: 380px; }
}

.v-vsearch__input {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C64' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center / 17px;
	font-size: 16px;
}

.v-vsearch__input::placeholder { color: var(--v-gray-600); }
.v-vsearch__input:hover { border-color: var(--v-gray-600); }
.v-vsearch__input:focus { outline: none; border-color: var(--v-ink); }

.v-vsearch__list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 320px;
	margin: 0;
	padding: 4px 0;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	box-shadow: 0 10px 28px rgba(13, 13, 15, .12);
}

.v-vsearch__list a {
	display: block;
	padding: 9px 14px;
	text-decoration: none;
}

.v-vsearch__list .is-active a { background: var(--v-gray-50); }
.v-vsearch__brand { color: var(--v-gray-600); font-size: 14px; }
.v-vsearch__model { font-weight: 600; }
.v-vsearch__empty { padding: 10px 14px; color: var(--v-gray-600); font-size: 14px; }
.v-vsearch__see { color: var(--v-red); font-size: 14px; font-weight: 600; }
.v-vsearch__item--brand + li:not(.v-vsearch__item--brand) { border-top: 1px solid var(--v-gray); }

/* Fila única de marcas: desplazamiento horizontal (swipe en móvil) y flechas
   discretas en escritorio solo cuando las marcas no caben. */
.v-brandnav {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--v-gray-300);
}

.v-brandnav__arrow {
	align-self: center;
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--v-gray-300);
	border-radius: 50%;
	background: var(--v-white);
	color: var(--v-ink);
	cursor: pointer;
	transition: border-color .15s ease, opacity .15s ease;
}

.v-brandnav__arrow:hover:not(:disabled) { border-color: var(--v-ink); }
.v-brandnav__arrow:disabled { opacity: .3; cursor: default; }
.v-brandnav__arrow.is-off { visibility: hidden; }
.v-brandnav__arrow .v-icon { width: 16px; height: 16px; }
.v-brandnav__arrow--prev .v-icon { transform: scaleX(-1); }

.v-brandtabs {
	display: flex;
	flex: 1;
	flex-wrap: nowrap;
	gap: 28px;
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.v-brandtabs__tab { scroll-snap-align: start; }

.v-brandtabs::-webkit-scrollbar { display: none; }

.v-brandtabs__tab {
	flex: none;
	margin-bottom: -1px;
	padding: 10px 0 12px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--v-gray-600);
	font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
	font-weight: 700;
	font-stretch: var(--v-wide);
	white-space: nowrap;
	cursor: pointer;
}

.v-brandtabs__tab:hover { color: var(--v-ink); }
.v-brandtabs__tab[aria-selected="true"] { color: var(--v-ink); border-bottom-color: var(--v-red); }

.v-brandtabs__count {
	margin-left: 4px;
	color: var(--v-gray-500);
	font-size: 13px;
	font-weight: 500;
	font-stretch: 100%;
	vertical-align: super;
}

/* Cambio de marca en "Búsqueda por vehículo": el panel entra con un fundido
   breve y un desplazamiento mínimo. Solo opacidad y transform, sin saltos. */
@keyframes v-panel-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}
.v-models__panel.is-entering { animation: v-panel-in .2s ease-out both; }
@media (prefers-reduced-motion: reduce) {
	.v-models__panel.is-entering { animation: none; }
}

/* Tarjetas de vehículo */

.v-vgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 24px 16px;
}

@media (min-width: 600px) {
	.v-vgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 20px; }
	.v-vgrid--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

.v-vcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }

.v-vcard__media {
	position: relative; /* contiene la franja "Ver vehículo" */
	display: block;
	aspect-ratio: 3 / 2;
	margin-bottom: 8px;
	overflow: hidden;
	background: var(--v-gray-300);
}

.v-vcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--v-ease);
}

.v-vcard__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.v-vcard:hover .v-vcard__name { color: var(--v-red); }
.v-vcard__specs,
.v-vcard__meta { color: var(--v-gray-600); font-size: 14px; }

/* Listado de /vehiculos/ por marca. Cada marca muestra dos filas y, si tiene
   más vehículos, la última celda es "Ver más vehículos" (el script de
   vehicle-listing.php decide cuántos se ven; sin él se ven todos). */
.v-vlist .v-vcard[hidden] { display: none; }
/* Vehículos que aparecen con "Ver más". */
.v-vlist .v-vcard.is-new { animation: v-panel-in .3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
	.v-vlist .v-vcard.is-new { animation: none; }
}
/* "Ver más vehículos": ocupa la celda de un vehículo, sin recuadro; el botón
   redondo va centrado y debajo el texto y cuántos quedan. */
.v-vmore {
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16px 8px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
}
.v-vmore__plus {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 10px;
	border: 1px solid var(--v-ink);
	border-radius: 50%;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	transition: background-color .15s, color .15s;
}
.v-vmore:hover .v-vmore__plus,
.v-vmore:focus-visible .v-vmore__plus { background: var(--v-ink); color: var(--v-white); }
.v-vmore__plus--arrow { font-size: 26px; }

/* Portada: cada marca ocupa dos filas como máximo y la última celda es el
   enlace "Ver todos los vehículos". Las columnas dependen del ancho del panel
   y con ellas el número de vehículos a la vista (2 × columnas − 1); los demás
   no se pintan y, al ser de carga diferida, su foto no se descarga. */
.v-models__panel { container-type: inline-size; }
.v-models .v-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-models .v-vgrid > .v-vcard:nth-child(n+4):not(.v-vmore) { display: none; }
@container (min-width: 730px) {
	.v-models .v-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v-models .v-vgrid > .v-vcard:nth-child(-n+5):not(.v-vmore) { display: flex; }
}
@container (min-width: 980px) {
	.v-models .v-vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.v-models .v-vgrid > .v-vcard:nth-child(-n+7):not(.v-vmore) { display: flex; }
}
@container (min-width: 1230px) {
	.v-models .v-vgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.v-models .v-vgrid > .v-vcard:nth-child(-n+9):not(.v-vmore) { display: flex; }
}

/* Categorías */

/* Carrusel horizontal (portada). Usa el componente de la fila de marcas
   (data-brandnav): flechas solo en escritorio con desbordamiento; en táctil,
   desplazamiento natural con ajuste por tarjeta. ~1,35 tarjetas en móvil,
   ~2,3 en tablet y 4 en escritorio. */
.v-cats .v-brandnav.v-catnav {
	align-items: center;
	gap: 12px;
	margin-bottom: 0;
	border-bottom: 0;
}

.v-catrail {
	--v-cat-gap: 14px;
	position: relative; /* referencia para offsetLeft al avanzar por tarjeta */
	display: grid;
	flex: 1;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--v-cat-gap)) / 1.35);
	gap: var(--v-cat-gap);
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	list-style: none;
}

.v-catrail::-webkit-scrollbar { display: none; }
.v-catrail > li { scroll-snap-align: start; min-width: 0; }

@media (min-width: 600px) {
	.v-catrail { --v-cat-gap: 20px; grid-auto-columns: calc((100% - 2 * var(--v-cat-gap)) / 2.3); }
}

@media (min-width: 900px) {
	.v-catrail { grid-auto-columns: calc((100% - 3 * var(--v-cat-gap)) / 4); }
}

.v-cat {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px 16px 20px;
	background: var(--v-white);
	text-decoration: none;
}

/* Marco de foto con proporción fija: la imagen se ajusta dentro sin estirar
   el recuadro, sea vertical, horizontal o cuadrada. */
.v-frame,
.v-card__media,
.v-cat__media,
.v-gallery__main,
.v-gallery__thumb {
	--v-pad: 0px;
	position: relative;
	display: block;
	overflow: hidden;
}

.v-card__media img,
.v-cat__media img,
.v-gallery__main img,
.v-gallery__thumb img {
	position: absolute;
	top: var(--v-pad);
	left: var(--v-pad);
	width: calc(100% - 2 * var(--v-pad));
	height: calc(100% - 2 * var(--v-pad));
	max-width: none;
	object-fit: contain;
}

/* Las fotos de producto se muestran tal cual, sin capas encima. Las fotos
   propias de piezas ya llevan su marca en el archivo (plugin de protección);
   las de consumibles y productos de marca van limpias. */

/* Disuasorio en fotos de producto (no en vehículos, logo ni iconos): no se
   arrastran y, en la ficha, no abren el menú de pulsación larga. */
.v-card__media img,
.v-gallery img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.v-gallery img { -webkit-touch-callout: none; }

.v-cat__media { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.v-cat__name {
	/* Dos líneas reservadas: misma altura aunque los nombres varíen. */
	display: -webkit-box;
	min-height: calc(2 * 1.25em);
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	font-stretch: 108%;
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.v-cat:hover .v-cat__name { color: var(--v-red); }
.v-cat__count { margin-top: 4px; color: var(--v-gray-600); font-size: 14px; }

/* Tarjetas de producto (estándar del frontend)
   Imagen → nombre (2 líneas) → Ref. → compatibilidad (2 líneas) → WhatsApp,
   alineados entre tarjetas. Sin cajas, bordes ni sombras. La franja
   "Ver producto" (.v-cta-strip) aparece dentro de la imagen al pasar el
   cursor o con foco de teclado y nunca cambia la altura de la tarjeta.
   ========================================================================== */

.v-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 32px 24px;
}

.v-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.v-card__media {
	--v-pad: 10%;
	flex: none;
	width: 100%;
	aspect-ratio: 1;
	background: var(--v-gray-50);
	transition: background-color .2s ease;
}

.v-card__media img { mix-blend-mode: multiply; }

.v-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; padding-top: 14px; }

/* Título: se reserva el alto de dos líneas (tarjetas parejas) y un título que no
   cabe en ellas puede usar una más, para no cortar el final (viscosidad, años,
   LH/RH). La línea extra solo existe en las filas que la necesitan. */
.v-card__title {
	display: -webkit-box;
	min-height: calc(2 * 1.35em);
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

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

.v-card__price { font-size: 17px; font-weight: 700; }

.v-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--v-gray-600);
	font-size: 13px;
	line-height: 1.4;
}

.v-card__ref {
	color: var(--v-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}

.v-card__compat {
	display: -webkit-box;
	min-height: calc(2 * 1.4em);
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.v-card__stock { color: var(--v-gray-600); font-size: 13px; font-weight: 600; }

.v-card__actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: auto;
	padding-top: 8px;
}

/* WhatsApp: acción de texto secundaria con un pequeño icono verde. */
.v-card__wa-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--v-gray-800);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.v-card__wa-text .v-icon { width: 16px; height: 16px; color: var(--v-wa); }
.v-card__wa-text:hover span { color: var(--v-ink); text-decoration: underline; text-underline-offset: 3px; }
.v-card__wa-short { display: none; }

.v-section--tint .v-card__media { background: var(--v-white); }

/* Franja CTA compartida por tarjetas de producto y de vehículo. */
.v-cta-strip {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	background: var(--v-red);
	color: var(--v-white);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	pointer-events: none;
	/* Oculta también con opacidad: con zoom o tamaños fraccionarios, el redondeo
	   dejaba asomar 1 px de rojo en el borde inferior. */
	opacity: 0;
	transform: translateY(100%);
	transition: transform .18s ease, opacity .18s ease;
}

/* Hover real del cursor, sin depender de consultas (hover)/(any-hover): algunos
   equipos Windows táctiles con ratón se declaran "sin hover". En táctil puro
   la franja permanece fuera de la vista (solo aparece durante el toque). */
.v-card__media:hover .v-cta-strip,
.v-vcard:hover .v-cta-strip { opacity: 1; transform: none; }
.v-card__media:hover { background: var(--v-gray); }
.v-section--tint .v-card__media:hover { background: var(--v-white); }

/* Teclado: la franja también aparece con el foco. */
.v-card__media:focus-visible .v-cta-strip,
.v-vcard:focus-visible .v-cta-strip { opacity: 1; transform: none; }
.v-card__media:focus-visible { outline-offset: 3px; }

@media (max-width: 559px) {
	/* Móvil: dos columnas de tarjetas verticales. */
	.v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.v-card__media { --v-pad: 8%; }
	/* Dos columnas estrechas: lo normal son hasta tres líneas; una cuarta solo
	   para el título que no quepa en tres. */
	.v-card__title { font-size: 14px; -webkit-line-clamp: 4; }
	.v-cta-strip { height: 34px; font-size: 13px; }
	/* En columnas estrechas, texto corto; el nombre accesible sigue completo. */
	.v-card__wa-long { display: none; }
	.v-card__wa-short { display: inline; }
}

/* Catálogo
   ========================================================================== */

.v-cathead { padding-block: 32px 24px; }
/* /shop/: título más pegado al header y al bloque de filtros. */
.v-cathead--shop { padding-block: clamp(16px, 2vw, 22px) clamp(12px, 1.4vw, 16px); }

.v-cathead__title {
	font-size: clamp(1.75rem, 3.6vw, 2.875rem);
	font-weight: 800;
	font-stretch: var(--v-wide);
	line-height: 1.05;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.v-cathead .v-chips { margin-block: 24px 0; }

.v-finderbar {
	padding-block: 16px 18px;
	border-block: 1px solid var(--v-gray);
	background: var(--v-gray-50);
}

/* Contenido de la franja centrado, con un ancho más contenido que el catálogo. */
.v-finderbar__inner { max-width: 1040px; margin-inline: auto; }

/* Barra del catálogo: Marca, Modelo (y Motor) + acciones, compacta y centrada. */
.v-finder--bar .v-finder__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 12px 24px;
}

.v-finder--bar .v-finder__fields {
	display: grid;
	flex: 0 1 600px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}

.v-finder--bar .v-finder__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
}

.v-finder--bar .v-finder__submit { padding-inline: 32px; }

/* Única acción secundaria: solo aparece con filtros activos. */
.v-finder__clear {
	color: var(--v-gray-600);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.v-finder__clear:hover { color: var(--v-ink); }

@media (max-width: 599px) {
	.v-finder--bar .v-finder__actions { flex: 1 1 100%; }
	.v-finder--bar .v-finder__submit { flex: 1 1 100%; }
}

/* Teléfonos: Marca y Modelo uno debajo del otro. En dos columnas, el texto
   del select cerrado se recortaba («Selecciona una ma…», «Star 5 Minitruc…»). */
@media (max-width: 479px) {
	.v-finder--bar .v-finder__fields { grid-template-columns: minmax(0, 1fr); }
}

.v-catalog { padding-block: clamp(16px, 1.8vw, 20px) 80px; }
.v-catalog .v-empty { padding-top: 4px; }

/* Catálogo con columna lateral (vehículo seleccionado + categorías) */

.v-catalog--side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.v-catalog__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v-catalog__main { min-width: 0; }

@media (min-width: 900px) {
	.v-catalog--side {
		grid-template-columns: minmax(200px, 22%) minmax(0, 1fr);
		gap: 40px;
		align-items: start;
	}
	.v-catalog__side { gap: 0; }
}

/* Vehículo seleccionado: encabeza la columna lateral, sobre Categorías.
   En móvil, fila compacta; en escritorio, foto al ancho de la columna. */
.v-selcar { display: flex; align-items: center; gap: 14px; }
/* Área uniforme para cualquier foto: proporción 3:2 fija, imagen completa y centrada. */
.v-selcar__media {
	display: block;
	flex: none;
	width: 120px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--v-white);
}
.v-selcar__media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.v-selcar__text { display: flex; flex-direction: column; min-width: 0; }
.v-selcar__label { color: var(--v-gray-600); font-size: 12px; line-height: 1.3; }
.v-selcar__name { font-size: 16px; font-weight: 700; line-height: 1.3; }

@media (min-width: 900px) {
	.v-selcar {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid var(--v-gray);
	}
	.v-selcar__media { width: 100%; }
}

.v-catnav__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.v-catnav__toggle::-webkit-details-marker { display: none; }
.v-catnav__toggle-current {
	overflow: hidden;
	min-width: 0;
	color: var(--v-gray-600);
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.v-catnav__chevron { flex: none; width: 16px; height: 16px; margin-left: auto; transform: rotate(90deg); transition: transform .2s var(--v-ease); }
.v-catnav[open] .v-catnav__chevron { transform: rotate(-90deg); }
/* Mientras se cierra (animación de site.js) el chevron ya gira a su posición cerrada. */
.v-catnav.is-closing .v-catnav__chevron { transform: rotate(90deg); }

.v-catnav__panel { padding: 8px 0 4px; }
.v-catnav:not(.is-static) .v-catnav__panel { padding: 8px 14px 10px; border: 1px solid var(--v-gray-300); border-top: 0; }

.v-catnav__title {
	margin-bottom: 10px;
	color: var(--v-gray-600);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.v-catnav:not(.is-static) .v-catnav__title { display: none; }
.v-catnav.is-static .v-catnav__toggle { display: none; }

.v-catnav__list { margin: 0; padding: 0; list-style: none; }
.v-catnav__list--sub { margin: 0 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--v-gray); }

.v-catnav__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0 7px 8px;
	margin-left: -10px;
	border-left: 2px solid transparent;
	color: var(--v-ink);
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}

.v-catnav__link--top,
.v-catnav__link--all { font-weight: 600; }
.v-catnav__link--all { margin-bottom: 4px; }
.v-catnav__link--sub { padding-block: 5px; color: var(--v-gray-800); font-size: 14px; }

.v-catnav__count { flex: none; color: var(--v-gray-500); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }

.v-catnav__link:hover { color: var(--v-red); }
.v-catnav__link.is-ancestor { font-weight: 700; }
.v-catnav__link[aria-current="page"] { border-left-color: var(--v-red); color: var(--v-red); font-weight: 700; }
.v-catnav__link[aria-current="page"] .v-catnav__count { color: var(--v-red); }

/* Subcategoría activa: la raya va sobre la guía de la lista. */
.v-catnav__list--sub .v-catnav__link { margin-left: -11px; padding-left: 9px; }

/* Fila de categoría: nombre + contador (enlace) y chevron independiente. */
.v-catnav__row { display: flex; align-items: center; }
.v-catnav__row > .v-catnav__link { flex: 1 1 auto; min-width: 0; }
/* Sin chevron se reserva su ancho para alinear los contadores. */
.v-catnav__row > .v-catnav__link:only-child { margin-right: 32px; }

.v-catnav__twisty {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 4px;
	padding: 0;
	border: 0;
	border-radius: var(--v-radius);
	background: none;
	color: var(--v-gray-600);
	cursor: pointer;
}

.v-catnav__twisty:hover { background: var(--v-gray); color: var(--v-ink); }
.v-catnav__twisty .v-icon { width: 14px; height: 14px; transition: transform .2s var(--v-ease); }
.v-catnav__twisty[aria-expanded="true"] .v-icon { transform: rotate(90deg); }

.v-catnav__more {
	margin: 2px 0 4px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--v-gray-600);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.v-catnav__more:hover { color: var(--v-ink); }

@media (max-width: 899px) {
	/* Objetivo táctil más cómodo dentro del desplegable móvil. */
	.v-catnav__twisty { width: 36px; height: 36px; }
	.v-catnav__row > .v-catnav__link:only-child { margin-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.v-catnav__chevron,
	.v-catnav__twisty .v-icon { transition: none; }
}

.v-chips { margin-block: 28px 32px; }

.v-chips__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 0 4px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.v-chips__list::-webkit-scrollbar { display: none; }

@media (min-width: 900px) {
	.v-chips__list { flex-wrap: wrap; overflow: visible; }
}

.v-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.v-chip:hover { border-color: var(--v-ink); }
.v-chip[aria-current="page"],
.v-chip[aria-current="true"] { border-color: var(--v-ink); background: var(--v-ink); color: var(--v-white); }
.v-chip__count { color: var(--v-gray-500); font-size: 13px; }
.v-chip[aria-current="page"] .v-chip__count,
.v-chip[aria-current="true"] .v-chip__count { color: rgba(255, 255, 255, .65); }

/* Marca abierta desde el buscador (/vehiculos/#marca-slug). */
.v-vlist__brand.is-target .v-vlist__name {
	text-decoration: underline;
	text-decoration-color: var(--v-red);
	text-decoration-thickness: 4px;
	text-underline-offset: 10px;
}

.v-empty { max-width: 36rem; padding-block: 16px 24px; }
.v-empty__title { margin-bottom: 8px; font-size: 1.5rem; font-weight: 800; font-stretch: 108%; line-height: 1.2; }
.v-empty p { margin-bottom: 20px; color: var(--v-gray-600); }

/* Paginación de cualquier listado (vermillion_pagination): una línea centrada,
   del ancho de su contenido. Las reglas van sobre los enlaces y números de la
   lista, nunca sobre la lista: WordPress usa "page-numbers" también en la suya. */
.v-pagination { margin-top: 56px; }
.v-pagination__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.v-pagination__item.is-narrow { display: none; }
.v-pagination__item > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--v-gray-300);
	color: var(--v-ink);
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	text-decoration: none;
}
.v-pagination__item > .prev,
.v-pagination__item > .next { padding-inline: 14px; }
.v-pagination__item > a.page-numbers:hover { border-color: var(--v-ink); }
.v-pagination__item > .current { border-color: var(--v-ink); background: var(--v-ink); color: var(--v-white); }
.v-pagination__item > .dots { min-width: 24px; padding: 0; border-color: transparent; color: var(--v-gray-600); }
/* Pantallas estrechas: flechas sin texto y, si hace falta, solo primera, actual y última. */
@media (max-width: 599px) {
	.v-pagination__list { flex-wrap: nowrap; gap: 4px; }
	.v-pagination__item.is-wide { display: none; }
	.v-pagination__item.is-narrow { display: block; }
	.v-pagination__item > .prev,
	.v-pagination__item > .next { padding-inline: 0; }
	.v-pagination__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Ficha de producto
   ========================================================================== */

.v-product { padding-block: 20px 64px; }

.v-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	color: var(--v-gray-600);
	font-size: 14px;
}

.v-crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--v-gray-300); }
.v-crumbs a { text-decoration: none; }
.v-crumbs a:hover { color: var(--v-red); }

/* Una sola columna que nunca supera el ancho disponible: minmax(0, 1fr) y
   min-width: 0 impiden que el contenido (títulos, botones, listas) ensanche
   la columna más allá de la pantalla. */
.v-product__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.v-product__top > * { min-width: 0; }

.v-summary__title { overflow-wrap: anywhere; }
.v-summary .v-btn--block { max-width: 100%; min-width: 0; text-align: center; }

@media (max-width: 899px) {
	.v-crumbs ol { margin-bottom: 12px; font-size: 13px; }
	/* La foto usa el ancho disponible sin crecer de más en pantallas anchas. */
	.v-gallery { width: 100%; max-width: 440px; }
	.v-summary .v-specs { margin-top: 0; }
}

@media (min-width: 900px) {
	.v-product { padding-block: 24px 48px; }
	/* Izquierda: galería y, debajo, vehículos compatibles. Derecha: cabecera e
	   información. La última fila absorbe la altura sobrante. */
	.v-product__top {
		grid-template-columns: clamp(320px, 31vw, 440px) minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		gap: 0 56px;
		align-items: start;
	}
	.v-summary__head { grid-column: 2; grid-row: 1; }
	.v-gallery { grid-column: 1; grid-row: 1 / span 2; }
	.v-summary { grid-column: 2; grid-row: 2 / span 2; }
	.v-pcompat { grid-column: 1; grid-row: 3; margin-top: 24px; }
}

.v-gallery__main {
	--v-pad: 6%;
	aspect-ratio: 1;
	background: var(--v-gray-50);
}

.v-gallery__main img { mix-blend-mode: multiply; }

/* Carrusel de la ficha: las flechas van superpuestas dentro del marco de la
   foto (no añaden ancho ni alto) y solo existen con 2 o más fotos. */
.v-gallery__stage { position: relative; touch-action: pan-y; }

.v-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 1px solid var(--v-gray-300);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--v-ink);
	box-shadow: 0 2px 8px rgba(13, 13, 15, .12);
	opacity: .8;
	cursor: pointer;
	transition: opacity .15s ease, border-color .15s ease;
}

.v-gallery__arrow[hidden] { display: none; }
.v-gallery__arrow--prev { left: 8px; }
.v-gallery__arrow--next { right: 8px; }
.v-gallery__arrow .v-icon { width: 18px; height: 18px; }
.v-gallery__arrow--prev .v-icon { transform: scaleX(-1); }
.v-gallery__arrow:hover,
.v-gallery__arrow:focus-visible { border-color: var(--v-ink); opacity: 1; }

@media (max-width: 899px) {
	.v-gallery__arrow { width: 36px; height: 36px; margin-top: -18px; }
	.v-gallery__arrow--prev { left: 6px; }
	.v-gallery__arrow--next { right: 6px; }
	.v-gallery__arrow .v-icon { width: 16px; height: 16px; }
}

.v-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }

.v-gallery__thumb {
	--v-pad: 6px;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	background: var(--v-gray-50);
	cursor: pointer;
}

.v-gallery__thumb img { mix-blend-mode: multiply; }
.v-gallery__thumb[aria-pressed="true"] { border-color: var(--v-ink); }

/* Escritorio, con 2 o más fotos: miniaturas en una columna a la izquierda de la
   foto principal. La columna se suma al ancho de la galería (la foto conserva
   su tamaño) y queda fuera del flujo: su alto es exactamente el de la foto, así
   que nunca alarga la ficha; si hay más miniaturas de las que caben, se
   desplaza por dentro. */
@media (min-width: 900px) {
	.v-product__top--thumbs {
		--v-thumbs-col: 72px; /* miniatura de 60 px + 12 px de separación */
		grid-template-columns: calc(clamp(320px, 31vw, 440px) + var(--v-thumbs-col)) minmax(0, 1fr);
	}

	.v-product__top--thumbs .v-gallery { position: relative; padding-left: var(--v-thumbs-col); }

	.v-product__top--thumbs .v-gallery__thumbs {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		flex-flow: column nowrap;
		gap: 8px;
		width: 60px;
		margin: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: none;
	}
	.v-product__top--thumbs .v-gallery__thumbs::-webkit-scrollbar { display: none; }
	.v-product__top--thumbs .v-gallery__thumbs > li { flex: none; }

	.v-product__top--thumbs .v-gallery__thumb { --v-pad: 4px; width: 60px; height: 60px; }
	.v-product__top--thumbs .v-gallery__thumb:hover { border-color: var(--v-gray-300); }
	.v-product__top--thumbs .v-gallery__thumb[aria-pressed="true"] { border-color: var(--v-ink); }
	/* El contorno de foco va por dentro: la columna recorta lo que sobresale. */
	.v-product__top--thumbs .v-gallery__thumb:focus-visible { outline-offset: -2px; }

	/* Aviso de que hay más miniaturas arriba o abajo (clases puestas por el script). */
	.v-gallery__thumbs.is-more-down {
		-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
		mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
	}
	.v-gallery__thumbs.is-more-up {
		-webkit-mask-image: linear-gradient(to top, #000 calc(100% - 32px), transparent);
		mask-image: linear-gradient(to top, #000 calc(100% - 32px), transparent);
	}
	.v-gallery__thumbs.is-more-up.is-more-down {
		-webkit-mask-image: linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
		mask-image: linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
	}
}

.v-summary__cat { color: var(--v-gray-600); font-size: 14px; font-weight: 600; text-decoration: none; }
.v-summary__cat:hover { color: var(--v-red); }

.v-summary__title {
	margin-block: 8px 12px;
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
	font-weight: 800;
	font-stretch: 104%;
	line-height: 1.1;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.v-summary__price { margin-bottom: 8px; font-size: 1.5rem; font-weight: 700; }

/* Disponibilidad: píldora discreta. Un estado por clase (.is-in, .is-out,
   .is-backorder: los de vermillion_stock_states()); uno nuevo solo necesita
   su fondo, su color de texto y su indicador. */
.v-stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 11px 4px 9px;
	border-radius: 999px;
	background: var(--v-gray-50);
	color: var(--v-gray-800);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}
.v-stock::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--v-gray-500); }
.v-stock.is-in { background: #e7f6ed; color: #0a6634; }
.v-stock.is-in::before { background: #1aa053; }
.v-stock.is-out { color: var(--v-gray-600); }
.v-stock.is-backorder::before { background: transparent; box-shadow: inset 0 0 0 2px var(--v-gray-800); }

/* Opciones comerciales (marca / calidad) de un mismo producto: un desplegable
   con la marca y, debajo, su calidad. Una sola opción llega ya elegida. */
.v-options { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.v-options__legend { display: block; margin-bottom: 6px; padding: 0; color: var(--v-gray-600); font-size: 13px; font-weight: 600; }
.v-options__hint { font-weight: 600; }
.v-option { position: relative; display: inline-flex; max-width: 100%; }

/* Desplegable: sin script es un <select> normal de la misma altura; con script
   queda transparente encima de la caja, que enseña marca y calidad. */
.v-option--select { min-width: min(260px, 100%); }
.v-option--select select {
	width: 100%;
	min-height: 44px;
	padding: 5px 12px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	color: inherit;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}
.v-option--select .v-option__box { display: none; }
.v-options.is-enhanced .v-option--select select { position: absolute; inset: 0; height: 100%; margin: 0; opacity: 0; }
.v-options.is-enhanced .v-option--select .v-option__box { display: flex; flex: 1; padding-right: 38px; }
.v-options.is-enhanced .v-option--select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--v-ink);
	border-bottom: 2px solid var(--v-ink);
	transform: rotate(45deg);
	pointer-events: none;
}

.v-option__box {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	min-width: 0;
	min-height: 44px;
	padding: 5px 12px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	font-size: 14px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

/* Título: la marca (o la calidad, si no hay marca). Debajo, la calidad. */
.v-option__title { font-weight: 700; }
.v-option__sub { color: var(--v-gray-600); font-size: 12.5px; }
.v-option:hover .v-option__box { border-color: var(--v-ink); }
.v-options.is-selected .v-option__box { border-color: var(--v-gray-500); }
.v-options.is-selected .v-option:hover .v-option__box { border-color: var(--v-ink); }
/* Se intentó consultar sin elegir: aviso discreto junto al selector. */
.v-options.is-invalid .v-options__hint { color: var(--v-red-dark); font-weight: 700; }
.v-options.is-invalid .v-option__box,
.v-options.is-invalid .v-option--select select { border-color: var(--v-red); }
.v-option--select select:focus-visible + .v-option__box { outline: 2px solid var(--v-red); outline-offset: 2px; }

/* Datos de la ficha: la Referencia Vermillion ocupa su fila; debajo, las
   especificaciones cortas (lado, presentación, color, temperatura…) forman un
   grupo horizontal que pasa de línea solo cuando no caben. */
.v-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px; padding-block: 14px; border-block: 1px solid var(--v-gray); }
.v-specs__row { display: grid; flex: 0 0 100%; gap: 4px; }
.v-specs dt { color: var(--v-gray-600); font-size: 13px; font-weight: 600; }
.v-specs dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.v-specs__item { display: flex; align-items: baseline; gap: 6px; min-width: 0; padding: 5px 12px; border: 1px solid var(--v-gray-300); line-height: 1.4; }
.v-specs__item dt { font-size: 12px; white-space: nowrap; }
.v-specs__item dt::after { content: ":"; }
.v-specs__item dd { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

.v-ref { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.v-ref--main { font-size: 1.75rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; }

/* Acciones sobre la foto de la ficha: compartir y guardar, en la esquina
   superior derecha del marco. Mismo aspecto que las flechas del carrusel. */
.v-gallery__actions { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; gap: 8px; }

.v-gallery__action {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--v-gray-300);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--v-ink);
	box-shadow: 0 2px 8px rgba(13, 13, 15, .12);
	cursor: pointer;
	transition: border-color .15s ease;
}

.v-gallery__action[hidden] { display: none; }
.v-gallery__action:hover,
.v-gallery__action:focus-visible,
.v-gallery__action[aria-expanded="true"] { border-color: var(--v-ink); }
.v-gallery__action .v-icon { width: 17px; height: 17px; }

/* Producto guardado: corazón relleno en el rojo de la marca. */
.v-save[aria-pressed="true"] .v-icon { fill: var(--v-red); stroke: var(--v-red); }

/* Menú de compartir (cuando el navegador no ofrece el suyo): se despliega
   bajo el botón, alineado a la derecha, sobre la foto. */
.v-share { position: relative; }

.v-share__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 168px;
	margin: 0;
	padding: 4px;
	border: 1px solid var(--v-gray-300);
	border-radius: var(--v-radius);
	background: var(--v-white);
	box-shadow: 0 6px 20px rgba(13, 13, 15, .14);
	list-style: none;
}

.v-share__menu a,
.v-share__menu button {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 40px;
	padding: 0 12px;
	border: 0;
	background: none;
	color: var(--v-ink);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.v-share__menu a,
.v-share__menu button { gap: 10px; }
.v-share__menu a:hover,
.v-share__menu button:hover { background: var(--v-gray-50); }
.v-share__menu a:focus-visible,
.v-share__menu button:focus-visible { outline-offset: -2px; }

/* Cada destino con su logo y su color reconocibles. */
.v-share__menu .v-icon { flex: none; width: 18px; height: 18px; color: var(--v-gray-600); }
.v-share__menu .v-icon--whatsapp { color: #25d366; }
.v-share__menu .v-icon--facebook { color: #1877f2; }
.v-share__menu .v-icon--x { color: #000; }

/* Aviso breve dentro del menú (p. ej. enlace copiado para Instagram). */
.v-share__note {
	margin-top: 4px;
	padding: 8px 12px;
	border-top: 1px solid var(--v-gray-300);
	color: var(--v-gray-600);
	font-size: 13px;
	line-height: 1.35;
}

.v-summary__wa-note { margin-top: 10px; color: var(--v-gray-600); font-size: 13px; }

/* Referencia del fabricante, cuando el producto la tiene como visible: una línea discreta. */
.v-summary__mfr { margin-top: 24px; color: var(--v-gray-600); font-size: 14px; font-variant-numeric: tabular-nums; }
.v-summary__mfr span { margin-right: 4px; color: var(--v-ink); font-size: 13px; font-weight: 600; }
.v-summary__mfr span::after { content: ":"; }

.v-summary__alt { margin-top: 24px; color: var(--v-gray-600); font-size: 14px; }
.v-summary__alt span { display: block; margin-bottom: 2px; color: var(--v-ink); font-size: 13px; font-weight: 600; }
.v-summary__mfr + .v-summary__alt { margin-top: 8px; }

/* Escritorio: bloque de información más compacto. Se recortan márgenes y
   rellenos entre disponibilidad, opciones, referencia, WhatsApp, nota y
   nombres alternativos; título y referencia conservan su tamaño. */
@media (min-width: 900px) {
	.v-summary__title { margin-bottom: 10px; }
	.v-specs { margin-block: 12px 14px; padding-block: 8px 10px; }
	.v-specs__row { gap: 1px; }
	.v-summary .v-btn--lg { min-height: 50px; }
	.v-summary__wa-note { margin-top: 6px; }
	.v-summary__mfr { margin-top: 12px; }
	.v-summary__alt { margin-top: 12px; }
	.v-summary__mfr + .v-summary__alt { margin-top: 4px; }
	.v-summary__alt span { display: inline; margin: 0 4px 0 0; }
	.v-summary__alt span::after { content: ":"; }
	.v-summary > .v-summary__desc { margin-top: 16px; padding-top: 14px; }
}

/* Vehículos compatibles: lista compacta (miniatura + nombre) bajo la galería. */
.v-pcompat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.v-pcompat__title { font-size: 1rem; font-weight: 800; font-stretch: 108%; }
.v-pcompat__count { color: var(--v-gray-600); font-size: 13px; }

.v-pcompat__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 6px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Con muchos vehículos la lista no alarga la página: se desplaza dentro de su caja. */
.v-pcompat__list.is-long { max-height: 232px; padding-right: 6px; overflow-y: auto; overscroll-behavior: contain; }

.v-pcompat__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 4px 8px 4px 4px;
	border: 1px solid var(--v-gray);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.v-pcompat__item:hover { border-color: var(--v-ink); }
.v-pcompat__media { flex: none; width: 64px; aspect-ratio: 3 / 2; background: var(--v-white); }
.v-pcompat__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.v-pcompat__name { min-width: 0; }
/* Motores y años de esa relación, bajo el nombre del vehículo. Las celdas de
   una misma fila igualan su alto aunque solo una lleve esas líneas. */
.v-pcompat__list > li { display: flex; }
.v-pcompat__list > li > .v-pcompat__item { flex: 1; min-width: 0; }
.v-pcompat__fit { display: block; margin-top: 2px; color: var(--v-gray-600); font-size: 13px; font-weight: 400; }
/* Productos para 3 o más vehículos: solo las marcas, en una línea que pasa de renglón si hace falta. */
.v-pcompat__brands { padding: 12px 14px; border: 1px solid var(--v-gray-300); font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.v-pcompat__note { margin-top: 8px; color: var(--v-gray-600); font-size: 13px; }
/* Sin foto: solo el nombre, con el mismo alto de fila. */
.v-pcompat__item > .v-pcompat__name:first-child { padding-left: 6px; }

/* Descripción integrada en la columna de información. */
.v-summary__desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--v-gray); }
.v-summary__desc-title { margin-bottom: 8px; font-size: 1rem; font-weight: 800; font-stretch: 108%; }
.v-summary__desc .v-prose { font-size: 15px; line-height: 1.6; }

/* Descripción desplegable: el script fija el alto recogido y añade "Ver más".
   Al desplegarla aparecen, al final, las referencias equivalentes. */
.v-desc.is-collapsed { overflow: hidden; }
.v-desc.is-clamped { -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.v-desc__refs { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.v-prose + .v-desc__refs { margin-top: .75em; }
.v-desc__toggle { display: inline-block; margin-top: 4px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

.v-prose { font-size: 17px; line-height: 1.65; }
.v-prose > * + * { margin-top: 1em; }
.v-prose a { color: var(--v-red); }

.v-related { padding-block: 0 clamp(40px, 5vw, 64px); }

/* Barra fija de WhatsApp en móvil (ficha de producto) */

.v-stickycta { display: none; }

@media (max-width: 899px) {
	.v-has-sticky-cta { padding-bottom: 76px; }

	.v-stickycta {
		position: fixed;
		inset: auto 0 0;
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px var(--v-gutter) calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--v-gray);
		background: var(--v-white);
	}

	.v-stickycta__name {
		flex: 1;
		min-width: 0;
		overflow: hidden;
		font-size: 14px;
		font-weight: 600;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.v-stickycta .v-btn { flex: none; min-height: 48px; }
}

/* Página de vehículo
   ========================================================================== */

/* Cabecera clara: datos del vehículo y su foto completa (3:2, sin recorte). */
.v-vhero {
	padding-block: clamp(20px, 3vw, 36px);
	border-bottom: 1px solid var(--v-gray);
	background: var(--v-white);
	color: var(--v-ink);
}

.v-vhero__inner { display: flex; flex-direction: column; gap: 16px; }

.v-vhero__photo {
	order: -1;
	width: min(100%, 360px);
	aspect-ratio: 3 / 2;
	background: var(--v-white);
}

.v-vhero__photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }

@media (min-width: 760px) {
	.v-vhero--photo .v-vhero__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 440px);
		gap: 40px;
		align-items: center;
	}
	.v-vhero__photo { order: 0; width: 100%; }
}

.v-vhero__crumbs .v-crumbs ol { margin-bottom: clamp(12px, 1.6vw, 20px); }

.v-vhero__pre {
	display: block;
	margin-bottom: 10px;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 600;
	font-stretch: 100%;
	line-height: 1.3;
	letter-spacing: 0;
}

.v-vhero__model { display: block; }

.v-vhero__brand {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--v-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.v-vhero__title {
	margin-block: 8px 12px;
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 800;
	font-stretch: 118%;
	line-height: .98;
	letter-spacing: -.02em;
}

.v-vhero__specs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 8px; }
.v-vhero__specs dt { color: var(--v-gray-600); font-size: 13px; }
.v-vhero__specs dd { font-weight: 700; }
.v-vhero__count { color: var(--v-gray-600); }

.v-vparts { padding-block: 48px 80px; }
.v-vparts__group + .v-vparts__group { margin-top: 48px; }
.v-vparts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.v-vparts__title { font-size: 1.375rem; font-weight: 800; font-stretch: 110%; line-height: 1.2; }
.v-vparts__all { flex: none; font-size: 15px; white-space: nowrap; }

/* Carrusel de productos por categoría (componente data-brandnav). Flechas solo
   en escritorio y con desbordamiento real; en táctil, desplazamiento natural.
   El ancho de tarjeta depende del ancho de pantalla (--v-rail-n tarjetas por
   fila), nunca de cuántos productos tenga la categoría: con pocos, queda
   espacio libre a la derecha. ~1,25 en móvil, ~2,3 en tablet, 4 en portátil y
   5 en escritorio ancho (≈240 px por tarjeta). */
.v-prail {
	--v-rail-n: 1.25;
	--v-rail-gap: 14px;
	position: relative;
	container-type: inline-size;
}

.v-prail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--v-rail-n) - 1) * var(--v-rail-gap)) / var(--v-rail-n));
	gap: var(--v-rail-gap);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	list-style: none;
}

.v-prail__track::-webkit-scrollbar { display: none; }
.v-prail__track > li { display: flex; min-width: 0; scroll-snap-align: start; }
.v-prail__track > li > .v-card { flex: 1; min-width: 0; }

/* Las flechas van superpuestas en los bordes, a la altura del centro de la
   imagen, para no restar ancho a las tarjetas cuando aparecen. */
.v-prail .v-brandnav__arrow {
	position: absolute;
	top: 102px;
	top: calc((100cqw - (var(--v-rail-n) - 1) * var(--v-rail-gap)) / var(--v-rail-n) / 2 - 18px);
	z-index: 2;
	box-shadow: 0 2px 8px rgba(13, 13, 15, .14);
}

.v-prail .v-brandnav__arrow:disabled { opacity: 1; color: var(--v-gray-300); box-shadow: none; }
.v-prail .v-brandnav__arrow--prev { left: -18px; }
.v-prail .v-brandnav__arrow--next { right: -18px; }

@media (min-width: 600px) {
	.v-prail { --v-rail-n: 2.3; --v-rail-gap: 20px; }
}

@media (min-width: 900px) {
	.v-prail { --v-rail-n: 4; }
}

@media (min-width: 1200px) {
	.v-prail { --v-rail-n: 5; }
}

/* Página de vehículos */

.v-cathead--vehicles { padding-bottom: 12px; }

/* Barra de navegación: buscador de vehículos + marcas. Queda fija bajo el header. */
.v-vnav {
	position: sticky;
	/* Sin el +1 px del borde del header: la barra queda 1 px bajo él (el header va
	   encima). Ese solape evita la franja que, por redondeo con zoom, dejaba ver el
	   contenido entre ambas barras. */
	top: var(--v-header-h);
	z-index: 40;
	padding-block: 8px;
	border-bottom: 1px solid var(--v-gray);
	background: var(--v-white);
	transition: box-shadow .2s ease;
}

.admin-bar .v-vnav { top: calc(var(--v-header-h) + 46px); }

@media (min-width: 783px) {
	.admin-bar .v-vnav { top: calc(var(--v-header-h) + 32px); }
}

/* Igual que el header: hasta 600 px no hay barra de administración fija que descontar. */
@media (max-width: 600px) {
	.admin-bar .v-vnav { top: var(--v-header-h); }
}

.v-vnav.is-stuck { box-shadow: 0 6px 16px -10px rgba(13, 13, 15, .35); }

.v-vnav__inner { display: flex; flex-direction: column; gap: 6px; }
.v-vnav__search { max-width: none; margin-bottom: 0; }
.v-vnav__search .v-vsearch__input { height: 40px; }

.v-vnav__brands { display: flex; align-items: center; gap: 6px; min-width: 0; }

/* Una sola fila que se desplaza en horizontal (dedo, trackpad o flechas). */
.v-vnav__track {
	display: flex;
	flex: 1;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.v-vnav__track::-webkit-scrollbar { display: none; }
.v-vnav__track li { flex: none; }
.v-vnav .v-chip { height: 36px; }
.v-vnav .v-brandnav__arrow { width: 32px; height: 32px; }

@media (min-width: 900px) {
	.v-vnav__inner { flex-direction: row; align-items: center; gap: 20px; }
	.v-vnav { padding-block: 10px; }
	.v-vnav__search { flex: none; width: 280px; }
	.v-vnav__search .v-vsearch__input { height: 44px; }
	.v-vnav__brands { flex: 1; }
	.v-vnav .v-chip { height: 40px; }
	.v-vnav .v-brandnav__arrow { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.v-vnav { transition: none; }
}

.v-vlist { padding-bottom: 72px; }
.v-vlist__brand { padding-block: 40px; border-top: 1px solid var(--v-gray); }
/* Respaldo para anclas nativas: descuentan el header y la barra fija. Con sesión
   iniciada, WordPress ya añade el alto de su barra (scroll-padding-top en html). */
.v-vnav ~ .v-vlist .v-vlist__brand { scroll-margin-top: calc(var(--v-header-h) + var(--v-vnav-h, 64px)); }
.v-vnav ~ .v-vlist .v-vlist__brand:first-child { border-top: 0; }
.v-vlist__name { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; font-stretch: 118%; line-height: 1; }

/* Banda de WhatsApp
   ========================================================================== */

.v-waband { padding-block: clamp(48px, 6vw, 80px); background: var(--v-black); color: var(--v-white); }

.v-waband__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
}

.v-waband__copy { max-width: 36rem; }

.v-waband__title {
	margin-bottom: 8px;
	font-size: clamp(1.625rem, 3vw, 2.5rem);
	font-weight: 800;
	font-stretch: var(--v-wide);
	line-height: 1.05;
	letter-spacing: -.01em;
}

.v-waband__text { color: rgba(255, 255, 255, .75); font-size: 17px; }

/* Páginas genéricas */

.v-page { max-width: 860px; padding-block: 48px 80px; }
.v-page__title { margin-bottom: 24px; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; font-stretch: var(--v-wide); line-height: 1.05; }
.v-postlist { padding-left: 1.2em; }
.v-404 p { margin-bottom: 16px; }

/* Footer
   ========================================================================== */

.v-footer__main { padding-block: 56px 48px; background: var(--v-gray); }

.v-footer__grid { display: grid; gap: 40px; }

@media (min-width: 700px) {
	/* Tablet: contacto a todo el ancho; Catálogo y Marcas lado a lado debajo. */
	.v-footer__grid { grid-template-columns: 1fr 1fr; }
	.v-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
	.v-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
	.v-footer__brand { grid-column: auto; }
}

.v-logo--footer .v-logo__img { height: 26px; }

.v-footer__wa {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.v-footer__wa .v-icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	border-radius: 50%;
	background: var(--v-wa);
	color: var(--v-black);
}

.v-footer__wa:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Contacto bajo el WhatsApp: menor jerarquía que el logo y el teléfono. */
.v-footer__contact { margin-top: 18px; font-style: normal; }

.v-footer__contact ul {
	display: grid;
	gap: 14px;
	max-width: 400px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #1E1E22; /* algo más de contraste que gris 800, sin llegar al negro */
	font-size: 14px;
	font-weight: 450;
	line-height: 1.5;
}

.v-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.v-footer__contact .v-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--v-gray-600); }
.v-footer__contact a { text-decoration: none; overflow-wrap: anywhere; }
.v-footer__contact a:hover { color: var(--v-red); text-decoration: underline; text-underline-offset: 3px; }

.v-footer__title { margin-bottom: 14px; font-size: 15px; font-weight: 700; }
.v-footer__col ul { margin: 0; padding: 0; list-style: none; }
.v-footer__col li + li { margin-top: 8px; }
.v-footer__col a { color: var(--v-gray-800); text-decoration: none; }
.v-footer__col a:hover { color: var(--v-red); }

.v-footer__legal { padding-block: 18px; background: var(--v-black); color: rgba(255, 255, 255, .6); font-size: 14px; }

/* Botón flotante de WhatsApp */

.v-wa-float {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--v-wa);
	color: var(--v-black);
	box-shadow: 0 8px 24px rgba(13, 13, 15, .22);
}

.v-wa-float .v-icon { width: 28px; height: 28px; }
.v-wa-float:hover { background: var(--v-wa-dark); }
.v-drawer-open .v-wa-float { display: none; }

@media (min-width: 900px) {
	.v-wa-float { right: 24px; bottom: 24px; }
}

/* Ritmo vertical compacto de la portada
   Secciones consecutivas: ~36 px en móvil, ~56–64 px en escritorio.
   ========================================================================== */

.home .v-section { padding-block: clamp(18px, 2.4vw, 32px); }
.home .v-section--tint { padding-block: clamp(22px, 2.6vw, 34px); }

.home .v-hero + .v-section { padding-top: clamp(28px, 3.4vw, 44px); }

.home .v-section__head { margin-bottom: clamp(14px, 1.6vw, 20px); }
.home .v-brandnav { margin-bottom: clamp(16px, 1.8vw, 24px); }

.home .v-grid { row-gap: 32px; }

/* Portada, productos recientes: dos filas como máximo y, igual que en el bloque
   de vehículos, la última celda es el enlace "Ver todos los productos". Las
   columnas dependen del ancho disponible y con ellas el número de productos a
   la vista (2 × columnas − 1); los demás no se pintan y, al ser de carga
   diferida, su foto no se descarga. */
.v-recent > .v-wrap { container-type: inline-size; }
/* El enlace final ocupa lo mismo que la foto de un producto (un cuadrado, arriba
   en su celda) y el círculo y el texto van centrados dentro, como conjunto. */
.v-recent .v-grid > .v-vmore { align-self: start; aspect-ratio: 1; padding: 8px; }
.v-recent .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-recent .v-grid > .v-card:nth-child(n+4) { display: none; }
@container (min-width: 648px) {
	.v-recent .v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v-recent .v-grid > .v-card:nth-child(-n+5) { display: flex; }
}
@container (min-width: 872px) {
	.v-recent .v-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.v-recent .v-grid > .v-card:nth-child(-n+7) { display: flex; }
}
@container (min-width: 1096px) {
	.v-recent .v-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.v-recent .v-grid > .v-card:nth-child(-n+9) { display: flex; }
}
.home .v-vgrid { row-gap: 24px; }

.home .v-waband { padding-block: clamp(26px, 3vw, 40px); }

/* Bloque final "¿No encuentras el producto?": compacto, texto a la izquierda y
   CTA a la derecha en escritorio; apilado en móvil. */
.home .v-waband__inner { flex-wrap: nowrap; align-items: center; gap: 20px 40px; }
.home .v-waband__copy { max-width: 40rem; }
.home .v-waband__title { margin-bottom: 6px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.home .v-waband__text { color: rgba(255, 255, 255, .84); font-size: 17px; line-height: 1.55; }
.home .v-waband .v-btn { flex: none; }

@media (max-width: 699px) {
	.home .v-waband__inner { flex-direction: column; align-items: stretch; }
	.home .v-waband .v-btn { width: 100%; }
}

/* Movimiento reducido
   ========================================================================== */

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

/* Preguntas frecuentes (portada)
   ========================================================================== */

.v-faq__list { max-width: 860px; border-top: 1px solid var(--v-gray-300); }
.v-faq__item { border-bottom: 1px solid var(--v-gray-300); }

.v-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 16px;
	font-size: clamp(15px, 1.3vw, 17px);
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.v-faq__q::-webkit-details-marker { display: none; }
.v-faq__q:hover { color: var(--v-red); }
.v-faq__q:focus-visible { outline: 2px solid var(--v-red); outline-offset: 2px; }
.v-faq__icon { flex: none; width: 18px; height: 18px; transform: rotate(90deg); transition: transform .2s ease; }
.v-faq__item[open] .v-faq__icon { transform: rotate(-90deg); }

.v-faq__a { display: grid; gap: 10px; max-width: 70ch; padding-bottom: 18px; color: var(--v-gray-800); line-height: 1.6; }
.v-faq__a a:not(.v-textlink) { color: inherit; text-decoration: underline; text-decoration-color: var(--v-red); text-underline-offset: 3px; }

/* Redes sociales (footer) */

.v-footer__social { display: flex; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }

.v-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--v-gray-300);
	border-radius: 50%;
	color: var(--v-gray-800);
	transition: color .2s ease, border-color .2s ease;
}

.v-footer__social a:hover { border-color: var(--v-red); color: var(--v-red); }
.v-footer__social .v-icon { width: 18px; height: 18px; }

/* Consejos y guías (blog)
   ========================================================================== */

.v-bloghead .v-crumbs ol { margin-bottom: 12px; }
.v-bloghead__intro { max-width: 62ch; margin-top: 12px; color: var(--v-gray-600); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; }
.v-bloghead .v-chips { margin-block: 20px 0; }

.v-blog { display: grid; gap: clamp(32px, 4vw, 48px); padding-block: 8px clamp(48px, 6vw, 80px); }

.v-pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px; }

@media (min-width: 600px) {
	.v-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
	.v-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.v-pcard { display: flex; flex-direction: column; min-width: 0; }
.v-pcard__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--v-gray-50); }
.v-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--v-ease); }
.v-pcard__media:hover img { transform: scale(1.03); }
.v-pcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 14px; }
.v-pcard--noimg .v-pcard__body { padding-top: 16px; border-top: 3px solid var(--v-red); }

.v-pcard__cat {
	align-self: flex-start;
	color: var(--v-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	text-transform: uppercase;
}

.v-pcard__cat:hover { text-decoration: underline; }
.v-pcard__title { font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.v-pcard__title a { text-decoration: none; }
.v-pcard__title a:hover { color: var(--v-red); }
.v-pcard__date { color: var(--v-gray-600); font-size: 13px; }
.v-pcard__excerpt { color: var(--v-gray-800); font-size: 15px; line-height: 1.55; }

@media (min-width: 900px) {
	.v-pcard--featured:not(.v-pcard--noimg) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
	.v-pcard--featured .v-pcard__body { padding-top: 0; }
	.v-pcard--featured .v-pcard__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: var(--v-wide); line-height: 1.15; }
	.v-pcard--featured .v-pcard__excerpt { font-size: 17px; }
}

.v-relposts { padding-block: clamp(40px, 5vw, 64px); }
.v-relposts__title { font-size: clamp(1.375rem, 2.4vw, 2rem); }

/* Artículo */

.v-article__head { max-width: 860px; padding-block: clamp(20px, 3vw, 36px) 24px; }
.v-article__head .v-crumbs ol { margin-bottom: 16px; }

.v-article__cat {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--v-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	text-transform: uppercase;
}

.v-article__cat:hover { text-decoration: underline; }

.v-article__title {
	font-size: clamp(1.875rem, 4.4vw, 3rem);
	font-weight: 800;
	font-stretch: var(--v-wide);
	line-height: 1.08;
	letter-spacing: -.01em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.v-article__lead { max-width: 62ch; margin-top: 16px; color: var(--v-gray-800); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; }

.v-article__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; color: var(--v-gray-600); font-size: 14px; }

.v-article__figure { max-width: 860px; margin-bottom: 32px; }
.v-article__figure img { display: block; width: 100%; height: auto; }
.v-article__figure figcaption { margin-top: 8px; color: var(--v-gray-600); font-size: 13px; }

.v-article__body,
.v-about__body { max-width: 860px; }

.v-article__body > *,
.v-about__body > * { max-width: 70ch; }

.v-article__body h2,
.v-about__body h2 { margin-top: 1.8em; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.2; }

.v-article__body h3 { margin-top: 1.5em; font-size: clamp(1.125rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.3; }
.v-article__body h2 + *,
.v-article__body h3 + *,
.v-about__body h2 + * { margin-top: .6em; }

.v-article__body ul,
.v-article__body ol,
.v-about__body ul,
.v-about__body ol { padding-left: 1.3em; }

.v-article__body li + li,
.v-about__body li + li { margin-top: .35em; }

.v-article__body img { height: auto; }

.v-article__body blockquote { padding-left: 18px; border-left: 3px solid var(--v-red); color: var(--v-gray-800); }

/* Tablas: desplazamiento horizontal propio en pantallas estrechas. */
.v-article__body .wp-block-table { max-width: 100%; overflow-x: auto; }
.v-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.v-article__body th,
.v-article__body td { padding: 10px 12px; border: 1px solid var(--v-gray-300); text-align: left; vertical-align: top; }
.v-article__body th { background: var(--v-gray-50); font-weight: 700; }

/* Preguntas frecuentes dentro de un artículo (bloque Detalles). */
.v-article__body details { border-bottom: 1px solid var(--v-gray-300); }
.v-article__body details + details { margin-top: 0; }
.v-article__body summary { padding-block: 12px; font-weight: 700; cursor: pointer; }
.v-article__body details > :not(summary) { margin-bottom: 14px; }

.v-article__sources,
.v-article__author { max-width: 860px; margin-top: 40px; }

.v-article__sources::before { content: ""; display: block; margin-bottom: 20px; border-top: 1px solid var(--v-gray-300); }
.v-article__sources h2 { font-size: 17px; font-weight: 700; }
.v-article__sources ol { margin: 10px 0 0; padding-left: 1.3em; color: var(--v-gray-800); font-size: 15px; line-height: 1.5; }
.v-article__sources li + li { margin-top: 6px; }
.v-article__sources a { overflow-wrap: anywhere; color: inherit; text-decoration-color: var(--v-red); text-underline-offset: 3px; }

/* Firma del autor: caja alineada con la columna de texto y separada de la franja siguiente. */
.v-article__author { margin-bottom: clamp(40px, 5vw, 64px); font-size: 15px; line-height: 1.55; }
.v-article__author-box { padding: 18px 20px; background: var(--v-gray-50); }
.v-article__author-label { margin-bottom: 4px; color: var(--v-gray-600); font-size: 13px; }
.v-article__author-name { font-size: 17px; font-weight: 700; }
.v-article__author-name + p { margin-top: 4px; }

.v-artcat { max-width: 860px; padding-block: clamp(40px, 5vw, 64px) 0; }
.v-artcat .v-section__title { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.v-artcat__sub { margin-block: 24px 14px; font-size: 17px; font-weight: 700; }
.v-artcat__chips { flex-wrap: wrap; overflow: visible; }

/* Sobre nosotros */

.v-about__head { max-width: 860px; padding-block: clamp(20px, 3vw, 36px) 8px; }
.v-about__head .v-crumbs ol { margin-bottom: 16px; }
.v-about__body { padding-bottom: clamp(48px, 6vw, 80px); }
.v-about__contact { font-style: normal; }
.v-about__contact dl { display: grid; gap: 14px; }
.v-about__contact dt { color: var(--v-gray-600); font-size: 14px; }
.v-about__contact dd { margin: 2px 0 0; }
.v-about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.v-about__actions .v-btn { text-decoration: none; }
/* Dentro del texto los enlaces son rojos (.v-prose a): los botones conservan su color. */
.v-about__actions .v-btn--primary { color: var(--v-white); }
.v-about__actions .v-btn--wa { color: var(--v-black); }
/* Separación entre párrafos, listas y datos dentro de cada sección. */
.v-about__body section > :not(h2) + * { margin-top: 1em; }

/* Enlaces institucionales en la franja legal del footer */

.v-footer__legal .v-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.v-footer__links ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.v-footer__links a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.v-footer__links a:hover { color: var(--v-white); text-decoration: underline; text-underline-offset: 3px; }

/* Hero entre 900 y 1099 px: la columna de texto es estrecha; el subtítulo se
   acorta para no tocar la diagonal de la foto. */
@media (min-width: 900px) and (max-width: 1099px) {
	.v-hero__lead { max-width: 21em; }
}

/* Sobre nosotros: fotografía real del almacén. Ocupa el ancho de la columna y
   reserva su altura (16:7) antes de cargar. */
.v-about__body > .v-about__photo { max-width: none; margin: clamp(28px, 4vw, 44px) 0 0; }
.v-about__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; background: var(--v-gray-50); }

/* Fase 1 SEO: marcas enlazadas, categorías enlazadas en vehículos y modelos hermanos. */
.v-pcompat__brands-label { margin-right: 4px; color: var(--v-gray-600); font-weight: 400; }
.v-cathead__brands { margin-top: 10px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.v-cathead__brands > span:first-child { margin-right: 4px; color: var(--v-gray-600); }
.v-vparts__title a { color: inherit; text-decoration: none; }
.v-vparts__title a:hover { color: var(--v-red); text-decoration: underline; text-underline-offset: 5px; }
.v-vsiblings { margin-top: 40px; margin-bottom: 40px; }
.v-vsiblings__title { margin-bottom: 12px; font-size: 1.125rem; font-weight: 800; font-stretch: 108%; }
.v-vsiblings__list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; font-size: 15px; }
/* Título del catálogo general en móviles estrechos: mismo tamaño, letra un poco menos ancha, para que quepa en dos líneas. */
@media (max-width: 389px) {
	.v-cathead__title--catalog { font-stretch: 105%; }
}
