/* ==========================================================================
   LiberWay - Estilos para Botones y Tarjetas de Favoritos
   ========================================================================== */

/* Botón de favoritos en perfiles (Hero) */
.btn-favorite-active,
button.active#favoriteBusinessBtn,
button.active#favoriteEventBtn,
button.active#heroFavoriteBtn,
button.active#favoriteAtraccionBtn {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.btn-favorite-active i,
.btn-favorite-active svg,
button.active#favoriteBusinessBtn i,
button.active#favoriteBusinessBtn svg,
button.active#favoriteEventBtn i,
button.active#favoriteEventBtn svg,
button.active#heroFavoriteBtn i,
button.active#heroFavoriteBtn svg,
button.active#favoriteAtraccionBtn i,
button.active#favoriteAtraccionBtn svg {
    color: #ef4444 !important;
    animation: heartBeatAnimation 0.4s ease;
}

/* Botón de favoritos en Cards (Listado de Eventos) */
.feat_property .thumb {
    position: relative;
}

.btn-favorito-card {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-favorito-card:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #ef4444;
}

.btn-favorito-card.active {
    background: #ffffff;
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-favorito-card.active i,
.btn-favorito-card.active svg {
    color: #ef4444 !important;
    animation: heartBeatAnimation 0.4s ease;
}

@keyframes heartBeatAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.35);
    }
    100% {
        transform: scale(1);
    }
}

