/* GLONUO v3 - Only product-detail image gallery. No banner or header selectors. */
/* A theme may apply scale to the IMG rather than the standard WooCommerce zoom layer. */
body.single-product :is(
  .woocommerce-product-gallery,
  .woocommerce div.product div.images,
  .elementor-widget-woocommerce-product-images,
  .wp-block-woocommerce-product-gallery,
  .wc-block-product-gallery,
  .product-gallery,
  .product-images,
  .single-product-gallery,
  .single-product-image,
  .wd-product-gallery,
  .wd-gallery,
  .rtwpvg-images,
  .wpgs,
  .woo-product-gallery
) img:not(.zoomImg):not(.zoomLens) {
  transform: none !important;
  scale: 1 !important;
  translate: none !important;
  animation-name: none !important;
  transition-property: opacity, visibility !important;
}
/* Classic product gallery sometimes scales the anchor or its image container on hover. */
body.single-product .woocommerce-product-gallery__image:hover > a,
body.single-product .woocommerce-product-gallery__image:hover > a > img,
body.single-product .woocommerce-product-gallery__image:hover > img,
body.single-product .woocommerce-product-gallery__image:hover figure,
body.single-product .product-images .main-image:hover > a,
body.single-product .product-images .main-image:hover img,
body.single-product .product-gallery .main-image:hover img,
body.single-product .product-gallery .product-image:hover img,
body.single-product .wd-gallery .wd-carousel-item:hover img,
body.single-product .rtwpvg-images .rtwpvg-single-image-container:hover img {
  transform: none !important;
  scale: 1 !important;
  translate: none !important;
}
/* Separate magnifier overlays, including theme-placed clones. */
body.single-product :is(
  .woocommerce-product-gallery,
  .product-gallery,
  .product-images,
  .single-product-gallery,
  .single-product-image,
  .wd-product-gallery,
  .rtwpvg-images,
  .wpgs,
  .woo-product-gallery
) :is(
  .zoomImg,
  .zoomLens,
  .zoomContainer,
  .zoomWindowContainer,
  .zoomWindow,
  .zoom-window,
  .easyzoom-flyout,
  .magnify-lens,
  .magnifier,
  .zoomed-image,
  .zoom-preview,
  .zoom-overlay,
  .xzoom-preview,
  .cloud-zoom-big,
  .cloud-zoom-lens,
  .yith_magnifier_lens,
  .yith_magnifier_zoom
),
body.single-product > .zoomContainer,
body.single-product .zoomContainer,
body.single-product .zoomWindowContainer,
body.single-product .xzoom-preview {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Some themes zoom by swapping an image into the element's CSS background. */
body.single-product .woocommerce-product-gallery__image[style*="background-image"],
body.single-product .product-gallery .main-image[style*="background-image"],
body.single-product .product-images .main-image[style*="background-image"] {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
