/* ============================================================
   Booking wizard styles
   ============================================================ */
.book-section { padding: 3rem 1.5rem 5rem; }
.book-section .container { max-width: 1100px; margin: 0 auto; }

/* Progress bar */
.book-steps {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 0 2.4rem;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.book-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted, #6b5a5a);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(183, 110, 121, 0.08);
}
.book-steps li.active { background: var(--rose, #b76e79); color: #fff; }
.book-steps li.done   { background: rgba(76, 175, 117, 0.15); color: #4caf75; }
.book-steps li .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  display: grid; place-items: center;
  font-size: 0.74rem;
  font-weight: 600;
}
.book-steps li.active .num { background: rgba(255,255,255,0.55); color: #fff; }
.book-steps li.done .num { background: #4caf75; color: #fff; }
@media (max-width: 540px) {
  .book-steps li .lbl { display: none; }
  .book-steps li { padding: 0.4rem; }
}

/* Layout — main + side summary */
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 880px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-summary { order: -1; position: static !important; }
}

.book-main {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 36px rgba(180, 130, 130, 0.10);
}
.book-panel { display: none; animation: panelIn 0.25s ease-out; }
.book-panel.active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.book-panel h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
  color: var(--ink, #3a2e2a);
}
.book-panel p.muted {
  font-size: 0.9rem;
  color: var(--text-muted, #6b5a5a);
  margin: 0 0 1.6rem;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
}
.cat-card {
  background: var(--cream-2, #f5ebe5);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--rose, #b76e79); }
.cat-card.active { background: var(--rose, #b76e79); color: #fff; }
.cat-card .ico { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cat-card .name { font-weight: 600; font-size: 0.95rem; }
.cat-card .count {
  font-size: 0.75rem;
  color: var(--text-mute, #998881);
  margin-top: 0.15rem;
}
.cat-card.active .count { color: rgba(255,255,255,0.85); }

/* Service list (after picking category) */
.svc-list {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--cream-2);
}
.svc-list h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--rose);
  margin: 0 0 1rem;
}
.svc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--cream-2);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: all 0.15s ease;
  gap: 1rem;
}
.svc-row:hover { border-color: var(--rose); background: rgba(183,110,121,0.03); }
.svc-row.active { border-color: var(--rose); background: rgba(183,110,121,0.08); }
.svc-row .name { font-weight: 600; color: var(--ink); }
.svc-row .meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }
.svc-row .price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--rose);
  font-weight: 500;
  white-space: nowrap;
}

/* Stylists */
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.stylist-card {
  background: var(--cream-2);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stylist-card:hover { transform: translateY(-3px); border-color: var(--rose); }
.stylist-card.active { background: #fff; border-color: var(--rose); box-shadow: 0 8px 24px rgba(183,110,121,0.18); }
.stylist-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush, #e9c4c1), var(--rose-gold, #c89897));
  display: grid; place-items: center;
  margin: 0 auto 0.7rem;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  overflow: hidden;
}
.stylist-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.stylist-card .name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.stylist-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}
.stylist-card .price-override {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* Date + time */
.datepicker { margin-bottom: 1.4rem; }
.datepicker label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.4rem;
}
.datepicker input[type="date"] {
  width: 100%;
  max-width: 260px;
  padding: 0.85rem 1rem;
  background: var(--cream-2);
  border: 1px solid #e6d5cb;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink);
  font-family: inherit;
}

.timeslots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tslot {
  padding: 0.65rem 0.4rem;
  background: var(--cream-2);
  border: 1px solid #e6d5cb;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.12s ease;
}
.tslot:hover { background: var(--rose); color: #fff; }
.tslot.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.tslot.taken { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.tslot.taken:hover { background: var(--cream-2); color: var(--ink); }
.ts-empty { color: var(--text-mute); padding: 1rem 0; font-style: italic; }

/* Form fields */
.bk-form .field { margin-bottom: 1rem; }
.bk-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.4rem;
}
.bk-form input, .bk-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--cream-2);
  border: 1px solid #e6d5cb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  resize: vertical;
}
.bk-form input:focus, .bk-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: #fff;
}

/* Confirm card */
.confirm-card {
  background: linear-gradient(135deg, rgba(183,110,121,0.06), rgba(201,168,122,0.04));
  border: 1px solid rgba(183, 110, 121, 0.18);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.confirm-card .conf-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(183,110,121,0.18);
}
.confirm-card .conf-row:last-child { border-bottom: 0; }
.confirm-card .conf-lbl {
  color: var(--text-mute);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.confirm-card .conf-val { color: var(--ink); font-weight: 500; text-align: right; }
.confirm-card .conf-row.total .conf-val {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--rose);
}

.bk-policy {
  background: var(--cream-2);
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.bk-policy strong { color: var(--rose); }
.bk-policy p { margin: 0.5rem 0 0.8rem; line-height: 1.5; }
.bk-policy .agree {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}
.bk-policy input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--rose);
}

.confirm-status { margin-top: 0.8rem; text-align: center; min-height: 1.4em; font-size: 0.9rem; }
.confirm-status.error { color: #c8455a; }
.confirm-status.ok    { color: #4caf75; }

/* Success */
.success-card { text-align: center; padding: 1rem 0 2rem; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf75, #2e8b58);
  color: #fff;
  display: grid; place-items: center;
  font-size: 2.6rem;
  margin: 0 auto 1.4rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(76, 175, 117, 0.30);
}
.success-card h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  margin: 0 0 0.4rem;
  color: var(--rose);
}
.bk-next { margin: 1.6rem 0 1rem; }
.bk-next .btn { display: inline-block; margin-bottom: 0.6rem; }
.bk-next .small, .small { font-size: 0.82rem; line-height: 1.5; }

/* Back row */
.book-back-row {
  margin-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Sticky side summary */
.book-summary {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg, #fff, var(--cream-2));
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 4px 22px rgba(180, 130, 130, 0.08);
}
.book-summary h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(183,110,121,0.18);
}
.sum-row .sum-lbl { color: var(--text-mute); }
.sum-row .sum-val { color: var(--ink); font-weight: 500; text-align: right; }
.sum-row.sum-total { border-bottom: 0; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 2px solid var(--rose); }
.sum-row.sum-total .sum-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--rose);
}
.sum-trust {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e6d5cb;
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.5;
}

/* Why-us strip */
.why-strip { padding: 4rem 1.5rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.why {
  text-align: center;
  padding: 1.4rem 1rem;
}
.why-ico { font-size: 2.4rem; margin-bottom: 0.8rem; }
.why h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.why p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
