/* ═══════════════════════════════════════════════════════════════════
   Booking & gift voucher flow.
   Kept separate from styles.css so the two can be worked on
   independently. Loaded only by /book and /gift-vouchers — the
   marketing pages never pay for these bytes.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Treatment picker ──────────────────────────────────────────── */
.svc-list { display: grid; gap: var(--s-6); }

.svc-group {
  border: 0;
  margin: 0;
  padding: 0;
}
.svc-group__title {
  font-family: var(--font-body);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0 0 var(--s-3);
}

.svc-group > .svc-card { margin-bottom: var(--s-2); }

.svc-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name  price"
    "meta  price"
    "tag   tag";
  gap: var(--s-1) var(--s-4);
  width: 100%;
  text-align: left;
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.svc-card:hover {
  border-color: var(--sage);
  box-shadow: var(--sh-md);
  transform: translateY(-1px);
}
.svc-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.svc-card__name  { grid-area: name;  font-weight: 600; color: var(--ink); }
.svc-card__meta  { grid-area: meta;  font-size: var(--t-small); color: var(--ink-faint); }
.svc-card__price { grid-area: price; align-self: center; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.svc-card__tag {
  grid-area: tag;
  margin-top: var(--s-1);
  font-size: var(--t-micro);
  color: var(--sage-dark);
}

/* ── Chips (length + time) ─────────────────────────────────────── */
/* .chip and .chip-row come from styles.css; these are the additions the
   booking flow needs — a two-line variant and a selected state. */
.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 48px;             /* comfortable thumb target */
  padding: var(--s-2) var(--s-4);
}
.chip span { font-size: var(--t-micro); color: var(--ink-faint); }
.chip.is-on {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.chip.is-on span { color: rgba(255, 255, 255, 0.85); }
.chip--time { min-width: 92px; justify-content: center; }

/* ── Add-ons ───────────────────────────────────────────────────── */
.addon-list { display: grid; gap: var(--s-2); }

.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
}
.addon:hover { border-color: var(--sage); }
.addon:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.addon input { width: 20px; height: 20px; accent-color: var(--sage); }
.addon__name { font-weight: 500; color: var(--ink); }
.addon__meta { font-size: var(--t-small); color: var(--ink-faint); white-space: nowrap; }

/* ── Running total ─────────────────────────────────────────────── */
.running-total {
  margin: var(--s-5) 0 0;
  padding: var(--s-3) var(--s-4);
  background: var(--sage-tint);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.field-title {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--ink-soft);
  margin: var(--s-6) 0 var(--s-3);
}

/* ── Stripe Elements ───────────────────────────────────────────── */
#cardElement {
  margin: var(--s-4) 0 var(--s-5);
  min-height: 44px;             /* reserves space so mounting doesn't shift layout (CLS) */
}

/* ── Step transitions ──────────────────────────────────────────── */
[data-step] { animation: stepIn var(--dur-slow) var(--ease-out) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Without JS the multi-step form cannot function, so hide it and let the
   <noscript> phone fallback stand alone. */
.no-js [data-step] { display: none; }

/* The mobile sticky bar (.sticky-bar) and its body padding live in
   styles.css — the marketing pages need them too, so they are not
   duplicated here. */
