/* booking demo page */
.book-page { padding-bottom: 96px; }
.back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 700; color: var(--plum); font-size: 15px; margin-right: 6px; }
.book { max-width: 760px; padding: 28px 0 40px; }
.demo-banner { background: var(--peach-soft); color: var(--mauve); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.step.is-locked { opacity: .4; pointer-events: none; }
.step h1, .step h2 { display: flex; align-items: center; gap: 12px; font-size: 26px; color: var(--plum); margin-bottom: 16px; }
.step h1 span, .step h2 span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font: 700 15px/1 var(--sans); }
.cat { margin: 18px 0 6px; font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 14px; margin: 6px 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.opt input { accent-color: var(--plum); width: 18px; height: 18px; margin: 0; }
.opt b { font-weight: 700; }
.opt em { font-style: normal; font-weight: 700; color: var(--mauve); white-space: nowrap; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--plum); }
.sub { margin: -2px 0 10px 18px; padding: 6px 0 4px 16px; border-left: 2px solid var(--brass); }
.sub p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.sub .opt { padding: 10px 12px; background: var(--cream); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; min-width: 0; }
.day { flex: none; width: 62px; padding: 10px 0; border-radius: 12px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: center; cursor: pointer; font: inherit; color: var(--ink); }
.day small { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day b { display: block; font: 500 22px/1.2 var(--serif); }
.day:disabled { opacity: .35; cursor: default; }
.day[aria-selected="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.day[aria-selected="true"] small { color: var(--peach); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; margin-top: 12px; }
.time { min-height: 44px; border-radius: 10px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 700 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
.time:disabled { background: transparent; color: #c4b5bd; text-decoration: line-through; cursor: default; }
.time[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.hint { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fields label { display: block; font-weight: 700; font-size: 14px; }
.fields label small { font-weight: 400; color: var(--muted); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: 400 16px/1.4 var(--sans); background: var(--paper); color: var(--ink); }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; max-width: 760px; }
.bar p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink); }
.bar p b { color: var(--plum); }
.bar .btn:disabled { background: #d9ccd3; cursor: default; }
.done .card { margin: 28px 0; padding: 32px 28px; background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(58,32,51,.4); text-align: center; }
.done .tick { color: #fff; background: var(--ok); border-radius: 50%; padding: 8px; margin: 0 auto 12px; }
.done dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; text-align: left; max-width: 420px; margin: 18px auto 20px; }
.done dt { color: var(--muted); }
.done dd { margin: 0; font-weight: 700; }
.done p { color: var(--muted); font-size: 15px; }
.done-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.book-page .pill { bottom: 84px; }
.book-page.is-done .pill { bottom: 12px; }
@media (max-width: 760px) {
  .back span { display: none; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .step h1, .step h2 { font-size: 22px; }
  .bar-in { padding: 0; }
  .bar .btn { flex: none; }
  .book-page .pill { bottom: 80px; }
  .book-page.is-done .pill { bottom: 10px; }
}
