/* ---------- booking dialog ---------- */
.book-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.book-dialog.is-open {
  opacity: 1;
  visibility: visible;
}

.book-dialog .scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 10, 19, 0.72);
  backdrop-filter: blur(6px);
}

.book-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--hair-gold);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.8);
  transform: translateY(14px) scale(0.99);
  transition: transform 0.45s var(--ease);
}
.book-dialog.is-open .book-card {
  transform: none;
}

.book-card .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(39, 19, 32, 0.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.book-card .close:hover {
  background: var(--rose-50);
  border-color: var(--hair-gold);
}
.book-card .close svg { width: 13px; height: 13px; }

.book-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 12px 0 10px;
}
.book-card h3 em { font-style: italic; color: var(--rose-deep); }

.book-card .intro {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(39, 19, 32, 0.68);
  margin-bottom: 24px;
}

.slot-list {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(39, 19, 32, 0.12);
  background: #fffdfa;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.slot span:last-child {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(39, 19, 32, 0.4);
}
.slot:hover { border-color: var(--hair-gold); background: #fff; }
.slot.is-picked {
  border-color: var(--rose-deep);
  background: var(--rose-50);
}
.slot.is-picked span:last-child { color: var(--rose-deep); }

.book-card .btn { width: 100%; }

.book-note {
  margin-top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(39, 19, 32, 0.42);
  text-align: center;
}

.book-done {
  display: none;
  text-align: center;
  padding: 10px 0 4px;
}
.book-done.is-on { display: block; animation: fade-up 0.6s var(--ease) both; }
.book-done .tick {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
}
.book-done h3 { margin-top: 0; }
.book-done p { font-size: 0.94rem; color: rgba(39, 19, 32, 0.66); line-height: 1.7; }

body.modal-open { overflow: hidden; }
