.image-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.image-popup-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.82);
}

.image-popup-modal__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.image-popup-modal.is-active .image-popup-modal__inner {
  transform: scale(1);
}

.image-popup-modal__img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}

.image-popup-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.js-popup-image {
  cursor: pointer;
}

/*# sourceMappingURL=popup.css.map */
