/* /assets/css/flash-sale-button.css */

/* --- Contenedor para posicionar el botón --- */
.flash-sale-container {
    position: fixed;
    top: 50%; /* Lo centra verticalmente */
    left: 30px; /* Distancia desde el borde izquierdo */
    transform: translateY(-50%); /* Ajuste fino para el centrado vertical perfecto */
    z-index: 1050;
}

/* --- Estilo del botón flotante --- */
.flash-sale-fab {
    width: 80px;
    height: 80px;
    background-color: #ffffff0c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    position: relative; /* Clave para posicionar la onda */
}

.flash-sale-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* --- Estilo del icono dentro del botón --- */
.flash-sale-fab img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* --- INICIO: Onda Brillante Amarilla --- */
.flash-sale-fab::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100%;
    height: 100%;
    background-color: #FFD700; /* Color de la onda amarilla */
    border-radius: 50%;
    animation: pulse-yellow 2000ms ease-out infinite;
}

@keyframes pulse-yellow {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1.6);
        opacity: 0;
    }
}
/* --- FIN: Onda Brillante Amarilla --- */