/*
Theme Name: LumenHaus
Theme URI: https://lumenhaus.com.py
Author: LumenHaus
Description: Tema de LumenHaus — iluminación ambiental, gadgets tech y hogar inteligente en Paraguay. Mobile-first, optimizado para conversión y compatible con WooCommerce, Bancard vPOS y Dropi Paraguay.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.2
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumenhaus
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--lh-dark: #0F172A;
	--lh-dark-2: #1E293B;
	--lh-bg: #F8FAFC;
	--lh-card: #FFFFFF;
	--lh-border: #E2E8F0;
	--lh-text: #0F172A;
	--lh-text-muted: #475569;
	--lh-text-inverse: #F8FAFC;
	--lh-text-inverse-muted: #CBD5E1;
	--lh-cta: #F97316;
	--lh-cta-hover: #EA580C;
	--lh-cta-ink: #0F172A;            /* texto sobre naranja: contraste AA */
	--lh-trust: #10B981;
	--lh-trust-ink: #047857;          /* verde legible sobre fondo claro */
	--lh-danger: #DC2626;

	/* Espectro ambiental: los colores de la luz que vendemos.
	   Se usan como luz (halos, bordes encendidos, tiras LED), nunca como fondo plano. */
	--lh-glow-amber: #FB923C;
	--lh-glow-rose: #F43F5E;
	--lh-glow-violet: #8B5CF6;
	--lh-glow-indigo: #6366F1;
	--lh-glow-cyan: #22D3EE;
	--lh-glow-warm: #FDE68A;
	--lh-dark-3: #131D35;              /* superficie elevada sobre --lh-dark */

	--lh-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lh-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Escala tipográfica (razón ~1.25, fluida) */
	--lh-fs-xs: 0.8125rem;
	--lh-fs-sm: 0.875rem;
	--lh-fs-base: 1rem;
	--lh-fs-md: 1.125rem;
	--lh-fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--lh-fs-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
	--lh-fs-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
	--lh-fs-3xl: clamp(2.375rem, 1.6rem + 3.6vw, 4.25rem);

	--lh-space-1: 0.25rem;
	--lh-space-2: 0.5rem;
	--lh-space-3: 0.75rem;
	--lh-space-4: 1rem;
	--lh-space-5: 1.5rem;
	--lh-space-6: 2rem;
	--lh-space-7: 3rem;
	--lh-space-8: 4.5rem;

	/* Jerarquía de radios: badge < control < tarjeta */
	--lh-r-badge: 6px;
	--lh-r-control: 10px;
	--lh-r-card: 16px;

	--lh-shadow-lift: 0 10px 30px -12px rgba(15, 23, 42, 0.25);
	--lh-glow-cta: 0 8px 28px -8px rgba(249, 115, 22, 0.65);
	--lh-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--lh-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--lh-dur: 220ms;

	--lh-container: 1200px;
	--lh-gutter: 1rem;
	--lh-header-h: 60px;
}

@media (min-width: 768px) {
	:root {
		--lh-gutter: 1.5rem;
		--lh-header-h: 72px;
	}
}

/* Colores de escena animables (transición suave entre escenas del hero). */
@property --lh-scene-a { syntax: "<color>"; inherits: true; initial-value: #FB923C; }
@property --lh-scene-b { syntax: "<color>"; inherits: true; initial-value: #F43F5E; }
@property --lh-scene-c { syntax: "<color>"; inherits: true; initial-value: #FBBF24; }

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lh-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--lh-bg);
	color: var(--lh-text);
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.lh-lock {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lh-font-head);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 var(--lh-space-4);
	font-weight: 700;
	text-wrap: balance;
}

p {
	margin: 0 0 var(--lh-space-4);
	text-wrap: pretty;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

:focus-visible {
	outline: 3px solid var(--lh-cta);
	outline-offset: 2px;
	border-radius: 4px;
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--lh-card);
	color: var(--lh-text);
	border-radius: var(--lh-r-control);
}

.lh-container {
	width: 100%;
	max-width: var(--lh-container);
	margin-inline: auto;
	padding-inline: var(--lh-gutter);
}

.lh-section {
	padding-block: var(--lh-space-7);
}

@media (min-width: 768px) {
	.lh-section {
		padding-block: var(--lh-space-8);
	}
}

.lh-section__head {
	max-width: 40rem;
	margin-bottom: var(--lh-space-6);
}

.lh-section__title {
	font-size: var(--lh-fs-2xl);
	margin-bottom: var(--lh-space-3);
}

.lh-section__lead {
	color: var(--lh-text-muted);
	font-size: var(--lh-fs-md);
	margin: 0;
}

/* ==========================================================================
   3. Botones
   ========================================================================== */
.lh-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--lh-space-2);
	min-height: 48px;
	padding: 0.75rem 1.375rem;
	border: 0;
	border-radius: var(--lh-r-control);
	background: var(--lh-dark);
	color: var(--lh-text-inverse);
	font-family: var(--lh-font-head);
	font-weight: 700;
	font-size: var(--lh-fs-base);
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--lh-dur) var(--lh-ease), transform 120ms var(--lh-ease);
	-webkit-tap-highlight-color: transparent;
}

.lh-btn:active,
.woocommerce .button:active {
	transform: scale(0.98);
}

.lh-btn--cta,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.checkout-button,
.woocommerce #place_order,
.single_add_to_cart_button {
	background: var(--lh-cta) !important;
	color: var(--lh-cta-ink) !important;
	box-shadow: var(--lh-glow-cta);
	transition: background-color var(--lh-dur) var(--lh-ease), box-shadow var(--lh-dur) var(--lh-ease), transform 160ms var(--lh-ease);
}

/* El CTA es un interruptor: al pasar, "sube la intensidad". */
.lh-btn--cta:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover,
.single_add_to_cart_button:hover {
	background: var(--lh-cta-hover) !important;
	box-shadow: 0 10px 36px -6px rgba(249, 115, 22, 0.85), 0 0 0 4px rgba(249, 115, 22, 0.14);
}

