/* ============================================================
   Lightbox styles
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(4px);
}

.lb-frame {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,0.25); color: #fff; }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.lb-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-family: var(--font-hindi);
  text-align: center;
  max-width: 500px;
}

@media (max-width: 600px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 10px; right: 10px; }
}
