/* ── Popup Booking ────────────────────────────────────────────────────────── */

/* Overlay */
.popup-booking {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.popup-booking__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
}

/* Dialog card */
.popup-booking__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  animation: popup-booking-in 0.22s cubic-bezier(0.34, 1.28, 0.64, 1) both;
}

@keyframes popup-booking-in {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close button */
.popup-booking__close {
  position: absolute;
  padding: 0;
  margin: 0;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f3f3f3;
  border-radius: 50%;
  cursor: pointer;
  color: #555;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.popup-booking__close:hover {
  background: #ffea00;
  color: #1a1a1a;
}

/* Body – reuses .form-contact styles from contact form */
.popup-booking__body {
  padding: 8px 0 0;
}

/* Override form-contact inside popup: remove outer shadow/border-radius
   since the dialog already provides that */
.popup-booking__body .form-contact {
  box-shadow: none;
  border-radius: 0;
  max-width: 100%;
  padding: 20px 28px 28px;
}

.popup-booking__body h2 {
  color: #434343;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.popup-booking__body .wpcf7-submit {
  margin-bottom: 0;
  color: #434343 !important;
  text-transform: none;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  background-color: #FFFF00;
  outline: none;
  border: none;
  border-radius: 8px;
  box-shadow: none !important;
}
.popup-booking__body .wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.popup-booking__body .wpcf7-radio input {
  margin: 0;
}
.popup-booking__body .wpcf7-radio .wpcf7-list-item-label {
  white-space: nowrap;
}
/* Prevent body scroll when popup is open */
body.popup-booking-open {
  overflow: hidden;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .popup-booking {
    align-items: flex-end;
    padding: 0;
  }

  .popup-booking__dialog {
    border-radius: 18px 18px 0 0;
    max-height: 100vh;
    border-radius: 0;
    animation: popup-booking-in-mobile 0.25s cubic-bezier(0.34, 1.1, 0.64, 1) both;
  }

  @keyframes popup-booking-in-mobile {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .popup-booking__body .form-contact {
    padding: 16px 16px 24px;
  }
}
