/* ── Reserve page ─────────────────────────────────────── */

body.reserve-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.reserve-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding: clamp(90px, 14vh, 130px) clamp(20px, 5vw, 80px) 80px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero ────────────────────────────────────────────── */

.reserve-hero .eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.reserve-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.reserve-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--soft);
}

/* ── Sections ────────────────────────────────────────── */

.res-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.res-section[hidden] { display: none; }

.step-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-hint {
  margin: -8px 0 0;
  font-size: 0.85rem;
  color: var(--soft);
}

/* ── Date input ──────────────────────────────────────── */

.reserve-date-input {
  width: fit-content;
  padding: 11px 16px;
  background: var(--charcoal-2);
  border: 1px solid rgba(249, 243, 236, 0.14);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  color-scheme: dark;
}

.reserve-date-input:focus {
  border-color: rgba(216, 160, 142, 0.5);
  box-shadow: 0 0 0 3px rgba(216, 160, 142, 0.1);
}

.day-label {
  margin: 0;
  font-size: 0.88rem;
  color: var(--copper);
  font-weight: 600;
}

/* ── Time grid ───────────────────────────────────────── */

.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-btn {
  padding: 9px 16px;
  background: var(--charcoal-2);
  border: 1px solid rgba(249, 243, 236, 0.12);
  border-radius: 8px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.time-btn:hover {
  border-color: rgba(216, 160, 142, 0.4);
  color: var(--ink);
}

.time-btn.is-selected {
  border-color: var(--rose);
  background: rgba(216, 160, 142, 0.1);
  color: var(--ink);
}

/* ── Specialties ─────────────────────────────────────── */

.specialties-wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.specialty-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}

.specialty-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

.specialty-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Stylist cards ───────────────────────────────────── */

.stylist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--charcoal-2);
  border: 1px solid rgba(249, 243, 236, 0.1);
  border-radius: 12px;
  cursor: pointer;
  text-align: start;
  min-width: 150px;
  transition: border-color 180ms ease, background 180ms ease;
}

.stylist-card:hover:not([disabled]) {
  border-color: rgba(216, 160, 142, 0.4);
  background: rgba(216, 160, 142, 0.06);
}

.stylist-card.is-selected {
  border-color: var(--rose);
  background: rgba(216, 160, 142, 0.1);
}

.stylist-card.is-selected .stylist-initial {
  background: var(--rose);
  color: var(--charcoal);
}

.stylist-card.is-unavailable {
  opacity: 0.38;
  cursor: not-allowed;
}

.stylist-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(249, 243, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 180ms ease, color 180ms ease;
}

.stylist-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stylist-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.unavailable-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Booking summary ─────────────────────────────────── */

.booking-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--charcoal-2);
  border: 1px solid rgba(249, 243, 236, 0.1);
  border-radius: 12px;
  max-width: 420px;
  margin-bottom: 8px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.summary-row span {
  color: var(--soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.summary-row strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Products grid ───────────────────────────────────── */

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 16px;
  background: var(--charcoal-2);
  border: 1px solid rgba(249, 243, 236, 0.1);
  border-radius: 10px;
  cursor: pointer;
  text-align: start;
  transition: border-color 180ms ease, background 180ms ease;
}

.product-btn:hover {
  border-color: rgba(216, 160, 142, 0.4);
  background: rgba(216, 160, 142, 0.06);
}

.product-btn.is-selected {
  border-color: var(--rose);
  background: rgba(216, 160, 142, 0.1);
}

.product-btn-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.product-btn-brand {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Feedback ────────────────────────────────────────── */

.reserve-msg { margin: 0; font-size: 0.88rem; }
.reserve-error   { color: #e57373; }
.reserve-success { color: var(--sage, #8fbc8f); }

.reserve-submit {
  padding: 13px 32px;
  font-size: 0.95rem;
  width: fit-content;
}

/* ── RTL ─────────────────────────────────────────────── */

[dir="rtl"] .reserve-hero .eyebrow,
[dir="rtl"] .step-label,
[dir="rtl"] .specialty-label,
[dir="rtl"] .summary-row span {
  letter-spacing: 0;
  text-transform: none;
}

/* ── Time button period colors ───────────────────────── */

.time-btn[data-period="morning"] {
  background: rgba(100, 160, 220, 0.07);
  border-color: rgba(100, 160, 220, 0.28);
  color: rgba(150, 200, 235, 0.9);
}
.time-btn[data-period="morning"]:hover {
  background: rgba(100, 160, 220, 0.13);
  border-color: rgba(100, 160, 220, 0.52);
  color: rgba(180, 215, 245, 1);
}

.time-btn[data-period="afternoon"] {
  background: rgba(210, 175, 65, 0.07);
  border-color: rgba(210, 175, 65, 0.28);
  color: rgba(230, 200, 110, 0.9);
}
.time-btn[data-period="afternoon"]:hover {
  background: rgba(210, 175, 65, 0.13);
  border-color: rgba(210, 175, 65, 0.52);
  color: rgba(240, 210, 135, 1);
}

.time-btn[data-period="evening"] {
  background: rgba(200, 115, 90, 0.07);
  border-color: rgba(200, 115, 90, 0.28);
  color: rgba(225, 150, 125, 0.9);
}
.time-btn[data-period="evening"]:hover {
  background: rgba(200, 115, 90, 0.13);
  border-color: rgba(200, 115, 90, 0.52);
  color: rgba(235, 168, 142, 1);
}

/* selected always wins over period tint */
.time-btn.is-selected {
  border-color: var(--rose) !important;
  background: rgba(216, 160, 142, 0.14) !important;
  color: var(--ink) !important;
}

/* ── Booked specialist ───────────────────────────────── */

.stylist-card.is-booked {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(210, 75, 75, 0.22) !important;
  background: rgba(210, 75, 75, 0.05) !important;
}

.booked-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(220, 105, 105, 0.85);
}

.no-slots-today {
  width: 100%;
  margin: 0;
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
