.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;
  padding: 1rem;

  background: rgba(0, 0, 0, 0.82);

  opacity: 0;
  pointer-events: none;
  cursor: pointer !important;

  transition: opacity 180ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox__image {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
  cursor: default;
  pointer-events: none;
}

.lightbox-open {
  overflow: hidden;
  width: 100%;
}