.product-mobile-gallery .product-gallery-zoom {
  position: fixed;
  top: max(4px, env(safe-area-inset-top));
  right: 54px;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  border-radius: 4px;
  background: #222;
  color: #fff;
  cursor: pointer;
  z-index: 1048;
  touch-action: manipulation;
}
.product-mobile-gallery .product-gallery-zoom:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}
.product-mobile-gallery .product-gallery-zoom:disabled { opacity: .4; }
.product-mobile-gallery .product-gallery-zoom[aria-pressed="true"] .zoom-plus { display: none; }
.product-mobile-gallery .product-gallery-zoom-view {
  position: fixed;
  top: calc(56px + env(safe-area-inset-top, 0px));
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  background: #222;
  z-index: 1045;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}
.product-mobile-gallery .product-gallery-zoom-view img {
  display: block;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0 auto;
}
.product-mobile-gallery .mfp-close {
  position: fixed;
  top: max(0px, env(safe-area-inset-top));
  z-index: 1048;
}
.product-mobile-gallery.product-gallery-is-zoomed { overflow: hidden !important; }
.product-mobile-gallery .mfp-img { touch-action: pan-x pan-y; }
