/* Navidad 2026 (inc/navidad.php, assets/navidad.js): pueblo nevado que cambia cada día.
   Todo cuelga de body.hcp-navidad, que pone el JS solo dentro de las fechas. */
body.hcp-navidad header.wp-block-template-part { position: relative; background: #04071a; }
body.hcp-navidad .hcp-nv-escena { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; z-index: 0; }
/* Un poco más alta, para que quepan el árbol, las casas y el muñeco por debajo del menú (como en Ocarina). */
body.hcp-navidad .hcp-site-header { background: transparent !important; padding-top: 30px !important; padding-bottom: 30px !important; }
/* Menú, flecha de «Índices», hamburguesa e iconos en blanco (el menú abierto en móvil y el desplegable siguen como siempre). */
body.hcp-navidad .hcp-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
body.hcp-navidad .hcp-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon,
body.hcp-navidad .hcp-site-header .wp-block-navigation__responsive-container-open,
body.hcp-navidad .hcp-site-header .wc-block-customer-account__link,
body.hcp-navidad .hcp-site-header .wc-block-mini-cart__button { color: #fff !important; text-shadow: 0 2px 0 #000; }
body.hcp-navidad .hcp-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: #ffd23a !important; }
body.hcp-navidad .hcp-site-header .wp-block-navigation__responsive-container-open svg { fill: #fff; }
/* Número del carrito: negro sobre su círculo blanco (como en Ocarina). */
body.hcp-navidad .hcp-site-header .wc-block-mini-cart__badge { color: #111 !important; text-shadow: none !important; background: #fff !important; border-color: #fff !important; }
/* Marco que recorta la nieve sin recortar la cabecera (el menú desplegable sigue saliendo por debajo). */
body.hcp-navidad .hcp-nv-marco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* Luces: dos capas que se encienden por turnos. */
body.hcp-navidad .hcp-nv-luces { position: absolute; left: 0; top: 0; width: 100%; height: 100%; image-rendering: pixelated; animation: hcp-nv-parpadeo 1.6s steps(1) infinite; }
body.hcp-navidad .hcp-nv-luces-b { animation-delay: -0.8s; }
@keyframes hcp-nv-parpadeo { 0% { opacity: 1; } 50% { opacity: .25; } }
/* Marco de la nieve que cae: termina donde empieza el suelo (el JS le pone la altura). */
body.hcp-navidad .hcp-nv-cielo-copos { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
/* Nieve que cae: tira el doble de alta que baja media tira y vuelve a empezar (dos capas a distinta velocidad). */
body.hcp-navidad .hcp-nv-copos { position: absolute; left: 0; top: 0; width: 100%; height: 200%; image-rendering: pixelated; transform: translateY(-50%); animation: hcp-nv-nieve 22s linear infinite; }
body.hcp-navidad .hcp-nv-copos-cerca { animation-duration: 11s; }
@keyframes hcp-nv-nieve { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
	body.hcp-navidad .hcp-nv-luces, body.hcp-navidad .hcp-nv-copos { animation: none; }
}
