/* Room photo lightbox (assets/dor-lightbox.js). */
.solaria-gallery-wrapper img { cursor: zoom-in; }
html.dor-lb-open { overflow: hidden; }

.dor-lb {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(17, 14, 12, .94); color: #fff; overflow: hidden;
}
.dor-lb::backdrop { background: transparent; }
.dor-lb[open] { display: grid; place-items: center; animation: dor-lb-in .3s ease; }
@keyframes dor-lb-in { from { opacity: 0; } }

.dor-lb__fig { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 64px 96px; box-sizing: border-box; }
.dor-lb__img {
  max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important;
  object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); transition: opacity .25s ease;
}
.dor-lb__img.is-loading { opacity: .35; }

.dor-lb__btn, .dor-lb__close {
  position: absolute; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; background: rgba(255, 255, 255, .08) !important; color: #fff !important; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.dor-lb__btn:hover, .dor-lb__close:hover { background: rgba(255, 255, 255, .22) !important; border-color: #fff; }
.dor-lb__btn:focus-visible, .dor-lb__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dor-lb__btn { top: 50%; width: 56px; height: 56px; transform: translateY(-50%); }
.dor-lb__prev { left: 24px; }
.dor-lb__next { right: 24px; }
.dor-lb__close { top: 20px; right: 24px; width: 48px; height: 48px; }
.dor-lb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dor-lb__count {
  position: absolute; bottom: 22px; left: 50%; margin: 0 !important; transform: translateX(-50%);
  font-family: Montserrat, system-ui, sans-serif; font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .8);
}

@media (max-width: 767px) {
  .dor-lb__fig { padding: 72px 0 84px; }
  .dor-lb__btn { top: auto; bottom: 12px; width: 48px; height: 48px; transform: none; }
  .dor-lb__prev { left: 16px; }
  .dor-lb__next { right: 16px; }
  .dor-lb__close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dor-lb[open] { animation: none; }
  .dor-lb__img { transition: none; }
}
