/* Content images replace CSS backgrounds while retaining existing frame sizes. */
.blomsma-image-frame {
    position: relative;
}

/* WebP optimizers may move the image class onto a surrounding picture. */
.blomsma-image-frame > img.blomsma-image,
.blomsma-image-frame > picture,
.blomsma-image-frame > picture > img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
}

.owl-slide.blomsma-image-frame > img.blomsma-image,
.owl-slide.blomsma-image-frame > picture > img,
.icon.blomsma-image-frame > img.blomsma-image,
.icon.blomsma-image-frame > picture > img {
    object-fit: contain;
}

.product-detail .video_header.blomsma-image-frame > img.blomsma-image,
.product-detail .video_header.blomsma-image-frame > picture > img {
    object-position: left top;
}

@media (max-width: 960px) {
    .product-detail .video_header.blomsma-image-frame > img.blomsma-image,
    .product-detail .video_header.blomsma-image-frame > picture > img {
        object-position: center;
    }
}
