/* ─────────────────────────────────────────────────────────────
   Refrigeración VC — Ambientación Navideña (Diciembre)
   Sutil, industrial y sin distraer la conversión en carrito/checkout.
   ───────────────────────────────────────────────────────────── */

body.rvc-navidad .site-header {
    border-bottom-color: #d4af37;
}

/* Logo navideño ligeramente más legible en header */
body.rvc-navidad .site-logo img {
    height: 62px;
}

body.rvc-navidad:not(.woocommerce-checkout):not(.woocommerce-cart) .site-header.scrolled .site-logo img {
    height: 48px;
}

/* Topbar con toque festivo elegante (azul profundo VC + acento rojo/dorado sutil) */
body.rvc-navidad .header-top {
    background: linear-gradient(90deg, #0b2d52 0%, #115da8 45%, #8f1d1d 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

/* Destaque sutil cuando el anuncio de feriado está activo */
.rvc-top-item-feriado span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.22);
    border: 1px solid rgba(255, 224, 130, 0.45);
    color: #fff8dc;
    font-weight: 800;
}

/* Guirnalda sutil de micro-lucecitas debajo del header */
.rvc-xmas-lights {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.rvc-xmas-bulb {
    width: 6px;
    height: 8px;
    border-radius: 50% 50% 55% 55%;
    opacity: 0.85;
    animation: rvcTwinkle 2.8s infinite ease-in-out;
}

.rvc-xmas-bulb:nth-child(4n+1) { background: #ffd166; box-shadow: 0 0 6px rgba(255, 209, 102, 0.85); animation-delay: 0s; }
.rvc-xmas-bulb:nth-child(4n+2) { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.85); animation-delay: 0.7s; }
.rvc-xmas-bulb:nth-child(4n+3) { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.85); animation-delay: 1.4s; }
.rvc-xmas-bulb:nth-child(4n)   { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.85); animation-delay: 2.1s; }

@keyframes rvcTwinkle {
    0%, 100% { opacity: 0.45; transform: scale(0.92); }
    50%      { opacity: 1;    transform: scale(1.08); }
}

/* Nieve sutil en Hero y secciones oscuras (sin tapar interacción) */
body.rvc-navidad .hero,
body.rvc-navidad .store-hero {
    position: relative;
    overflow: hidden;
}

.rvc-snow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Asegurar que el contenido del hero esté por encima de los copos */
body.rvc-navidad .hero .hero-layout,
body.rvc-navidad .store-hero .container {
    position: relative;
    z-index: 3;
}

/* Badge navideño sutil en Hero */
body.rvc-navidad .hero-copy .section-kicker {
    flex-wrap: wrap;
    max-width: 100%;
}

.rvc-xmas-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(226, 45, 27, 0.9), rgba(185, 31, 18, 0.95));
    border: 1px solid rgba(255, 215, 130, 0.55);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Franja navideña elegante en Footer */
.rvc-xmas-footer-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(17, 93, 168, 0.18), rgba(226, 45, 27, 0.18), rgba(212, 175, 55, 0.16));
    border: 1px solid rgba(212, 175, 55, 0.32);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    flex-wrap: wrap;
}

.rvc-xmas-footer-banner strong {
    color: #ffd166;
    font-weight: 800;
}

/* Respeto por accesibilidad y ahorro de movimiento */
@media (prefers-reduced-motion: reduce) {
    .rvc-xmas-bulb { animation: none !important; opacity: 0.85; }
    .rvc-snow-canvas { display: none !important; }
}

@media (max-width: 640px) {
    body.rvc-navidad .site-logo img {
        height: 52px;
    }
    .rvc-xmas-hero-pill {
        margin-left: 0;
        margin-top: 6px;
        display: inline-flex;
    }
    .rvc-xmas-footer-banner {
        font-size: 0.78rem;
        padding: 10px 14px;
    }
}
