  /* Lightbox styles */
  #lightbox-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
#lightbox {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0 40px; /* espace intérieur à gauche/droite pour flèches */
  box-sizing: border-box;
}
  #lightbox img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 4px;
  }
  /* Navigation buttons */
.lightbox-btn {
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  background: rgba(0,0,0,0.4);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  position: absolute;
}
#lightbox-prev {
  left: 10px; /* plus à l'intérieur */
}

#lightbox-next {
  right: 10px;
}
  #lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  #lightbox-close:hover,
  .lightbox-btn:hover {
    background: rgba(255,255,255,0.3);
  }