/* Lightbox (RtdLightbox) — property sahifasi sozlamalari bilan bir xil */
.rtd-lb {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10100;
}
.rtd-lb.is-open { display: flex; }
.rtd-lb img, .rtd-lb video {
  max-width: 95vw; max-height: 90vh;
  object-fit: contain;
  user-select: none; -webkit-user-drag: none;
}
.rtd-lb__stage {
  width: 100vw; height: 100vh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.rtd-lb__track {
  display: flex; width: 100%; height: 100%;
  will-change: transform;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.rtd-lb__track.is-dragging { transition: none; }
.rtd-lb__slide {
  flex: 0 0 100%; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.rtd-lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .15); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 50%;
  font-size: 24px; cursor: pointer; z-index: 2;
}
.rtd-lb__nav:hover { background: rgba(255, 255, 255, .3); }
.rtd-lb__prev { left: 20px; }
.rtd-lb__next { right: 20px; }
.rtd-lb__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255, 255, 255, .15); color: #fff;
  border: 0; width: 40px; height: 40px; border-radius: 50%;
  font-size: 22px; cursor: pointer; z-index: 2;
}
.rtd-lb__count {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  pointer-events: none;
}
