/*
Theme Name:   vraia
Theme URI:    https://vraia.com
Description:  Tema hijo de Hello Elementor para VRAIA.
Author:       VRAIA
Template:     hello-elementor
Version:      1.0.17
Requires PHP: 8.1
Text Domain:  vraia
*/

/* Los estilos del sitio viven en el Kit de Elementor (variables y clases V4).
   Aquí solo van ajustes de plugins y del comportamiento global de la cabecera. */

/* Cabecera: transparente arriba del todo en la portada y sobre el subheader, sólida al hacer scroll. */
.elementor-location-header header.e-con {
	transition: background-color 0.3s ease;
}

body.home:not(.vr-scrolled) .elementor-location-header header.e-con,
body:not(.vr-scrolled):has(.e-7e88ffe-9727) .elementor-location-header header.e-con {
	background-color: transparent;
}

/* Selector de idioma de TranslatePress alineado con la cabecera, como en vraia.com. */
#trp-floater-ls.trp-top-right {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5625rem);
	right: 1.25rem;
	z-index: 101;
}

@media (max-width: 1024px) {
	#trp-floater-ls.trp-top-right {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.375rem);
		right: 3.75rem;
	}
}
/* Subheader: la nota opcional no ocupa espacio si la página no la usa. */
/* Párrafos V4 vacíos (p. ej. entradilla opcional del subheader) no ocupan espacio. */
p.e-paragraph-base:empty,
.vr-subheader-note:empty {
	display: none;
}

/* Texto enriquecido (Editor de texto V3 con la clase vr-rich): fichas técnicas con H3, listas y negritas. */
.vr-rich p {
	margin-block: 0 var(--space-m);
}

.vr-rich h2 {
	margin-block: var(--space-xl) var(--space-s);
	font-family: var(--font-principal);
	font-size: var(--fs-h3);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-texto);
}

.vr-rich h3 {
	margin-block: var(--space-l) var(--space-s);
	font-family: var(--font-principal);
	font-size: var(--fs-h4);
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--color-texto);
}

.vr-rich ul {
	margin-block: 0 var(--space-m);
	padding-inline-start: 1.25rem;
}

.vr-rich li {
	margin-block-end: var(--space-2xs);
}

.vr-rich li::marker {
	color: var(--color-rosa);
}

.vr-rich strong,
.vr-rich b {
	font-weight: 700;
}

.vr-rich > :last-child,
.vr-rich .elementor-widget-container > :last-child {
	margin-block-end: 0;
}
/* Tarjeta con foco de luz que sigue al ratón (bloque "Controla mejor…" de la portada). */
.vr-spotlight {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 12.5rem;
	height: 12.5rem;
	border-radius: 50%;
	background: radial-gradient(circle at center, color-mix(in srgb, var(--color-blanco) 35%, transparent), transparent 80%);
	filter: blur(1.5rem);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 0;
}

.vr-spotlight-host:hover > .vr-spotlight {
	opacity: 1;
}

.vr-spotlight-host > :not(.vr-spotlight) {
	position: relative;
	z-index: 1;
}

