/* =================================
   BOTÓN FAVORITO (CORAZÓN)
================================= */

.btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    line-height: 1;
    color: #bbb;

    cursor: pointer;

    /* CLAVE PARA QUE NO LO TAPE EL LINK */
    z-index: 50;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

/* Hover */
.btn-favorito:hover {
    transform: scale(1.15);
    background: #ffffff;
}

/* Activo (favorito marcado) */
.btn-favorito.activo {
    color: #e53935;
}

/* Focus accesible */
.btn-favorito:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.35);
}

/* Evitar que el botón herede estilos globales */
.btn-favorito:active {
    transform: scale(1.05);
}