.fp-fav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1.5px solid #ff0096;
    border-radius: 50%;
    background: transparent;
    color: #ff0096;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.fp-fav-btn[hidden] {
    display: none !important;
}

.fp-fav-btn svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: transparent;
    transition: fill 0.2s ease;
}

.fp-fav-btn:hover,
.fp-fav-btn:focus-visible {
    opacity: 0.75;
}

.fp-fav-btn:active {
    transform: scale(0.92);
}

.fp-fav-btn:focus-visible {
    outline: 2px solid #ff0096;
    outline-offset: 2px;
}

.fp-fav-btn.is-active svg {
    fill: currentColor;
}

.fp-fav-btn[aria-busy="true"] {
    pointer-events: none;
}

.fp-fav-btn.is-pop svg {
    animation: fp-fav-pop 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

#foodcamp-plugin-wrapper .fp-fav-btn--card {
    position: absolute;
    top: 10px;
    right: 48px;
    z-index: 20;
    width: 30px;
    height: 30px;
}

#foodcamp-plugin-wrapper .fp-fav-btn--card svg {
    width: 16px;
    height: 16px;
}

.fp-fav-btn--modal {
    position: absolute;
    top: 12px;
    right: 96px;
    z-index: 15;
    width: 32px;
    height: 32px;
}

@keyframes fp-fav-pop {
    0% {
        transform: scale(0.6);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-fav-btn,
    .fp-fav-btn svg {
        transition: none;
    }

    .fp-fav-btn.is-pop svg {
        animation: none;
    }
}
