
/* ── Lightbox overlay ── */
.bm-lightbox-overlay {
  position: fixed; z-index: 1000; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .88);
  animation: bm-lightbox-in .2s ease;
}
@keyframes bm-lightbox-in { from { opacity: 0; } to { opacity: 1; } }

body.bm-lightbox-open { overflow: hidden; }

.bm-lightbox-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px;
  color: #fff; font-size: 28px; line-height: 1;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; cursor: pointer;
  transition: background .15s;
}
.bm-lightbox-close:hover { background: rgba(255,255,255,.15); }

.bm-lightbox-container {
  position: relative; max-width: 92vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}

.bm-lightbox-image {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.bm-lightbox-caption {
  margin-top: 12px; color: #ccc; font-size: 14px; text-align: center;
  max-width: 80vw; line-height: 1.4;
}

.bm-lightbox-prev, .bm-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  color: #fff; font-size: 32px; line-height: 1;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%; cursor: pointer;
}
.bm-lightbox-prev { left: -56px; }
.bm-lightbox-next { right: -56px; }
.bm-lightbox-prev:hover, .bm-lightbox-next:hover { background: rgba(255,255,255,.12); }

.bm-lightbox-counter {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  color: #999; font-size: 12px; letter-spacing: .5px;
}

@media (max-width: 600px) {
  .bm-lightbox-prev { left: 8px; }
  .bm-lightbox-next { right: 8px; }
  .bm-lightbox-image { max-width: 98vw; max-height: 75vh; }
}
