
.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.gallery-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.gallery-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 20px;
  opacity: 0.6;
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-nav:hover { opacity: 1; }

.gallery-overlay::after {
  content: "×";
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  opacity: 0.7;
}
