/* The native dialog top layer keeps the enquiry above the fixed header. */
.popup#enquiry { display: none !important; }
.static-popup-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 90vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.static-popup-dialog[open] { display: flex; align-items: center; justify-content: center; }
.static-popup-dialog::backdrop {
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: saturate(1.8) blur(5px);
  backdrop-filter: saturate(1.8) blur(5px);
}
.static-popup-dialog[open] .popup#enquiry {
  display: block !important;
  position: relative !important;
  flex: none;
  width: 100%;
  height: auto;
  max-height: 100%;
  margin: 0 !important;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 3px 10px -1px #0005, 0 2px 50px 2px #0003;
}
.static-popup-visible { overflow: hidden; }
.static-popup-close {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .13);
  color: #333;
  border-radius: 0;
  width: 30px;
  height: 30px;
  font: 20px/30px Arial, sans-serif;
  box-shadow: 0 0 3px 1px #00000008;
  cursor: pointer;
}
.static-popup-close:hover { background: #fff; }
.static-popup-close:focus-visible { outline: 2px solid #4246a6; outline-offset: -2px; }
@media (max-width: 980px) {
  .static-popup-dialog[open] .popup#enquiry { max-width: 100%; }
}