@media (hover: hover) {
	.lh-btn--cta:hover,
	.single_add_to_cart_button:hover {
		transform: translateY(-1px);
	}
}

.lh-btn--ghost {
	background: transparent;
	color: inherit;
	box-shadow: inset 0 0 0 1.5px currentColor;
}

.lh-btn--block {
	width: 100%;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--lh-dark-2);
	color: var(--lh-text-inverse);
}

.woocommerce .button.loading {
	opacity: 0.7;
	pointer-events: none;
}

.lh-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--lh-r-control);
	background: transparent;
	cursor: pointer;
	position: relative;
	transition: background-color var(--lh-dur) var(--lh-ease);
}

.lh-icon-btn:hover {
	background: var(--lh-bg);
}

.lh-icon-btn svg {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.lh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--lh-border);
}

.admin-bar .lh-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .lh-header {
		top: 0;
	}
}

.lh-header__inner {
	display: flex;
	align-items: center;
	gap: var(--lh-space-2);
	height: var(--lh-header-h);
}

.lh-logo {
	font-family: var(--lh-font-head);
	font-weight: 800;
	font-size: 1.375rem;
	letter-spacing: -0.035em;
	text-decoration: none;
	color: var(--lh-text);
	margin-right: auto;
	display: inline-flex;
	align-items: baseline;
}

/* El punto de la marca: una pequeña fuente de luz */
.lh-logo__dot {
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-radius: 50%;
	background: var(--lh-cta);
	box-shadow: 0 0 10px 2px rgba(249, 115, 22, 0.55);
	align-self: center;
	transform: translateY(4px);
	animation: lh-breathe 4.5s ease-in-out infinite;
}

/* Respiración lenta, como el LED de reposo de un equipo encendido. */
@keyframes lh-breathe {
	0%, 100% { box-shadow: 0 0 6px 1px rgba(249, 115, 22, 0.45); }
	50% { box-shadow: 0 0 14px 4px rgba(249, 115, 22, 0.75); }
}

.lh-nav {
	display: none;
}

.lh-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--lh-space-5);
}

.lh-nav a {
	position: relative;
	padding-block: 0.375rem;
	text-decoration: none;
	font-weight: 500;
	font-size: var(--lh-fs-sm);
	color: var(--lh-text-muted);
	transition: color var(--lh-dur) var(--lh-ease);
}

/* Subrayado que se enciende desde el centro, como una tira LED. */
.lh-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--lh-cta);
	box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
	transform: scaleX(0);
	transition: transform 300ms var(--lh-ease);
}

.lh-nav a:hover,
.lh-nav .current-menu-item > a {
	color: var(--lh-text);
}

.lh-nav a:hover::after,
.lh-nav .current-menu-item > a::after {
	transform: scaleX(1);
}

.lh-menu-toggle {
	order: -1;
	margin-left: -10px;
}

@media (min-width: 960px) {
	.lh-nav {
		display: block;
		margin-right: var(--lh-space-5);
	}

	.lh-menu-toggle {
		display: none;
	}
}

.lh-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--lh-cta);
	color: var(--lh-cta-ink);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.lh-cart-count[data-count="0"] {
	display: none;
}

.lh-cart-count.is-bump {
	animation: lh-bump 400ms var(--lh-ease);
}

@keyframes lh-bump {
	40% { transform: scale(1.35); }
}

/* Buscador desplegable */
.lh-search {
	border-top: 1px solid var(--lh-border);
	background: var(--lh-card);
	padding-block: var(--lh-space-3);
}

.lh-search[hidden] {
	display: none;
}

.lh-search form {
	display: flex;
	gap: var(--lh-space-2);
}

.lh-search input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 0 1rem;
	border: 1.5px solid var(--lh-border);
	border-radius: var(--lh-r-control);
	background: var(--lh-bg);
	font-size: 16px; /* evita zoom en iOS */
}

.lh-search input[type="search"]:focus {
	border-color: var(--lh-dark);
	outline: none;
}

.lh-search button {
	min-height: 48px;
}

/* Menú móvil */
.lh-mobile-nav {
	border-top: 1px solid var(--lh-border);
	background: var(--lh-card);
}

.lh-mobile-nav[hidden] {
	display: none;
}

.lh-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: var(--lh-space-2) 0;
}

.lh-mobile-nav a {
	display: block;
	padding: 0.875rem var(--lh-gutter);
	text-decoration: none;
	font-weight: 600;
	font-family: var(--lh-font-head);
}

/* ==========================================================================
   5. Carrito lateral
   ========================================================================== */
.lh-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(15, 23, 42, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--lh-dur) var(--lh-ease), visibility var(--lh-dur);
}

.lh-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.lh-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	background: var(--lh-card);
	transform: translateX(100%);
	transition: transform 320ms var(--lh-ease);
	visibility: hidden;
}

.lh-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

.lh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--lh-space-4) var(--lh-space-5);
	border-bottom: 1px solid var(--lh-border);
}

.lh-drawer__title {
	font-size: var(--lh-fs-lg);
	margin: 0;
}

.lh-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: var(--lh-space-4) var(--lh-space-5);
}

.lh-drawer__trust {
	display: flex;
	align-items: center;
	gap: var(--lh-space-2);
	padding: var(--lh-space-3) var(--lh-space-5);
	background: rgba(16, 185, 129, 0.08);
	color: var(--lh-trust-ink);
	font-size: var(--lh-fs-sm);
	font-weight: 600;
}

.lh-drawer__trust svg {
	width: 18px;
	height: 18px;
	flex: none;
}

/* Contenido nativo de woocommerce_mini_cart() */
.lh-drawer .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lh-drawer .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr;
	grid-template-rows: auto auto;
	column-gap: var(--lh-space-3);
	padding: var(--lh-space-3) 2rem var(--lh-space-3) 0;
	border-bottom: 1px solid var(--lh-border);
	font-size: var(--lh-fs-sm);
}

.lh-drawer .woocommerce-mini-cart-item a:not(.remove) {
	display: contents;
	font-weight: 600;
	text-decoration: none;
}