/* Titular con degradado vertical (blanco → gris del kit). */
body .elementor .vr-gradient-text {
	background-image: linear-gradient(to bottom, var(--color-blanco), var(--color-gris));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Robot 3D (Three.js): el lienzo ocupa toda su columna. */
.vr-robot canvas {
	position: absolute;
	inset: 0;
}

/* Subheader: fila de botones opcional (principal sólido + secundario ghost). Sin botones, no ocupa espacio. */
.e-5ba7c0e1-acts:not(:has(.e-button-base)) {
	display: none;
}

/* Mismo alto en ambos botones: el sólido lleva un borde transparente como el ghost. */
.e-5ba7c0e1-acts .vr-btn:not(.vr-btn--ghost) {
	border: 1px solid transparent;
}

/* Sobre el fondo negro del subheader el hover del sólido pasa a blanco (el negro por defecto se perdería). */
.e-7e88ffe-9727 .e-5ba7c0e1-acts .vr-btn:not(.vr-btn--ghost):hover {
	background-color: var(--color-blanco);
	color: var(--color-negro);
}

/* FAQ (acordeón V3 con clase vr-faq): estilo común de todas las páginas, sin CSS en el widget. */
.elementor-widget.vr-faq .elementor-accordion .elementor-accordion-item {
	border: 0;
	border-block-end: 1px solid var(--color-rosa);
}

.elementor-widget.vr-faq .elementor-accordion .elementor-accordion-item + .elementor-accordion-item {
	border-block-start: 0;
}

.elementor-widget.vr-faq .elementor-accordion .elementor-tab-title {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: var(--space-m) 0;
	border: 0;
}

.elementor-widget.vr-faq .elementor-accordion .elementor-accordion-title {
	font-family: var(--font-principal), sans-serif;
	font-size: var(--fs-h4);
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -0.03em;
	color: var(--color-texto);
}

.elementor-widget.vr-faq .elementor-accordion .elementor-tab-title:hover .elementor-accordion-title,
.elementor-widget.vr-faq .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title {
	color: var(--color-rosa);
}

.elementor-widget.vr-faq .elementor-accordion .elementor-accordion-icon {
	flex: 0 0 1.25rem;
	width: 1.25rem;
	color: var(--color-texto);
	fill: var(--color-texto);
}

.elementor-widget.vr-faq .elementor-accordion .elementor-accordion-icon svg {
	width: 1rem;
	height: 1rem;
	fill: currentColor;
}

.elementor-widget.vr-faq .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon {
	color: var(--color-rosa);
	fill: var(--color-rosa);
}

.elementor-widget.vr-faq .elementor-accordion .elementor-tab-content {
	padding: 0 0 var(--space-m) calc(1.25rem + 16px);
	border: 0;
	font-family: var(--font-texto), sans-serif;
	font-size: var(--fs-body);
	line-height: 1.75;
	color: var(--color-texto);
}

/* Botones: el texto salta de línea en pantallas estrechas en vez de salirse del contenedor
   (los <button> sin enlace heredan white-space: nowrap del tema padre). */
.elementor .vr-btn {
	white-space: normal;
	max-width: 100%;
}

/* ------------------------------------------------------------------
 * Enlaces con efecto al pasar el ratón (clase global vr-hover-links).
 * Cada hijo directo es un enlace (e-flexbox con etiqueta a): título h3,
 * texto e imagen. El script vraia-hover-links parte el título en letras
 * y añade la flecha; la imagen sigue al cursor.
 * ------------------------------------------------------------------ */
.vr-hover-links > a {
	position: relative;
	overflow: visible;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.5s ease;
}
.vr-hover-links > a > :not(img) {
	position: relative;
	z-index: 1;
}
.vr-hover-links > a h3 {
	transition: color 0.5s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vr-hover-links .vr-hl-word {
	display: inline-block;
	white-space: nowrap;
}
.vr-hover-links .vr-hl-char {
	display: inline-block;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vr-hover-links .vr-hl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.vr-hover-links .vr-hl-arrow {
	position: absolute;
	z-index: 1;
	inset-inline-end: 0;
	inset-block-start: 50%;
	translate: 0 -50%;
	overflow: hidden;
	padding: 1rem;
	color: var(--color-rosa);
	line-height: 0;
}
.vr-hover-links .vr-hl-arrow svg {
	width: 3rem;
	height: 3rem;
	transform: translateX(100%);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.vr-hover-links > a img {
	position: absolute;
	z-index: 0;
	inset-block-start: var(--vr-hl-y, 50%);
	inset-inline-start: var(--vr-hl-x, 70%);
	width: 13rem;
	height: 9.75rem;
	object-fit: cover;
	border-radius: var(--radius-m, 0.9375rem);
	box-shadow: 0 1.25rem 2.5rem -0.75rem color-mix(in srgb, var(--color-negro) 45%, transparent);
	translate: 0 -50%;
	transform: scale(0) rotate(-8deg);
	pointer-events: none;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), inset-block-start 0.35s ease-out, inset-inline-start 0.35s ease-out;
}
@media (hover: hover) {
	.vr-hover-links > a:hover h3 {
		color: var(--color-rosa);
		transform: translateX(-1rem);
	}
	.vr-hover-links > a:hover .vr-hl-char {
		transform: translateX(1rem);
		transition-delay: calc(0.2s + var(--i, 0) * 0.02s);
	}
	.vr-hover-links > a:hover .vr-hl-arrow svg {
		transform: translateX(0);
		opacity: 1;
	}
	.vr-hover-links > a:hover img {
		transform: scale(1) rotate(8deg);
	}
}
/* La imagen vive en la franja libre entre el texto y la flecha; si no cabe, no se muestra. */
@media (hover: none), (max-width: 1199px) {
	.vr-hover-links > a img {
		display: none;
	}
}
@media (hover: none) {
	.vr-hover-links .vr-hl-arrow svg {
		width: 2rem;
		height: 2rem;
		transform: none;
		opacity: 1;
	}
}
.vr-hover-links > a:focus-visible {
	outline: 2px solid var(--color-rosa);
	outline-offset: 0.5rem;
}
.vr-hover-links > a:focus-visible .vr-hl-arrow svg {
	transform: translateX(0);
	opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
	.vr-hover-links > a h3,
	.vr-hover-links .vr-hl-char,
	.vr-hover-links .vr-hl-arrow svg,
	.vr-hover-links > a img {
		transition: none;
	}
	.vr-hover-links > a:hover h3,
	.vr-hover-links > a:hover .vr-hl-char {
		transform: none;
	}
}
/* ------------------------------------------------------------------
 * Banda curva de productos (clase global vr-tilted-grid).
 * Las tarjetas del bloque son la fuente: el script vraia-tilted-grid las
 * oculta (.vr-tg-source) y monta una fila que gira sobre un cilindro.
 * El alto del bloque lo fija la clase global (lo necesitan cqh/cqw).
 * ------------------------------------------------------------------ */
.vr-tilted-grid {
	position: relative;
	overflow: hidden;
	container-type: size;
}
/* La regla de Elementor para los elementos atómicos gana a un selector simple. */
.elementor .vr-tilted-grid > .vr-tg-source,
.vr-tilted-grid > .vr-tg-source {
	display: none;
}
.vr-tg-band {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.vr-tg-band.is-ready {
	opacity: 1;
}
.vr-tg-tile {
	position: absolute;
	display: block;
	transform-style: preserve-3d;
	color: var(--color-blanco);
	text-decoration: none;
}
.vr-tg-band.has-links .vr-tg-tile {
	pointer-events: auto;
	cursor: pointer;
}
.vr-tg-band.has-links:hover .vr-tg-tile,
.vr-tg-band.has-links:focus-within .vr-tg-tile {
	animation-play-state: paused;
}
.vr-tg-tile:focus-visible {
	outline: 2px solid var(--color-rosa);
	outline-offset: 4px;
}
.vr-tg-slice {
	position: absolute;
	top: 0;
	overflow: hidden;
	background: var(--color-negro);
}
.vr-tg-slice:first-child {
	border-start-start-radius: var(--radius-m, 0.9375rem);
	border-end-start-radius: var(--radius-m, 0.9375rem);
}
.vr-tg-slice:last-child {
	border-start-end-radius: var(--radius-m, 0.9375rem);
	border-end-end-radius: var(--radius-m, 0.9375rem);
}
.vr-tg-face {
	position: absolute;
	top: 0;
}
.vr-tg-face img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.vr-tg-tile:hover .vr-tg-face img {
	transform: scale(1.04);
}
.vr-tg-caption {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	display: block;
	padding-block-start: 30% !important;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-negro) 85%, transparent), transparent);
	color: var(--color-blanco);
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-align: start;
}
.vr-tg-tile:hover .vr-tg-caption {
	color: var(--color-rosa);
}
/* ------------------------------------------------------------------
 * Carrusel Warp de productos (clase global vr-warp-carousel).
 * Las tarjetas del bloque son la fuente: el script vraia-warp-carousel
 * las oculta (.vr-wc-source), pinta el anillo en un canvas y añade
 * debajo un enlace al producto que queda al frente.
 * ------------------------------------------------------------------ */
.vr-warp-carousel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--gap-s, 16px);
}
.elementor .vr-warp-carousel > .vr-wc-source,
.vr-warp-carousel > .vr-wc-source {
	display: none;
}
.vr-wc-stage {
	position: relative;
	width: 100%;
	/* Elementor fija el display del bloque: el alto del escenario se calcula aquí, dejando sitio al enlace. */
	height: calc(100% - 3.5rem);
	overflow: hidden;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
	outline: none;
}
.vr-wc-stage:active {
	cursor: grabbing;
}
.vr-wc-stage:focus-visible {
	outline: 2px solid var(--color-rosa);
	outline-offset: 4px;
}
.vr-wc-stage canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.vr-wc-link {
	display: flex;
	width: max-content;
	max-width: 100%;
	margin: 1rem auto 0;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-texto);
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: var(--fs-h4, 1.125rem);
	text-decoration: none;
	transition: color 0.3s ease;
}
.vr-wc-link svg {
	width: 1.25em;
	height: 1.25em;
	color: var(--color-rosa);
	transition: transform 0.3s ease;
}
.vr-wc-link:hover {
	color: var(--color-rosa);
}
.vr-wc-link:hover svg {
	transform: translateX(0.25rem);
}
/* ------------------------------------------------------------------
 * Carrusel de inspección de productos (clase global vr-scan-carousel).
 * Las tarjetas del bloque son la fuente: el script vraia-scan-carousel
 * las oculta (.vr-sc-source) y monta paneles verticales. El activo se
 * despliega con el visor de inspección (esquinas y línea láser).
 * ------------------------------------------------------------------ */
