/*
Theme Name:   OverTheme
Theme URI:    https://donover.com
Description:  Tema de Don Over sobre Hello Elementor. La cabecera y el pie se diseñan con el Theme Builder de Elementor (PRO Elements); aquí va lo que Elementor no resuelve: la barra lateral fija, la tienda, el carrusel, el buscador, la navegación móvil y las animaciones de carga.
Author:       Don Over
Template:     hello-elementor
Version:      1.11.0
Requires PHP: 8.1
Text Domain:  overtheme
*/

:root {
	--dnv-rojo: #ff0000;
	--dnv-rojo-oscuro: #c40000;
	--dnv-negro: #0a0000;
	--dnv-texto: #222529;
	--dnv-suave: #6b6f76;
	--dnv-acento: #ee8379;
	--dnv-gris: #e1e3e8;
	--dnv-lateral: 260px;
	--dnv-tabbar: 68px;
	--dnv-curva: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes dnv-giro { to { transform: rotate(360deg); } }
@keyframes dnv-brillo { to { background-position: -200% 0; } }
@keyframes dnv-sacude { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes dnv-entra { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

html.dnv-sin-scroll,
html.dnv-sin-scroll body {
	overflow: hidden;
}

/* Lo que el JS oculta con el atributo hidden se oculta siempre, aunque la
 * clase del componente le dé display: grid/flex. */
[hidden] {
	display: none !important;
}

.dnv-ico {
	display: block;
	flex: none;
	width: 22px;
	height: 22px;
}

a,
button,
.dnv-tab {
	-webkit-tap-highlight-color: transparent;
}

/* Transición suave entre páginas donde el navegador la soporte. */
@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.22s;
}

/*
 * La barra lateral no parpadea al cambiar de página. Solo en escritorio:
 * view-transition-name crea un contexto de apilamiento, y en móvil (cabecera
 * estática) dejaba el carrito lateral atrapado detrás de los productos.
 */
@media (min-width: 1025px) {
	.elementor-location-header:has(.dnv-header) {
		view-transition-name: dnv-cabecera;
	}
}

.dnv-tabbar {
	view-transition-name: dnv-tabbar;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}

/*
 * El contenido ocupa todo el ancho disponible y arranca pegado a la barra
 * lateral. Hello lo centraba con cortes de Bootstrap (600/800/1140px) y en
 * pantallas anchas quedaban columnas vacías a los lados.
 */
body:not([class*="elementor-page-"]) .site-main {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 16px 16px 32px;
}

@media (min-width: 768px) {
	body:not([class*="elementor-page-"]) .site-main {
		padding: 24px 24px 40px;
	}
}

@media (min-width: 1025px) {
	body:not([class*="elementor-page-"]) .site-main {
		padding: 28px 36px 48px;
	}
}

/* ------------------------------------------------------------------
 * Cabecera lateral.
 *
 * La plantilla "Cabecera Don Over" es un contenedor normal de Elementor.
 * En escritorio (más de 1024px, el corte "tablet" de Elementor) se fija
 * a la izquierda como hacía Porto; en tablet y móvil queda como barra
 * superior. Solo se aplica si la página tiene esa cabecera, así el login
 * (lienzo de Elementor, sin cabecera) no se desplaza.
 * ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body:has(.elementor-location-header .dnv-header) {
		padding-left: var(--dnv-lateral);
	}

	.elementor-location-header:has(.dnv-header) {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100;
		width: var(--dnv-lateral);
		overflow-y: auto;
	}

	.admin-bar .elementor-location-header:has(.dnv-header) {
		top: 32px;
	}

	.dnv-header {
		min-height: 100%;
	}

	/* Empuja el bloque de soporte al fondo de la barra. */
	.dnv-header .dnv-soporte {
		margin-top: auto;
	}
}

/* En la barra superior (tablet y móvil) los iconos ocupan solo lo suyo. */
@media (max-width: 1024px) {
	.dnv-header .dnv-iconos {
		--width: auto !important;
		width: auto !important;
	}
}

.dnv-header .elementor-nav-menu a,
.dnv-header .elementor-nav-menu--main .elementor-item {
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.dnv-header .elementor-nav-menu--main .elementor-item {
	border-radius: 8px;
	transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.dnv-header .elementor-nav-menu--main .elementor-item:hover,
.dnv-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #fff;
	background: rgba(0, 0, 0, 0.25);
}

.dnv-header .elementor-nav-menu--main .elementor-item:hover {
	padding-left: 26px;
}

.dnv-header .elementor-menu-cart__toggle .elementor-button {
	color: #fff;
	background: transparent;
	border: 0;
	padding: 6px;
}

/* Carrito lateral: botones con la marca (Elementor los trae en gris). */
.elementor-menu-cart__footer-buttons .elementor-button {
	font-weight: 700;
	border-radius: 10px;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout {
	color: #fff;
	background: var(--dnv-rojo);
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
	color: #fff;
	background: var(--dnv-rojo-oscuro);
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
	color: var(--dnv-texto);
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--dnv-gris);
}

/* Lupa de la barra superior (abre la capa de búsqueda). */
.dnv-buscar-abrir {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.dnv-buscar-abrir:hover,
.dnv-buscar-abrir:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.dnv-buscar-abrir:active {
	transform: scale(0.92);
}

/* ------------------------------------------------------------------
 * Pie.
 * ------------------------------------------------------------------ */
.dnv-footer a {
	color: var(--dnv-texto);
	font-weight: 600;
}

/* Hello trae los enlaces en rosa (#c36); aquí van en el rojo de la marca. */
a {
	color: var(--dnv-rojo-oscuro);
}

a:hover,
a:active {
	color: var(--dnv-rojo);
}

/* ------------------------------------------------------------------
 * Tienda.
 *
 * Tarjetas blancas sobre la grilla (CSS grid con auto-fill: más columnas
 * cuanto más ancha la pantalla). Todas las tarjetas de una fila miden lo
 * mismo y el botón queda abajo, así los botones siempre se alinean.
 * ------------------------------------------------------------------ */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin: 0 0 32px;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 10px 10px 12px;
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s var(--dnv-curva);
}

@media (hover: hover) {
	.woocommerce ul.products li.product:not(.outofstock):hover {
		border-color: #f4d3d3;
		box-shadow: 0 20px 36px -22px rgba(140, 0, 0, 0.45);
		transform: translateY(-3px);
	}
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	color: inherit;
	border-radius: 12px;
	outline-offset: 3px;
}

.woocommerce ul.products li.product a img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 0 12px !important;
	border-radius: 12px;
	background: #ececef;
}

/* Esqueleto: brillo mientras la imagen no ha llegado. */
.woocommerce ul.products li.product a img:not(.is-cargada) {
	background: linear-gradient(100deg, #ececef 40%, #f8f8fa 50%, #ececef 60%) #ececef;
	background-size: 200% 100%;
	animation: dnv-brillo 1.1s linear infinite;
}

/* Entrada escalonada: solo con JS (sin JS todo se ve de una). */
html.dnv-js .woocommerce ul.products li.product {
	opacity: 0;
	transform: translateY(18px);
}

html.dnv-js .woocommerce ul.products li.product.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease, transform 0.55s var(--dnv-curva), box-shadow 0.3s ease, border-color 0.3s ease;
	transition-delay: calc(min(var(--dnv-i, 0), 8) * 55ms), calc(min(var(--dnv-i, 0), 8) * 55ms), 0s, 0s;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: 2.5em;
	margin: 0 4px 8px;
	padding: 0;
	overflow: hidden;
	color: #3a3d44;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	text-transform: uppercase;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 4px 4px;
	color: #101215;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
	margin-right: 1px;
	font-size: 0.7em;
	font-weight: 700;
	vertical-align: 0.18em;
}

.woocommerce ul.products li.product .price del {
	margin-right: 6px;
	color: #9aa0a8;
	font-size: 0.65em;
	font-weight: 600;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--dnv-texto);
	font-weight: 700;
}

/* Botones de la grilla: abajo, a todo el ancho, con icono y estados. */
.woocommerce ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: stretch;
	min-height: 44px;
	margin-top: auto !important;
	padding: 10px 12px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	border-radius: 12px;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product .button .dnv-ico {
	width: 18px;
	height: 18px;
}

.woocommerce ul.products li.product .button:active {
	transform: scale(0.97);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	color: #fff;
	background: var(--dnv-rojo);
	border-radius: 10px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	color: #fff;
	background: var(--dnv-rojo-oscuro);
}

.woocommerce ul.products li.product .dnv-btn--agregar {
	box-shadow: 0 8px 18px -10px rgba(255, 0, 0, 0.7);
}

.woocommerce ul.products li.product .dnv-btn--generar {
	background: var(--dnv-texto);
}

.woocommerce ul.products li.product .dnv-btn--generar:hover {
	background: #000;
}

.woocommerce ul.products li.product .dnv-btn--agotado {
	color: #8a8f98;
	background: #f1f2f4;
	box-shadow: none;
	cursor: not-allowed;
}

/* Agotado: imagen apagada y etiqueta encima. */
.woocommerce ul.products li.product.outofstock {
	background: #fbfbfc;
}

.woocommerce ul.products li.product.outofstock a img {
	filter: grayscale(1) brightness(0.9);
	opacity: 0.75;
}

.woocommerce ul.products li.product.outofstock a.woocommerce-LoopProduct-link::after {
	content: "Agotado";
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 10px;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(20, 20, 24, 0.82);
	border-radius: 999px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.woocommerce ul.products li.product.outofstock .woocommerce-loop-product__title,
.woocommerce ul.products li.product.outofstock .price {
	color: #9aa0a8;
}

.dnv-btn.is-cargando {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.dnv-btn.is-cargando .dnv-ico {
	opacity: 0;
}

.dnv-btn.is-cargando::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dnv-giro 0.7s linear infinite;
}

.woocommerce ul.products li.product .dnv-btn.is-agregado {
	background: #12a150;
	box-shadow: none;
}

.is-sacude {
	animation: dnv-sacude 0.4s ease;
}

@media (max-width: 767px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		padding: 8px 8px 10px;
		border-radius: 16px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.72rem;
	}

	.woocommerce ul.products li.product .price {
		font-size: 1.12rem;
	}

	.woocommerce ul.products li.product .button {
		gap: 6px;
		min-height: 42px;
		padding: 9px 6px;
		font-size: 0.78rem;
	}

	.woocommerce ul.products li.product .button .dnv-ico {
		width: 16px;
		height: 16px;
	}
}

/* Campo opcional del perfil en la página de producto. */
.dnv-perfil-campo {
	margin: 0 0 16px;
}

.dnv-perfil-campo label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.dnv-perfil-campo label span {
	color: var(--dnv-suave);
	font-weight: 400;
}

.dnv-perfil-campo input {
	width: 100%;
	max-width: 360px;
	height: 46px;
	padding: 0 14px;
	font-size: 16px;
	border: 1.5px solid #d6d6db;
	border-radius: 12px;
}

/* ------------------------------------------------------------------
 * Carrusel de la tienda (oculto en móvil).
 * ------------------------------------------------------------------ */
.dnv-carrusel {
	position: relative;
	aspect-ratio: var(--dnv-proporcion, 6 / 1);
	margin: 0 0 28px;
	overflow: hidden;
	background: #1a0000;
	border-radius: 14px;
	box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.6);
	animation: dnv-entra 0.6s var(--dnv-curva) both;
}

.dnv-carrusel__pista {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	transition: opacity 0.22s ease;
}

.dnv-carrusel__pista::-webkit-scrollbar {
	display: none;
}

.dnv-carrusel.is-fundiendo .dnv-carrusel__pista {
	opacity: 0;
}

.dnv-carrusel__slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.dnv-carrusel__slide a,
.dnv-carrusel__slide picture {
	display: block;
	height: 100%;
}

.dnv-carrusel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Imagen de otro formato que la caja: completa (sin recortar ni estirar) y,
 * detrás, la misma imagen difuminada y oscurecida llenando el espacio.
 */
.dnv-carrusel__slide.is-ajustada .dnv-carrusel__imagen {
	position: relative;
	z-index: 1;
}