.lh-drawer .woocommerce-mini-cart-item img {
	grid-row: 1 / span 2;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--lh-r-control);
	border: 1px solid var(--lh-border);
}

.lh-drawer .woocommerce-mini-cart-item .quantity {
	color: var(--lh-text-muted);
}

.lh-drawer .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: var(--lh-space-3);
	right: 0;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--lh-text-muted) !important;
	text-decoration: none;
	font-size: 1.25rem;
	line-height: 1;
}

.lh-drawer .woocommerce-mini-cart-item .remove:hover {
	background: var(--lh-bg);
	color: var(--lh-danger) !important;
}

.lh-drawer .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: var(--lh-space-4) 0;
	font-size: var(--lh-fs-md);
}

.lh-drawer .woocommerce-mini-cart__buttons {
	display: grid;
	gap: var(--lh-space-2);
	margin: 0;
}

.lh-drawer .woocommerce-mini-cart__buttons .button {
	width: 100%;
}

.lh-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: transparent;
	color: var(--lh-text);
	box-shadow: inset 0 0 0 1.5px var(--lh-border);
}

.lh-drawer .woocommerce-mini-cart__buttons .checkout {
	background: var(--lh-cta);
	color: var(--lh-cta-ink);
	order: -1;
}

/* Al abrir el carrito, los productos entran en cascada (main.js agrega .is-entering). */
.lh-drawer.is-entering .widget_shopping_cart_content li {
	animation: lh-slide-in 480ms var(--lh-ease) both;
}

.lh-drawer.is-entering .widget_shopping_cart_content li:nth-child(2) { animation-delay: 60ms; }
.lh-drawer.is-entering .widget_shopping_cart_content li:nth-child(3) { animation-delay: 120ms; }
.lh-drawer.is-entering .widget_shopping_cart_content li:nth-child(n+4) { animation-delay: 180ms; }

@keyframes lh-slide-in {
	from { opacity: 0; transform: translateX(24px); }
}

.lh-drawer {
	box-shadow: -30px 0 60px -30px rgba(249, 115, 22, 0.35);
}

.lh-drawer .woocommerce-mini-cart__empty-message {
	text-align: center;
	color: var(--lh-text-muted);
	padding-block: var(--lh-space-7);
}

/* ==========================================================================
   6. WhatsApp flotante
   ========================================================================== */
.lh-whatsapp {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 40;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 6px 18px -6px rgba(15, 23, 42, 0.4);
	transition: transform var(--lh-dur) var(--lh-ease), bottom 300ms var(--lh-ease);
}

.lh-whatsapp:hover {
	transform: scale(1.06);
}

.lh-whatsapp svg {
	width: 28px;
	height: 28px;
}

/* Cuando la barra fija de producto está visible, el botón sube */
body.lh-sticky-visible .lh-whatsapp {
	bottom: calc(88px + env(safe-area-inset-bottom));
}

/* ==========================================================================
   7. Hero: la escena de luz
   La habitación (fondo) toma el color de la escena elegida; el orbe es la lámpara.
   Solo se animan transform/opacity, salvo el cambio de escena (1,2 s).
   ========================================================================== */
.lh-hero {
	--lh-scene-a: #FB923C;
	--lh-scene-b: #F43F5E;
	--lh-scene-c: #FBBF24;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--lh-dark);
	color: var(--lh-text-inverse);
	padding-block: var(--lh-space-6) var(--lh-space-7);
	transition:
		--lh-scene-a 1.2s var(--lh-ease),
		--lh-scene-b 1.2s var(--lh-ease),
		--lh-scene-c 1.2s var(--lh-ease);
}

.lh-hero[data-scene="cine"] {
	--lh-scene-a: #6366F1;
	--lh-scene-b: #8B5CF6;
	--lh-scene-c: #1D4ED8;
}

.lh-hero[data-scene="gamer"] {
	--lh-scene-a: #EC4899;
	--lh-scene-b: #22D3EE;
	--lh-scene-c: #8B5CF6;
}

.lh-hero[data-scene="lectura"] {
	--lh-scene-a: #FCD34D;
	--lh-scene-b: #FEF3C7;
	--lh-scene-c: #FDE68A;
}

@media (min-width: 960px) {
	.lh-hero {
		padding-block: 5.5rem 6.5rem;
	}
}

/* La luz de la escena baña la habitación. */
.lh-hero__glow {
	--lh-glow-x: 50%;
	--lh-glow-y: 78%;
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(70% 45% at var(--lh-glow-x) var(--lh-glow-y), color-mix(in srgb, var(--lh-scene-a) 40%, transparent), transparent 72%),
		radial-gradient(55% 40% at 100% 100%, color-mix(in srgb, var(--lh-scene-b) 26%, transparent), transparent 70%),
		radial-gradient(45% 35% at 0% 0%, color-mix(in srgb, var(--lh-scene-c) 14%, transparent), transparent 70%);
	animation: lh-power-on 1600ms var(--lh-ease) 150ms both;
	pointer-events: none;
}

@media (min-width: 960px) {
	.lh-hero__glow {
		--lh-glow-x: 76%;
		--lh-glow-y: 45%;
	}
}

/* Parpadeo de encendido: una sola vez, al cargar. */
@keyframes lh-power-on {
	0% { opacity: 0; }
	14% { opacity: 0.6; }
	22% { opacity: 0.15; }
	34% { opacity: 0.85; }
	40% { opacity: 0.5; }
	100% { opacity: 1; }
}

.lh-hero__inner {
	display: grid;
	gap: var(--lh-space-6);
	align-items: center;
}

@media (min-width: 960px) {
	.lh-hero__inner {
		grid-template-columns: 1.15fr 0.85fr;
		gap: var(--lh-space-7);
	}
}

.lh-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--lh-space-2);
	padding: 0.375rem 0.75rem;
	margin-bottom: var(--lh-space-5);
	border-radius: 999px;
	border: 1px solid rgba(110, 231, 183, 0.25);
	background: rgba(16, 185, 129, 0.12);
	color: #6EE7B7;
	font-size: var(--lh-fs-sm);
	font-weight: 600;
}

