.async-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f8 0%, #e8e9f0 100%);
}

.async-image__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.async-image__img--loaded {
    opacity: 1;
}

.async-image__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.async-image__spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(224, 122, 95, 0.2);
    border-top-color: var(--color-primary, #e07a5f);
    animation: async-image-spin 0.75s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .async-image__img {
        transition: none;
    }

    .async-image__spinner {
        animation: none;
        border-top-color: rgba(224, 122, 95, 0.45);
    }
}
