/* ===== Image zoom (hover + clic) ===== */
.zoomable {
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
  transform-origin: center;
}

.zoomable:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}

/* Overlay zoom (doit matcher le JS) */
.image-overlay-full {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
}

.image-overlay-full.active {
  display: flex;
}

.image-overlay-full img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.image-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  font-size: 22px;
  line-height: 44px;
}

html.imgzoom-lock,
body.imgzoom-lock {
  overflow: hidden;
}

/* force hover sur les tuiles / images */
img.zoomable {
  cursor: zoom-in !important;
}

img.zoomable:hover {
  transform: scale(1.03) !important;
}