.darauche-gallery-lightbox-stage {
  overflow: hidden;
  touch-action: none;
}

.darauche-gallery-lightbox-image {
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
}

.darauche-gallery-lightbox-image.is-zoomed {
  cursor: grab;
}

.darauche-gallery-lightbox-image.is-zoom-animating {
  transition: transform 160ms ease-out;
}

.darauche-gallery-zoom-controls {
  position: fixed;
  z-index: 7;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(18, 25, 38, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.darauche-gallery-zoom-button,
.darauche-gallery-zoom-level {
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.darauche-gallery-zoom-button {
  font-size: 25px;
  line-height: 1;
}

.darauche-gallery-zoom-level {
  min-width: 66px;
  padding-inline: 10px;
  font-size: 13px;
}

.darauche-gallery-zoom-button:disabled {
  opacity: 0.38;
  cursor: default;
}

@media (max-width: 760px) {
  .darauche-gallery-zoom-controls {
    left: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .darauche-gallery-lightbox-counter {
    bottom: max(72px, calc(env(safe-area-inset-bottom) + 58px));
  }
}
