.lh2-lightbox-open {
  overflow: hidden !important;
}

.lh2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lh2-lightbox.is-active {
  display: flex;
}

.lh2-lightbox__image {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 180ms ease;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.lh2-lightbox__button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lh2-lightbox__button:hover,
.lh2-lightbox__button:focus {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

.lh2-lightbox__close {
  top: 18px;
  right: 18px;
}

.lh2-lightbox__prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lh2-lightbox__next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lh2-lightbox__zoom {
  top: 18px;
  right: 78px;
  font-size: 22px;
}

.lh2-lightbox__counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  opacity: 0.9;
}

.lh2-hide-free-estimate {
  display: none !important;
}

@media (max-width: 767px) {
  .lh2-lightbox {
    padding: 12px;
  }

  .lh2-lightbox__button {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .lh2-lightbox__prev {
    left: 8px;
  }

  .lh2-lightbox__next {
    right: 8px;
  }

  .lh2-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .lh2-lightbox__zoom {
    top: 10px;
    right: 60px;
  }
}
