/* Animaciones Básicas */
.fade-in { animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll del Carrito */
.cart-scroll::-webkit-scrollbar { width: 6px; }
.cart-scroll::-webkit-scrollbar-track { background: #f1f1f1; }
.cart-scroll::-webkit-scrollbar-thumb { background: #000; }

/* TRUCO VISUAL: Homogeneización de Imágenes */
/* Esto multiplica el color de la foto con el fondo gris #f4f4f4, ocultando fondos blancos o desordenados */
.product-img-container img, .mix-blend-container img {
    mix-blend-mode: multiply;
}

/* Efecto Trueno */
.thunder-flash {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    animation: lightning-strike 15s infinite; /* Cae cada 15 segundos */
}
@keyframes lightning-strike {
    0%, 91%, 93%, 95%, 100% { opacity: 0; }
    92% { opacity: 0.5; }
    94% { opacity: 0.8; }
}