﻿.hv-card--fx {
    animation: hvCardEnter .34s ease both;
}

.hv-card--pulse {
    animation: hvCardPulse .42s ease;
}

.hv-card__favorite[disabled],
.hv-card__quick-add[disabled] {
    pointer-events: none;
}

.hv-card__favorite[data-busy="true"] svg {
    animation: hvIconPulse .65s ease-in-out infinite;
}

.hv-card__quick-add[data-busy="true"] {
    transition: none;
}

.pd-btn-cart.is-busy {
    pointer-events: none;
}

@keyframes hvCardEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hvCardPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes hvIconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv-card--fx,
    .hv-card--pulse,
    .hv-card__favorite[data-busy="true"] svg {
        animation: none !important;
    }

    .hv-card__image-link img,
    .hv-card__quick-add,
    .pd-main-img,
    .pd-btn-cart {
        transition: none !important;
    }
}
