/* Meet & Muse: checkout pages (/pay/, /thank-you/) and the trust line on the home page. */

/* ---------- Checkout layout ---------- */
.checkout {
  background: var(--eggshell);
}
.checkout-header .wrap {
  height: 64px;
}
.checkout-header .logo img {
  width: 84px;
}
.secure-note {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.secure-note svg,
.paystack-note svg {
  width: 15px;
  height: 15px;
}
.checkout-main {
  padding: 8px 0 56px;
}
.checkout-wrap {
  max-width: 560px;
}
.checkout-title {
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: 1.05;
  margin-top: 6px;
}
.checkout-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Steps: 1 Your details · 2 Pay · 3 You're in */
.steps {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
  display: flex;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 3px solid var(--border);
}
.steps li span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text);
  font-size: 0.75rem;
}
.steps li.done,
.steps li.current {
  border-top-color: var(--plum);
  color: var(--text);
}
.steps li.done span,
.steps li.current span {
  background: var(--plum);
  color: var(--white);
}

/* Booking summary */
.summary {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
}
.summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.summary-row img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}
.summary-title {
  font-weight: 600;
  font-size: 1.0625rem;
}
.summary-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.summary-lines {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 6px;
}
.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9375rem;
}
.summary-lines dt,
.summary-lines dd {
  margin: 0;
}
.summary-lines .muted {
  color: var(--muted);
}
.summary-lines .total {
  margin-top: 4px;
  font-weight: 600;
  font-size: 1.0625rem;
}

/* Payment choice */
.pay {
  margin-top: 26px;
}
.pay-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0;
  line-height: 1.3;
}
.pay-tabs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pay-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pay-tabs button strong {
  font-size: 0.9875rem;
}
.pay-tabs button small {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.pay-tabs button[aria-selected='true'] {
  border-color: var(--plum);
  background: var(--plum-100);
  box-shadow: inset 0 0 0 1px var(--plum);
}
.pay-panel {
  margin-top: 12px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
}
.transfer-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tstep;
  display: grid;
  gap: 20px;
}
.transfer-steps > li {
  counter-increment: tstep;
  position: relative;
  padding-left: 36px;
}
.transfer-steps > li::before {
  content: counter(tstep);
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
}
.step-label {
  font-weight: 600;
  margin-bottom: 10px;
}
.bank-card {
  border-radius: var(--r-md);
  background: var(--eggshell);
  border: 1px solid var(--border);
  overflow: hidden;
}
.bank-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px 8px 14px;
  font-size: 0.9375rem;
}
.bank-line + .bank-line {
  border-top: 1px solid var(--border);
}
.bank-line span {
  flex: 0 0 auto;
  min-width: 108px;
  color: var(--muted);
  font-size: 0.875rem;
}
.bank-line strong {
  flex: 1;
  min-width: 0;
}
.bank-line .acct {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.copy-btn {
  flex: none;
  min-width: 72px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--r-round);
  border: 1.5px solid var(--plum-200);
  background: var(--white);
  color: var(--plum);
  font: 600 0.875rem/1 var(--body);
  cursor: pointer;
}
.copy-btn:hover {
  border-color: var(--plum);
}
.copy-btn.is-copied {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}
.hint {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.btn-block {
  display: flex;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  font-size: 1.0625rem;
  text-align: center;
  line-height: 1.25;
}
.btn-whatsapp {
  background: #1f8f4e;
}
.btn-whatsapp:hover {
  background: #187a41;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.transfer-done {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--plum-100);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.transfer-done img {
  flex: none;
}
.done-title {
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}

/* Paystack form */
.online-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.online-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--eggshell);
  font: 400 1rem var(--body);
  color: var(--text);
  margin-bottom: 14px;
}
.online-form input:focus {
  outline: none;
  border-color: var(--plum);
  background: var(--white);
}
.online-form input[aria-invalid='true'] {
  border-color: #b3261e;
}
.field-error {
  margin: -6px 0 12px;
  color: #b3261e;
  font-size: 0.875rem;
}
.online-form .field-error[data-pay-error] {
  margin: 12px 0 0;
}
.paystack-note {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Reassurance */
.assure-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.assure-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.assure-list img {
  flex: none;
  margin-top: 1px;
}
.checkout-review {
  margin-top: 24px;
  box-shadow: none;
  border: 1px solid var(--border);
}
.help-line {
  margin-top: 26px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}
.checkout-footer {
  padding: 22px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}
.checkout-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.checkout-footer a {
  color: var(--muted);
}

/* ---------- Thank you ---------- */
.thanks-hero {
  text-align: center;
  padding: 8px 0 4px;
}
.thanks-hero .checkout-title {
  margin-top: 10px;
}
.ref-line {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.next-steps {
  margin-top: 26px;
}
.timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 4px;
  display: grid;
  gap: 16px;
}
.timeline li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--plum);
}
.timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: -14px;
  width: 1px;
  background: var(--plum-200);
}
.share-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
}
.share-card p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Home: the one app section (#app) */
.app-band {
  padding-top: 0;
}
.app-card {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: var(--plum-100);
  border: 1px solid var(--plum-200);
}
.app-card .eyebrow {
  margin-bottom: 8px;
}
.app-card h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.25rem);
}
.app-perks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9875rem;
}
.app-perks li {
  display: flex;
  gap: 8px;
}
.app-perks li::before {
  content: '✓';
  color: var(--plum);
  font-weight: 600;
}
.app-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.app-cta .note {
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 760px) {
  .app-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px 36px;
  }
  .app-cta {
    align-items: center;
  }
}