.elementor .vr-scan-carousel > .vr-sc-source,
.vr-scan-carousel > .vr-sc-source {
	display: none;
}
.vr-sc {
	width: 100%;
}
.vr-sc-track {
	display: flex;
	gap: var(--gap-xs, 12px);
	height: 34rem;
}
.vr-sc-panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--radius-l, 1.5625rem);
	background: var(--color-negro);
	color: var(--color-blanco);
	cursor: pointer;
	outline: none;
	transition: flex-grow 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.vr-sc-panel.is-active {
	flex-grow: 5;
}
.vr-sc-panel:focus-visible {
	outline: 2px solid var(--color-rosa);
	outline-offset: 3px;
}
.vr-sc-panel > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	filter: grayscale(1) brightness(0.45);
	transform: scale(1.12);
	transition: filter 0.9s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.vr-sc-panel:hover > img {
	filter: grayscale(1) brightness(0.65);
}
.vr-sc-panel.is-active > img {
	filter: none;
	transform: scale(1);
}
.vr-sc-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-negro) 92%, transparent) 0%, color-mix(in srgb, var(--color-negro) 35%, transparent) 45%, transparent 70%);
	pointer-events: none;
}
/* Visor de inspección: cuatro esquinas que encuadran el producto y una línea láser que lo barre. */
.vr-sc-reticle {
	position: absolute;
	z-index: 1;
	/* Las esquinas van pegadas al borde; el contenido queda dentro de ellas (ver .vr-sc-body). */
	inset: 1rem;
	pointer-events: none;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.4s ease 0.45s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}
