.lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  outline: none;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
  color: #fff;
  margin-top: 12px;
  font-family: sans-serif;
  font-size: 15px;
  text-align: center;
}

#lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 4px;
}

#lightbox-prev { left: -60px; }
#lightbox-next { right: -60px; }
.lightbox-nav:hover { background: rgba(0, 0, 0, 0.8); }

@media (max-width: 768px) {
  #lightbox-prev { left: 10px; z-index: 5; }
  #lightbox-next { right: 10px; z-index: 5; }
}