/* WooCommerce/product-gallery styles */

:where(.wc-block-product-gallery-large-image) .wc-block-components-product-image.wc-block-components-product-image video,
:where(.wc-block-product-gallery-large-image) .wc-block-components-product-image.wc-block-components-product-image img {
  -webkit-mask-image: url("../images/mask-1-1-2.svg");
  mask-image: url("../images/mask-1-1-2.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media screen and (min-width: 780px) {
  /*.wp-block-woocommerce-product-gallery.wc-block-product-gallery {
    max-height: 1190px;
  }*/
  :where(.wc-block-product-gallery-large-image)
    .wc-block-components-product-image.wc-block-components-product-image.wc-block-components-product-image--aspect-ratio-auto
    img {
    object-fit: cover !important;
  }
  :where(.wc-block-product-gallery-large-image)
    :where(.wc-block-product-gallery-large-image__wrapper):has(
      .wc-block-components-product-image--aspect-ratio-auto
    ),
  :where(.wc-block-product-gallery-large-image):has(
    .wc-block-components-product-image--aspect-ratio-auto
  ) {
    aspect-ratio: auto;
  }
  /*
  :where(.wc-block-product-gallery-large-image) :where(.wc-block-product-gallery-large-image__wrapper),
  :where(.wc-block-product-gallery-large-image) :where(.wc-block-product-gallery-large-image__container) {
    height:100%;
  }*/
  .wp-block-woocommerce-product-gallery {
    position: sticky;
    top: 0;
  }
}