.vr-sc-reticle i {
	position: absolute;
	width: 1.75rem;
	height: 1.75rem;
	border: 0 solid var(--color-rosa);
}
.vr-sc-reticle i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vr-sc-reticle i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vr-sc-reticle i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vr-sc-reticle i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vr-sc-panel.is-active .vr-sc-reticle {
	opacity: 1;
	transform: scale(1);
}
.vr-sc-scan {
	position: absolute;
	z-index: 1;
	inset-inline: 1rem;
	top: 1rem;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--color-rosa) 20%, var(--color-rosa) 80%, transparent);
	box-shadow: 0 0 1rem 0.15rem color-mix(in srgb, var(--color-rosa) 65%, transparent);
	opacity: 0;
	pointer-events: none;
}
.vr-sc-panel.is-active .vr-sc-scan {
	animation: vr-sc-scan 3.6s cubic-bezier(0.45, 0, 0.55, 1) 0.7s infinite;
}
@keyframes vr-sc-scan {
	0% { top: 1rem; opacity: 0; }
	8% { opacity: 1; }
	50% { top: calc(100% - 1rem); opacity: 1; }
	58% { opacity: 0; }
	100% { top: calc(100% - 1rem); opacity: 0; }
}
.vr-sc-rail {
	position: absolute;
	z-index: 2;
	inset-inline-start: 0;
	inset-block: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-block: 1.75rem;
	opacity: 1;
	transition: opacity 0.3s ease;
}
.vr-sc-panel.is-active .vr-sc-rail {
	opacity: 0;
}
.vr-sc-label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	max-height: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
}
.vr-sc-num {
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--color-rosa);
	font-variant-numeric: tabular-nums;
}
.vr-sc-body {
	position: absolute;
	z-index: 2;
	inset-inline-start: 0;
	inset-block-end: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	width: min(38rem, 100%);
	padding: 3.25rem 3.5rem;
	opacity: 0;
	transform: translateY(1.25rem);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.vr-sc-panel.is-active .vr-sc-body {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.6s ease 0.4s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
/* Elementor fija el tamaño de los h3 con más especificidad: se refuerza con el contenedor. */
.elementor .vr-sc .vr-sc-title,
.vr-sc-title {
	margin: 0;
	color: var(--color-blanco);
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: var(--fs-h3, 2rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.vr-sc-text {
	margin: 0;
	color: color-mix(in srgb, var(--color-blanco) 82%, transparent);
	font-size: 1rem;
	line-height: 1.6;
}
.vr-sc-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-block-start: 0.5rem;
	padding: 0.8rem 1.35rem;
	border-radius: 999px;
	background: var(--color-rosa);
	color: var(--color-blanco);
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.vr-sc-cta svg {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.3s ease;
}
.vr-sc-cta:hover,
.vr-sc-cta:focus-visible {
	background: var(--color-blanco);
	color: var(--color-negro);
}
.vr-sc-cta:hover svg {
	transform: translateX(0.25rem);
}
.vr-sc-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-block-start: 1.5rem;
}
.vr-sc-count {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	color: var(--color-texto);
	font-family: var(--font-principal, 'Sora'), sans-serif;
	font-weight: 600;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}
.vr-sc-total {
	color: var(--color-gris);
}
.vr-sc-line {
	position: relative;
	width: 7.5rem;
	height: 2px;
	overflow: hidden;
	background: color-mix(in srgb, var(--color-negro) 12%, transparent);
}
.vr-sc-fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 0;
	background: var(--color-rosa);
}
@keyframes vr-sc-fill {
	from { width: 0; }
	to { width: 100%; }
}
.vr-sc-nav {
	display: flex;
	gap: 0.5rem;
}
.elementor .vr-sc-btn,
.vr-sc-btn {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid var(--color-negro);
	border-radius: 50%;
	background: transparent;
	color: var(--color-negro);
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.vr-sc-btn svg {
	width: 1.25rem;
	height: 1.25rem;
}
.elementor .vr-sc-btn:hover,
.elementor .vr-sc-btn:focus-visible {
	background: var(--color-negro);
	color: var(--color-blanco);
}
@media (max-width: 767px) {
	.vr-sc-track {
		height: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.vr-sc-track::-webkit-scrollbar {
		display: none;
	}
	.vr-sc-panel,
	.vr-sc-panel.is-active {
		flex: 0 0 84%;
		height: 30rem;
		scroll-snap-align: center;
	}
	.vr-sc-panel > img {
		filter: none;
		transform: none;
	}
	.vr-sc-rail {
		display: none;
	}
	.vr-sc-body {
		opacity: 1;
		transform: none;
		pointer-events: auto;
		padding: 2.25rem 2rem;
	}
	.elementor .vr-sc .vr-sc-title,
	.vr-sc-title {
		font-size: 1.5rem;
	}
	.vr-sc-text {
		font-size: 0.9375rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.vr-sc-panel,
	.vr-sc-panel > img,
	.vr-sc-body,
	.vr-sc-reticle {
		transition: none;
	}
	.vr-sc-panel.is-active .vr-sc-scan {
		animation: none;
	}
}
/* ------------------------------------------------------------------
 * Visor de inspección (clase global vr-viewfinder): cuatro esquinas rosas,
 * un resplandor en la esquina superior derecha y una línea láser que barre
 * el bloque. Mismo lenguaje que el carrusel de productos.
 * ------------------------------------------------------------------ */
.vr-viewfinder {
	isolation: isolate;
	--vf-in: clamp(1rem, 2.5vw, 1.75rem);
	--vf-len: clamp(1.5rem, 3vw, 2.25rem);
}
.vr-viewfinder::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(var(--color-rosa), var(--color-rosa)) left var(--vf-in) top var(--vf-in) / var(--vf-len) 2px no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) left var(--vf-in) top var(--vf-in) / 2px var(--vf-len) no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) right var(--vf-in) top var(--vf-in) / var(--vf-len) 2px no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) right var(--vf-in) top var(--vf-in) / 2px var(--vf-len) no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) left var(--vf-in) bottom var(--vf-in) / var(--vf-len) 2px no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) left var(--vf-in) bottom var(--vf-in) / 2px var(--vf-len) no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) right var(--vf-in) bottom var(--vf-in) / var(--vf-len) 2px no-repeat,
		linear-gradient(var(--color-rosa), var(--color-rosa)) right var(--vf-in) bottom var(--vf-in) / 2px var(--vf-len) no-repeat,
		radial-gradient(55% 90% at 100% 0%, color-mix(in srgb, var(--color-rosa) 24%, transparent), transparent 72%);
}
.vr-viewfinder::after {
	content: "";
	position: absolute;
	z-index: 0;
	inset-inline: var(--vf-in);
	top: var(--vf-in);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-rosa) 25%, var(--color-rosa) 75%, transparent);
	box-shadow: 0 0 1.25rem 0.2rem color-mix(in srgb, var(--color-rosa) 45%, transparent);
	opacity: 0;
	pointer-events: none;
	animation: vr-vf-scan 7s cubic-bezier(0.45, 0, 0.55, 1) 1s infinite;
}
@keyframes vr-vf-scan {
	0% { top: var(--vf-in); opacity: 0; }
	6% { opacity: 0.7; }
	45% { top: calc(100% - var(--vf-in)); opacity: 0.7; }
	52% { opacity: 0; }
	100% { top: calc(100% - var(--vf-in)); opacity: 0; }
}
.vr-viewfinder > * {
	position: relative;
	z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
	.vr-viewfinder::after {
		animation: none;
	}
}
/* ------------------------------------------------------------------
 * Globo de puntos (clase global vr-globe). El script vraia-globe añade
 * el canvas; se ve la mitad superior y se funde con el fondo.
 * ------------------------------------------------------------------ */