.lh-hero__badge svg {
	width: 16px;
	height: 16px;
}

.lh-hero__title {
	font-size: clamp(2.625rem, 1.5rem + 5vw, 5.25rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
	max-width: 11ch;
	margin-bottom: var(--lh-space-5);
	text-shadow: 0 0 48px color-mix(in srgb, var(--lh-scene-a) 40%, transparent);
}

.lh-hero__lead {
	font-size: var(--lh-fs-md);
	color: var(--lh-text-inverse-muted);
	max-width: 34rem;
	margin-bottom: var(--lh-space-6);
}

.lh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lh-space-3);
}

.lh-hero__actions .lh-btn {
	min-height: 54px;
	padding-inline: 1.75rem;
	font-size: var(--lh-fs-md);
}

.lh-hero .lh-btn--ghost {
	box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.35);
	transition: box-shadow var(--lh-dur) var(--lh-ease), background-color var(--lh-dur) var(--lh-ease);
}

.lh-hero .lh-btn--ghost:hover {
	background: rgba(248, 250, 252, 0.06);
	box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.8);
}

@media (max-width: 479px) {
	.lh-hero__actions .lh-btn {
		width: 100%;
	}
}

/* --- Escenario: lámpara + selector de escenas --- */
.lh-hero__stage {
	display: grid;
	justify-items: center;
	gap: var(--lh-space-5);
}

.lh-orb {
	position: relative;
	width: min(68vw, 340px);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	animation: lh-orb-in 1400ms var(--lh-ease) 250ms both;
}

@keyframes lh-orb-in {
	from { opacity: 0; transform: scale(0.86); }
}

/* Halo que respira alrededor de la lámpara. */
.lh-orb::before {
	content: "";
	position: absolute;
	inset: -28%;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--lh-scene-a) 55%, transparent), transparent);
	animation: lh-halo 5s ease-in-out infinite;
}

@keyframes lh-halo {
	0%, 100% { opacity: 0.75; transform: scale(0.96); }
	50% { opacity: 1; transform: scale(1.04); }
}

/* Anillo RGB: gira lento siempre; en "Gamer" suma un giro rápido. */
.lh-orb__ring {
	position: absolute;
	inset: 0;
	animation: lh-spin 18s linear infinite;
}

.lh-orb__ring::before,
.lh-orb__ring::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(var(--lh-scene-a), var(--lh-scene-b), var(--lh-scene-c), var(--lh-scene-a));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
	animation: lh-spin 2.6s linear infinite paused;
}

.lh-orb__ring::after {
	filter: blur(14px);
	opacity: 0.9;
}

.lh-hero[data-scene="gamer"] .lh-orb__ring::before,
.lh-hero[data-scene="gamer"] .lh-orb__ring::after {
	animation-play-state: running;
}

@keyframes lh-spin {
	to { transform: rotate(1turn); }
}

/* Esfera: la lámpara encendida. */
.lh-orb__core {
	position: relative;
	width: 64%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 28%, #FFFFFF 0%, color-mix(in srgb, var(--lh-scene-c) 55%, #FFFFFF) 16%, transparent 46%),
		radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--lh-scene-a) 85%, #FFFFFF) 0%, var(--lh-scene-a) 38%, color-mix(in srgb, var(--lh-scene-b) 70%, var(--lh-dark)) 100%);
	box-shadow:
		0 0 60px 6px color-mix(in srgb, var(--lh-scene-a) 55%, transparent),
		inset -14px -18px 40px rgba(15, 23, 42, 0.35);
}

/* --- Selector de escenas --- */
.lh-scenes {
	width: 100%;
	max-width: 500px;
	text-align: center;
}

.lh-scenes__label {
	margin: 0 0 var(--lh-space-3);
	color: var(--lh-text-inverse-muted);
	font-size: var(--lh-fs-sm);
}

.lh-scenes__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--lh-space-2);
}

.lh-scene {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 40px;
	padding: 0 0.9rem 0 0.6rem;
	border: 1px solid rgba(248, 250, 252, 0.16);
	border-radius: 999px;
	background: rgba(248, 250, 252, 0.05);
	color: var(--lh-text-inverse);
	font-size: var(--lh-fs-sm);
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--lh-dur) var(--lh-ease), background-color var(--lh-dur) var(--lh-ease), box-shadow var(--lh-dur) var(--lh-ease);
	-webkit-tap-highlight-color: transparent;
}

.lh-scene:hover {
	border-color: rgba(248, 250, 252, 0.4);
}

.lh-scene[aria-pressed="true"] {
	border-color: color-mix(in srgb, var(--lh-scene-a) 80%, #FFFFFF);
	background: color-mix(in srgb, var(--lh-scene-a) 16%, transparent);
	box-shadow: 0 0 22px -4px color-mix(in srgb, var(--lh-scene-a) 70%, transparent);
}

.lh-scene__swatch {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--sw);
	box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.25);
}

.lh-scenes__note {
	min-height: 1.5em;
	margin: var(--lh-space-3) 0 0;
	color: var(--lh-text-inverse-muted);
	font-size: var(--lh-fs-sm);
}

/* Imagen del Personalizador: se ilumina con la escena. */
.lh-hero__media {
	position: relative;
	width: 100%;
	isolation: isolate;
}

.lh-hero__media::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -8%;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--lh-scene-a) 50%, transparent), transparent);
}

.lh-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--lh-r-card);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--lh-scene-a) 40%, transparent);
}

@media (max-width: 959px) {
	.lh-hero__media img {
		aspect-ratio: 4 / 3;
	}
}

/* Tira LED en el borde inferior: los puntos y un pulso de luz que recorre. */
.lh-hero__strip {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	overflow: hidden;
	background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--lh-scene-a) 85%, #FFFFFF) 0 6px, transparent 6px 11px);
	box-shadow: 0 0 18px 2px color-mix(in srgb, var(--lh-scene-a) 55%, transparent);
}

