
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {

  .sft-pdp__col--media.sft-zoom-on {
    z-index: 9999;
  }

  .sft-pdp__col--media .woocommerce-product-gallery .flex-viewport,
  .sft-pdp__col--media .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper {
    position: relative;
  }

  .sft-pdp__col--media.sft-zoom-on .woocommerce-product-gallery__image img {
    cursor: crosshair;
  }

  .sft-pdp__col--media.sft-zoom-on .woocommerce-product-gallery__trigger {
    opacity: 0;
    pointer-events: none;
  }

  .sft-zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(15, 23, 42, 0.35);
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
    transition: none;
  }

  .sft-zoom-flyout {
    position: absolute;
    top: 0;
    left: calc(100% + 24px);
    z-index: 9999;
    width: 100%;
    height: 100%;
    border: 1px solid var(--sft-pdp-border, #e2e8f0);
    border-radius: 5px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    /* Never intercept a click meant for the summary column underneath. */
    pointer-events: none;
    transition: none;
  }

  .sft-zoom-lens.is-active,
  .sft-zoom-flyout.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.12s ease;
  }

  @media (prefers-reduced-motion: reduce) {

    .sft-zoom-lens.is-active,
    .sft-zoom-flyout.is-active {
      transition: none;
    }
  }
}
