/* Booking flow: steps, calendar, time picker, summary. */
.book-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.book-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--muted); }
.book-steps li a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.book-steps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--body); font-size: .78rem; font-family: var(--display); }
.book-steps .n .ic { width: 13px; height: 13px; }
.book-steps li.now { color: var(--ink); border-color: var(--green-700); }
.book-steps li.now .n { background: var(--green-800); color: #fff; }
.book-steps li.done { color: var(--green-800); }
.book-steps li.done .n { background: var(--green-100); color: var(--green-800); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 24px; align-items: start; }
.book-form { display: grid; gap: 22px; }
.book-form fieldset { margin: 0; }
.book-form legend { font-family: var(--display); font-size: 1.08rem; margin-bottom: 12px; }
.book-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.book-summary .panel-foot { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.book-summary .panel-foot .ic { width: 18px; height: 18px; flex: none; color: var(--green-700); margin-top: 2px; }
/* calendar */
.cal-head { justify-content: space-between; }
.cal-head h2 { font-size: 1.1rem; margin: 0; }
.cal-head .btn { padding-inline: 10px; }
.cal-head .btn .ic { width: 18px; height: 18px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow span { text-align: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.cal-day { display: grid; place-items: center; min-width: 0; height: clamp(40px, 6vw, 58px); border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
a.cal-day { border-color: var(--green-200); background: var(--green-50); }
a.cal-day:hover { background: var(--green-100); transform: translateY(-1px); color: var(--green-900); }
.cal-day.is-off { color: #b3bdb7; background: transparent; border-color: transparent; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--gold-400); }
.cal-day.is-selected { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.cal-legend { margin-top: 12px; }
.cal-legend .dot { background: var(--green-200); border: 1px solid var(--green-500); width: 10px; height: 10px; margin-right: 4px; }
.cal-loading .cal-grid { opacity: .5; pointer-events: none; }

/* times */
.times-panel .panel-head h2 { font-size: 1.05rem; margin: 0; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.times-empty { grid-column: 1 / -1; margin: 6px 0; }
.time-pill span { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-summary { position: static; order: -1; }
  .book-summary .panel-body { padding: 14px 18px; }
  .book-summary dl.kv { grid-template-columns: max-content 1fr; gap: 6px 14px; }
  .book-summary .panel-foot { display: none; }
}
@media (max-width: 640px) {
  .book-steps li { padding-right: 10px; font-size: .82rem; }
  .cal-dow, .cal-grid { gap: 4px; }
  .cal-day { min-height: 38px; border-radius: 8px; font-size: .92rem; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-actions .btn { width: 100%; }
}