.lh-hero__strip::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 28%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
	animation: lh-chase 3.8s linear infinite;
}

@keyframes lh-chase {
	from { transform: translateX(-100%); }
	to { transform: translateX(360%); }
}

/* Fuera de pantalla o pestaña oculta: todo quieto (lo maneja main.js). */
.lh-hero.is-paused,
.lh-hero.is-paused * {
	animation-play-state: paused !important;
}
.lh-hero.is-paused *::before,
.lh-hero.is-paused *::after {
	animation-play-state: paused !important;
}

/* Portada: la cabecera se funde con la habitación oscura. */
body.home .lh-header {
	background: rgba(15, 23, 42, 0.82);
	border-bottom-color: rgba(248, 250, 252, 0.08);
	color: var(--lh-text-inverse);
}

body.home .lh-header .lh-logo {
	color: var(--lh-text-inverse);
}

body.home .lh-nav a {
	color: var(--lh-text-inverse-muted);
}

body.home .lh-nav a:hover,
body.home .lh-nav .current-menu-item > a {
	color: var(--lh-text-inverse);
}

body.home .lh-header .lh-icon-btn:hover {
	background: rgba(248, 250, 252, 0.08);
}

.lh-search,
.lh-mobile-nav {
	color: var(--lh-text);
}

/* ==========================================================================
   8. Grilla de productos (loop WooCommerce)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--lh-space-3);
}

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

@media (min-width: 768px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--lh-space-5);
	}
}

@media (min-width: 1100px) {
	.woocommerce ul.products.columns-4,
	.woocommerce-page ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 var(--lh-space-3);
	float: none !important;
	/* Borde "encendido": un foco naranja sigue al cursor por el borde (main.js fija --mx/--my). */
	--mx: -999px;
	--my: -999px;
	border: 1.5px solid transparent;
	border-radius: var(--lh-r-card);
	background:
		linear-gradient(var(--lh-card), var(--lh-card)) padding-box,
		radial-gradient(220px circle at var(--mx) var(--my), var(--lh-cta), var(--lh-border) 75%) border-box;
	overflow: hidden;
	transition: box-shadow 300ms var(--lh-ease), transform 300ms var(--lh-ease);
}

.woocommerce ul.products li.product a img {
	transition: transform 600ms var(--lh-ease);
}

@media (hover: hover) {
	.woocommerce ul.products li.product:hover {
		transform: translateY(-3px);
		box-shadow: 0 18px 40px -20px rgba(249, 115, 22, 0.55), var(--lh-shadow-lift);
	}

	.woocommerce ul.products li.product:hover a img {
		transform: scale(1.045);
	}
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 var(--lh-space-3) !important;
	background: var(--lh-bg);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 var(--lh-space-3) !important;
	margin: 0 0 var(--lh-space-2);
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-sm) !important;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .star-rating {
	margin: 0 var(--lh-space-3) var(--lh-space-2) !important;
	font-size: 0.75rem;
}

.woocommerce ul.products li.product .price {
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 var(--lh-space-2);
	padding: 0 var(--lh-space-3);
	margin: auto 0 var(--lh-space-3) !important;
	color: var(--lh-text) !important;
	font-family: var(--lh-font-head);
	font-size: var(--lh-fs-md) !important;
	font-weight: 800;
}

.woocommerce ul.products li.product .price del {
	order: 2;
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-xs);
	font-weight: 400;
	color: var(--lh-text-muted);
	opacity: 1;
}

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

.woocommerce ul.products li.product .button {
	margin: 0 var(--lh-space-3) !important;
	min-height: 42px;
	font-size: var(--lh-fs-sm);
	padding-inline: 0.75rem;
}

.woocommerce ul.products li.product .added_to_cart {
	display: none;
}

@media (max-width: 479px) {
	.woocommerce ul.products li.product .button {
		font-size: var(--lh-fs-xs);
	}
}

/* Badge de ahorro (reemplaza "¡Oferta!") */
.woocommerce span.onsale.lh-save,
.woocommerce ul.products li.product .onsale.lh-save,
.woocommerce div.product span.onsale.lh-save,
.lh-save {
	position: absolute;
	top: 10px;
	left: 10px;
	right: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border-radius: var(--lh-r-badge);
	background: var(--lh-dark);
	color: var(--lh-text-inverse);
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-xs);
	font-weight: 700;
	line-height: 1.3;
}

.woocommerce div.product span.onsale.lh-save {
	top: 14px;
	left: 14px;
	font-size: var(--lh-fs-sm);
	background: var(--lh-cta);
	color: var(--lh-cta-ink);
}

/* Productos estrella: vitrina oscura, continuación de la habitación del hero. */
.lh-featured {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--lh-dark);
	color: var(--lh-text-inverse);
}

.lh-featured::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(50% 30% at 50% 0%, rgba(249, 115, 22, 0.16), transparent 70%),
		radial-gradient(40% 35% at 0% 85%, rgba(139, 92, 246, 0.16), transparent 70%),
		radial-gradient(35% 30% at 100% 60%, rgba(34, 211, 238, 0.10), transparent 70%);
	pointer-events: none;
}

.lh-featured .lh-section__lead {
	color: var(--lh-text-inverse-muted);
}

.lh-featured ul.products li.product {
	color: var(--lh-text);
	background:
		linear-gradient(var(--lh-card), var(--lh-card)) padding-box,
		radial-gradient(220px circle at var(--mx) var(--my), var(--lh-cta), var(--lh-dark-3) 75%) border-box;
}

.lh-featured .lh-btn--ghost {
	color: var(--lh-text-inverse);
	box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.35);
}

.lh-featured .lh-btn--ghost:hover {
	box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.85);
}

/* ==========================================================================
   9. Por qué LumenHaus
   ========================================================================== */
.lh-why {
	background: var(--lh-card);
	border-block: 1px solid var(--lh-border);
}

.lh-why__grid {
	display: grid;
	gap: var(--lh-space-6);
}

@media (min-width: 768px) {
	.lh-why__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--lh-space-7);
	}
}