.vr-globe {
	position: relative;
	width: 100%;
	/* Se ve la mitad superior: el globo ocupa el 85 % del ancho de la pantalla y se corta en el borde inferior. */
	height: 31vw;
	overflow: hidden;
}
.vr-globe-canvas {
	position: absolute;
	/* El dibujo de la esfera deja aire arriba dentro del canvas: se sube para acercarlo al texto. */
	top: -9vw;
	left: 50%;
	width: 85vw;
	aspect-ratio: 1;
	transform: translateX(-50%);
	opacity: 0;
	cursor: grab;
	touch-action: pan-y;
	contain: layout paint size;
	transition: opacity 1.2s ease;
}
/* ------------------------------------------------------------------
 * Selector de idioma en la cabecera ([vraia_idiomas]): mismo estilo que
 * los enlaces del menú, separado por un filete; el idioma activo lleva
 * un subrayado rosa como estado activo.
 * ------------------------------------------------------------------ */
.vr-lang {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-inline-start: 0.5rem;
	padding-inline-start: 1.25rem;
	border-inline-start: 1px solid color-mix(in srgb, var(--color-blanco) 25%, transparent);
	font-family: var(--font-texto, 'Manrope'), sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}
.vr-lang__item {
	position: relative;
	padding-block: 0.375rem;
	color: color-mix(in srgb, var(--color-blanco) 55%, transparent);
	text-decoration: none;
	transition: color 0.25s ease;
}
.vr-lang a.vr-lang__item:hover,
.vr-lang a.vr-lang__item:focus-visible {
	color: var(--color-blanco);
}
.vr-lang a.vr-lang__item:focus-visible {
	outline: 2px solid var(--color-rosa);
	outline-offset: 3px;
	border-radius: 2px;
}
.vr-lang__item.is-current {
	color: var(--color-blanco);
}
.vr-lang__item.is-current::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: -0.125rem;
	height: 2px;
	border-radius: 2px;
	background: var(--color-rosa);
}
.vr-lang__sep {
	color: color-mix(in srgb, var(--color-blanco) 30%, transparent);
	font-weight: 400;
}
@media (max-width: 1024px) {
	.vr-lang {
		margin-inline-start: 0;
		padding-inline-start: 0;
		border-inline-start: 0;
		gap: 0.375rem;
		font-size: 13px;
	}
}
/* El widget que contiene el selector no debe encogerse en la fila de la cabecera. */
.elementor-widget:has(.vr-lang) {
	flex: 0 0 auto;
	width: auto;
}
.vr-lang {
	width: max-content;
}