.dnv-carrusel__slide.is-ajustada .dnv-carrusel__imagen img {
	object-fit: contain;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

.dnv-carrusel__fondo {
	position: absolute;
	inset: 0;
}

.dnv-carrusel__slide .dnv-carrusel__fondo img {
	filter: blur(28px) brightness(0.45) saturate(1.3);
	transform: scale(1.18);
}

.dnv-carrusel__flecha {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	opacity: 0;
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: opacity 0.25s ease, background-color 0.2s ease;
}

.dnv-carrusel__flecha:hover {
	background: rgba(0, 0, 0, 0.6);
}

.dnv-carrusel__flecha--prev {
	left: 14px;
}

.dnv-carrusel__flecha--next {
	right: 14px;
}

.dnv-carrusel:hover .dnv-carrusel__flecha,
.dnv-carrusel:focus-within .dnv-carrusel__flecha {
	opacity: 1;
}

@media (hover: none) {
	.dnv-carrusel__flecha {
		opacity: 0.85;
		width: 34px;
		height: 34px;
	}
}

.dnv-carrusel__puntos {
	position: absolute;
	bottom: 10px;
	left: 50%;
	display: flex;
	gap: 6px;
	transform: translateX(-50%);
}

.dnv-carrusel__punto {
	width: 8px;
	height: 8px;
	padding: 0;
	background: rgba(255, 255, 255, 0.5);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: width 0.3s var(--dnv-curva), background-color 0.3s ease;
}

.dnv-carrusel__punto[aria-current="true"] {
	width: 24px;
	background: #fff;
}

@media (max-width: 767px) {
	.dnv-carrusel {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * Ventanita "Nombre para Perfil".
 * ------------------------------------------------------------------ */
.dnv-modal {
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
}

.dnv-modal::backdrop {
	background: rgba(10, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.dnv-modal[open] .dnv-modal__caja {
	animation: dnv-entra 0.3s var(--dnv-curva);
}

.dnv-modal__caja {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 22px 20px 20px;
	color: var(--dnv-texto);
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.dnv-modal__cerrar {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: #444;
	background: #f3f3f5;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.dnv-modal__cerrar .dnv-ico {
	width: 18px;
	height: 18px;
}

.dnv-modal__producto {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 40px;
	margin-bottom: 8px;
}

.dnv-modal__img {
	flex: none;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 12px;
	background: #ececef;
}

.dnv-modal__nombre {
	margin: 0 0 2px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.dnv-modal__precio {
	margin: 0;
	color: var(--dnv-rojo-oscuro);
	font-weight: 700;
}

.dnv-modal__etiqueta {
	font-size: 0.85rem;
	font-weight: 600;
}

/* 16px: por debajo de eso, iOS hace zoom al enfocar el campo. */
.dnv-modal__campo {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-size: 16px;
	border: 1.5px solid #d6d6db;
	border-radius: 12px;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dnv-modal__campo:focus {
	border-color: var(--dnv-rojo);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.12);
}

.dnv-modal__ayuda {
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.8rem;
}

.dnv-modal__error {
	margin: 0;
	color: #b00020;
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-modal__enviar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	margin-top: 8px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	background: var(--dnv-rojo);
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.dnv-modal__enviar:hover {
	background: var(--dnv-rojo-oscuro);
}

.dnv-modal__enviar:active {
	transform: scale(0.98);
}

.dnv-modal__enviar.is-cargando {
	position: relative;
	color: transparent;
}

.dnv-modal__enviar.is-cargando::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dnv-giro 0.7s linear infinite;
}

/* Opciones grandes de las ventanitas: Plex/Jellyfin/Emby ("Crear demo" o
   "Generar cuenta") y Mi tienda ("Ver" o "Gestionar"). En la de KingPlex
   los botones también llevan .bp-btn, con estilos que KingPlex imprime al
   final: se pisan con más especificidad. */
.dnv-kp__pregunta {
	margin: 4px 0 2px;
	color: var(--dnv-suave);
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-kp__opciones {
	display: grid;
	gap: 10px;
}

.dnv-modal .dnv-kp__opcion {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 68px;
	padding: 12px 14px;
	color: var(--dnv-texto);
	font: inherit;
	text-align: left;
	background: #fff;
	border: 1.5px solid #e4e4e8;
	border-radius: 16px;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.dnv-modal .dnv-kp__opcion:hover,
.dnv-modal .dnv-kp__opcion:focus {
	color: var(--dnv-texto);
	background: #fff6f6;
	border-color: var(--dnv-rojo);
}

.dnv-modal .dnv-kp__opcion:focus-visible {
	outline: 3px solid rgba(255, 0, 0, 0.25);
	outline-offset: 2px;
}

.dnv-modal .dnv-kp__opcion:active {
	transform: scale(0.98);
}

.dnv-kp__icono {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: #fff;
	border-radius: 12px;
}

.dnv-kp__icono.is-demo {
	background: #16181c;
}

.dnv-kp__icono.is-cuenta {
	background: var(--dnv-rojo);
}

.dnv-kp__icono .dnv-ico {
	width: 22px;
	height: 22px;
}

.dnv-kp__texto {
	display: grid;
	flex: 1;
	gap: 2px;
	min-width: 0;
}

.dnv-kp__texto strong {
	font-size: 1rem;
	line-height: 1.2;
}

.dnv-kp__texto small {
	color: var(--dnv-suave);
	font-size: 0.8rem;
	line-height: 1.3;
}

.dnv-kp__opcion > .dnv-ico {
	flex: none;
	width: 18px;
	height: 18px;
	color: #9a9aa2;
}

a.dnv-kp__opcion {
	text-decoration: none;
}

/* Mi tienda: cabecera y enlace para copiar. */
.dnv-mt__cab {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 40px;
	margin-bottom: 8px;
}

.dnv-mt__icono {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	color: #fff;
	background: linear-gradient(135deg, var(--dnv-rojo), var(--dnv-negro));
	border-radius: 16px;
}

.dnv-mt__icono .dnv-ico {
	width: 28px;
	height: 28px;
}

.dnv-mt__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.85rem;
}

.dnv-mt__estado {
	padding: 2px 9px;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 99px;
}

.dnv-mt__estado.is-activa {
	color: #0f7a37;
	background: #e3f8ea;
}

.dnv-mt__estado.is-pendiente {
	color: #8a5a00;
	background: #fff4d6;
}

.dnv-mt__enlace {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 8px 8px 8px 12px;
	font-size: 0.8rem;
	background: #f6f6f8;
	border-radius: 12px;
}

.dnv-mt__enlace span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-mt__copiar,
.dnv-mt__copiar:hover,
.dnv-mt__copiar:focus {
	flex: none;
	min-height: 36px;
	padding: 0 12px;
	color: var(--dnv-texto);
	font-size: 0.8rem;
	font-weight: 700;
	background: #fff;
	border: 1.5px solid #dcdce2;
	border-radius: 10px;
	cursor: pointer;
}

.dnv-mt__copiar.is-copiado {
	color: #0f7a37;
	border-color: #25d366;
}

/* En móvil arriba, no abajo: así el teclado de iOS no tapa el campo. */
@media (max-width: 767px) {
	.dnv-modal {
		margin-top: max(8vh, calc(env(safe-area-inset-top) + 12px));
	}
}

/* ------------------------------------------------------------------
 * Aviso flotante ("añadido al carrito").
 * ------------------------------------------------------------------ */
.dnv-aviso {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 10px 10px 10px 14px;
	color: #fff;
	font-size: 0.9rem;
	background: #16181c;
	border-radius: 14px;
	box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translate(-50%, 20px);
	transition: opacity 0.25s ease, transform 0.3s var(--dnv-curva);
}

.dnv-aviso.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.dnv-aviso .dnv-ico {
	color: #3ddc84;
}

.dnv-aviso__accion {
	padding: 6px 12px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	background: var(--dnv-rojo);
	border-radius: 8px;
}

.dnv-aviso__accion:hover {
	color: #fff;
	background: var(--dnv-rojo-oscuro);
}

.dnv-aviso.is-error {
	background: #b00020;
}

.dnv-aviso.is-error .dnv-ico,
.dnv-aviso.is-error .dnv-aviso__accion {
	display: none;
}

/* ------------------------------------------------------------------
 * Buscador.
 * ------------------------------------------------------------------ */
.dnv-buscar {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
}

.dnv-buscar__campo {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 46px 0 16px;
	color: #fff;
	font-size: 14px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dnv-buscar__campo::placeholder {
	color: rgba(255, 255, 255, 0.72);
}

.dnv-buscar__campo:focus {
	background: rgba(0, 0, 0, 0.45);
	border-color: #fff;
}

.dnv-buscar__campo::-webkit-search-cancel-button {
	display: none;
}

.dnv-buscar__boton {
	position: absolute;
	top: 50%;
	right: 4px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	color: var(--dnv-rojo-oscuro);
	background: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transform: translateY(-50%);
}

.dnv-buscar__boton .dnv-ico {
	width: 18px;
	height: 18px;
}

.dnv-buscar__sugerencias {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 60;
	max-height: min(70vh, 440px);
	margin: 0;
	padding: 6px;
	overflow: auto;
	color: var(--dnv-texto);
	list-style: none;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
	animation: dnv-entra 0.2s ease;
}

.dnv-sug {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: 10px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	cursor: pointer;
}

.dnv-sug img {
	grid-row: 1 / 3;
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	background: #ececef;
}

.dnv-sug__nombre {
	overflow: hidden;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.dnv-sug__precio {
	grid-column: 2;
	color: var(--dnv-rojo-oscuro);
	font-size: 0.8rem;
	font-weight: 700;
}

.dnv-sug__accion {
	grid-row: 1 / 3;
	grid-column: 3;
	display: grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	background: var(--dnv-rojo);
	border-radius: 999px;
}

.dnv-sug:hover,
.dnv-sug.is-activa {
	background: #f5f5f7;
}

.dnv-sug.is-agotado {
	cursor: default;
	opacity: 0.55;
}

.dnv-sug.is-agotado .dnv-sug__accion {
	display: none;
}

.dnv-sug--vacio,
.dnv-sug--todos {
	display: block;
	padding: 12px;
	font-size: 0.85rem;
}

.dnv-sug--vacio {
	color: var(--dnv-suave);
	cursor: default;
}

.dnv-sug--todos {
	color: var(--dnv-rojo-oscuro);
	font-weight: 700;
	text-align: center;
}

.dnv-sug--cargando {
	display: block;
	height: 52px;
	margin: 4px 0;
	background: linear-gradient(100deg, #f0f0f2 40%, #fafafb 50%, #f0f0f2 60%) #f0f0f2;
	background-size: 200% 100%;
	cursor: default;
	animation: dnv-brillo 1.1s linear infinite;
}

/* En la barra lateral (260px) no cabe la etiqueta de acción. */
.dnv-header .dnv-sug__accion {
	display: none;
}

.dnv-header .dnv-sug {
	grid-template-columns: 40px minmax(0, 1fr);
}

/* Capa de búsqueda de tablet y móvil. */
.dnv-busqueda {
	position: fixed;
	inset: 0;
	z-index: 100002;
	background: rgba(10, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.dnv-busqueda.is-abierta {
	opacity: 1;
}

.dnv-busqueda__barra {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: calc(12px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 16px calc(16px + env(safe-area-inset-left));
	background: linear-gradient(180deg, #ff0000, #7a0000);
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6);
	transform: translateY(-100%);
	transition: transform 0.28s var(--dnv-curva);
}

.dnv-busqueda.is-abierta .dnv-busqueda__barra {
	transform: none;
}

.dnv-busqueda .dnv-buscar__campo {
	height: 48px;
	font-size: 16px;
}

.dnv-busqueda .dnv-buscar__boton {
	width: 38px;
	height: 38px;
}

.dnv-busqueda .dnv-buscar__sugerencias {
	max-height: calc(100vh - 140px);
	max-height: calc(100dvh - 110px - env(safe-area-inset-top));
}

.dnv-busqueda__cerrar {
	display: grid;
	flex: 0 0 48px;
	place-items: center;
	height: 48px;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

/* ------------------------------------------------------------------
 * Navegación de tablet y móvil: barra inferior y panel "Más".
 * ------------------------------------------------------------------ */
.dnv-tabbar,
.dnv-hoja {
	display: none;
}

@media (max-width: 1024px) {
	body:has(.dnv-tabbar) {
		padding-bottom: calc(var(--dnv-tabbar) + env(safe-area-inset-bottom));
	}

	.dnv-tabbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9000;
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		padding: 6px calc(6px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(6px + env(safe-area-inset-left));
		background: rgba(20, 6, 6, 0.94);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, 0.7);
		-webkit-backdrop-filter: saturate(1.4) blur(14px);
		backdrop-filter: saturate(1.4) blur(14px);
	}

	.dnv-tab {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: 54px;
		padding: 4px 2px;
		color: rgba(255, 255, 255, 0.68);
		font: 600 11px/1.1 Poppins, system-ui, sans-serif;
		text-decoration: none;
		background: none;
		border: 0;
		border-radius: 14px;
		cursor: pointer;
	}

	.dnv-tab:hover,
	.dnv-tab:focus-visible {
		color: #fff;
	}

	/* Indicador tipo "píldora" detrás del icono activo. */
	.dnv-tab .dnv-ico {
		box-sizing: content-box;
		width: 22px;
		height: 22px;
		padding: 4px 16px;
		border-radius: 999px;
		transition: background-color 0.3s ease, transform 0.2s var(--dnv-curva);
	}

	.dnv-tab.is-activa {
		color: #fff;
	}

	.dnv-tab.is-activa .dnv-ico {
		background: rgba(255, 30, 30, 0.35);
	}

	.dnv-tab:active .dnv-ico {
		transform: scale(0.88);
	}

	.dnv-tab[aria-expanded="true"] .dnv-ico {
		background: rgba(255, 255, 255, 0.16);
	}

	.dnv-tab__texto {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.dnv-tab--saldo .dnv-tab__texto {
		color: #fff;
		font-weight: 700;
	}

	.dnv-hoja:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 100001;
		display: block;
	}

	/* El aviso flota por encima de la barra inferior. */
	.dnv-aviso {
		bottom: calc(var(--dnv-tabbar) + 12px + env(safe-area-inset-bottom));
	}
}

.dnv-hoja__fondo {
	position: absolute;
	inset: 0;
	background: rgba(10, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.dnv-hoja__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: 520px;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	margin: 0 auto;
	padding: 6px 16px calc(16px + env(safe-area-inset-bottom));
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--dnv-texto);
	background: #fff;
	border-radius: 24px 24px 0 0;
	outline: 0;
	box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.55);
	transform: translateY(100%);
	transition: transform 0.36s var(--dnv-curva);
}

.dnv-hoja.is-abierta .dnv-hoja__fondo {
	opacity: 1;
}

.dnv-hoja.is-abierta .dnv-hoja__panel {
	transform: translateY(0);
}

.dnv-hoja__panel.is-arrastrando {
	transition: none;
}

.dnv-hoja__asa {
	width: 42px;
	height: 5px;
	margin: 6px auto 8px;
	background: #d9d9de;
	border-radius: 3px;
	touch-action: none;
}

.dnv-hoja__cabecera {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 2px 14px;
	border-bottom: 1px solid #f0f0f2;
	touch-action: none;
}

.dnv-hoja__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	background: linear-gradient(135deg, #ff0000, #6b0000);
	border-radius: 50%;
}

.dnv-hoja__saludo {
	flex: 1;
	min-width: 0;
}

.dnv-hoja__titulo {
	margin: 0;
	overflow: hidden;
	font-size: 1.05rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-hoja__saldo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	padding: 3px 10px 3px 7px;
	color: var(--dnv-rojo-oscuro);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	background: rgba(255, 0, 0, 0.08);
	border-radius: 999px;
}

.dnv-hoja__saldo .dnv-ico {
	width: 16px;
	height: 16px;
}

.dnv-hoja__cerrar {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #444;
	background: #f3f3f5;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.dnv-hoja__menu {
	margin: 8px 0;
	padding: 0;
	list-style: none;
}

.dnv-hoja__menu li {
	opacity: 0;
	transform: translateY(10px);
}

.dnv-hoja.is-abierta .dnv-hoja__menu li {
	opacity: 1;
	transform: none;
	transition: opacity 0.3s ease, transform 0.4s var(--dnv-curva);
}

.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(1) { transition-delay: 0.06s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(2) { transition-delay: 0.09s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(3) { transition-delay: 0.12s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(4) { transition-delay: 0.15s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(5) { transition-delay: 0.18s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(6) { transition-delay: 0.21s; }
.dnv-hoja.is-abierta .dnv-hoja__menu li:nth-child(n+7) { transition-delay: 0.24s; }

.dnv-hoja__opcion {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 54px;
	padding: 8px 6px;
	color: var(--dnv-texto);
	font-weight: 600;
	text-decoration: none;
	border-radius: 14px;
	transition: background-color 0.15s ease;
}

.dnv-hoja__opcion:hover,
.dnv-hoja__opcion:focus-visible,
.dnv-hoja__opcion:active {
	color: var(--dnv-texto);
	background: #f6f6f8;
}

.dnv-hoja__opcion > .dnv-ico:first-child {
	box-sizing: content-box;
	width: 20px;
	height: 20px;
	padding: 9px;
	color: var(--dnv-rojo-oscuro);
	background: #fff0f0;
	border-radius: 12px;
}

.dnv-hoja__opcion > span {
	flex: 1;
}

.dnv-hoja__opcion > .dnv-ico:last-child {
	width: 18px;
	height: 18px;
	color: #b9b9c0;
}

.dnv-hoja__opcion--salir,
.dnv-hoja__opcion--salir:hover {
	color: var(--dnv-rojo-oscuro);
}

.dnv-hoja__soporte {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	padding: 14px 16px;
	color: #0f7a3d;
	font-weight: 600;
	text-decoration: none;
	background: #e9f9ef;
	border-radius: 16px;
}

.dnv-hoja__soporte:hover {
	color: #0b5e2f;
}

@media (prefers-reduced-motion: reduce) {
	html.dnv-js .woocommerce ul.products li.product,
	.dnv-hoja__menu li {
		opacity: 1;
		transform: none;
	}

	.woocommerce ul.products li.product a img:not(.is-cargada),
	.dnv-sug--cargando,
	.dnv-carrusel {
		animation: none;
	}

	.dnv-hoja__panel,
	.dnv-busqueda__barra {
		transition: none;
	}
}

/* ------------------------------------------------------------------
 * Botones y piezas comunes de las ventanas.
 * ------------------------------------------------------------------ */
.dnv-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.dnv-boton:active {
	transform: scale(0.98);
}

.dnv-boton:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.dnv-boton--primario {
	color: #fff;
	background: var(--dnv-rojo);
	box-shadow: 0 12px 24px -14px rgba(255, 0, 0, 0.8);
}

.dnv-boton--primario:hover:not(:disabled) {
	color: #fff;
	background: var(--dnv-rojo-oscuro);
}

.dnv-boton--suave {
	color: var(--dnv-texto);
	background: #f2f3f5;
}

.dnv-boton--suave:hover {
	color: var(--dnv-texto);
	background: #e7e8eb;
}

.dnv-boton--suave.is-confirmar {
	color: #fff;
	background: #b3261e;
}

.dnv-boton--copiar {
	min-height: 38px;
	margin-top: 10px;
	padding: 0 14px;
	color: #0f7a3d;
	font-size: 0.85rem;
	background: #e9f9ef;
}

.dnv-boton--copiar.is-copiado {
	color: #fff;
	background: #12a150;
}

.dnv-icono-boton {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	color: #444;
	background: #f3f3f5;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.dnv-icono-boton .dnv-ico {
	width: 18px;
	height: 18px;
}

.dnv-totales {
	display: grid;
	gap: 8px;
	margin: 0;
}

.dnv-totales > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.dnv-totales dt {
	color: var(--dnv-suave);
	font-size: 0.9rem;
	font-weight: 500;
}

.dnv-totales dd {
	margin: 0;
	color: var(--dnv-texto);
	font-weight: 700;
	text-align: right;
}

.dnv-totales__total {
	padding-top: 10px;
	border-top: 1px dashed #e3e5e9;
}

.dnv-totales__total dt {
	color: var(--dnv-texto);
	font-weight: 700;
}

.dnv-totales__total dd {
	font-size: 1.35rem;
	font-weight: 800;
}

.dnv-totales__descuento {
	color: #12824c !important;
}

.dnv-alerta {
	margin: 12px 0 0;
	padding: 10px 12px;
	color: #8c1d18;
	font-size: 0.88rem;
	font-weight: 600;
	background: #fdecea;
	border-radius: 10px;
}

/* "Recargar ahora" dentro del aviso de saldo (recarga en línea, OverCore 1.2+). */
.dnv-alerta__accion {
	display: inline-block;
	margin-left: 4px;
	padding: 4px 12px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	background: var(--dnv-rojo);
	border-radius: 99px;
}

.dnv-alerta__accion:hover,
.dnv-alerta__accion:focus-visible {
	color: #fff;
	background: var(--dnv-rojo-oscuro);
}

.dnv-nota {
	margin: 8px 0;
	color: var(--dnv-suave);
	font-size: 0.9rem;
}

/* ------------------------------------------------------------------
 * Contadores del carrito, botón flotante y animación de "vuelo".
 * ------------------------------------------------------------------ */
@keyframes dnv-salta {
	30% { transform: scale(1.35); }
	60% { transform: scale(0.9); }
}

@keyframes dnv-latido-suave {
	50% { box-shadow: 0 16px 30px -12px rgba(180, 0, 0, 0.75), 0 0 0 10px rgba(255, 0, 0, 0.12); }
}

.dnv-contador {
	position: absolute;
	top: -4px;
	right: -4px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	color: var(--dnv-rojo-oscuro);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transform: scale(0);
	transition: transform 0.25s var(--dnv-curva);
}

.tiene-items .dnv-contador {
	transform: scale(1);
}

.is-salta,
.tiene-items .dnv-contador.is-salta {
	animation: dnv-salta 0.45s var(--dnv-curva);
}

.dnv-volando {
	position: fixed;
	z-index: 100010;
	margin: 0;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	will-change: transform, opacity;
}

.dnv-flotante {
	display: none;
}

@media (min-width: 1025px) {
	.dnv-flotante {
		position: fixed;
		right: 28px;
		bottom: 28px;
		z-index: 9000;
		display: grid;
		place-items: center;
		width: 64px;
		height: 64px;
		padding: 0;
		color: #fff;
		background: linear-gradient(145deg, #ff2020, #b80000);
		border: 0;
		border-radius: 50%;
		box-shadow: 0 16px 30px -12px rgba(180, 0, 0, 0.75);
		cursor: pointer;
		transition: transform 0.2s var(--dnv-curva), box-shadow 0.2s ease;
	}

	.dnv-flotante:hover,
	.dnv-flotante:focus-visible {
		color: #fff;
		background: linear-gradient(145deg, #ff3030, #c40000);
		transform: translateY(-3px) scale(1.04);
	}

	.dnv-flotante .dnv-ico {
		width: 28px;
		height: 28px;
	}

	.dnv-flotante.tiene-items {
		animation: dnv-latido-suave 2.6s ease-in-out infinite;
	}
}

/* ------------------------------------------------------------------
 * Carrito en el centro de la barra inferior (tablet y móvil).
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.dnv-tab--carrito {
		position: relative;
		justify-content: flex-end;
		color: #fff;
	}

	.dnv-tab__burbuja {
		position: relative;
		display: grid;
		place-items: center;
		width: 58px;
		height: 58px;
		margin-top: -30px;
		color: #fff;
		background: linear-gradient(145deg, #ff2020, #b80000);
		border: 4px solid #140606;
		border-radius: 50%;
		box-shadow: 0 10px 24px -8px rgba(255, 0, 0, 0.7);
		transition: transform 0.2s var(--dnv-curva);
	}

	.dnv-tab--carrito .dnv-tab__burbuja .dnv-ico {
		width: 26px;
		height: 26px;
		padding: 0;
		background: none;
	}

	.dnv-tab--carrito:active .dnv-tab__burbuja {
		transform: scale(0.92);
	}

	.dnv-tab--carrito .dnv-contador {
		top: -6px;
		right: -8px;
	}
}

/* ------------------------------------------------------------------
 * Cesta: panel lateral en escritorio, panel inferior en tablet y móvil.
 * ------------------------------------------------------------------ */
.dnv-cesta:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 100003;
	display: block;
}

.dnv-cesta__fondo {
	position: absolute;
	inset: 0;
	background: rgba(10, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.dnv-cesta.is-abierta .dnv-cesta__fondo {
	opacity: 1;
}

.dnv-cesta__panel {
	position: absolute;
	display: flex;
	flex-direction: column;
	color: var(--dnv-texto);
	background: #fff;
	outline: 0;
	box-shadow: 0 0 60px -20px rgba(0, 0, 0, 0.6);
	transition: transform 0.36s var(--dnv-curva);
}

.dnv-cesta__panel.is-arrastrando {
	transition: none;
}

.dnv-cesta__cabecera {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid #f0f1f3;
	touch-action: none;
}

.dnv-cesta__titulo {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
}

.dnv-cesta__cuenta {
	color: var(--dnv-suave);
	font-size: 0.85rem;
	font-weight: 500;
}

.dnv-cesta__cuerpo {
	flex: 1;
	min-height: 120px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.dnv-cesta__lista {
	margin: 0;
	padding: 8px 12px;
	list-style: none;
}

.dnv-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px 8px;
	border-radius: 14px;
	transition: opacity 0.22s ease, transform 0.22s ease;
	animation: dnv-entra 0.3s var(--dnv-curva);
}

.dnv-item + .dnv-item {
	border-top: 1px solid #f3f4f6;
}

.dnv-item.is-saliendo {
	opacity: 0;
	transform: translateX(30px);
}

.dnv-item__img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 12px;
	background: #ececef;
}

.dnv-item__nombre {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dnv-item__premio {
	display: inline-block;
	margin: 4px 0 0 4px;
	padding: 2px 8px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	background: linear-gradient(135deg, #e3121c, #8a0710);
	border-radius: 999px;
}

.dnv-item__premio::before {
	margin-right: 4px;
	content: "🎁";
}

.dnv-item__perfil {
	display: inline-block;
	margin: 4px 0 0;
	padding: 2px 8px;
	color: var(--dnv-rojo-oscuro);
	font-size: 0.72rem;
	font-weight: 600;
	background: #fff0f0;
	border-radius: 999px;
}

.dnv-item__lado {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.dnv-item__precio {
	font-weight: 800;
	white-space: nowrap;
}

.dnv-item__quitar {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: #9aa0a8;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.dnv-item__quitar:hover,
.dnv-item__quitar:focus-visible {
	color: #b3261e;
	background: #fdecea;
}

.dnv-cesta__vacia {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 48px 20px;
	color: var(--dnv-suave);
	text-align: center;
}

.dnv-cesta__vacia-icono {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	color: #c9ccd2;
	background: #f5f6f8;
	border-radius: 50%;
}

.dnv-cesta__vacia-icono .dnv-ico {
	width: 32px;
	height: 32px;
}

.dnv-cesta__vacia p {
	margin: 0;
	font-weight: 600;
}

.dnv-cesta__pie {
	display: grid;
	gap: 12px;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	background: #fafafb;
	border-top: 1px solid #f0f1f3;
	transition: opacity 0.2s ease;
}

/* Mientras el servidor confirma lo que se quitó: totales atenuados y sin
   poder comprar con cifras viejas. */
.dnv-cesta.is-actualizando .dnv-cesta__pie {
	opacity: 0.55;
}

.dnv-cesta.is-actualizando .dnv-cesta__pie [data-dnv-comprar] {
	pointer-events: none;
}

.dnv-saldo-linea {
	margin: 0;
	padding: 8px 12px;
	color: #0f7a3d;
	font-size: 0.85rem;
	font-weight: 600;
	background: #e9f9ef;
	border-radius: 10px;
}

.dnv-saldo-linea.is-falta {
	color: #8c1d18;
	background: #fdecea;
}

/* Escritorio: panel a la derecha. */
@media (min-width: 1025px) {
	.dnv-cesta__panel {
		top: 0;
		right: 0;
		bottom: 0;
		width: min(440px, 100vw);
		transform: translateX(100%);
	}

	.dnv-cesta.is-abierta .dnv-cesta__panel {
		transform: none;
	}

	.dnv-cesta .dnv-hoja__asa {
		display: none;
	}
}

/* Tablet y móvil: panel que sube desde abajo. */
@media (max-width: 1024px) {
	.dnv-cesta__panel {
		right: 0;
		bottom: 0;
		left: 0;
		max-width: 560px;
		max-height: calc(100vh - 32px);
		max-height: calc(100dvh - 32px);
		margin: 0 auto;
		border-radius: 24px 24px 0 0;
		transform: translateY(100%);
	}

	.dnv-cesta.is-abierta .dnv-cesta__panel {
		transform: translateY(0);
	}

	.dnv-cesta__cabecera {
		padding-top: 4px;
	}
}

/* ------------------------------------------------------------------
 * Ventanas (compra y detalle de pedido).
 * ------------------------------------------------------------------ */
.dnv-dialogo {
	width: min(500px, calc(100vw - 24px));
	max-width: none;
	max-height: calc(100vh - 40px);
	padding: 0;
	overflow: visible;
	color: var(--dnv-texto);
	background: transparent;
	border: 0;
}

.dnv-dialogo::backdrop {
	background: rgba(10, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.dnv-dialogo[open] .dnv-dialogo__caja {
	animation: dnv-entra 0.32s var(--dnv-curva);
}

.dnv-dialogo__caja {
	position: relative;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	padding: 24px 22px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.dnv-dialogo__cerrar {
	position: absolute;
	top: 14px;
	right: 14px;
}

.dnv-dialogo__titulo {
	margin: 0 44px 16px 0;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
}

.dnv-dialogo__acciones {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 10px;
	margin-top: 18px;
}

.dnv-compra.is-procesando .dnv-dialogo__cerrar {
	visibility: hidden;
}

@keyframes dnv-sube {
	from {
		transform: translateY(100%);
	}
}

/* En móvil suben desde abajo, al alcance del pulgar (no llevan campos de texto). */
@media (max-width: 767px) {
	.dnv-dialogo {
		width: 100vw;
		max-height: calc(100vh - 24px);
		margin: auto 0 0;
	}

	.dnv-dialogo__caja {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		padding-bottom: calc(20px + env(safe-area-inset-bottom));
		border-radius: 24px 24px 0 0;
	}

	.dnv-dialogo[open] .dnv-dialogo__caja {
		animation: dnv-sube 0.36s var(--dnv-curva);
	}
}

.dnv-resumen {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.dnv-resumen__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f2f4;
}

.dnv-resumen__info {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.dnv-resumen__nombre {
	overflow: hidden;
	font-size: 0.85rem;
	font-weight: 700;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.dnv-resumen__perfil {
	color: var(--dnv-rojo-oscuro);
	font-size: 0.75rem;
	font-weight: 600;
}

.dnv-resumen__precio {
	font-weight: 700;
	white-space: nowrap;
}

.dnv-procesando {
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 36px 0 24px;
	font-weight: 600;
}

.dnv-procesando p {
	margin: 0;
}

.dnv-procesando__anillo {
	width: 54px;
	height: 54px;
	border: 4px solid #f3d0d0;
	border-top-color: var(--dnv-rojo);
	border-radius: 50%;
	animation: dnv-giro 0.8s linear infinite;
}

@keyframes dnv-check {
	from {
		opacity: 0;
		transform: scale(0.4);
	}
	60% {
		transform: scale(1.12);
	}
}

.dnv-exito {
	display: grid;
	justify-items: center;
	margin-bottom: 14px;
	text-align: center;
}

.dnv-exito .dnv-dialogo__titulo {
	margin: 12px 0 4px;
}

.dnv-exito__check {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: #fff;
	background: #12a150;
	border-radius: 50%;
	box-shadow: 0 12px 26px -12px rgba(18, 161, 80, 0.8);
	animation: dnv-check 0.5s var(--dnv-curva);
}

.dnv-exito__check .dnv-ico {
	width: 32px;
	height: 32px;
	stroke-width: 2.4;
}

.dnv-exito__datos {
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.88rem;
}

/* Licencias. */
.dnv-licencias {
	display: grid;
	gap: 12px;
}

.dnv-lic {
	padding: 14px;
	background: #fafafb;
	border: 1px solid #eceef2;
	border-radius: 16px;
}

.dnv-lic + .dnv-lic {
	margin-top: 12px;
}

.dnv-licencias .dnv-lic + .dnv-lic {
	margin-top: 0;
}

.dnv-lic__cabecera {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.dnv-lic__nombre {
	display: block;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.dnv-lic__perfil {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	color: var(--dnv-rojo-oscuro);
	font-size: 0.72rem;
	font-weight: 600;
	background: #fff0f0;
	border-radius: 999px;
}

.dnv-lic__precio {
	font-weight: 700;
	white-space: nowrap;
}

.dnv-lic__clave {
	margin: 8px 0 0;
	padding: 10px 12px;
	overflow-x: auto;
	color: #16181c;
	font: 500 0.85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	white-space: pre-wrap;
	word-break: break-word;
	background: #fff;
	border: 1px dashed #d8dbe0;
	border-radius: 10px;
	user-select: all;
}

.dnv-lic__dato {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 6px 0 0;
	font-size: 0.85rem;
}

.dnv-lic__dato span {
	color: var(--dnv-suave);
}

.dnv-pedido__meta {
	margin: -8px 0 14px;
	color: var(--dnv-suave);
	font-size: 0.88rem;
}

.dnv-pedido__recarga {
	margin: 0;
	padding: 18px;
	color: #0f7a3d;
	font-size: 1.6rem;
	font-weight: 800;
	text-align: center;
	background: #e9f9ef;
	border-radius: 16px;
}

.dnv-nota--cargando {
	padding: 24px 0;
	text-align: center;
}

/* ------------------------------------------------------------------
 * Mi cuenta: solo Licencias y Monedero.
 * ------------------------------------------------------------------ */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-MyAccount-navigation ul {
	display: inline-flex;
	gap: 4px;
	margin: 0 0 22px;
	padding: 4px;
	list-style: none;
	background: #f1f2f4;
	border-radius: 14px;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 20px;
	color: var(--dnv-suave);
	font-weight: 700;
	text-decoration: none;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation li a:hover {
	color: var(--dnv-texto);
}

.woocommerce-MyAccount-navigation li.is-active a {
	color: var(--dnv-texto);
	background: #fff;
	box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.15);
}

/* Botón "Ver" en los movimientos del monedero. */
.dnv-ver {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 3px 12px;
	color: var(--dnv-rojo-oscuro);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	vertical-align: middle;
	background: #fff0f0;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.dnv-ver:hover,
.dnv-ver:focus-visible {
	color: #fff;
	background: var(--dnv-rojo);
}

@media (prefers-reduced-motion: reduce) {
	.dnv-flotante.tiene-items,
	.dnv-item,
	.dnv-dialogo[open] .dnv-dialogo__caja,
	.dnv-exito__check {
		animation: none;
	}

	.dnv-cesta__panel {
		transition: none;
	}
}

/* ------------------------------------------------------------------
 * Hello pinta de rosa (#c36) cualquier botón al pasar el mouse o al
 * enfocarlo, y esa regla le gana a las de los componentes. Aquí cada
 * botón del tema conserva su propio color en :hover y :focus.
 * ------------------------------------------------------------------ */
.dnv-icono-boton:hover,
.dnv-hoja__cerrar:hover,
.dnv-modal__cerrar:hover {
	color: #222;
	background: #e7e8eb;
}

.dnv-icono-boton:focus,
.dnv-hoja__cerrar:focus,
.dnv-modal__cerrar:focus {
	color: #444;
	background: #f3f3f5;
}

.dnv-boton--primario:focus,
.dnv-modal__enviar:focus,
.dnv-aviso__accion:focus {
	color: #fff;
	background: var(--dnv-rojo);
}

.dnv-boton--suave:focus {
	color: var(--dnv-texto);
	background: #f2f3f5;
}

.dnv-boton--suave.is-confirmar:focus,
.dnv-boton--suave.is-confirmar:hover {
	color: #fff;
	background: #b3261e;
}

.dnv-boton--copiar:hover,
.dnv-boton--copiar:focus {
	color: #0f7a3d;
	background: #dcf5e6;
}

.dnv-boton--copiar.is-copiado:focus,
.dnv-boton--copiar.is-copiado:hover {
	color: #fff;
	background: #12a150;
}

.dnv-item__quitar:focus {
	color: #9aa0a8;
	background: transparent;
}

.dnv-ver:focus {
	color: var(--dnv-rojo-oscuro);
	background: #fff0f0;
}

.dnv-tab:hover,
.dnv-tab:focus {
	background: none;
}

.dnv-buscar-abrir:focus {
	color: #fff;
	background: transparent;
}

.dnv-buscar__boton:hover,
.dnv-buscar__boton:focus {
	color: var(--dnv-rojo-oscuro);
	background: #fff;
}

.dnv-busqueda__cerrar:hover,
.dnv-busqueda__cerrar:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.24);
}

.dnv-carrusel__flecha:focus {
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
}

.dnv-carrusel__punto:hover,
.dnv-carrusel__punto:focus {
	background: rgba(255, 255, 255, 0.8);
}

.dnv-carrusel__punto[aria-current="true"]:hover,
.dnv-carrusel__punto[aria-current="true"]:focus {
	background: #fff;
}

@media (min-width: 1025px) {
	.dnv-flotante:focus {
		color: #fff;
		background: linear-gradient(145deg, #ff2020, #b80000);
	}
}

/* Foco visible con teclado (sin marcar al tocar con el dedo o el mouse). */
button[class*="dnv-"]:focus-visible,
a[class*="dnv-"]:focus-visible {
	outline: 2px solid var(--dnv-rojo);
	outline-offset: 2px;
}

/* Monedero: la tarjeta de saldo de TeraWallet viene en morado; va con la marca. */
.woo-wallet-balance-card {
	background: linear-gradient(135deg, #ff1a1a 0%, #b80000 55%, #4a0000 100%) !important;
	border-radius: 18px;
	box-shadow: 0 18px 36px -20px rgba(140, 0, 0, 0.7);
}

/* ------------------------------------------------------------------
 * Punto de existencias (esquina superior derecha de la imagen).
 * Verde: más de 3 · amarillo: 2 o 3 · rojo: la última · gris: agotado.
 * ------------------------------------------------------------------ */
@keyframes dnv-halo {
	0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55), 0 1px 3px rgba(0, 0, 0, 0.35); }
	70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0), 0 1px 3px rgba(0, 0, 0, 0.35); }
	100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 1px 3px rgba(0, 0, 0, 0.35); }
}

.dnv-punto {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
	width: 13px;
	height: 13px;
	background: #22c55e;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
	transition: background-color 0.3s ease;
}

.dnv-punto.is-medio {
	background: #f5b400;
}

.dnv-punto.is-bajo {
	background: #ef4444;
	animation: dnv-halo 2s ease-out infinite;
}

.dnv-punto.is-agotado {
	background: #a3a8b0;
}

@media (max-width: 767px) {
	.dnv-punto {
		top: 7px;
		right: 7px;
		width: 11px;
		height: 11px;
	}
}

/* ------------------------------------------------------------------
 * Barra de combo en la cesta.
 * ------------------------------------------------------------------ */
.dnv-combo {
	padding: 11px 13px;
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 12px;
}

.dnv-combo.is-premio {
	background: #fff8e6;
	border-color: #f5d48a;
}

.dnv-combo.is-premio .dnv-combo__barra {
	display: none;
}

.dnv-combo.is-on {
	background: #fff7f7;
	border-color: #f7cfcf;
}

.dnv-combo__cabeza {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.dnv-combo__icono {
	flex: none;
	font-size: 16px;
	line-height: 1;
}

.dnv-combo__titulo {
	flex: 1;
	min-width: 0;
	font-size: 0.88rem;
}

.dnv-combo__ahorro {
	color: #12824c;
	font-weight: 800;
	white-space: nowrap;
}

.dnv-combo__barra {
	height: 6px;
	margin-bottom: 7px;
	overflow: hidden;
	background: #eef0f3;
	border-radius: 3px;
}

.dnv-combo__barra i {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #ff4d4d, #c40000);
	border-radius: 3px;
	transition: width 0.45s var(--dnv-curva);
}

.dnv-combo.is-full .dnv-combo__barra i {
	background: linear-gradient(90deg, #12a150, #f5b400);
}

.dnv-combo__texto {
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.78rem;
	line-height: 1.45;
}

/* ------------------------------------------------------------------
 * Tarjetas de licencia (compra, monedero y página Licencias).
 * ------------------------------------------------------------------ */
.dnv-lic__campos {
	display: grid;
	gap: 6px;
	margin: 10px 0 0;
	padding: 10px 12px;
	background: #fff;
	border: 1px dashed #d8dbe0;
	border-radius: 10px;
}

.dnv-lic__campos > div {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 10px;
	align-items: baseline;
}

.dnv-lic__campos dt {
	color: var(--dnv-suave);
	font-size: 0.78rem;
}

.dnv-lic__campos dd {
	margin: 0;
	overflow-wrap: anywhere;
	font: 600 0.88rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	user-select: all;
}

.dnv-lic__estado {
	flex: none;
	padding: 3px 9px;
	color: #0f7a3d;
	font-size: 0.72rem;
	font-weight: 700;
	white-space: nowrap;
	background: #e9f9ef;
	border-radius: 999px;
}

.dnv-lic.is-vencida {
	opacity: 0.72;
}

.dnv-lic.is-vencida .dnv-lic__estado {
	color: #8c1d18;
	background: #fdecea;
}

/* ------------------------------------------------------------------
 * Mi cuenta → Licencias.
 * ------------------------------------------------------------------ */
.dnv-mis-lic__barra {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.dnv-mis-lic__titulo {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
}

.dnv-mis-lic__cuenta {
	margin: 2px 0 0;
	color: var(--dnv-suave);
	font-size: 0.88rem;
}

.dnv-mis-lic__buscar {
	position: relative;
	flex: 1 1 260px;
	max-width: 380px;
	color: var(--dnv-suave);
}

.dnv-mis-lic__buscar .dnv-ico {
	position: absolute;
	top: 50%;
	left: 12px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
}

.dnv-mis-lic__buscar input {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 40px;
	font-size: 16px;
	background: #fff;
	border: 1.5px solid #e1e3e8;
	border-radius: 12px;
}

.dnv-mis-lic__buscar input:focus {
	border-color: var(--dnv-rojo);
	outline: 0;
}

.dnv-paginas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 10px 0 24px;
	color: var(--dnv-suave);
}

/* Tabla de licencias ------------------------------------------------ */
.dnv-mis-lic__alerta {
	color: #b45309;
	font-weight: 700;
}

.dnv-mis-lic__buscar {
	margin: 0;
}

.dnv-filtros-lic {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dnv-filtros-lic::-webkit-scrollbar {
	display: none;
}

.dnv-filtros-lic__chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	color: var(--dnv-texto);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
	border: 1.5px solid #e1e3e8;
	border-radius: 999px;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.dnv-mis-lic .dnv-filtros-lic__chip {
	text-decoration: none;
}

.dnv-filtros-lic__chip span {
	min-width: 22px;
	padding: 1px 7px;
	color: var(--dnv-suave);
	font-size: 0.74rem;
	text-align: center;
	background: #f1f2f5;
	border-radius: 999px;
}

.dnv-filtros-lic__chip:hover {
	border-color: #c9ccd3;
}

.dnv-filtros-lic__chip.is-activo {
	color: #fff;
	background: var(--dnv-negro);
	border-color: var(--dnv-negro);
}

.dnv-filtros-lic__chip.is-activo span {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
}

.dnv-filtros-lic__chip.is-por-vencer:not(.is-activo) span {
	color: #b45309;
	background: #fff4e0;
}

.dnv-mis-lic__resultado {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: -4px 0 12px;
	color: var(--dnv-suave);
	font-size: 0.88rem;
}

.dnv-mis-lic__resultado a {
	color: var(--dnv-rojo-oscuro);
	font-weight: 600;
}

.dnv-mis-lic__nada {
	padding: 28px 16px;
	text-align: center;
	background: #fafafb;
	border-radius: 16px;
}

.dnv-tabla-lic__marco {
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.dnv-tabla-lic {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.dnv-tabla-lic th {
	padding: 12px 14px;
	color: var(--dnv-suave);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
	background: #fafafb;
	border: 0;
	border-bottom: 1px solid #eceef2;
}

.dnv-tabla-lic th:first-child {
	border-top-left-radius: 18px;
}

.dnv-tabla-lic th:last-child {
	border-top-right-radius: 18px;
}

.dnv-tabla-lic td {
	padding: 14px;
	vertical-align: top;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #f0f1f4;
}

/* Sin las rayas ni el hover de tablas del tema padre. */
.dnv-tabla-lic tbody > tr:nth-child(n) > td,
.dnv-tabla-lic tbody > tr:hover > td {
	background-color: transparent;
}

.dnv-tabla-lic tbody tr:last-child td {
	border-bottom: 0;
}

.dnv-tabla-lic tbody tr {
	transition: background 0.15s;
}

.dnv-tabla-lic tbody tr:hover {
	background: #fcfcfd;
}

.dnv-tabla-lic__servicio {
	min-width: 170px;
}

.dnv-tabla-lic__servicio strong {
	display: block;
	font-size: 0.82rem;
	line-height: 1.35;
	text-transform: uppercase;
}

.dnv-tabla-lic__servicio small {
	display: block;
	margin-top: 6px;
	color: var(--dnv-suave);
	font-size: 0.76rem;
}

.dnv-tabla-lic__cuenta dl {
	display: grid;
	gap: 4px;
	margin: 0;
}

.dnv-tabla-lic__cuenta dl > div {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
}

.dnv-tabla-lic__cuenta dt {
	color: var(--dnv-suave);
	font-size: 0.74rem;
}

.dnv-tabla-lic__cuenta dd {
	margin: 0;
	overflow-wrap: anywhere;
	font: 600 0.84rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	user-select: all;
}

.dnv-tabla-lic__texto {
	max-width: 340px;
	margin: 0;
	padding: 0;
	overflow-wrap: anywhere;
	font: 600 0.84rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	white-space: pre-wrap;
	background: none;
	border: 0;
	user-select: all;
}

.dnv-tabla-lic__vence {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.dnv-tabla-lic__dias {
	min-width: 118px;
}

.dnv-tabla-lic__dias small {
	display: block;
	margin-top: 5px;
	color: var(--dnv-suave);
	font-size: 0.74rem;
}

.dnv-dias {
	display: inline-block;
	padding: 4px 10px;
	font-size: 0.78rem;
	font-weight: 800;
	white-space: nowrap;
	border-radius: 999px;
}

.dnv-dias.is-ok {
	color: #0f7a3d;
	background: #e9f9ef;
}

.dnv-dias.is-pronto {
	color: #b45309;
	background: #fff4e0;
}

.dnv-dias.is-hoy {
	color: #fff;
	background: var(--dnv-rojo);
	animation: dnv-latido 1.6s ease-in-out infinite;
}

.dnv-dias.is-vencida {
	color: #8c1d18;
	background: #fdecea;
}

.dnv-dias.is-libre {
	color: var(--dnv-suave);
	background: #f1f2f5;
}

.dnv-dias__barra {
	display: block;
	width: 100%;
	max-width: 110px;
	height: 5px;
	margin-top: 8px;
	overflow: hidden;
	background: #eef0f3;
	border-radius: 999px;
}

.dnv-dias__barra i {
	display: block;
	height: 100%;
	background: #22a45d;
	border-radius: inherit;
}

.is-pronto .dnv-dias__barra i,
.is-hoy .dnv-dias__barra i {
	background: #f59e0b;
}

.dnv-tabla-lic__fila.is-vencida > td:not(.dnv-tabla-lic__dias):not(.dnv-tabla-lic__accion) {
	opacity: 0.6;
}

.dnv-tabla-lic__accion {
	width: 1%;
	text-align: right;
	white-space: nowrap;
}

.dnv-tabla-lic__accion .dnv-boton--copiar {
	margin-top: 0;
}

@keyframes dnv-latido {
	50% {
		box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnv-dias.is-hoy {
		animation: none;
	}
}

/* Celular: cada licencia es una tarjeta. */
@media (max-width: 760px) {
	.dnv-tabla-lic__marco {
		background: none;
		border: 0;
		box-shadow: none;
	}

	.dnv-tabla-lic thead {
		display: none;
	}

	.dnv-tabla-lic,
	.dnv-tabla-lic tbody {
		display: block;
	}

	.dnv-tabla-lic tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"servicio dias"
			"cuenta cuenta"
			"vence accion";
		gap: 10px 12px;
		margin-bottom: 12px;
		padding: 14px;
		background: #fff;
		border: 1px solid #eceef2;
		border-radius: 16px;
	}

	.dnv-tabla-lic tbody tr[hidden] {
		display: none;
	}

	.dnv-tabla-lic tbody tr:hover {
		background: #fff;
	}

	.dnv-tabla-lic td {
		padding: 0;
		border: 0;
	}

	.dnv-tabla-lic__servicio {
		grid-area: servicio;
		min-width: 0;
	}

	.dnv-tabla-lic__dias {
		grid-area: dias;
		min-width: 0;
		text-align: right;
	}

	.dnv-tabla-lic__dias .dnv-dias__barra {
		margin-left: auto;
		width: 84px;
	}

	.dnv-tabla-lic tbody > tr > td.dnv-tabla-lic__cuenta {
		grid-area: cuenta;
		padding: 10px 12px;
		background-color: #fafafb;
		border: 1px dashed #d8dbe0;
		border-radius: 10px;
	}

	.dnv-tabla-lic__texto {
		max-width: none;
	}

	.dnv-tabla-lic__vence {
		grid-area: vence;
		align-self: center;
		color: var(--dnv-suave);
		font-size: 0.8rem;
	}

	.dnv-tabla-lic__vence::before {
		content: attr(data-etiqueta) " ";
	}

	.dnv-tabla-lic__accion {
		grid-area: accion;
		width: auto;
	}
}

/* ------------------------------------------------------------------
 * Mi cuenta → inicio: saludo, saldo, cifras, accesos, por vencer y
 * últimos movimientos.
 * ------------------------------------------------------------------ */
.woocommerce:has(.dnv-inicio) .woocommerce-MyAccount-navigation {
	display: none;
}

.woocommerce:has(.dnv-inicio) .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.dnv-inicio {
	display: grid;
	gap: 16px;
	max-width: 1040px;
	margin: 0 auto;
	color: var(--dnv-texto);
}

.dnv-inicio h2,
.dnv-inicio h3,
.dnv-inicio p {
	margin: 0;
}

.woocommerce .dnv-inicio a,
.woocommerce .dnv-inicio a:hover,
.woocommerce .dnv-inicio a:focus {
	text-decoration: none;
}

/* Saludo y saldo */
.dnv-inicio__hero {
	position: relative;
	display: grid;
	gap: 18px;
	padding: 20px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
		linear-gradient(135deg, var(--dnv-rojo) 0%, #8a0000 55%, var(--dnv-negro) 100%);
	border-radius: 24px;
	box-shadow: 0 24px 44px -28px rgba(160, 0, 0, 0.8);
}

.dnv-inicio__perfil {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
}

.dnv-inicio__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 54px;
	height: 54px;
	font-size: 1.5rem;
	font-weight: 800;
	background: rgba(255, 255, 255, 0.16);
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
}

.dnv-inicio__quien {
	flex: 1 1 160px;
	min-width: 0;
}

.dnv-inicio .dnv-inicio__hola {
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.2;
}

.dnv-inicio__correo {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.86rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-inicio__plan {
	padding: 5px 12px;
	font-size: 0.78rem;
	font-weight: 800;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 99px;
}

.dnv-inicio__plan.is-premium {
	color: #3d2600;
	background: linear-gradient(135deg, #ffe08a, #f5a524);
	box-shadow: 0 8px 18px -10px #f5a524;
}

.dnv-inicio__saldo {
	display: grid;
	gap: 2px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.dnv-inicio__saldo-etiqueta {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.82rem;
	font-weight: 600;
}

.dnv-inicio__saldo-valor {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.dnv-inicio__saldo-botones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.woocommerce .dnv-inicio .dnv-inicio__boton {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 16px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.45);
	border-radius: 14px;
	transition: background 0.2s, transform 0.2s;
}

.woocommerce .dnv-inicio .dnv-inicio__boton:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.woocommerce .dnv-inicio .dnv-inicio__boton.is-primario {
	color: var(--dnv-rojo-oscuro);
	background: #fff;
	border-color: #fff;
}

.woocommerce .dnv-inicio .dnv-inicio__boton.is-primario:hover {
	color: var(--dnv-rojo-oscuro);
	transform: translateY(-1px);
}

.dnv-inicio__boton .dnv-ico {
	width: 18px;
	height: 18px;
}

@media (min-width: 760px) {
	.dnv-inicio__hero {
		grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
		align-items: center;
		padding: 26px;
	}
}

/* Cifras */
.dnv-inicio__cifras {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.woocommerce .dnv-inicio .dnv-inicio__cifra {
	display: grid;
	gap: 2px;
	padding: 14px 12px;
	color: var(--dnv-texto);
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 18px;
	transition: border-color 0.2s, transform 0.2s;
}

.woocommerce .dnv-inicio .dnv-inicio__cifra:hover {
	color: var(--dnv-texto);
	border-color: #f4d3d3;
	transform: translateY(-2px);
}

.dnv-inicio__cifra strong {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.dnv-inicio__cifra span {
	color: var(--dnv-suave);
	font-size: 0.8rem;
	font-weight: 600;
}

.woocommerce .dnv-inicio .dnv-inicio__cifra.is-alerta {
	background: #fff7e6;
	border-color: #fde2a8;
}

.dnv-inicio__cifra.is-alerta strong {
	color: #b45309;
}

/* Accesos rápidos */
.dnv-inicio__atajos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

@media (min-width: 640px) {
	.dnv-inicio__atajos {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

.dnv-inicio__atajo {
	--atajo: #e11d48;
}

.woocommerce .dnv-inicio .dnv-inicio__atajo {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 14px;
	color: var(--dnv-texto);
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 18px;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.woocommerce .dnv-inicio .dnv-inicio__atajo:hover,
.woocommerce .dnv-inicio .dnv-inicio__atajo:focus-visible {
	color: var(--dnv-texto);
	border-color: var(--atajo);
	box-shadow: 0 16px 30px -24px var(--atajo);
	transform: translateY(-2px);
}

.dnv-inicio__atajo.is-llave { --atajo: #7c3aed; }
.dnv-inicio__atajo.is-saldo { --atajo: #0f766e; }
.dnv-inicio__atajo.is-recargar { --atajo: #0284c7; }
.dnv-inicio__atajo.is-tienda { --atajo: #e11d48; }
.dnv-inicio__atajo.is-mitienda { --atajo: #ea580c; }
.dnv-inicio__atajo.is-banner { --atajo: #db2777; }
.dnv-inicio__atajo.is-tutorial { --atajo: #2563eb; }
.dnv-inicio__atajo.is-soporte { --atajo: #16a34a; }

.dnv-inicio__atajo-icono {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--atajo);
	background: #f4f5f7;
	background: color-mix(in srgb, var(--atajo) 12%, #fff);
	border-radius: 13px;
}

.dnv-inicio__atajo-icono .dnv-ico {
	width: 22px;
	height: 22px;
}

.dnv-inicio__atajo-texto {
	display: grid;
	min-width: 0;
}

.dnv-inicio__atajo-texto strong {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
}

.dnv-inicio__atajo-texto small {
	overflow: hidden;
	color: var(--dnv-suave);
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Por vencer y últimos movimientos */
.dnv-inicio__dos {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.dnv-inicio__dos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

.dnv-inicio__tarjeta {
	padding: 18px;
	background: #fff;
	border: 1px solid #eceef2;
	border-radius: 20px;
	box-shadow: 0 12px 30px -26px rgba(0, 0, 0, 0.4);
}

.dnv-inicio__tarjeta-cab {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.dnv-inicio .dnv-inicio__tarjeta-cab h3 {
	font-size: 1.05rem;
	font-weight: 800;
}

.woocommerce .dnv-inicio .dnv-inicio__tarjeta-cab a {
	color: var(--dnv-rojo-oscuro);
	font-size: 0.85rem;
	font-weight: 700;
}

.dnv-inicio__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnv-inicio__lista li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid #f0f1f4;
}

.dnv-inicio__lista li:first-child {
	border-top: 0;
}

.dnv-inicio__lista-texto {
	display: grid;
	min-width: 0;
}

.dnv-inicio__lista-texto strong {
	overflow: hidden;
	font-size: 0.92rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-inicio__lista-texto small {
	overflow: hidden;
	color: var(--dnv-suave);
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-inicio__lista .dnv-dias {
	flex: none;
}

.dnv-inicio__monto {
	flex: none;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.dnv-inicio__monto.is-entra {
	color: #0f7a37;
}

.dnv-inicio__monto.is-sale {
	color: #b42318;
}

.dnv-inicio__vacio {
	padding: 14px 0 4px;
	color: var(--dnv-suave);
	font-size: 0.9rem;
}

/* Premium */
.dnv-inicio__premium {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 18px;
	background: linear-gradient(135deg, #fff8e6, #ffefc2);
	border: 1px solid #fde2a8;
	border-radius: 20px;
}

.dnv-inicio__premium > div {
	flex: 1 1 240px;
}

.dnv-inicio__premium-icono {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #3d2600;
	font-size: 1.4rem;
	background: linear-gradient(135deg, #ffe08a, #f5a524);
	border-radius: 14px;
}

.dnv-inicio .dnv-inicio__premium h3 {
	color: #5c3b00;
	font-size: 1.05rem;
	font-weight: 800;
}

.dnv-inicio__premium p {
	color: #7a5200;
	font-size: 0.88rem;
}

.woocommerce .dnv-inicio .dnv-inicio__premium .dnv-inicio__boton.is-primario {
	flex: 0 0 auto;
	color: #fff;
	background: linear-gradient(135deg, var(--dnv-rojo), var(--dnv-rojo-oscuro));
	border: 0;
}

/* Arañas de Halloween (plugin Spooky Crawler): el contador de aplastadas y el
   aviso de especie nueva, sin tapar el botón flotante (escritorio) ni la
   barra de abajo (tablet y celular). */
@media (min-width: 1025px) {
	.sc-counter.sc-counter--bottom-right {
		right: 108px;
		bottom: 41px;
	}

	body .sc-unlock--stacked.sc-unlock--bottom-right {
		right: 108px;
		bottom: 88px;
	}
}

@media (max-width: 1024px) {
	body:has(.dnv-tabbar) .sc-counter.sc-counter--bottom-right {
		bottom: calc(var(--dnv-tabbar) + env(safe-area-inset-bottom) + 12px);
	}

	body:has(.dnv-tabbar) .sc-unlock--stacked.sc-unlock--bottom-right {
		bottom: calc(var(--dnv-tabbar) + env(safe-area-inset-bottom) + 58px);
	}
}

/* Premio sin usar de la araña especial (rojo y negro, como ella). */
.dnv-inicio__premio-arana {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 18px;
	color: #fff;
	background: linear-gradient(135deg, #d4101b, #7a0710 70%, #1a0306);
	border: 2px solid #0b0b0d;
	border-radius: 20px;
	box-shadow: inset 0 0 0 2px rgba(255, 211, 77, 0.3);
}

.dnv-inicio__premio-arana > div {
	flex: 1 1 240px;
}

.dnv-inicio .dnv-inicio__premio-arana h3 {
	color: #ffd34d;
	font-size: 1.05rem;
	font-weight: 800;
}

.dnv-inicio__premio-arana p {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.9rem;
}

.dnv-inicio__premio-arana-icono {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #e3121c;
	background: #fff;
	border: 2px solid #0b0b0d;
	border-radius: 14px;
}

.woocommerce .dnv-inicio .dnv-inicio__premio-arana .dnv-inicio__boton.is-primario {
	flex: 0 0 auto;
	color: #1a0306;
	background: #ffd34d;
	border: 2px solid #0b0b0d;
}

/* Configuración (arañas de Halloween) */
.dnv-config__fila {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding-top: 6px;
}

.dnv-config__icono {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #fff;
	background: linear-gradient(135deg, #2a1d14, #0d0907);
	border-radius: 14px;
}

.dnv-config__icono .dnv-ico {
	width: 26px;
	height: 26px;
}

.dnv-config__texto {
	display: grid;
	flex: 1;
	gap: 10px;
	min-width: 0;
}

.dnv-config__texto b {
	font-size: 0.98rem;
	font-weight: 800;
}

.dnv-config__texto small {
	margin-top: -6px;
	color: var(--dnv-suave);
	font-size: 0.85rem;
}

.dnv-config .dnv-gt__switch {
	position: relative;
	font-size: 0.92rem;
}

.dnv-config__estado {
	min-height: 1.3em;
	margin: 10px 0 0;
	color: #0f7a37;
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-config__estado.is-error {
	color: #b42318;
}

.dnv-inicio__salir {
	text-align: center;
}

.woocommerce .dnv-inicio .dnv-inicio__salir a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	color: var(--dnv-suave);
	font-size: 0.88rem;
	font-weight: 600;
}

.dnv-inicio__salir .dnv-ico {
	width: 16px;
	height: 16px;
}

/* Celular: icono arriba y texto debajo, para que el texto no se corte. */
@media (max-width: 639px) {
	.woocommerce .dnv-inicio .dnv-inicio__atajo {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 12px;
	}

	.dnv-inicio__atajo-texto small {
		display: -webkit-box;
		white-space: normal;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
}

@media (max-width: 420px) {
	.dnv-inicio__cifra strong {
		font-size: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnv-punto.is-bajo {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Mi cuenta → Gestionar mi tienda.
 * ------------------------------------------------------------------ */
.woocommerce:has(.dnv-gt) .woocommerce-MyAccount-navigation {
	display: none;
}

/* El carrito flotante tapaba "Guardar cambios"; aquí no hace falta. */
body:has(.dnv-gt) .dnv-flotante {
	display: none;
}

.woocommerce:has(.dnv-gt) .woocommerce-MyAccount-content {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	float: none;
}

.dnv-gt {
	display: grid;
	gap: 16px;
	padding-bottom: 96px;
}

.dnv-gt__cab,
.dnv-gt__seccion {
	padding: 20px;
	background: #fff;
	border: 1px solid #ececf0;
	border-radius: 20px;
	box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.35);
}

.dnv-gt__marca {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dnv-gt__inicial {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--dnv-rojo), var(--dnv-negro));
	border-radius: 14px;
}

.dnv-gt__nombre {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.dnv-gt__estado {
	margin-left: auto;
	padding: 5px 11px;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
	border-radius: 99px;
}

.dnv-gt__estado.is-activa {
	color: #0f7a37;
	background: #e3f8ea;
}

.dnv-gt__estado.is-pendiente {
	color: #8a5a00;
	background: #fff4d6;
}

.dnv-gt__enlace {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding: 10px 10px 10px 14px;
	background: #f6f6f8;
	border-radius: 14px;
}

.dnv-gt__url {
	flex: 1 1 200px;
	min-width: 0;
	overflow: hidden;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-gt__acciones {
	display: flex;
	gap: 8px;
}

.dnv-gt__boton,
.dnv-gt__boton:hover,
.dnv-gt__boton:focus {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	color: var(--dnv-texto);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	background: #fff;
	border: 1.5px solid #dcdce2;
	border-radius: 11px;
	cursor: pointer;
}

.dnv-gt__boton:hover {
	border-color: var(--dnv-rojo);
}

.dnv-gt a.dnv-gt__boton,
.dnv-gt a.dnv-gt__boton:hover {
	text-decoration: none;
}

.dnv-gt__boton--ver,
.dnv-gt__boton--ver:hover,
.dnv-gt__boton--ver:focus {
	color: #fff;
	background: var(--dnv-rojo);
	border-color: var(--dnv-rojo);
}

.dnv-gt__boton.is-copiado {
	color: #0f7a37;
	border-color: #25d366;
}

.dnv-gt__boton:disabled,
.dnv-gt__boton.is-off {
	opacity: 0.45;
	pointer-events: none;
}

.dnv-gt__nota {
	margin: 14px 0 0;
	padding: 12px 14px;
	color: #6b4700;
	font-size: 0.88rem;
	background: #fff8e4;
	border: 1px solid #f5dc96;
	border-radius: 12px;
}

.dnv-gt__ayuda {
	margin: 10px 0 0;
	color: var(--dnv-suave);
	font-size: 0.82rem;
}

.dnv-gt__seccion h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 1.05rem;
}

.dnv-gt__seccion h3 span {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	color: #fff;
	font-size: 0.8rem;
	background: var(--dnv-negro);
	border-radius: 50%;
}

.dnv-gt__etiqueta {
	display: block;
	margin-bottom: 6px;
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-gt__campo {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-size: 16px;
	border: 1.5px solid #d6d6db;
	border-radius: 12px;
}

.dnv-gt__campo:focus {
	border-color: var(--dnv-rojo);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.12);
}

.dnv-gt__pista {
	margin: 8px 0 0;
	color: var(--dnv-suave);
	font-size: 0.82rem;
}

.dnv-gt__porc-fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.dnv-gt__porc-campo {
	position: relative;
	flex: 0 0 130px;
}

.dnv-gt__porc-campo input {
	padding-right: 34px;
	font-weight: 700;
}

.dnv-gt__porc-campo b {
	position: absolute;
	top: 50%;
	right: 14px;
	color: var(--dnv-suave);
	transform: translateY(-50%);
}

.dnv-gt__rapidos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dnv-gt__rapido,
.dnv-gt__rapido:hover,
.dnv-gt__rapido:focus {
	min-height: 40px;
	padding: 0 12px;
	color: var(--dnv-texto);
	font-size: 0.85rem;
	font-weight: 700;
	background: #f3f3f6;
	border: 1.5px solid transparent;
	border-radius: 99px;
	cursor: pointer;
}

.dnv-gt__rapido.is-on {
	color: var(--dnv-rojo-oscuro);
	background: #fff0f0;
	border-color: var(--dnv-rojo);
}

.dnv-gt__promo-regla,
.dnv-gt-premium__regla {
	margin: 8px 0 0;
	padding: 6px 10px;
	color: #7a4b00;
	font-size: 0.82rem;
	font-weight: 700;
	background: #fff4d6;
	border-radius: 8px;
}

.dnv-gt-premium__regla {
	margin: 4px 0 14px;
	text-align: center;
}

.dnv-gt__premium {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	padding: 2px 10px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.3px;
	background: linear-gradient(135deg, #a855f7, #ec4899);
	border-radius: 99px;
}

.dnv-gt__predet {
	margin-left: 4px;
	padding: 1px 8px;
	color: var(--dnv-suave);
	font-size: 0.72rem;
	font-weight: 600;
	background: #f1f1f4;
	border-radius: 99px;
}

.dnv-gt__lista-cab {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px dashed #e4e4e8;
}

.dnv-gt__lista-cab p {
	flex: 1 1 280px;
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.85rem;
}

.dnv-gt__propios {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 4px 12px;
	color: #6d28d9;
	font-size: 0.8rem;
	font-weight: 700;
	background: #f5f0ff;
	border-radius: 99px;
}

.dnv-gt__restablecer,
.dnv-gt__restablecer:hover,
.dnv-gt__restablecer:focus {
	min-height: 30px;
	padding: 0 12px;
	color: var(--dnv-texto);
	font-size: 0.78rem;
	font-weight: 700;
	background: #fff;
	border: 1px solid #e0d6fb;
	border-radius: 99px;
	cursor: pointer;
}

.dnv-gt__lista {
	display: grid;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #f0f0f3;
}

.dnv-gt__prod {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto 104px;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f3;
}

.dnv-gt__prod:not([data-modo="general"]) {
	margin: 0 -10px;
	padding: 10px;
	background: #faf7ff;
	border-radius: 12px;
}

.dnv-gt__prod img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 10px;
	background: #eee;
}

.dnv-gt__prod-info {
	display: grid;
	min-width: 0;
}

.dnv-gt__prod-nombre {
	overflow: hidden;
	font-size: 0.88rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnv-gt__prod-costo {
	color: var(--dnv-suave);
	font-size: 0.78rem;
}

.dnv-gt__regla {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Selector de tres: General / % propio / Fijo. */
.dnv-gt__seg {
	display: inline-flex;
	padding: 3px;
	background: #f1f1f4;
	border-radius: 10px;
}

.dnv-gt__seg label {
	position: relative;
	cursor: pointer;
}

.dnv-gt__seg input {
	position: absolute;
	opacity: 0;
}

.dnv-gt__seg span {
	display: block;
	padding: 6px 10px;
	color: var(--dnv-suave);
	font-size: 0.76rem;
	font-weight: 700;
	white-space: nowrap;
	border-radius: 8px;
	transition: background-color 0.15s, color 0.15s;
}

.dnv-gt__seg input:checked + span {
	color: var(--dnv-texto);
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

.dnv-gt__seg input[value="porcentaje"]:checked + span,
.dnv-gt__seg input[value="manual"]:checked + span {
	color: #6d28d9;
}

.dnv-gt__seg input:focus-visible + span {
	outline: 2px solid var(--dnv-rojo);
	outline-offset: 1px;
}

.dnv-gt__valor {
	position: relative;
	display: none;
	align-items: center;
}

.dnv-gt__prod[data-modo="porcentaje"] .dnv-gt__valor.is-porc,
.dnv-gt__prod[data-modo="manual"] .dnv-gt__valor.is-fijo {
	display: flex;
}

.dnv-gt__valor input {
	width: 96px;
	height: 38px;
	padding: 0 10px;
	font-size: 16px;
	font-weight: 700;
	text-align: right;
	border: 1.5px solid #d9cdfa;
	border-radius: 10px;
}

.dnv-gt__valor.is-porc input {
	width: 76px;
	padding-right: 26px;
}

.dnv-gt__valor.is-fijo input {
	padding-left: 20px;
}

.dnv-gt__valor b {
	position: absolute;
	color: var(--dnv-suave);
	font-size: 0.85rem;
	pointer-events: none;
}

.dnv-gt__valor.is-porc b {
	right: 10px;
}

.dnv-gt__valor.is-fijo b {
	left: 9px;
}

.dnv-gt__valor input:focus {
	border-color: #7c3aed;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

.dnv-gt__prod-venta {
	display: grid;
	justify-items: end;
	gap: 2px;
}

.dnv-gt__prod-calc {
	color: #0f7a37;
	font-size: 1.05rem;
	font-weight: 800;
}

.dnv-gt__prod-gana {
	color: #0f7a37;
	font-size: 0.74rem;
	font-weight: 600;
	white-space: nowrap;
}

.dnv-gt__prod-gana.is-pierde {
	color: #c40000;
}

.dnv-gt__switch {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	cursor: pointer;
}

.dnv-gt__switch input {
	position: absolute;
	opacity: 0;
}

.dnv-gt__switch-riel {
	position: relative;
	flex: none;
	width: 48px;
	height: 28px;
	background: #d6d6db;
	border-radius: 99px;
	transition: background-color 0.2s;
}

.dnv-gt__switch-riel::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s var(--dnv-curva);
}

.dnv-gt__switch input:checked + .dnv-gt__switch-riel {
	background: #25d366;
}

.dnv-gt__switch input:checked + .dnv-gt__switch-riel::after {
	transform: translateX(20px);
}

.dnv-gt__switch input:focus-visible + .dnv-gt__switch-riel {
	outline: 3px solid rgba(37, 211, 102, 0.35);
	outline-offset: 2px;
}

.dnv-gt__niveles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.dnv-gt__niveles li {
	display: grid;
	padding: 10px 12px;
	font-size: 0.8rem;
	background: #f6f6f8;
	border-radius: 12px;
}

.dnv-gt__barra {
	position: fixed;
	right: 0;
	bottom: 0;
	left: var(--dnv-lateral);
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid #ececf0;
}

.dnv-gt__estado-guardado {
	margin: 0;
	color: var(--dnv-suave);
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-gt__estado-guardado.is-pendiente {
	color: #8a5a00;
}

.dnv-gt__estado-guardado.is-ok {
	color: #0f7a37;
}

.dnv-gt__estado-guardado.is-error {
	color: #c40000;
}

.dnv-gt__guardar,
.dnv-gt__guardar:hover,
.dnv-gt__guardar:focus {
	position: relative;
	flex: none;
	min-height: 48px;
	padding: 0 24px;
	color: #fff;
	font-weight: 700;
	background: var(--dnv-rojo);
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}

.dnv-gt__guardar:hover {
	background: var(--dnv-rojo-oscuro);
}

.dnv-gt__guardar.is-cargando {
	color: transparent;
}

.dnv-gt__guardar.is-cargando::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dnv-giro 0.7s linear infinite;
}

@media (max-width: 1024px) {
	.dnv-gt__barra {
		left: 0;
		bottom: calc(var(--dnv-tabbar) + env(safe-area-inset-bottom));
		padding: 10px 16px;
	}

	.dnv-gt {
		padding-bottom: 150px;
	}
}

@media (max-width: 560px) {
	.dnv-gt__cab,
	.dnv-gt__seccion {
		padding: 16px;
		border-radius: 16px;
	}

	.dnv-gt__marca {
		flex-wrap: wrap;
	}

	.dnv-gt__estado {
		margin-left: 62px;
	}

	.dnv-gt__acciones {
		width: 100%;
	}

	.dnv-gt__acciones > * {
		flex: 1;
		justify-content: center;
	}

	.dnv-gt__prod {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		gap: 8px 10px;
	}

	.dnv-gt__prod img {
		width: 44px;
		height: 44px;
	}

	.dnv-gt__regla {
		grid-row: 2;
		grid-column: 1 / -1;
		flex-wrap: wrap;
	}

	.dnv-gt__estado-guardado {
		flex: 1;
		font-size: 0.78rem;
	}
}

/* ------------------------------------------------------------------
 * Gestionar mi tienda → Personaliza tu tienda (Premium).
 * ------------------------------------------------------------------ */
.dnv-gt__chip-pro {
	flex: none;
	margin-left: auto;
	white-space: nowrap;
	padding: 3px 10px;
	color: #fff;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 700;
	background: linear-gradient(135deg, #a855f7, #ec4899);
	border-radius: 99px;
}

.dnv-gt__promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	margin: 0 0 16px;
	padding: 16px 18px;
	background: linear-gradient(135deg, #faf5ff, #fdf2f8);
	border: 1px solid #ead8fb;
	border-radius: 16px;
}

.dnv-gt__promo b {
	font-size: 1rem;
}

.dnv-gt__promo p {
	margin: 2px 0 0;
	color: #5b4a6b;
	font-size: 0.85rem;
}

.dnv-gt__promo-boton,
.dnv-gt__promo-boton:hover,
.dnv-gt__promo-boton:focus,
.dnv-gt-premium__cta,
.dnv-gt-premium__cta:hover,
.dnv-gt-premium__cta:focus,
a.dnv-gt-premium__cta,
a.dnv-gt__promo-boton {
	display: inline-flex;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(135deg, #a855f7, #ec4899);
	border-radius: 12px;
	box-shadow: 0 12px 24px -12px rgba(168, 85, 247, 0.8);
}

.dnv-gt__pgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.dnv-gt__pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	background: #fafafb;
	border: 1px solid #ececf0;
	border-radius: 16px;
}

.dnv-gt__pcard--ancha {
	grid-column: 1 / -1;
}

.dnv-gt__pcard .dnv-gt__pista {
	margin: 0;
}

.dnv-gt__pcard-cab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.dnv-gt__candado {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	color: #7c3aed;
	font-size: 0.72rem;
	font-weight: 700;
	background: #f3edff;
	border-radius: 99px;
}

.dnv-gt__vista {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		repeating-linear-gradient(45deg, #f1f1f4 0 10px, #f7f7f9 10px 20px);
	border: 1.5px dashed #d6d6db;
	border-radius: 12px;
}

.dnv-gt__vista.is-fondo {
	aspect-ratio: 16 / 9;
}

.dnv-gt__vista.is-cabecera {
	aspect-ratio: 4 / 1;
}

.dnv-gt__vista img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dnv-gt__vista.tiene-imagen {
	border-style: solid;
	border-color: transparent;
}

.dnv-gt__vista-vacia {
	color: var(--dnv-suave);
	font-size: 0.8rem;
	font-weight: 600;
}

.dnv-gt__medida {
	margin: 0;
	padding: 8px 10px;
	color: #4b3a60;
	font-size: 0.78rem;
	background: #f5f0ff;
	border-radius: 10px;
}

.dnv-gt__pcard-acciones {
	display: flex;
	gap: 8px;
	margin-top: auto;
}

.dnv-gt__boton--oscuro,
.dnv-gt__boton--oscuro:hover,
.dnv-gt__boton--oscuro:focus {
	color: #fff;
	background: var(--dnv-texto);
	border-color: var(--dnv-texto);
}

.dnv-gt__subir {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.dnv-gt__subir input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.dnv-gt__subir--ancho {
	justify-content: center;
	width: 100%;
	margin-top: 4px;
}

.dnv-gt__subir.is-cargando {
	color: transparent;
	pointer-events: none;
}

.dnv-gt__subir.is-cargando::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dnv-giro 0.7s linear infinite;
}

/* Iconos por producto */
.dnv-gt__iconos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnv-gt__icono,
.dnv-gt__icono:hover,
.dnv-gt__icono:focus {
	display: grid;
	gap: 6px;
	width: 100%;
	padding: 8px;
	color: var(--dnv-texto);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	background: #fff;
	border: 1.5px solid #ececf0;
	border-radius: 14px;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.15s;
}

.dnv-gt__icono:hover {
	border-color: var(--dnv-rojo);
	transform: translateY(-2px);
}

.dnv-gt__icono img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: #eee;
	border-radius: 10px;
}

.dnv-gt__icono span {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Horario */
.dnv-gt__dias {
	display: grid;
	gap: 6px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.dnv-gt__dia {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #ececf0;
	border-radius: 12px;
}

.dnv-gt__dia-nombre {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	cursor: pointer;
}

.dnv-gt__dia-nombre input {
	width: 18px;
	height: 18px;
	accent-color: var(--dnv-rojo);
}

.dnv-gt__dia-horas {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dnv-gt__dia-horas input {
	min-width: 0;
	height: 40px;
	padding: 0 8px;
	font-size: 15px;
	border: 1.5px solid #d6d6db;
	border-radius: 10px;
}

.dnv-gt__dia-horas em {
	color: var(--dnv-suave);
	font-style: normal;
}

.dnv-gt__dia-cerrado {
	display: none;
	color: var(--dnv-suave);
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-gt__dia.is-cerrado {
	background: #f6f6f8;
}

.dnv-gt__dia.is-cerrado .dnv-gt__dia-horas {
	display: none;
}

.dnv-gt__dia.is-cerrado .dnv-gt__dia-cerrado {
	display: block;
}

.dnv-gt__pcard .dnv-gt__restablecer {
	align-self: flex-start;
	max-width: 100%;
	height: auto;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: left;
	white-space: normal;
}

/* Sin Premium: se ve, pero apagado y con candado. */
.dnv-gt__pro.is-bloqueada .dnv-gt__pcard {
	cursor: pointer;
}

.dnv-gt__pro.is-bloqueada .dnv-gt__pcard > :not(.dnv-gt__pcard-cab) {
	opacity: 0.55;
	filter: grayscale(0.7);
}

.dnv-gt__pro.is-bloqueada .dnv-gt__pcard:hover {
	border-color: #d8c3fb;
	box-shadow: 0 0 0 4px #f5f0ff;
}

.dnv-gt__pro.is-bloqueada input,
.dnv-gt__pro.is-bloqueada button,
.dnv-gt__pro.is-bloqueada label {
	pointer-events: none;
}

/* Ventana "Función Premium" */
.dnv-gt-premium {
	align-items: center;
	text-align: center;
}

.dnv-gt-premium__corona {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 4px auto 2px;
	color: #fff;
	font-size: 30px;
	background: linear-gradient(135deg, #a855f7, #ec4899);
	border-radius: 50%;
	box-shadow: 0 0 0 8px #f5f0ff;
}

.dnv-gt-premium h2 {
	margin: 6px 0 0;
	font-size: 1.35rem;
}

.dnv-gt-premium > p {
	margin: 0;
	color: var(--dnv-suave);
}

.dnv-gt-premium__lista {
	display: grid;
	gap: 8px;
	width: 100%;
	margin: 8px 0 6px;
	padding: 0;
	text-align: left;
	list-style: none;
}

.dnv-gt-premium__lista li {
	position: relative;
	padding: 10px 12px 10px 38px;
	font-size: 0.88rem;
	background: #faf7ff;
	border-radius: 12px;
}

.dnv-gt-premium__lista li::before {
	content: "✓";
	position: absolute;
	top: 50%;
	left: 12px;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	background: #a855f7;
	border-radius: 50%;
	transform: translateY(-50%);
}

.dnv-gt-premium__cta,
.dnv-gt-premium__cta:hover,
.dnv-gt-premium__cta:focus {
	width: 100%;
	min-height: 50px;
	font-size: 1rem;
}

.dnv-gt-premium__ahora,
.dnv-gt-premium__ahora:hover,
.dnv-gt-premium__ahora:focus {
	padding: 8px;
	color: var(--dnv-suave);
	font-weight: 600;
	background: none;
	border: 0;
	cursor: pointer;
}

/* Ventana de iconos */
.dnv-gt-modal--iconos {
	width: min(560px, calc(100vw - 32px));
}

.dnv-gt-modal__titulo {
	margin: 0 44px 0 0;
	font-size: 1.1rem;
}

.dnv-gt-elegir {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
	max-height: 46vh;
	margin: 6px 0;
	padding: 2px;
	overflow-y: auto;
	list-style: none;
}

.dnv-gt-elegir.is-cargando {
	min-height: 110px;
	background: linear-gradient(100deg, #f0f0f2 40%, #fafafb 50%, #f0f0f2 60%) #f0f0f2;
	background-size: 200% 100%;
	border-radius: 12px;
	animation: dnv-brillo 1.1s linear infinite;
}

.dnv-gt-elegir__op,
.dnv-gt-elegir__op:hover,
.dnv-gt-elegir__op:focus {
	position: relative;
	display: block;
	width: 100%;
	padding: 4px;
	background: #fff;
	border: 2px solid #ececf0;
	border-radius: 14px;
	cursor: pointer;
}

.dnv-gt-elegir__op:hover {
	border-color: #f4a3a8;
}

.dnv-gt-elegir__op.is-actual {
	border-color: var(--dnv-rojo);
	box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}

.dnv-gt-elegir__op img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
}

.dnv-gt-elegir__tipo {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 7px;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	background: rgba(17, 24, 39, 0.78);
	border-radius: 99px;
}

.dnv-gt-elegir__tipo.is-propio {
	background: #7c3aed;
}

@media (max-width: 760px) {
	.dnv-gt__pgrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dnv-gt__dia {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.dnv-gt__dia-horas input {
		flex: 1;
	}
}

/* ------------------------------------------------------------------
 * Mi tienda → Descuento por cantidad (niveles editables).
 * ------------------------------------------------------------------ */
.dnv-gt__cantidad {
	display: grid;
	gap: 10px;
	margin-top: 12px;
	transition: opacity 0.2s;
}

.dnv-gt__cantidad.is-apagado {
	opacity: 0.45;
}

.dnv-gt__niveles-edit {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnv-gt__nivel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	font-size: 0.9rem;
	font-weight: 600;
	background: #fafafb;
	border: 1px solid #ececf0;
	border-radius: 12px;
}

.dnv-gt__nivel .dnv-gt__campo {
	width: 72px;
	height: 40px;
	padding: 0 10px;
	text-align: center;
}

.dnv-gt__nivel-monto {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dnv-gt__nivel-monto .dnv-gt__campo {
	width: 104px;
}

.dnv-gt__nivel-quitar,
.dnv-gt__nivel-quitar:hover,
.dnv-gt__nivel-quitar:focus {
	margin-left: auto;
	width: 32px;
	height: 32px;
	padding: 0;
	color: var(--dnv-suave);
	font-size: 1.2rem;
	line-height: 1;
	background: #fff;
	border: 1px solid #ececf0;
	border-radius: 50%;
	cursor: pointer;
}

.dnv-gt__nivel-quitar:hover {
	color: var(--dnv-rojo);
	border-color: #f4a3a8;
}

[data-dnv-gt-nivel-agregar] {
	justify-self: start;
}

/* ------------------------------------------------------------------
 * Mi tienda → Iconos: temporadas (una colección para todos de una vez).
 * ------------------------------------------------------------------ */
.dnv-gt__temporadas {
	display: grid;
	gap: 8px;
	padding: 12px;
	background: linear-gradient(135deg, #fff7ed, #fdf2f8);
	border: 1px solid #fde2cf;
	border-radius: 14px;
}

.dnv-gt__temporadas-titulo {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 800;
}

.dnv-gt__temporadas-lista {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dnv-gt__temporada,
.dnv-gt__temporada:hover,
.dnv-gt__temporada:focus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 12px;
	color: var(--dnv-texto);
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
	background: #fff;
	border: 1.5px solid #ece4f7;
	border-radius: 99px;
	cursor: pointer;
}

.dnv-gt__temporada:hover {
	border-color: #f4a3a8;
}

.dnv-gt__temporada em {
	min-width: 22px;
	padding: 0 6px;
	color: var(--dnv-suave);
	font-size: 0.7rem;
	font-style: normal;
	text-align: center;
	background: #f4f4f6;
	border-radius: 99px;
}

.dnv-gt__temporada.is-on {
	color: #fff;
	background: var(--dnv-texto);
	border-color: var(--dnv-texto);
}

.dnv-gt__temporada.is-on em {
	color: var(--dnv-texto);
	background: #fff;
}

.dnv-gt-elegir__col {
	position: absolute;
	top: 8px;
	left: 8px;
	max-width: calc(100% - 16px);
	overflow: hidden;
	padding: 2px 7px;
	color: #7c2d12;
	font-size: 0.62rem;
	font-weight: 800;
	white-space: nowrap;
	text-overflow: ellipsis;
	background: #ffedd5;
	border-radius: 99px;
}

.dnv-gt-temporada-aviso {
	display: grid;
	gap: 10px;
	margin: 12px 0 4px;
	padding: 14px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 14px;
	animation: dnv-gt-aparece 0.25s var(--dnv-curva);
}

.dnv-gt-temporada-aviso p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.dnv-gt-temporada-aviso__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@keyframes dnv-gt-aparece {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

/* ------------------------------------------------------------------
 * Mi tienda → Colores y letras (con vista previa en vivo).
 * ------------------------------------------------------------------ */
.dnv-gt-est {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
	gap: 16px;
	align-items: start;
}

.dnv-gt-est__opciones {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.dnv-gt-est__sugerido {
	margin: 0;
	padding: 8px 12px;
	color: #7c2d12;
	font-size: 0.85rem;
	font-weight: 700;
	background: #fff7ed;
	border-radius: 10px;
}

.dnv-gt-est__temas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 8px;
	max-height: 340px;
	overflow-y: auto;
	padding: 2px;
}

.dnv-gt-est__tema,
.dnv-gt-est__tema:hover,
.dnv-gt-est__tema:focus {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 8px;
	color: var(--dnv-texto);
	text-align: left;
	white-space: normal;
	background: #fff;
	border: 1.5px solid #ececf0;
	border-radius: 12px;
	cursor: pointer;
}

.dnv-gt-est__tema:hover {
	border-color: #f4a3a8;
}

.dnv-gt-est__tema.is-on {
	border-color: var(--dnv-rojo);
	box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.dnv-gt-est__tema.is-sugerido {
	background: #fffbf5;
}

.dnv-gt-est__muestra {
	position: relative;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.dnv-gt-est__muestra i {
	position: absolute;
	right: 5px;
	bottom: 6px;
	left: 5px;
	height: 11px;
	border-radius: 99px;
}

.dnv-gt-est__muestra em {
	position: absolute;
	top: 7px;
	left: 6px;
	width: 16px;
	height: 6px;
	border-radius: 99px;
}

.dnv-gt-est__tema-texto {
	display: grid;
	min-width: 0;
}

.dnv-gt-est__tema-texto b {
	overflow: hidden;
	font-size: 0.8rem;
	line-height: 1.25;
	text-overflow: ellipsis;
}

.dnv-gt-est__tema-texto small {
	color: var(--dnv-suave);
	font-size: 0.7rem;
	line-height: 1.3;
}

.dnv-gt-est__propios summary {
	font-size: 0.85rem;
	font-weight: 800;
	cursor: pointer;
}

.dnv-gt-est__colores {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
	margin-top: 10px;
}

.dnv-gt-est__color {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	font-size: 0.8rem;
	font-weight: 600;
	background: #fff;
	border: 1px solid #ececf0;
	border-radius: 10px;
	cursor: pointer;
}

.dnv-gt-est__color input {
	flex: 0 0 auto;
	width: 34px;
	height: 28px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.dnv-gt-est__contraste {
	margin: 8px 0 0;
	padding: 8px 10px;
	color: #9a3412;
	font-size: 0.8rem;
	font-weight: 600;
	background: #fff7ed;
	border-radius: 10px;
}

.dnv-gt-est__letras {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
}

.dnv-gt-est__letras .dnv-gt__etiqueta {
	display: grid;
	gap: 4px;
}

.dnv-gt-est [data-dnv-gt-est-original] {
	justify-self: start;
}

/* La vista previa usa las mismas variables que la tienda pública. */
.dnv-gt-est__vista {
	position: sticky;
	top: 90px;
	display: grid;
	gap: 10px;
	overflow: hidden;
	padding: 12px 12px 16px;
	color: var(--txt, #f4f1ff);
	background: var(--bg, #0c0a14);
	background-image: radial-gradient(260px 160px at 10% -10%, color-mix(in srgb, var(--acc, #a855f7) 30%, transparent), transparent), radial-gradient(240px 160px at 100% 0%, color-mix(in srgb, var(--acc2, #ec4899) 22%, transparent), transparent);
	border: 1px solid var(--line, #2f2745);
	border-radius: 18px;
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
	transition: background-color 0.3s, color 0.3s;
}

.dnv-gt-est__top {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dnv-gt-est__logo {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: var(--btn-txt, #fff);
	font-size: 0.8rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--acc, #a855f7), var(--acc2, #ec4899));
	border-radius: 9px;
}

.dnv-gt-est__nombre {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-family: var(--est-titulos, inherit);
	font-size: 0.85rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dnv-gt-est__wa {
	padding: 4px 9px;
	color: #04250f;
	font-family: var(--est-botones, inherit);
	font-size: 0.68rem;
	font-weight: 800;
	background: #25d366;
	border-radius: 99px;
}

.dnv-gt-est__titulo {
	margin: 4px 0 0;
	font-family: var(--est-titulos, inherit);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
}

.dnv-gt-est__titulo span {
	background: linear-gradient(90deg, var(--acc, #a855f7), var(--acc2, #ec4899));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dnv-gt-est__chips {
	display: flex;
	justify-content: center;
	gap: 5px;
}

.dnv-gt-est__chips span {
	padding: 3px 9px;
	color: var(--mut, #a49cc2);
	font-family: var(--est-botones, inherit);
	font-size: 0.66rem;
	font-weight: 700;
	background: var(--card, #1a1528);
	border: 1px solid var(--line, #2f2745);
	border-radius: 99px;
}

.dnv-gt-est__chips span.is-on {
	color: var(--btn-txt, #fff);
	background: linear-gradient(135deg, var(--acc, #a855f7), var(--acc2, #ec4899));
	border-color: transparent;
}

.dnv-gt-est__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.dnv-gt-est__card {
	display: grid;
	gap: 4px;
	padding: 6px 6px 8px;
	text-align: center;
	background: var(--card, #1a1528);
	border: 1px solid var(--line, #2f2745);
	border-radius: 12px;
}

.dnv-gt-est__card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
}

.dnv-gt-est__card b {
	overflow: hidden;
	font-family: var(--est-titulos, inherit);
	font-size: 0.62rem;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dnv-gt-est__card i {
	color: var(--precio, #25d366);
	font-family: var(--est-titulos, inherit);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 800;
}

.dnv-gt-est__btn {
	padding: 5px 0;
	color: var(--btn-txt, #fff);
	font-family: var(--est-botones, inherit);
	font-size: 0.66rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--acc, #a855f7), var(--acc2, #ec4899));
	border-radius: 8px;
}

.dnv-gt-est__fab {
	justify-self: center;
	padding: 7px 16px;
	color: var(--btn-txt, #fff);
	font-family: var(--est-botones, inherit);
	font-size: 0.72rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--acc, #a855f7), var(--acc2, #ec4899));
	border-radius: 99px;
	box-shadow: 0 8px 20px -8px var(--acc, #a855f7);
}

/* Botones: degradado o color sólido; efecto de goteo (vista previa). */
.dnv-gt-est__botones {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
	align-items: end;
}

.dnv-gt-est__seg {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.dnv-gt-est__rotulo {
	width: 100%;
	font-size: 0.85rem;
	font-weight: 700;
}

.dnv-gt-est__seg label {
	cursor: pointer;
}

.dnv-gt-est__seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dnv-gt-est__seg span {
	display: inline-block;
	padding: 7px 12px;
	font-size: 0.8rem;
	font-weight: 700;
	background: #fff;
	border: 1.5px solid #ececf0;
	border-radius: 99px;
}

.dnv-gt-est__seg input:checked + span {
	color: #fff;
	background: var(--dnv-texto);
	border-color: var(--dnv-texto);
}

.dnv-gt-est__seg input:focus-visible + span {
	outline: 2px solid var(--dnv-rojo);
	outline-offset: 2px;
}

.dnv-gt-est__efecto {
	display: grid;
	gap: 4px;
}

.dnv-gt-est__vista.is-plano .dnv-gt-est__btn,
.dnv-gt-est__vista.is-plano .dnv-gt-est__fab,
.dnv-gt-est__vista.is-plano .dnv-gt-est__logo,
.dnv-gt-est__vista.is-plano .dnv-gt-est__chips span.is-on {
	background: var(--acc, #a855f7);
	box-shadow: inset 0 1px 0 #ffffff26, inset 0 -2px 0 #00000040;
}

.dnv-gt-est__vista.is-plano .dnv-gt-est__titulo span {
	background: none;
	-webkit-text-fill-color: currentColor;
	color: var(--precio, #25d366);
}

/* Vista previa del goteo: igual que en la tienda, solo algunos mojados. */
.dnv-gt-est__vista.is-goteo .dnv-gt-est__btn,
.dnv-gt-est__vista.is-goteo .dnv-gt-est__fab,
.dnv-gt-est__vista.is-goteo .dnv-gt-est__chips span.is-on {
	position: relative;
}

.dnv-gt-est__vista.is-goteo .dnv-gt-est__btn::before,
.dnv-gt-est__vista.is-goteo .dnv-gt-est__fab::before,
.dnv-gt-est__vista.is-goteo .dnv-gt-est__chips span.is-on::before {
	content: "";
	position: absolute;
	top: calc(100% - 2px);
	left: var(--gx1, 30%);
	width: 4px;
	height: var(--gh, 7px);
	background: var(--acc, #a4161a);
	border-radius: 1px 1px 50% 50% / 1px 1px 70% 70%;
	transform-origin: top center;
	scale: 1 0;
	opacity: 0;
	transition: scale 2.6s cubic-bezier(0.3, 0.7, 0.3, 1), opacity 0.6s;
}

.dnv-gt-est__vista.is-goteo .is-gotea::before {
	scale: 1 1;
	opacity: 1;
	animation: dnv-gt-gotea var(--gd1, 5s) ease-in-out 2.6s infinite;
}

.dnv-gt-est__vista.is-goteo .is-seca::before {
	scale: 1 0.35;
	opacity: 0;
	transition: scale 3s ease-in, opacity 3s ease-in;
}

.dnv-gt-est__vista.is-goteo .dnv-gt-est__btn::after,
.dnv-gt-est__vista.is-goteo .dnv-gt-est__fab::after {
	content: "";
	position: absolute;
	top: calc(100% - 1px);
	left: var(--gx1, 30%);
	width: 4px;
	height: 5px;
	background: var(--acc, #a4161a);
	border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
	opacity: 0;
}

.dnv-gt-est__vista.is-goteo .is-gotea.is-cae::after {
	animation: dnv-gt-gota-cae 1.6s ease-in forwards;
}

@keyframes dnv-gt-gotea {
	50% {
		transform: scaleY(1.35);
	}
}

@keyframes dnv-gt-gota-cae {
	0% {
		opacity: 0;
		transform: translateY(calc(var(--gh, 7px) - 4px)) scale(0.3);
	}

	25% {
		opacity: 1;
		transform: translateY(calc(var(--gh, 7px) - 2px)) scale(1);
	}

	100% {
		opacity: 0;
		transform: translateY(calc(var(--gh, 7px) + 14px)) scaleY(1.2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnv-gt-est__vista.is-goteo .dnv-gt-est__btn::before,
	.dnv-gt-est__vista.is-goteo .dnv-gt-est__fab::before,
	.dnv-gt-est__vista.is-goteo .dnv-gt-est__chips span.is-on::before {
		transition: none;
		animation: none !important;
	}

	.dnv-gt-est__vista.is-goteo .dnv-gt-est__btn::after,
	.dnv-gt-est__vista.is-goteo .dnv-gt-est__fab::after {
		display: none;
	}
}

.dnv-gt-premium__regalo {
	margin: 0 0 4px;
	padding: 8px 12px;
	color: #7c2d12;
	font-weight: 800;
	background: #fff7ed;
	border-radius: 10px;
}

@media (max-width: 767px) {
	.dnv-gt-est {
		grid-template-columns: minmax(0, 1fr);
	}

	.dnv-gt-est__vista {
		position: static;
		order: -1;
	}

	.dnv-gt-est__temas {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		max-height: 300px;
	}
}

/* ------------------------------------------------------------------
 * Opciones del menú en "Muy pronto": se ven igual (no en gris) y en
 * computador el cursor es el de prohibido.
 * ------------------------------------------------------------------ */
[data-dnv-pronto],
[data-dnv-pronto] * {
	cursor: not-allowed !important;
}

/* El administrador sí entra: la opción funciona y lleva "Solo tú" para que
   sepa que los clientes todavía la ven en "Muy pronto". En el menú de
   Elementor, sus ::before/::after son del efecto del menú: ahí solo un
   subrayado punteado dorado (y el título al pasar el mouse). */
.elementor-nav-menu [data-dnv-pronto-admin],
.elementor-nav-menu--dropdown [data-dnv-pronto-admin] {
	text-decoration: underline dotted #fbbf24;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.dnv-inicio__atajo[data-dnv-pronto-admin],
.dnv-hoja__opcion[data-dnv-pronto-admin] {
	position: relative;
}

.dnv-inicio__atajo[data-dnv-pronto-admin]::after,
.dnv-hoja__opcion[data-dnv-pronto-admin]::after {
	content: "Solo tú";
	position: absolute;
	top: 6px;
	right: 6px;
	padding: 1px 7px;
	color: #1a1305;
	font-size: 0.6rem;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	background: #fbbf24;
	border-radius: 999px;
	pointer-events: none;
}

.dnv-hoja__opcion[data-dnv-pronto-admin]::after {
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
}

/* En la barra inferior no cabe la etiqueta: un punto sobre el icono. */
.dnv-tab[data-dnv-pronto-admin] {
	position: relative;
}

.dnv-tab[data-dnv-pronto-admin]::after {
	content: "";
	position: absolute;
	top: 4px;
	right: calc(50% - 20px);
	width: 9px;
	height: 9px;
	background: #fbbf24;
	border: 2px solid #fff;
	border-radius: 50%;
	pointer-events: none;
}

.dnv-pronto .dnv-modal__caja {
	align-items: center;
	padding: 30px 24px 24px;
	text-align: center;
}

.dnv-pronto__icono {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin-bottom: 6px;
	color: #fff;
	background: linear-gradient(135deg, var(--dnv-rojo), #ff7a3d);
	border-radius: 22px;
	box-shadow: 0 14px 30px -12px rgba(255, 0, 0, 0.6);
	animation: dnv-pronto-flota 2.4s ease-in-out infinite;
}

.dnv-pronto__titulo {
	margin: 4px 0 0;
	font-size: 1.35rem;
	font-weight: 800;
}

.dnv-pronto__texto {
	margin: 0 0 10px;
	color: var(--dnv-suave);
}

.dnv-pronto__ok {
	justify-content: center;
	width: 100%;
}

@keyframes dnv-pronto-flota {
	50% {
		transform: translateY(-4px) rotate(-4deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnv-pronto__icono {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Creador de banners (Banner Forge).
 *
 * Es una herramienta, no una página de lectura: ocupa todo el espacio al
 * lado del menú, con su fondo oscuro de borde a borde (sin franjas blancas
 * ni el pie del sitio). En celular y tablet se quita la barra de arriba
 * para ganar espacio; la barra inferior sigue para moverse por el sitio.
 * ------------------------------------------------------------------ */
body.banner-forge-page {
	background: #12141c;
}

body.banner-forge-page:not([class*="elementor-page-"]) .site-main {
	padding: 0;
}

body.banner-forge-page .elementor-location-footer {
	display: none;
}

body.banner-forge-page .page-content > .bff {
	width: auto;
	max-width: none;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 28px 32px 48px;
	border-radius: 0;
}

body.banner-forge-page .bff-layout {
	max-width: 1680px;
	margin-inline: auto;
}

/* Pantallas anchas: la vista previa crece con la pantalla. */
@media (min-width: 1280px) {
	body.banner-forge-page .bff-layout {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 36%);
		gap: 28px;
	}
}

/* En una columna, "1fr" se estira al contenido más ancho (el selector de
   diseños) y el creador se sale de la pantalla del celular. */
@media (max-width: 1100px) {
	body.banner-forge-page .bff-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 1.20.0: cada paso es un acordeón hecho con una cuadrícula sin ancho de
   columna; su contenido más ancho (el selector de diseños) la estira y se
   sale de la pantalla del celular. */
body.banner-forge-page .bff-acc__body {
	grid-template-columns: minmax(0, 1fr);
}

body.banner-forge-page .bff-acc__inner {
	min-width: 0;
}

@media (max-width: 1024px) {
	body.banner-forge-page .elementor-location-header {
		display: none;
	}

	body.banner-forge-page .page-content > .bff {
		padding: 16px 14px calc(var(--dnv-tabbar) + 28px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 560px) {
	body.banner-forge-page .page-content > .bff {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* ------------------------------------------------------------------
 * Celular y tableta: la cabecera de arriba (logo + buscador) solo en la
 * tienda. En las demás páginas del cliente se quita para ganar espacio;
 * la navegación sigue en la barra inferior. (inc/navegacion-movil.php
 * pone la clase dnv-sin-cabecera.)
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	body.dnv-sin-cabecera .elementor-location-header {
		display: none;
	}

	body.dnv-sin-cabecera:not([class*="elementor-page-"]) .site-main {
		padding-top: calc(16px + env(safe-area-inset-top, 0px));
	}
}

/* Mi cuenta: error al agregar el obsequio de la araña. */
.dnv-inicio__premio-arana-estado {
	flex-basis: 100%;
	margin: 0;
	color: #ffe28a;
	font-size: 0.85rem;
	font-weight: 600;
}

.dnv-inicio__boton.is-cargando {
	opacity: 0.7;
	cursor: progress;
}
