/* Estilos para la funcionalidad de favoritos */

/* Botón de favoritos en la página de detalles */
.favorite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 43, 49, 0.8);
    border: 2px solid #ff55a5;
    border-radius: 4px;
    color: #fff;
    padding: 8px 16px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background-color: rgba(43, 43, 49, 1);
}

.favorite-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.favorite-btn.is-favorite {
    background-color: rgba(255, 85, 165, 0.2);
}

/* Icono de favoritos en tarjetas de catálogo */
.item__favorite,
.card__favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 43, 49, 0.8);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.item__favorite:hover,
.card__favorite:hover {
    background-color: rgba(43, 43, 49, 1);
}

.item__favorite.is-favorite,
.card__favorite.is-favorite {
    color: #ff55a5;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.notification--success {
    background-color: rgba(76, 175, 80, 0.9);
}

.notification--error {
    background-color: rgba(244, 67, 54, 0.9);
}

.notification--show {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .favorite-btn {
        padding: 6px 12px;
    }
    
    .favorite-btn i {
        font-size: 16px;
    }
    
    .item__favorite,
    .card__favorite {
        width: 25px;
        height: 25px;
    }
    
    .notification {
        padding: 10px 15px;
        font-size: 12px;
    }
}