.lh-pillar__icon {
	position: relative;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	margin-bottom: var(--lh-space-5);
	border-radius: 50%;
	background: var(--lh-dark);
	color: var(--lh-cta);
	box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.1), 0 10px 30px -6px rgba(249, 115, 22, 0.55);
	transition: color 500ms var(--lh-ease), box-shadow 700ms var(--lh-ease);
}

.lh-pillar__icon svg {
	width: 24px;
	height: 24px;
}

/* Interruptores: al entrar en pantalla, los tres íconos se encienden en cadena. */
.lh-js .lh-why__grid:not(.is-lit) .lh-pillar__icon {
	color: #475569;
	box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.04), 0 10px 30px -6px rgba(15, 23, 42, 0);
}

.lh-why__grid .lh-pillar:nth-child(2) .lh-pillar__icon { transition-delay: 220ms; }
.lh-why__grid .lh-pillar:nth-child(3) .lh-pillar__icon { transition-delay: 440ms; }

.lh-why__grid.is-lit .lh-pillar__icon {
	animation: lh-flicker 700ms steps(1) both;
}

.lh-why__grid.is-lit .lh-pillar:nth-child(2) .lh-pillar__icon { animation-delay: 220ms; }
.lh-why__grid.is-lit .lh-pillar:nth-child(3) .lh-pillar__icon { animation-delay: 440ms; }

@keyframes lh-flicker {
	0% { opacity: 0.55; }
	12% { opacity: 1; }
	20% { opacity: 0.6; }
	30%, 100% { opacity: 1; }
}

.lh-pillar__title {
	font-size: var(--lh-fs-lg);
	margin-bottom: var(--lh-space-2);
}

.lh-pillar__text {
	color: var(--lh-text-muted);
	margin: 0;
	max-width: 34ch;
}

/* ==========================================================================
   10. Acordeones (FAQ, producto) — <details> nativo
   ========================================================================== */
.lh-accordion {
	border-top: 1px solid var(--lh-border);
}

.lh-accordion__item {
	border-bottom: 1px solid var(--lh-border);
}

.lh-accordion__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lh-space-4);
	padding: var(--lh-space-4) 0;
	min-height: 56px;
	cursor: pointer;
	list-style: none;
	font-family: var(--lh-font-head);
	font-weight: 700;
	font-size: var(--lh-fs-md);
}

.lh-accordion__item > summary::-webkit-details-marker {
	display: none;
}

.lh-accordion__item > summary::after {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform var(--lh-dur) var(--lh-ease);
}

.lh-accordion__item[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.lh-accordion__body {
	padding: 0 0 var(--lh-space-5);
	color: var(--lh-text-muted);
	max-width: 68ch;
}

.lh-accordion__body > :last-child {
	margin-bottom: 0;
}

.lh-accordion__item[open] .lh-accordion__body {
	animation: lh-reveal 260ms var(--lh-ease);
}

@keyframes lh-reveal {
	from { opacity: 0; transform: translateY(-4px); }
}

.lh-faq__layout {
	display: grid;
	gap: var(--lh-space-6);
}

@media (min-width: 960px) {
	.lh-faq__layout {
		grid-template-columns: 0.8fr 1.2fr;
		gap: var(--lh-space-8);
		align-items: start;
	}
}

.lh-faq__contact {
	margin-top: var(--lh-space-5);
}

/* ==========================================================================
   11. Catálogo (archive-product)
   ========================================================================== */
.lh-shop-head {
	padding-block: var(--lh-space-6) var(--lh-space-5);
}

.lh-shop-head .woocommerce-products-header__title {
	font-size: var(--lh-fs-2xl);
	margin-bottom: var(--lh-space-2);
}

.lh-shop-head .term-description {
	color: var(--lh-text-muted);
	max-width: 60ch;
}

.lh-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--lh-space-3);
	margin-bottom: var(--lh-space-5);
}

.lh-shop-toolbar .woocommerce-notices-wrapper {
	flex-basis: 100%;
}

.lh-shop-toolbar .woocommerce-notices-wrapper:empty {
	display: none;
}

.lh-shop-toolbar .woocommerce-result-count {
	margin: 0;
	float: none;
	color: var(--lh-text-muted);
	font-size: var(--lh-fs-sm);
}

.lh-shop-toolbar .woocommerce-ordering {
	margin: 0;
	float: none;
}

.lh-shop-toolbar select.orderby {
	min-height: 44px;
	padding: 0 2.25rem 0 0.875rem;
	border: 1.5px solid var(--lh-border);
	border-radius: var(--lh-r-control);
	background-color: var(--lh-card);
	font-size: var(--lh-fs-sm);
}

.lh-cat-chips {
	display: flex;
	gap: var(--lh-space-2);
	overflow-x: auto;
	scrollbar-width: none;
	margin: 0 calc(var(--lh-gutter) * -1) var(--lh-space-5);
	padding: 0 var(--lh-gutter) 2px;
	list-style: none;
}

.lh-cat-chips::-webkit-scrollbar {
	display: none;
}

.lh-cat-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 1rem;
	border: 1.5px solid var(--lh-border);
	border-radius: 999px;
	background: var(--lh-card);
	white-space: nowrap;
	text-decoration: none;
	font-size: var(--lh-fs-sm);
	font-weight: 600;
}

.lh-cat-chips a {
	transition: border-color var(--lh-dur) var(--lh-ease), box-shadow var(--lh-dur) var(--lh-ease);
}

.lh-cat-chips a:hover {
	border-color: var(--lh-cta);
}

.lh-cat-chips a[aria-current="page"] {
	background: var(--lh-dark);
	border-color: var(--lh-dark);
	color: var(--lh-text-inverse);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18), 0 6px 18px -8px rgba(249, 115, 22, 0.6);
}

/* Título del catálogo con su propia fuente de luz. */
.lh-shop-head .woocommerce-products-header__title {
	position: relative;
	display: inline-block;
}

