/* Lightbox plein écran avec zoom et déplacement */
.zoom-viewer {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 8, .95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomFadeIn .25s ease;
}
.zoom-viewer[hidden] { display: none; }

@keyframes zoomFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.zoom-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.zoom-stage.is-grabbing { cursor: grabbing; }

.zoom-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.zoom-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.zoom-close:hover {
  background: rgba(201, 169, 110, .85);
  border-color: rgba(201, 169, 110, 1);
}

.zoom-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 2;
  background: rgba(28, 28, 30, .65);
  padding: .4rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.zoom-btn:hover {
  background: rgba(201, 169, 110, .85);
}

.zoom-hint {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .65);
  font-size: .8rem;
  letter-spacing: .05em;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 600px) {
  .zoom-hint { display: none; }
  .zoom-controls { bottom: 1rem; }
}

body.zoom-open { overflow: hidden; }
