﻿/* =========================================================
   SAGE STORE — FAVORITOS GLOBAL
========================================================= */

.site-header .nav-right a.nav-link-favoritos {
    position: relative;
}

    .site-header .nav-right a.nav-link-favoritos::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        border-radius: 3px;
        background: #72e2f7;
        box-shadow: 0 0 10px rgba(114, 226, 247, .55);
        transform: scaleX(0);
        transition: transform .25s ease;
    }

    .site-header .nav-right a.nav-link-favoritos:hover,
    .site-header .nav-right a.nav-link-favoritos.active {
        color: #9cefff;
    }

        .site-header .nav-right a.nav-link-favoritos:hover::after,
        .site-header .nav-right a.nav-link-favoritos.active::after {
            transform: scaleX(1);
        }

.vf-product-card,
.vm-product-card,
[data-favorite-card] {
    position: relative;
}

.sage-favorite-button {
    position: absolute;
    z-index: 18;
    top: 11px;
    right: 11px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(7, 13, 17, .84);
    color: #e7eef1;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .sage-favorite-button:hover,
    .sage-favorite-button:focus-visible {
        transform: translateY(-1px) scale(1.06);
        color: #ff7384;
        border-color: rgba(255, 91, 110, .48);
        background: rgba(33, 12, 17, .90);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 14px rgba(255, 91, 110, .10);
    }

    .sage-favorite-button.is-favorite {
        color: #ff526c;
        border-color: rgba(255, 82, 108, .52);
        background: rgba(55, 13, 22, .92);
        box-shadow: 0 0 18px rgba(255, 82, 108, .16);
    }

[data-favorite-game="fortnite"] .sage-favorite-button.is-favorite {
    color: #70e5ff;
    border-color: rgba(112, 229, 255, .50);
    background: rgba(9, 40, 49, .92);
    box-shadow: 0 0 18px rgba(112, 229, 255, .14);
}

.sage-favorite-button i {
    pointer-events: none;
}

.sage-favorite-flash {
    animation: sageFavoriteFlash .42s ease;
}

@keyframes sageFavoriteFlash {
    50% {
        transform: scale(1.18);
    }
}
