/* Immersive full-viewport photo viewer */
.modal { z-index: 2200 !important; }
.modal-backdrop { z-index: 2190 !important; }
body.modal-open .float-call,
body.modal-open .scroll-top,
body.modal-open .app-tabbar,
body.modal-open .site-chrome,
body.modal-open .app-header {
  visibility: hidden !important;
  pointer-events: none !important;
}

.lb-shell {
  padding: 0 !important;
}
.lb-shell .modal-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  margin: 0;
}
.lb-shell.modal.fade .modal-dialog {
  transform: none;
}
.lb-box {
  position: relative;
  height: 100dvh;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #100814;
  box-shadow: none;
}
.lb-bg {
  position: absolute;
  inset: -24px;
  z-index: 0;
  background: #100814 center / cover no-repeat;
  filter: blur(36px) saturate(1.25);
  transform: scale(1.08);
  opacity: .78;
}
.lb-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 62% at 50% 48%, rgba(16, 8, 20, .08), rgba(12, 6, 18, .42)),
    linear-gradient(180deg, rgba(12, 6, 18, .28), rgba(12, 6, 18, .08) 46%, rgba(12, 6, 18, .4));
}
.lb-toolbar,
.lb-footer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  color: #fff;
  background: transparent;
}
.lb-toolbar {
  top: 0;
  background: linear-gradient(180deg, rgba(10, 6, 16, .62), transparent);
}
.lb-footer {
  bottom: 0;
  background: linear-gradient(0deg, rgba(10, 6, 16, .7), transparent);
}
.lb-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f9a8d4;
}
.lb-actions { display: flex; align-items: center; gap: 8px; }
.lb-btn {
  position: relative;
  z-index: 9;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #4B176D;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.lb-btn .mi { font-size: 18px; pointer-events: none; }
.lb-btn:hover { background: #fff; color: #D81B86; }
.lb-btn-close {
  background: #E91E8C;
  color: #fff;
}
.lb-btn-close:hover { background: #B51A82; color: #fff; }
.lb-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 78px;
  background: transparent;
}
.lb-stage img,
.lb-stage video,
#lbImg,
#lbVideo {
  position: relative !important;
  z-index: 1 !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  margin: 0 auto;
  cursor: default;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}
.lb-stage img,
#lbImg { pointer-events: none; }
.lb-stage video,
#lbVideo { pointer-events: auto; }
.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  pointer-events: auto;
  transform: translateY(-50%);
}
.lb-nav.prev { left: 22px; }
.lb-nav.next { right: 22px; }
.lb-footer p {
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.lb-footer span {
  color: #f3c2df;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .lb-toolbar,
  .lb-footer { padding: 14px 14px; }
  .lb-stage { padding: 0 12px; }
  .lb-stage img,
  .lb-stage video,
  #lbImg,
  #lbVideo { max-height: 100dvh !important; }
  .lb-nav { top: auto; bottom: 78px; transform: none; }
  .lb-nav.prev { left: 14px; }
  .lb-nav.next { right: 14px; }
  .lb-btn, .lb-btn-close { width: 44px; height: 44px; }
}