.lh-shop-head .woocommerce-products-header__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: var(--lh-space-3);
	border-radius: 4px;
	background: linear-gradient(90deg, var(--lh-cta), var(--lh-glow-rose), var(--lh-glow-violet));
	box-shadow: 0 0 14px rgba(249, 115, 22, 0.55);
}

.woocommerce nav.woocommerce-pagination {
	margin-top: var(--lh-space-6);
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: inline-flex;
	gap: var(--lh-space-2);
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px;
	min-height: 44px;
	display: grid;
	place-items: center;
	border-radius: var(--lh-r-control);
	border: 1.5px solid var(--lh-border);
	background: var(--lh-card);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--lh-dark);
	border-color: var(--lh-dark);
	color: var(--lh-text-inverse);
}

/* ==========================================================================
   12. Página de producto
   ========================================================================== */
.lh-product {
	padding-block: var(--lh-space-4) var(--lh-space-7);
}

.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 var(--lh-space-4);
	font-size: var(--lh-fs-xs);
	color: var(--lh-text-muted);
}

.woocommerce .woocommerce-breadcrumb a {
	color: inherit;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--lh-space-5);
	position: relative;
}

@media (min-width: 960px) {
	/* Galería y detalles a la izquierda; la columna de compra acompaña fija a la derecha
	   y termina con la ficha (relacionados van fuera de div.product, ver functions.php). */
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		grid-template-rows: auto 1fr;
		column-gap: var(--lh-space-7);
		row-gap: var(--lh-space-5);
		align-items: start;
	}

	.woocommerce div.product > div.images {
		grid-column: 1;
		grid-row: 1;
	}

	.woocommerce div.product > .summary {
		grid-column: 2;
		grid-row: 1 / span 2;
		position: sticky;
		top: calc(var(--lh-header-h) + 1.5rem);
	}

	.woocommerce div.product > .lh-product-details {
		grid-column: 1;
		grid-row: 2;
		margin-top: 0;
	}
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Galería: el producto bajo un foco cálido (luz detrás de la imagen). */
.woocommerce div.product div.images {
	position: relative;
	isolation: isolate;
}

.woocommerce div.product div.images::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 6% 4% -4%;
	border-radius: 50%;
	background:
		radial-gradient(closest-side at 35% 40%, rgba(249, 115, 22, 0.28), transparent),
		radial-gradient(closest-side at 70% 65%, rgba(139, 92, 246, 0.22), transparent);
	filter: blur(30px);
	pointer-events: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	border-radius: var(--lh-r-card);
	overflow: hidden;
	background: var(--lh-card);
	border: 1px solid var(--lh-border);
}

.woocommerce div.product div.images img {
	aspect-ratio: 1;
	object-fit: cover;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: var(--lh-space-2);
	margin-top: var(--lh-space-2);
	overflow-x: auto;
	scrollbar-width: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	flex: 0 0 64px;
	width: 64px !important;
	float: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs img {
	border-radius: var(--lh-r-control);
	border: 1.5px solid var(--lh-border);
	opacity: 0.7;
	transition: opacity var(--lh-dur), border-color var(--lh-dur);
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--lh-dark);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: 12px;
	right: 12px;
	background: var(--lh-card);
	border-radius: var(--lh-r-control);
}

/* Resumen */
.woocommerce div.product .product_title {
	font-size: var(--lh-fs-xl);
	margin-bottom: var(--lh-space-3);
}

.woocommerce div.product .woocommerce-product-rating {
	margin-bottom: var(--lh-space-3);
	font-size: var(--lh-fs-sm);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--lh-space-1) var(--lh-space-3);
	margin-bottom: var(--lh-space-4);
	color: var(--lh-text) !important;
	font-family: var(--lh-font-head);
	font-size: var(--lh-fs-2xl) !important;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.woocommerce div.product p.price del {
	order: 2;
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-md);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--lh-text-muted);
	opacity: 1;
}

.woocommerce div.product p.price ins {
	text-decoration: none;
}

.lh-price-save {
	order: 3;
	flex-basis: 100%;
	font-family: var(--lh-font-body);
	font-size: var(--lh-fs-sm);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--lh-trust-ink);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--lh-text-muted);
	margin-bottom: var(--lh-space-5);
}

.woocommerce div.product .woocommerce-product-details__short-description ul {
	padding-left: 1.1rem;
	margin: 0;
}

/* Espacio reservado para Packs/Bundles (lumenhaus-core) */
.lh-bundles {
	flex-basis: 100%;
	margin-bottom: var(--lh-space-2);
}

.lh-bundles:empty {
	display: none;
}

/* Formulario de compra */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lh-space-3);
	margin-bottom: var(--lh-space-4);
}

.woocommerce div.product form.cart.variations_form {
	display: block;
}

.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lh-space-3);
}

.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

.woocommerce .quantity .qty {
	width: 72px;
	min-height: 56px;
	border: 1.5px solid var(--lh-border);
	border-radius: var(--lh-r-control);
	background: var(--lh-card);
	text-align: center;
	font-weight: 600;
	font-size: 16px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1;
	min-height: 56px;
	font-size: var(--lh-fs-md);
	float: none;
}

.woocommerce div.product form.cart table.variations {
	width: 100%;
	margin-bottom: var(--lh-space-4);
	border: 0;
}

.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.woocommerce div.product form.cart table.variations label {
	font-weight: 600;
	font-size: var(--lh-fs-sm);
}

.woocommerce div.product form.cart table.variations select {
	width: 100%;
	min-height: 48px;
	margin: var(--lh-space-1) 0 var(--lh-space-3);
	padding: 0 0.875rem;
	border: 1.5px solid var(--lh-border);
	border-radius: var(--lh-r-control);
	background-color: var(--lh-card);
	font-size: 16px;
}

.woocommerce div.product .stock {
	font-size: var(--lh-fs-sm);
	font-weight: 600;
}

.woocommerce div.product .stock.in-stock {
	color: var(--lh-trust-ink);
}

/* Fila de confianza bajo el botón */
.lh-buybox-trust {
	list-style: none;
	margin: 0 0 var(--lh-space-5);
	padding: var(--lh-space-4);
	display: grid;
	gap: var(--lh-space-3);
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-r-card);
	background: var(--lh-card);
	font-size: var(--lh-fs-sm);
}

