.product-photo.is-loupe { cursor: zoom-in; }
.loupe-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--loupe, #005bff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  pointer-events: none;
}
body.ozon { --loupe: var(--blue); }
body.wb { --loupe: var(--mag); }
.product-photo.is-zoom .loupe-hint { opacity: 0; }
.loupe-lens {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid var(--loupe, #005bff);
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset;
  pointer-events: none;
  z-index: 3;
}
.loupe-pane {
  display: none;
  position: absolute;
  left: calc(100% + 16px);
  top: 0;
  width: min(560px, 48vw);
  height: 100%;
  min-height: 360px;
  border-radius: 16px;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  border: 2px solid var(--loupe, #005bff);
  pointer-events: none;
  z-index: 12;
}
.product-photo.is-zoom .loupe-lens,
.product-photo.is-zoom .loupe-pane { display: block; }
.loupe-full {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 10, 24, .82);
  padding: 24px;
}
.loupe-full[hidden] { display: none; }
.loupe-full img {
  width: min(1000px, 92vw);
  height: min(88vh, 1000px);
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
}
.loupe-full button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 980px) {
  .loupe-pane {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 84px;
    width: auto;
    height: 42vh;
    min-height: 0;
  }
}
@media (hover: none) {
  .loupe-lens, .loupe-pane { display: none !important; }
}
