/* Commitment checkpoint between a booking CTA and Stripe checkout. */
html.payment-gate-open { overflow: hidden; }

.payment-gate {
  width: min(72rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(52rem, calc(100dvh - 2rem));
  padding: 0;
  border: 1px solid rgba(188, 145, 116, 0.58);
  border-radius: 0;
  overflow: auto;
  background: #100c09;
  color: #f0e4d2;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.86);
}

.payment-gate::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(5px);
}

.payment-gate__panel {
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(24rem, 1.14fr);
  min-height: min(46rem, calc(100dvh - 2rem));
}

.payment-gate__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #070604;
}

.payment-gate__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 58%, #100c09 100%),
    linear-gradient(0deg, rgba(16, 12, 9, 0.64), transparent 30%);
}

.payment-gate__visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}

.payment-gate__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.payment-gate__mark {
  margin: 0 0 2.2rem;
  color: #d59a82;
  font-family: system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.payment-gate__eyebrow {
  margin: 0 0 1rem;
  color: #d59a82;
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.payment-gate h2 {
  max-width: 13ch;
  margin: 0;
  color: #f3e9da;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 4.2vw, 4.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.025em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.payment-gate__copy {
  max-width: 36rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: #cdbda8;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.payment-gate__copy p { margin: 0; }
.payment-gate__copy p + p { margin-top: 0.9rem; }

.payment-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.payment-gate__actions button {
  min-height: 3.35rem;
  padding: 0.9rem 1.3rem;
  border-radius: 0;
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.payment-gate__refuse {
  border: 1px solid #8f3028;
  background: #812720;
  color: #fff4ec;
}

.payment-gate__refuse:hover,
.payment-gate__refuse:focus-visible {
  border-color: #bc4a3e;
  background: #982f27;
}

.payment-gate__continue {
  border: 1px solid rgba(205, 189, 168, 0.5);
  background: transparent;
  color: #d8c9b5;
}

.payment-gate__continue:hover,
.payment-gate__continue:focus-visible {
  border-color: #d59a82;
  color: #f3e9da;
}

.payment-gate__actions button:focus-visible {
  outline: 2px solid #f3e9da;
  outline-offset: 3px;
}

@media (max-width: 48rem) {
  .payment-gate {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .payment-gate__panel {
    display: block;
    min-height: 0;
  }

  .payment-gate__visual {
    height: clamp(10rem, 24dvh, 13rem);
    min-height: 0;
  }

  .payment-gate__visual::after {
    background: linear-gradient(0deg, #100c09 0%, transparent 42%);
  }

  .payment-gate__visual img { object-position: 50% 18%; }

  .payment-gate__content {
    padding: 1.3rem 1.2rem 1.45rem;
  }

  .payment-gate__mark { display: none; }
  .payment-gate__eyebrow { margin-bottom: 0.7rem; }
  .payment-gate h2 { max-width: 100%; font-size: clamp(2rem, 9.2vw, 2.7rem); }
  .payment-gate__copy { margin-top: 1.1rem; font-size: 1rem; line-height: 1.45; }
  .payment-gate__copy p + p { margin-top: 0.65rem; }
  .payment-gate__actions { display: grid; margin-top: 1.35rem; }
  .payment-gate__actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .payment-gate::backdrop { backdrop-filter: none; }
}
