.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-box img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: #ffb3b3;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0,0,0,0.2);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.lightbox-arrow:hover {
  background: rgba(139,0,0,0.5);
}
.lightbox-arrow.left {
  left: -60px;
}
.lightbox-arrow.right {
  right: -60px;
}
@media (max-width: 600px) {
  .lightbox-img-box img {
    max-height: 50vh;
  }
  .lightbox-arrow.left {
    left: -30px;
  }
  .lightbox-arrow.right {
    right: -30px;
  }
  .lightbox-close {
    top: -30px;
    font-size: 1.5rem;
  }
} 