.wd-product .product-image-link {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.wd-product .product-image-link img {
    transition: transform 0.22s ease, opacity 0.22s ease;
    will-change: transform, opacity;
}

.wd-product .product-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
    z-index: 1;
}

.wd-product .product-image-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border: 2px solid rgba(17, 17, 17, 0.2);
    border-top-color: #111;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.18s ease;
    animation: gf-product-image-spin 0.7s linear infinite paused;
    pointer-events: none;
    z-index: 2;
}

.wd-product .product-image-link:hover img {
    transform: scale(1.015);
}

.wd-product .product-image-link.gf-product-image-loading::after {
    opacity: 1;
}

.wd-product .product-image-link.gf-product-image-loading::before {
    opacity: 1;
    animation-play-state: running;
}

.wd-product .product-image-link.gf-product-image-loading img {
    opacity: 0.68;
    transform: scale(1.03);
}

@keyframes gf-product-image-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-product .product-image-link img,
    .wd-product .product-image-link::after,
    .wd-product .product-image-link::before {
        transition: none;
    }

    .wd-product .product-image-link::before {
        animation: none;
    }
}
