/* Booking page — layers on top of style.css, which supplies the tokens,
   .panel, .btn, .field and .footer styles this page reuses. */

.booking {
  width: 100%;
  max-width: 1080px;
}

/* Header */

.booking__header {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.booking__logo {
  width: 150px;
  height: auto;
  display: block;
}

.booking__logo-link {
  flex: none;
}

.booking__title {
  margin: 0 0 8px;
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
}

.booking__standfirst {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

/* Two-column layout */

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.booking__main {
  display: grid;
  gap: 18px;
  align-content: start;
}

.booking__side {
  position: sticky;
  top: 20px;
}

.booking__panel {
  padding: 22px 24px;
}

@media (max-width: 859px) {
  .booking__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking__side {
    position: static;
    /* Payment before the calendar once stacked, so the order reads
       questions → pay → pick a time. */
    order: 2;
  }
  .booking__main {
    display: contents;
  }
  .booking__main > :first-child { order: 1; }
  .booking__main > :last-child  { order: 3; }
}

/* Numbered steps */

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step__num {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.step__title {
  margin: 0;
}

/* Questions */

.answers {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.answers__row {
  display: grid;
  gap: 5px;
}

.answers__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.answers__hint {
  font-size: 13px;
  color: var(--meta);
}

.answers__saved {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* Locked / live calendar */

.calendar-locked {
  border: 3px dashed var(--dashed-rule);
  border-radius: 14px;
  padding: 34px 22px;
  text-align: center;
  background: var(--paper);
}

.calendar-locked__icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.calendar-locked__text {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--body);
}

.calendar-locked__sub {
  margin: 0;
  font-size: 14px;
  color: var(--meta);
}

.calendar-locked__sub + .calendar-locked__sub {
  margin-top: 8px;
}

.calendar-live__note {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}

/* Payment brackets */

.brackets {
  display: grid;
  gap: 10px;
  margin: 16px 0 14px;
}

.bracket {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: baseline;
  width: 100%;
  padding: 13px 15px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #FFFFFF;
  font-family: 'Nunito', sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.bracket:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.bracket[aria-checked="true"] {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

.bracket__amount {
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.bracket__label {
  font-weight: 700;
  font-size: 15px;
}

.bracket__note {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--body-muted);
}

.bracket-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bracket-custom__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--body);
}

.bracket-custom__field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bracket-custom__currency {
  font-family: 'Baloo 2', system-ui;
  font-weight: 700;
  font-size: 19px;
}

#custom-amount {
  width: 96px;
}

.amount-error {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
}

.booking__cta {
  width: 100%;
  text-align: center;
  border: 3px solid var(--ink);
  cursor: pointer;
}

.booking__cta[disabled] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

/* Stripe embedded checkout */

.payment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-head__amount {
  font-size: 15px;
  color: var(--body);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#stripe-checkout {
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
}

.payment-done {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--mint-tint);
}

.payment-done__tick {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}

.payment-done__text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.booking__smallprint {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--meta);
}

.booking__footer {
  margin-top: 26px;
}
