/* Table booking flow */

.book-head { padding: 44px 0 110px; text-align: center; }
.book-head .lead { color: rgba(255, 255, 255, .75); }
@media (max-width: 600px) { .book-head { padding: 26px 0 86px; } .book-head .eyebrow { display: none; } .book-head .lead { font-size: 16px; } }
.book-section { background: var(--cream); padding-bottom: 80px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: -76px; }
@media (max-width: 980px) { .book-layout { grid-template-columns: 1fr; } .book-aside { order: 2; } }

.book-card { background: #fff; border-radius: 12px; padding: 0 0 26px; overflow: hidden; min-height: 520px; position: relative; }
.book-summary { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.book-summary li + li { border-left: 1px solid var(--line); }
.bs-item { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; transition: background .2s; }
.bs-item:hover { background: var(--paper); }
.bs-item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.bs-item[aria-current='step'] { background: var(--cream); box-shadow: inset 0 -3px 0 var(--gold); }
.bs-item[disabled] { cursor: default; opacity: .6; }
.bs-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--gold-text); flex: none; }
.bs-item[aria-current='step'] .bs-icon { background: var(--navy); color: var(--gold-light); }
.bs-icon svg { width: 19px; height: 19px; }
.bs-item small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bs-item b { font-family: var(--serif); font-size: 16px; font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) {
  .bs-item { flex-direction: column; gap: 4px; padding: 12px 6px; text-align: center; }
  .bs-icon { width: 30px; height: 30px; }
  .bs-item b { font-size: 14px; }
}
.book-progress { height: 3px; background: var(--line); }
.book-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease); }

.book-step { padding: 30px clamp(18px, 4vw, 40px) 8px; animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.step-title { font-family: var(--display); font-size: clamp(24px, 3vw, 30px); font-weight: 600; margin-bottom: 18px; }
.step-sub { color: var(--muted); margin: -10px 0 18px; }
.step-hint { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; margin-top: 22px; }
.step-hint svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.step-note { margin-top: 16px; padding: 12px 16px; background: var(--warn-bg); color: var(--warn); border-radius: var(--radius); font-size: 15px; }
.book-nav { padding: 6px clamp(18px, 4vw, 40px) 0; }

.party-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 560px) { .party-grid { grid-template-columns: repeat(4, 1fr); } }
.party-btn { aspect-ratio: 1; min-height: 56px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font-family: var(--serif); font-size: 22px; font-weight: 700; cursor: pointer; transition: all .15s; color: var(--navy); }
.party-btn:hover { border-color: var(--gold); background: var(--paper); transform: translateY(-2px); }
.party-btn[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
.party-big { font-size: 18px; }

/* calendar */
.cal { max-width: 560px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head h3 { font-family: var(--display); font-size: 21px; margin: 0; font-weight: 600; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow span { text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-day { position: relative; aspect-ratio: 1; min-height: 42px; border: 1.5px solid transparent; border-radius: 10px; background: var(--cream); font-family: var(--serif); font-size: 16px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--navy); transition: all .15s; padding: 0; }
.cal-day:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.cal-day .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.cal-day.limited .dot { background: #d18b00; }
.cal-day.request .dot { background: #7a6cc9; }
.cal-day.enquiry { background: #fff; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 400; }
.cal-day.enquiry .dot { display: none; }
.cal-day.closed, .cal-day.full, .cal-day.past, .cal-day.too_far { background: transparent; color: #b7b3a6; font-weight: 400; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-day.past, .cal-day.too_far { text-decoration: none; }
.cal-day.closed .dot, .cal-day.full .dot, .cal-day.past .dot, .cal-day.too_far .dot { display: none; }
.cal-day.today::after { content: 'Today'; position: absolute; bottom: 3px; font-family: var(--sans); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--gold-text); }
.cal-day.today .dot { display: none; }
.cal-day[aria-selected='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-day[aria-selected='true'] .dot { background: var(--gold-light); }
.cal-day.special { box-shadow: inset 0 0 0 2px var(--gold-light); }
.cal-empty { aspect-ratio: 1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.lg-open { background: var(--ok); } .lg-limited { background: #d18b00; } .lg-request { background: #7a6cc9; } .lg-closed { background: #cfcabc; }
.cal-loading .cal-grid { opacity: .4; pointer-events: none; }

/* time slots */
.slot-group { margin-bottom: 22px; }
.slot-group h3 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--gold-text); margin: 0 0 10px; font-family: var(--sans); }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { position: relative; min-height: 50px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-family: var(--serif); font-size: 16px; font-weight: 700; cursor: pointer; color: var(--navy); transition: all .15s; }
.slot:hover:not(:disabled) { border-color: var(--gold); background: var(--paper); }
.slot small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: #6557b8; }
.slot:disabled { color: #b7b3a6; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot[aria-pressed='true'] small { color: var(--gold-light); }
.no-slots { text-align: center; padding: 26px; background: var(--cream); border-radius: 10px; }

.confirm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 26px; }
.confirm-grid div { background: var(--cream); border-radius: 8px; padding: 14px 8px; }
.confirm-grid span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.confirm-grid b { font-family: var(--serif); font-size: 16px; }
@media (max-width: 600px) { .confirm-grid { grid-template-columns: repeat(2, 1fr); } }

.book-aside { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.book-aside-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.book-aside-body { padding: 22px 24px 12px; }
.book-aside .info-list li:last-child { border-bottom: 0; }
@media (max-width: 980px) { .book-aside { position: static; } }

.spinner-lg { display: inline-block; width: 38px; height: 38px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px 0 10px; }
.status-pill { display: inline-block; padding: 5px 14px; border-radius: 30px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.status-confirmed { background: var(--ok-bg); color: var(--ok); }
.status-pending, .status-awaiting_deposit { background: var(--warn-bg); color: var(--warn); }
.status-cancelled, .status-declined, .status-expired, .status-no_show { background: var(--bad-bg); color: var(--bad); }
