/**
 * Календарь / модалка тура — поверх UI.
 * Домовёнок скрывается только на /booking и при открытом flatpickr/туре
 * (site-chrome.js). Маскот — GIF с платформы; ny-{state}.png на CDN нет.
 */
.flatpickr-calendar {
  z-index: 100050 !important;
}

body.wl-chat-booking-hidden [data-woodlakes-chat] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* модалка 3D-тура */
.wl-tour-modal {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.72);
}
.wl-tour-modal.is-open {
  display: flex;
}
.wl-tour-modal__dialog {
  display: flex;
  flex-direction: column;
  width: min(1100px, 100%);
  height: min(860px, calc(100dvh - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: hidden;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.wl-tour-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
}
.wl-tour-modal__title {
  margin: 0;
  font: 600 1rem/1.3 system-ui, sans-serif;
  color: #0f172a;
}
.wl-tour-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
}
.wl-tour-modal__close:hover {
  background: #e2e8f0;
}
.wl-tour-modal__frame {
  flex: 1 1 auto;
  min-height: 0;
  background: #020617;
}
.wl-tour-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 640px) {
  .wl-tour-modal {
    padding: 0;
  }
  .wl-tour-modal__dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
}
