.checkout { max-width: 920px; }
#checkout-mode { margin: 12px 0 0; color: #4c5e73; }
#checkout-mode:empty { display: none; }
#checkout-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.checkout h2 { margin: 0 0 18px; font-size: 1.2rem; }
.checkout button, .checkout input {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #a8b7c9;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  color: inherit;
}
.checkout button { cursor: pointer; font-weight: 650; }
.checkout button:disabled { opacity: .6; cursor: default; }
.coupon-entry { display: flex; gap: 8px; margin: 6px 0; }
.coupon-entry input { width: 100%; min-width: 0; }
#coupon-status, #payment-status { margin: 8px 0 0; color: #4c5e73; }
#coupon-status:empty, #payment-status:empty { display: none; }
.checkout fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.checkout legend { font-weight: 650; margin-bottom: 7px; }
.tip-options { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-options label { position: relative; }
.tip-options input { position: absolute; opacity: 0; margin: 0; width: 100%; }
.tip-options span { display: block; border: 1px solid #a8b7c9; border-radius: 8px; padding: 11px 9px; }
.tip-options input:checked + span { background: #dceafb; border-color: #5480ab; }
.tip-options input:focus-visible + span { outline: 3px solid #3c70b2; outline-offset: 2px; }
#custom-label { display: block; margin-top: 12px; }
#custom-tip { display: block; width: 100%; margin-top: 6px; }
.checkout dl { margin-top: 0; }
.checkout dl div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; }
.checkout dd { margin: 0; white-space: nowrap; }
.checkout .grand-total { padding-top: 12px; margin-top: 6px; border-top: 1px solid #dce5ef; font-weight: 750; }
.checkout .pay { width: 100%; background: #1c2531; border-color: #1c2531; color: white; }
@media (max-width: 650px) {
  #checkout-form { grid-template-columns: 1fr; gap: 0; }
}
.booking-fields { grid-column: 1 / -1; }
.attendee-fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.attendee-fields input { display: block; width: 100%; margin-top: 5px; }
#pass-sessions { padding-inline-start: 20px; }
#pass-sessions li { margin: 8px 0; }
#book-next { margin-top: 15px; }
@media (max-width: 650px) {
  .attendee-fields { grid-template-columns: 1fr; }
}

.checkout { max-width: 1080px; }
.checkout .pay { background: #284ab2; border-color: #284ab2; }
@media (max-width: 650px) {
  .checkout { width: calc(100% - 28px); margin-top: 8px; }
  .checkout > .back { position: sticky; top: 0; z-index: 1; display: block; padding: 14px 0; background: #edf4fb; }
  .checkout .calendar-card { padding: 14px; }
}
