#img-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: zoom-out;
}

#img-zoom-overlay.active {
  visibility: visible;
  opacity: 1;
}

.img-zoomed-clone {
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%) scale(0.8);
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  z-index: 10001;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2,0,0.2,1), opacity 0.3s ease;
}

.img-zoomed-clone.visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

#img-zoom-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10002;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

#img-zoom-close:hover {
  opacity: 1;
}

