/* VelaKiss v1.1.31 — scrollbar-free draggable image zoom */
.vk-lightbox-stage,
.vk-lightbox-stage:has(img.is-zoomed) {
  overflow: hidden !important;
}

.vk-lightbox-stage img.is-zoomed {
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 100px) !important;
  max-height: calc(100svh - 70px) !important;
  transform: translate3d(var(--vk-pan-x, 0px), var(--vk-pan-y, 0px), 0) scale(2) !important;
  transform-origin: center center !important;
  cursor: grab !important;
  touch-action: none;
  will-change: transform;
}

.vk-lightbox-stage img.is-zoomed.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
}

@media (max-width: 800px) {
  .vk-lightbox-stage img.is-zoomed {
    max-width: 94vw !important;
    max-height: 86svh !important;
    transform: translate3d(var(--vk-pan-x, 0px), var(--vk-pan-y, 0px), 0) scale(2.15) !important;
  }
}
