.image-zoom-block__trigger {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.image-zoom-block__trigger img {
  display: block;
  max-width: 100%;
  height: auto;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
}

.image-zoom-overlay.is-active {
  display: flex;
}

.image-zoom-overlay__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-zoom-overlay__image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
}

.image-zoom-overlay__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-zoom-overlay__close:hover,
.image-zoom-overlay__close:focus {
  background: rgba(0, 0, 0, 0.75);
}




