/* White only on the product media surfaces; preserve card and button styles. */
html body.uvni-white-media ul.products li.product figure.woo-product-image,
html body.uvni-white-media ul.products li.product a.woocommerce-loop-product__link img,
html body.uvni-white-media .uvns-shop-content ul.products li.product a img,
html body.uvni-white-media #uvnp-main ul.products li.product a img,
html body.uvni-white-media .uvn-home-block .uvn-product-grid img,
html body.uvni-white-media .uvn-shelf .uvn-product-image,
html body.uvni-white-media .uvn-shelf .uvn-product-image img,
html body.uvni-white-media #uvnp-main .uvnp-gallery,
html body.uvni-white-media #uvnp-main .uvnp-gallery .flex-control-thumbs img,
html body.uvni-white-media .woocommerce-product-gallery,
html body.uvni-white-media .woocommerce-product-gallery__image,
html body.uvni-white-media .woocommerce-product-gallery__image > a,
html body.uvni-white-media .woocommerce-product-gallery__image img,
html body.uvni-white-media .woocommerce-product-gallery .flex-control-thumbs img {
    background: #fff !important;
}

/* WooCommerce PhotoSwipe. Keep the light icons legible on white. */
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog,
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__bg,
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__top-bar,
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__caption {
    background: #fff !important;
}
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__button,
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__preloader__icn {
    filter: invert(1);
}
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__button:focus-visible {
    outline: 2px solid #161616;
    outline-offset: -3px;
}
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__counter,
body.uvni-white-media.single-product #photoswipe-fullscreen-dialog .pswp__caption__center {
    color: #161616;
}
