/* A&W Booking modal — Footer 2 / Footer 5 CTA only */
.aw-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.aw-booking-modal[hidden] {
  display: none !important;
}
.aw-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 66, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.aw-booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(2, 8, 66, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aw-booking-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(2, 8, 66, 0.08);
  color: #020842;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aw-booking-modal__close:hover,
.aw-booking-modal__close:focus {
  background: rgba(11, 110, 218, 0.16);
  outline: none;
}
.aw-booking-modal__body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(90vh, 900px);
  padding: 48px 12px 12px;
  box-sizing: border-box;
}
.aw-booking-modal__body iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
}
html.aw-booking-modal-open,
body.aw-booking-modal-open {
  overflow: hidden !important;
}
@media (max-width: 991px) {
  .aw-booking-modal {
    padding: 16px;
  }
  .aw-booking-modal__dialog {
    width: 100%;
    max-height: 92vh;
  }
  .aw-booking-modal__body {
    max-height: 92vh;
    padding-top: 44px;
  }
  .aw-booking-modal__body iframe {
    min-height: 640px;
  }
}
@media (max-width: 767px) {
  .aw-booking-modal {
    padding: 10px;
  }
  .aw-booking-modal__dialog {
    border-radius: 12px;
    max-height: 94vh;
  }
  .aw-booking-modal__body {
    max-height: 94vh;
    padding: 44px 6px 8px;
  }
  .aw-booking-modal__body iframe {
    min-height: 560px;
  }
  .aw-booking-modal__close {
    top: 6px;
    right: 8px;
  }
}
