/* Image lightbox overlay */
.vidacom-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  visibility: hidden; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.vidacom-lightbox.vl-open { visibility: visible; pointer-events: auto; }
.vl-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.vidacom-lightbox.vl-open .vl-overlay { opacity: 1; }
.vl-img {
  position: relative; z-index: 2;
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.vidacom-lightbox.vl-open .vl-img { opacity: 1; transform: scale(1); }
.vl-close, .vl-prev, .vl-next {
  position: absolute; z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  color: #fff; border: none; border-radius: 50%;
  width: 44px; height: 44px; font-size: 28px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.vl-close { top: 18px; right: 18px; }
.vl-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.vl-next { right: 18px; top: 50%; transform: translateY(-50%); }
.vl-close:hover, .vl-prev:hover, .vl-next:hover { background: rgba(255, 255, 255, 0.3); }
.vl-caption {
  position: absolute; z-index: 3;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; opacity: 0.8;
  background: rgba(0, 0, 0, 0.4); padding: 4px 10px; border-radius: 3px;
}
.vl-caption:empty { display: none; }
