.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 100003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: rgba(24, 21, 26, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.booking-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  height: min(86vh, 820px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(24, 21, 26, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}

.booking-overlay.is-visible .booking-panel {
  transform: translateY(0) scale(1);
}

.booking-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #E4E4DF;
}

.booking-panel-title {
  flex: 1;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
  color: #18151A;
}

.booking-icon-btn {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8F9394;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.booking-icon-btn:hover {
  color: #18151A;
  background: #F4F4F0;
}

.booking-icon-btn[hidden] {
  display: none;
}

.booking-icon-btn svg {
  width: 18px;
  height: 18px;
}

.booking-panel-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #ffffff;
}

.booking-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.booking-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-size: 0.82rem;
  color: #8F9394;
}

.booking-loader[hidden] {
  display: none;
}

.booking-choice {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  overflow-y: auto;
  height: 100%;
}

.booking-choice-lead {
  margin: 0 0 4px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #2F2C30;
  text-align: center;
}

.booking-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border: 1px solid #E4E4DF;
  border-radius: 16px;
  background: #FAFAF7;
  text-align: center;
}

.booking-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: rgba(175, 207, 207, 0.25);
  color: #8FB6B6;
}

.booking-choice-icon svg {
  width: 22px;
  height: 22px;
}

.booking-choice-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #18151A;
}

.booking-choice-card p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #8F9394;
}

.booking-choice-card .booking-choice-btn {
  width: 100%;
  max-width: 260px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #18151A;
  color: #F4F4F0;
  font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.booking-choice-card .booking-choice-btn:hover {
  background: #2F2C30;
  transform: translateY(-1px);
}

.booking-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid #E4E4DF;
  background: #FAFAF7;
  font-size: 0.72rem;
  color: #8F9394;
}

.booking-panel-foot p {
  flex: 1;
  margin: 0;
}

.booking-foot-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: #18151A;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  cursor: pointer;
}

.booking-foot-btn[hidden] {
  display: none;
}

.booking-panel-foot a {
  color: #18151A;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.booking-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 26px;
  background: #ffffff;
  text-align: center;
}

.booking-fallback[hidden] {
  display: none;
}

.booking-fallback p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #2F2C30;
}

.booking-fallback a {
  padding: 14px 22px;
  border-radius: 999px;
  background: #AFCFCF;
  color: #18151A;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.booking-fallback a:hover {
  background: #8FB6B6;
}

@media (max-width: 640px) {
  .booking-overlay {
    padding: 0;
  }

  .booking-panel {
    max-width: none;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-overlay,
  .booking-panel {
    transition: none;
  }
}
