/* Phase 16-E: standard Main canvases already include their own whitespace. */
body :is(.wsl-home-product__image, .wsl-sweeper-featured-card__image,
    .wsl-sweeper-product-card__image, .wsl-subcategory-product__image,
    .wsl-product-card__image) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden;
}
body :is(.wsl-home-product__image, .wsl-sweeper-featured-card__image,
    .wsl-sweeper-product-card__image, .wsl-subcategory-product__image,
    .wsl-product-card__image) img,
body .wsl-product-related-card__media img,
body .wsl-product-v3-gallery__stage img[data-gallery-main][src*="main"] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    background: #fff !important;
    box-sizing: border-box;
}
body .wsl-product-card__image > a {
    width: 100%;
    height: 100%;
}
body .wsl-product-related-card__media,
body .wsl-product-v3-gallery__stage:has(img[data-gallery-main][src*="main"]) {
    padding: 0 !important;
    background: #fff !important;
}

/* These category entry images are Main assets, not scene banners. */
body .wsl-subcategory-hero__media > img[src*="main"] {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    padding: 20px 20px 100px !important;
    background: #fff !important;
    box-sizing: border-box;
}
