.gb-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
}

.gb-lightbox.is-open {
  display: flex;
}

.gb-lightbox__img {
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  border-radius: 8px;
}

.gb-lightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 38px;
  line-height: 1;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 6px 10px;
}

.gb-lightbox--lock {
  overflow: hidden;
}
