
/* IMAGE ZOOM - CSS GENERAL */

/* Images cliquables */
img[id^="ImageAffichee_"] {
  cursor: zoom-in;
}

/* Fond sombre */
.image-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Fenetre visible */
.image-zoom-overlay.active {
  display: flex;
}

/* Image agrandie */
.image-zoom-overlay img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
}

/* Croix de fermeture */
.image-zoom-close {
  position: absolute;
  top: 15px;
  right: 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  z-index: 1;
}




.overlay-img[data-zoom] {
  cursor: zoom-in;
}