.lh-buybox-trust li {
	display: flex;
	align-items: flex-start;
	gap: var(--lh-space-3);
}

.lh-buybox-trust svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--lh-trust);
	margin-top: 1px;
}

.lh-buybox-trust strong {
	display: block;
	font-weight: 600;
}

.lh-buybox-trust span {
	color: var(--lh-text-muted);
}

.woocommerce div.product .product_meta {
	font-size: var(--lh-fs-xs);
	color: var(--lh-text-muted);
}

.woocommerce div.product .product_meta > span {
	display: block;
}

/* Detalles en acordeón */
.lh-product-details {
	margin-top: var(--lh-space-5);
	max-width: 820px;
}

.lh-product-details .lh-accordion__body table.shop_attributes {
	width: 100%;
	border: 0;
	margin: 0;
}

.lh-product-details table.shop_attributes th,
.lh-product-details table.shop_attributes td {
	padding: var(--lh-space-2) 0;
	border: 0;
	border-bottom: 1px solid var(--lh-border);
	background: none !important;
	font-style: normal;
	text-align: left;
}

.lh-product-details table.shop_attributes th {
	width: 40%;
	color: var(--lh-text);
	font-weight: 600;
}

.lh-product-details table.shop_attributes td p {
	margin: 0;
}

.woocommerce .related > h2,
.woocommerce .upsells > h2 {
	font-size: var(--lh-fs-xl);
	margin: var(--lh-space-7) 0 var(--lh-space-5);
}

/* Barra fija inferior (móvil) */
.lh-sticky-buy {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: flex;
	align-items: center;
	gap: var(--lh-space-3);
	padding: var(--lh-space-3) var(--lh-gutter) calc(var(--lh-space-3) + env(safe-area-inset-bottom));
	background: var(--lh-card);
	border-top: 1px solid var(--lh-border);
	box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, 0.18);
	transform: translateY(110%);
	transition: transform 280ms var(--lh-ease);
}

.lh-sticky-buy.is-visible {
	transform: translateY(0);
}

.lh-sticky-buy__info {
	min-width: 0;
	flex: 1;
}

.lh-sticky-buy__title {
	display: block;
	font-size: var(--lh-fs-xs);
	color: var(--lh-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lh-sticky-buy__price {
	font-family: var(--lh-font-head);
	font-weight: 800;
	font-size: var(--lh-fs-md);
	line-height: 1.2;
}

.lh-sticky-buy__price del {
	display: none;
}

.lh-sticky-buy__price ins {
	text-decoration: none;
}

.lh-sticky-buy .lh-btn {
	flex: none;
	min-height: 50px;
	padding-inline: 1.5rem;
}

@media (min-width: 960px) {
	.lh-sticky-buy {
		display: none;
	}
}

/* ==========================================================================
   13. Avisos WooCommerce
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0 !important;
	border-left: 4px solid var(--lh-trust) !important;
	border-radius: var(--lh-r-control);
	background: var(--lh-card) !important;
	box-shadow: 0 0 0 1px var(--lh-border);
	color: var(--lh-text) !important;
}

.woocommerce-error {
	border-left-color: var(--lh-danger) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--lh-trust) !important;
}

/* ==========================================================================
   14. Contenido genérico (index / page)
   ========================================================================== */
.lh-main {
	min-height: 50vh;
}

.lh-page {
	padding-block: var(--lh-space-6) var(--lh-space-7);
}

.lh-page__title {
	font-size: var(--lh-fs-2xl);
}

.lh-entry {
	max-width: 72ch;
}

.lh-page--wide .lh-entry {
	max-width: none;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.lh-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(45% 60% at 0% 0%, rgba(139, 92, 246, 0.16), transparent 70%),
		radial-gradient(35% 50% at 100% 100%, rgba(249, 115, 22, 0.12), transparent 70%),
		var(--lh-dark);
	border-top: 1px solid rgba(249, 115, 22, 0.35);
	color: var(--lh-text-inverse-muted);
	padding-block: var(--lh-space-7) calc(var(--lh-space-6) + env(safe-area-inset-bottom));
	font-size: var(--lh-fs-sm);
}

.lh-trust-bar {
	display: grid;
	gap: var(--lh-space-5);
	padding-bottom: var(--lh-space-6);
	margin-bottom: var(--lh-space-6);
	border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

@media (min-width: 768px) {
	.lh-trust-bar {
		grid-template-columns: repeat(3, 1fr);
	}
}

.lh-seal {
	display: flex;
	align-items: flex-start;
	gap: var(--lh-space-3);
}

.lh-seal__icon {
	flex: none;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: var(--lh-r-control);
	background: rgba(16, 185, 129, 0.14);
	color: var(--lh-trust);
}

.lh-seal__icon svg {
	width: 22px;
	height: 22px;
}

.lh-seal strong {
	display: block;
	color: var(--lh-text-inverse);
	font-family: var(--lh-font-head);
	font-size: var(--lh-fs-base);
}

.lh-footer__grid {
	display: grid;
	gap: var(--lh-space-6);
}

@media (min-width: 768px) {
	.lh-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}
}

.lh-footer .lh-logo {
	color: var(--lh-text-inverse);
	margin-bottom: var(--lh-space-3);
}

.lh-footer__about {
	max-width: 36ch;
}

.lh-footer h2 {
	color: var(--lh-text-inverse);
	font-size: var(--lh-fs-base);
	margin-bottom: var(--lh-space-3);
}

.lh-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--lh-space-2);
}

.lh-footer a {
	text-decoration: none;
}

.lh-footer a:hover {
	color: var(--lh-text-inverse);
	text-decoration: underline;
}

.lh-footer__bottom {
	margin-top: var(--lh-space-6);
	padding-top: var(--lh-space-5);
	border-top: 1px solid rgba(248, 250, 252, 0.1);
	font-size: var(--lh-fs-xs);
}

/* ==========================================================================
   16. Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
