/* Extracted unchanged from shared catalog image components. */
.card-img-frame{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-frame::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(240,240,240,0.85) 0%,
        rgba(255,255,255,0.95) 50%,
        rgba(240,240,240,0.85) 100%
    );
    background-size: 200% 100%;
    animation: cardSkeleton 1.25s infinite linear;
    opacity: 1;
    transition: opacity .25s ease;
}

.card-img-frame.loaded::before{
    opacity: 0;
    pointer-events: none;
}

.card-img-frame img{
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity .25s ease;
    display: block;
}

.card-img-frame.loaded img{
    opacity: 1;
}

@keyframes cardSkeleton{
    0%{
        background-position: 200% 0;
    }
    100%{
        background-position: -200% 0;
    }
}