/* Trust line under What's on */
.trust-row {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-row li::before {
  content: '✓';
  color: var(--plum);
}

@media (min-width: 560px) {
  .pay-panel {
    padding: 22px;
  }
}

/* Checkout pages: no big section padding from site.css; keep content inside the panel on small phones. */
.checkout .pay,
.checkout .next-steps {
  padding: 0;
}
.checkout .summary {
  padding: 16px;
}
.checkout .share-card {
  padding: 20px;
}

.transfer-steps > li {
  min-width: 0;
}
@media (max-width: 420px) {
  .pay-panel {
    padding: 16px 14px;
  }
  .transfer-steps > li {
    padding-left: 0;
  }
  .transfer-steps > li::before {
    position: static;
    display: inline-grid;
    margin-right: 8px;
    vertical-align: middle;
  }
  .step-label {
    display: inline;
  }
  .transfer-steps > li > .step-label + * {
    margin-top: 10px;
  }
  .bank-line {
    flex-wrap: wrap;
    gap: 2px 10px;
    padding: 10px 12px;
  }
  .bank-line span {
    flex-basis: 100%;
    min-width: 0;
    font-size: 0.8125rem;
  }
  .bank-line .acct {
    font-size: 1.375rem;
  }
}

/* ---------- Home: booking form embedded in #book (v4) ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Old links to #whats-on land on the form. */
.anchor-alias {
  display: block;
  height: 0;
}

.book-section {
  background: var(--cream);
}
.book-grid {
  display: grid;
  gap: 28px;
}
.book-intro .eyebrow {
  margin-bottom: 10px;
}
.book-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 34em;
}
.book-photo {
  display: none;
  margin: 0;
}

.book-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 16px 14px 20px;
  min-width: 0;
  scroll-margin-top: 84px;
}
.book-embed {
  min-height: 420px;
}
.book-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}
.book-noscript {
  padding: 24px 0;
  text-align: center;
}
.book-trust {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
}
.book-small {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.book-small a {
  color: var(--plum);
}

@media (min-width: 560px) {
  .book-card {
    padding: 22px 24px 24px;
  }
}
@media (min-width: 960px) {
  .book-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: start;
  }
  .book-intro {
    position: sticky;
    top: 104px;
    padding-top: 12px;
  }
  .book-photo {
    display: block;
    margin-top: 40px;
    max-width: 380px;
    transform: rotate(-3deg);
    padding: 10px 10px 34px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }
  .book-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
  }
  .book-card {
    padding: 28px 32px 28px;
  }
}

/* "Matching you to a table…" screen between the form and /pay/ (booking.js). */
.matching-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--cream);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.matching-screen.in {
  opacity: 1;
}
body.is-matching {
  overflow: hidden;
}
.matching-box {
  text-align: center;
  max-width: 320px;
}
.matching-spinner {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--plum-200);
  border-top-color: var(--plum);
  animation: matching-spin 0.9s linear infinite;
}
.matching-title {
  margin-top: 20px;
  font-family: var(--heading);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--text);
}
.matching-sub {
  margin-top: 8px;
  color: var(--muted);
}
@keyframes matching-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .matching-spinner {
    animation-duration: 2.5s;
  }
  .matching-screen {
    transition: none;
  }
}

/* /pay/ account first (v7): transfer details at the top so they show on first load, on phones too. */
.pay-first-title {
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  margin-top: 4px;
}
.pay-first-lead {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}
.pay-first-lead strong {
  color: var(--text);
}
.pay-transfer {
  margin-top: 14px;
}
.pay-transfer .bank-card {
  background: var(--eggshell);
}
.pay-transfer .btn-whatsapp {
  margin-top: 14px;
}
.hint-center {
  text-align: center;
}
.pay-online {
  margin-top: 22px;
}
.pay-online-sub {
  margin: 4px 0 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}
@media (max-width: 420px) {
  .checkout-main {
    padding-top: 2px;
  }
  .pay-transfer {
    padding: 12px;
  }
  .pay-transfer .bank-line {
    min-height: 0;
    padding: 9px 12px;
  }
  .pay-transfer .bank-line span {
    min-width: 0;
    flex-basis: 100%;
    font-size: 0.8125rem;
  }
}
.acct-alias {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
}
.pay-online .pay-title {
  margin: 0;
}
