/*
 * Halloween Event Styles
 * Evento activo: 31 Oct - 2 Nov
 */

/* ========================================
   BOTÓN AÑADIR AL CARRITO - NARANJA HALLOWEEN
   ======================================== */

/* Botón principal con fondo naranja */
body.event-halloween .cart-button,
body.event-halloween .button_.accent {
    background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%) !important;
    border-color: #ff6600 !important;
    color: #000000 !important;
    font-weight: bold !important;
}

/* Hover del botón */
body.event-halloween .cart-button:hover,
body.event-halloween .button_.accent:hover {
    background: linear-gradient(135deg, #ff8800 0%, #ffaa00 100%) !important;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.6) !important;
    transform: translateY(-2px);
}

/* Iconos de calabaza en el botón */
body.event-halloween .cart-button .icon1,
body.event-halloween .cart-button .icon2,
body.event-halloween .cart-button .icon3,
body.event-halloween .cart-button .iconSpinner {
    color: #000000 !important;
}

/* Animación de la calabaza spinner */
body.event-halloween .cart-button .iconSpinner.fa-jack-o-lantern {
    animation: halloween-spin 1s linear infinite;
}

@keyframes halloween-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   DECORACIONES - LÍNEA DE TELARAÑAS Y ELEMENTOS HALLOWEEN
   Similar a navidad-lightrope
   ======================================== */

.halloween-spiderwebs-decoration {   
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    margin: 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
}

.halloween-spiderwebs-decoration .spiderwebs-line {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.halloween-spiderwebs-decoration .spiderwebs-line i {
    font-size: 30px;
    color: #ff6600;
    opacity: 0.7;
    animation: halloween-float 3s ease-in-out infinite;
}

/* Diferentes delays de animación para cada icono */
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(1) { animation-delay: 0s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(2) { animation-delay: 0.2s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(3) { animation-delay: 0.4s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(4) { animation-delay: 0.6s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(5) { animation-delay: 0.8s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(6) { animation-delay: 1s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(7) { animation-delay: 1.2s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(8) { animation-delay: 1.4s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(9) { animation-delay: 1.6s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(10) { animation-delay: 1.8s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(11) { animation-delay: 2s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(12) { animation-delay: 2.2s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(13) { animation-delay: 2.4s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(14) { animation-delay: 2.6s; }
.halloween-spiderwebs-decoration .spiderwebs-line i:nth-child(15) { animation-delay: 2.8s; }

/* Calabazas y fantasmas un poco más grandes */
.halloween-spiderwebs-decoration .spiderwebs-line .fa-jack-o-lantern,
.halloween-spiderwebs-decoration .spiderwebs-line .fa-ghost {
    font-size: 35px;
    color: #ff8800;
}

/* Animación de flotación suave */
@keyframes halloween-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive - iconos más pequeños en móvil */
@media (max-width: 768px) {
    .halloween-spiderwebs-decoration .spiderwebs-line i {
        font-size: 20px;
    }

    .halloween-spiderwebs-decoration .spiderwebs-line .fa-jack-o-lantern,
    .halloween-spiderwebs-decoration .spiderwebs-line .fa-ghost {
        font-size: 25px;
    }
}
