/**
 * Favoritos — Estilos de botones y animaciones de favoritos
 * Extraído de assets/js/favoritos.js
 */

/* Botón de favorito en productos */
.btn-favorito {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #D4AF37;
    color: #D4AF37;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-favorito:hover {
    transform: scale(1.1);
    background: #FFF;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-favorito.active {
    background: linear-gradient(135deg, #dc3545, #ff6b7a);
    border-color: #dc3545;
    color: white;
}

.btn-favorito.active:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: scale(1.15);
}

.btn-favorito.loading {
    opacity: 0.6;
    cursor: not-allowed;
    animation: favPulse 1s infinite;
}

.btn-favorito:disabled {
    cursor: not-allowed;
}

/* Animaciones */
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.85); }
}

@keyframes favPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Notificaciones */
.toast-notification {
    font-family: 'Playfair Display', serif;
}
