/* Booking page: pick a day, pick a time, leave a name and number. */
.book { padding: 48px 0 72px; }
.book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.book__intro h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.book__intro .lead { max-width: 38ch; }
.book__points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.book__points li { padding-left: 26px; position: relative; }
.book__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.book__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 24px 48px -32px rgba(28,27,25,.35); min-height: 320px; }
.book__loading { color: var(--muted); margin: 0; }
.book__step { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.book__card h2 { font-size: 1.35rem; margin: 0 0 4px; }
.book__zone { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.book__back { all: unset; cursor: pointer; color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 14px; display: inline-block; }
.book__back:hover { color: var(--accent-dark); }
.book__back:focus-visible, .book__day:focus-visible, .book__time:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.book__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.book__wd { text-align: center; font-size: .74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 2px; }
.book__day { font: inherit; cursor: pointer; background: #fff; border: 1.5px solid var(--accent); border-radius: 12px; padding: 6px 2px 8px; min-height: 58px; display: grid; grid-template-rows: 14px auto; justify-items: center; align-content: center; color: var(--text); transition: background .12s, color .12s; }
.book__day span { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 14px; }
.book__day strong { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.1; }
.book__day:hover { background: var(--accent); color: #fff; }
.book__day:hover span { color: #fff; }
.book__day[disabled] { cursor: default; border-color: transparent; background: transparent; color: #b9b2a6; }
.book__day[disabled] strong { font-weight: 500; }
.book__day[disabled]:hover { background: transparent; color: #b9b2a6; }
.book__day[disabled]:hover span { color: var(--muted); }

.book__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.book__time { font: inherit; font-weight: 600; cursor: pointer; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px; color: var(--text); transition: border-color .12s, background .12s, color .12s; }
.book__time:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.book__part { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 16px 0 8px; }
.book__part:first-of-type { margin-top: 0; }

.book__picked { background: var(--bg-2); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-weight: 600; }
.book__picked small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.book__form { display: grid; gap: 14px; }
.book__form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.book__form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.book__form input, .book__form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.book__form input:focus, .book__form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.book__form .btn { width: 100%; }
.book__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.book__hp { position: absolute; left: -9999px; }
.book__msg { margin: 0; min-height: 1.4em; font-size: .95rem; color: var(--muted); }
.book__msg.is-error { color: #b42318; }

.book__done h2 { font-size: 1.5rem; }
.book__check { width: 44px; height: 44px; border-radius: 50%; background: #e7f4ec; color: #157347; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; }
.book__check--off { background: var(--bg-2); color: var(--muted); }
.book__when { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.book__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.book__danger { color: #b42318; border-color: #e9c3bd; }
.book__danger:hover { background: #b42318; border-color: #b42318; color: #fff; }
.book__empty { color: var(--muted); }

@media (max-width: 860px) {
  .book { padding: 28px 0 56px; }
  .book__grid { grid-template-columns: 1fr; gap: 28px; }
  .book__card { padding: 20px; }
  .book__row { grid-template-columns: 1fr; }
}