/* ------------------------------------------------------------------
 * CTA partida (vr-cta-split): texto sobre fondo oscuro + foto a sangre.
 * La foto se funde con el panel y se acerca levemente al pasar el ratón.
 * ------------------------------------------------------------------ */
.vr-cta-split { --vr-cta-bg: #0a0c10; }
.vr-cta-split > img { transition: transform .9s cubic-bezier(.2,.7,.2,1); transform-origin: 60% 50%; }
.vr-cta-split:hover > img { transform: scale(1.035); }
.vr-cta-split::after { content: ''; position: absolute; z-index: 1; pointer-events: none; top: 0; bottom: 0; left: calc(50% - 2px); width: 22%; background: linear-gradient(90deg, var(--vr-cta-bg) 0%, color-mix(in srgb, var(--vr-cta-bg) 55%, transparent) 45%, transparent 100%); }
.vr-cta-split > .e-con { position: relative; z-index: 2; }
@media (max-width: 767px) {
	.vr-cta-split::after { left: 0; right: 0; width: auto; top: auto; bottom: calc(16rem - 4.5rem); height: calc(4.5rem + 2px); background: linear-gradient(180deg, var(--vr-cta-bg), transparent); }
}
@media (prefers-reduced-motion: reduce) { .vr-cta-split > img { transition: none; } .vr-cta-split:hover > img { transform: none; } }

/* ------------------------------------------------------------------
 * CTA con persianas de luz (vr-cta-blinds). Port del componente
 * «Gradient Blinds CTA Banner»: lamas WebGL2 a sangre (assets/js/vraia-blinds.js),
 * velo oscuro encima y texto abajo a la izquierda.
 * ------------------------------------------------------------------ */
.elementor .vr-cta-blinds {
	--vr-void: #05090c;
	--vr-signal: #e94880;
	aspect-ratio: 3.4 / 1;
	min-height: fit-content;
	align-items: stretch;
	background: var(--vr-void);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 28px 56px -28px rgba(0, 0, 0, .45);
}
.vr-cta-blinds > .vr-spotlight { display: none; }
.elementor .vr-cta-blinds > .vr-blinds { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; }
.vr-blinds canvas { display: block; width: 100%; height: 100%; }
.elementor .vr-cta-blinds > .vr-blinds-scrim {
	position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
	background:
		linear-gradient(105deg, rgba(5, 9, 12, .72) 0%, rgba(5, 9, 12, .38) 42%, rgba(5, 9, 12, .18) 100%),
		radial-gradient(90% 80% at 78% 50%, rgba(233, 72, 128, .22), transparent 62%);
}
.vr-blinds--fallback .vr-blinds { background: radial-gradient(70% 90% at 75% 55%, rgba(233, 72, 128, .45), transparent 70%); }
.elementor .vr-cta-blinds > .e-con { position: relative; z-index: 2; justify-content: flex-end; }
.elementor .vr-cta-blinds h2 { font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.elementor .vr-cta-blinds p { max-width: 40ch; color: rgba(255, 255, 255, .72); }
.elementor .vr-cta-blinds a.e-button-base:not([href^="tel:"]) { border-radius: 999px; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 28px -12px rgba(233, 72, 128, .7); transition: transform .16s ease, background .16s ease; }
.elementor .vr-cta-blinds a.e-button-base:not([href^="tel:"])::after { content: '\2192'; margin-left: .45em; }
.elementor .vr-cta-blinds a.e-button-base:not([href^="tel:"]):hover { transform: translateY(-1px); }
.elementor .vr-cta-blinds a[href^="tel:"] { background: transparent; border-color: transparent; box-shadow: none; padding-inline: .25rem; color: rgba(255, 255, 255, .85); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: .35em; }
.elementor .vr-cta-blinds a[href^="tel:"]:hover { color: #fff; text-decoration-color: var(--vr-signal); }
@media (max-width: 991px) {
	.elementor .vr-cta-blinds { aspect-ratio: auto; min-height: 24rem; }
}
@media (max-width: 767px) {
	.elementor .vr-cta-blinds { padding-bottom: 38%; }
	.elementor .vr-cta-blinds > .vr-blinds-scrim { background: linear-gradient(180deg, rgba(5, 9, 12, .82) 0%, rgba(5, 9, 12, .55) 55%, rgba(5, 9, 12, .1) 100%), radial-gradient(90% 50% at 60% 85%, rgba(233, 72, 128, .25), transparent 70%); }
}
/* Entradas del blog: la imagen destacada no debe encogerse dentro del contenedor flex (si no, se monta sobre el texto). */
.e-con > .elementor-widget-theme-post-featured-image { flex-shrink: 0; width: 100%; }
.elementor-widget-theme-post-featured-image img { display: block; width: 100%; height: auto; margin-inline: auto; }
