/* ZENITH SPA | INDEX sauna offer video popup | desktop 600, mobile 80vw */
.zenith-sauna-video-popup {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 12px;
  width: 600px;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: min(calc(100vw - 36px), calc(100dvh - 36px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  background: #102c20;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .54), 0 0 0 1px rgba(225, 196, 124, .36);
}
.zenith-sauna-video-popup::backdrop {
  background: rgba(4, 13, 9, .78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.zenith-sauna-video-popup__square {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.zenith-sauna-video-popup__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #102c20;
}
.zenith-sauna-video-popup__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 238, 189, .72);
  border-radius: 50%;
  background: rgba(4, 21, 13, .84);
  color: #fff8e6;
  box-shadow: 0 2px 13px rgba(0, 0, 0, .42);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease;
}
.zenith-sauna-video-popup__close:hover,
.zenith-sauna-video-popup__close:focus-visible { background: #1c4833; }
.zenith-sauna-video-popup__close:focus-visible,
.zenith-sauna-video-popup__play:focus-visible { outline: 3px solid #f5d58c; outline-offset: 2px; }
.zenith-sauna-video-popup__close svg { width: 19px; height: 19px; }
.zenith-sauna-video-popup__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  border: 1px solid #efcd83;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(5, 30, 19, .94);
  color: #ffedc5;
  font: 600 15px/1.2 inherit;
  white-space: nowrap;
  cursor: pointer;
}
.zenith-sauna-video-popup__error {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 25px;
  text-align: center;
  background: #102c20;
  font-size: 15px;
  line-height: 1.7;
}
.zenith-sauna-video-popup__error a { color: #f5d58c; text-decoration: underline; }
.zenith-sauna-video-popup__play[hidden],
.zenith-sauna-video-popup__error[hidden] { display: none !important; }
@media (max-width: 767px) {
  .zenith-sauna-video-popup {
    width: 80vw;
    max-width: min(80vw, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    border-radius: 10px;
  }
  .zenith-sauna-video-popup__close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
  .zenith-sauna-video-popup__close svg { width: 17px; height: 17px; }
}
