/**
 * Lumière — صفحة الحجز متعددة الخطوات (BookingPage.tsx)
 */

body.lumiere-page-booking .lumiere-main {
  background: #fff;
}

.lm-book-wiz {
  background: #fff;
  min-height: 100vh;
  direction: rtl;
}

.lm-book-wiz__hero {
  background: #fbf7ee;
  border-bottom: 1px solid rgba(180, 150, 100, 0.2);
  padding: clamp(3rem, 8vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 2.5rem);
}

.lm-book-wiz__hero-inner {
  max-width: 56.25rem;
  margin: 0 auto;
  text-align: center;
}

.lm-book-wiz__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.lm-book-wiz__eyebrow-line {
  height: 2px;
  width: 3.75rem;
  background: linear-gradient(to left, var(--lm-primary), transparent);
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz__eyebrow-line--rev {
  background: linear-gradient(to right, var(--lm-primary), transparent);
}

.lm-book-wiz__eyebrow {
  color: var(--lm-primary);
  font-size: 0.625rem;
  letter-spacing: 0.35em;
}

.lm-book-wiz__title {
  margin: 0 0 2rem;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--lm-fg);
}

.lm-book-wiz__title em {
  color: var(--lm-primary);
  font-style: italic;
}

.lm-book-wiz__steps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.lm-book-wiz__step-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lm-book-wiz__step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.lm-book-wiz__step-dot {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
  background: transparent;
  transition: all 0.3s;
  flex-shrink: 0;
}

.lm-book-wiz__step-item.is-active .lm-book-wiz__step-dot {
  border: 2px solid var(--lm-primary);
  color: var(--lm-primary);
  background: transparent;
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz__step-item.is-done .lm-book-wiz__step-dot {
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  border: none;
  color: #0a0608;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz__step-label {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--lm-muted);
  white-space: nowrap;
}

.lm-book-wiz__step-item.is-active .lm-book-wiz__step-label,
.lm-book-wiz__step-item.is-done .lm-book-wiz__step-label {
  color: var(--lm-primary);
}

.lm-book-wiz__step-connector {
  width: clamp(1.25rem, 5vw, 3.75rem);
  height: 2px;
  margin: 0 0.25rem;
  margin-bottom: 1.25rem;
  align-self: center;
  background: rgba(201, 169, 110, 0.15);
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.lm-book-wiz__step-connector.is-done {
  background: var(--lm-primary);
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz--checkout {
  background: #fff;
  min-height: 100vh;
  direction: rtl;
}

body.lumiere-page-booking-checkout .lumiere-main {
  background: #fff;
}

.lm-book-wiz__body--checkout {
  max-width: 75rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.lm-book-wiz__body--checkout .woocommerce {
  max-width: none;
  margin: 0;
  padding: 0;
}

.lm-book-wiz__body {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem);
}

.lm-book-wiz__step-title {
  margin: 0 0 0.5rem;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--lm-fg);
}

.lm-book-wiz__step-lead {
  margin: 0 0 2.25rem;
  color: var(--lm-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.lm-book-wiz__section-kicker {
  margin: 0 0 1.25rem;
  color: var(--lm-primary);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
}

.lm-book-wiz__svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.25rem, 1fr));
  gap: 1px;
  background: rgba(201, 169, 110, 0.15);
  margin-bottom: 2.5rem;
}

.lm-book-wiz__svc-card {
  background: var(--lm-surface, #faf8f5);
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  transition: all 0.2s;
}

.lm-book-wiz__svc-card.is-selected {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--lm-primary);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

.lm-book-wiz__svc-check {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--lm-primary);
  color: #0a0608;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
}

.lm-book-wiz__svc-card.is-selected .lm-book-wiz__svc-check {
  display: flex;
}

.lm-book-wiz__svc-cat {
  margin: 0 0 0.5rem;
  color: var(--lm-primary);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
}

.lm-book-wiz__svc-name {
  margin: 0 0 0.625rem;
  font-weight: 400;
  font-size: 1rem;
  color: var(--lm-fg);
}

.lm-book-wiz__svc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lm-book-wiz__svc-price {
  color: var(--lm-primary);
  font-size: 1.125rem;
}

.lm-book-wiz__svc-dur {
  color: var(--lm-muted);
  font-size: 0.6875rem;
}

.lm-book-wiz__auto-card,
.lm-book-wiz__expert-row {
  cursor: pointer;
  border: 1px solid rgba(201, 169, 110, 0.15);
  transition: all 0.2s;
}

.lm-book-wiz__auto-card {
  background: #fbf7ee;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.lm-book-wiz__auto-card.is-selected,
.lm-book-wiz__expert-row.is-selected {
  background: rgba(201, 169, 110, 0.08);
  border: 2px solid var(--lm-primary);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

.lm-book-wiz__auto-icon {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5edd8;
  font-size: 1.75rem;
}

.lm-book-wiz__divider {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 1rem 0;
  color: var(--lm-muted);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}

.lm-book-wiz__divider::before,
.lm-book-wiz__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(201, 169, 110, 0.15);
}

.lm-book-wiz__experts-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(201, 169, 110, 0.15);
}

.lm-book-wiz__expert-row {
  background: var(--lm-surface, #faf8f5);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lm-book-wiz__expert-row.is-unavailable {
  opacity: 0.45;
  cursor: default;
}

.lm-book-wiz__expert-photo {
  position: relative;
  flex-shrink: 0;
}

.lm-book-wiz__expert-photo img {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: cover;
  filter: brightness(0.85);
}

.lm-book-wiz__expert-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
}

.lm-book-wiz__expert-status-dot--yes {
  background: #10b981;
}

.lm-book-wiz__expert-status-dot--no {
  background: #ef4444;
}

.lm-book-wiz__multi-auto {
  background: rgba(201, 169, 110, 0.07);
  border: 2px solid var(--lm-primary);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

.lm-book-wiz__locked-expert {
  margin-bottom: 2rem;
}

.lm-book-wiz__locked-expert .lm-book-wiz__expert-row {
  margin-top: 0.75rem;
  pointer-events: none;
}

.lm-book-wiz__step1-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .lm-book-wiz__step1-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lm-book-wiz__cal-box,
.lm-book-wiz__times-box {
  background: var(--lm-surface, #faf8f5);
  border: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1.75rem;
}

.lm-book-wiz__cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.lm-book-wiz__cal-month {
  font-size: 0.9375rem;
  color: var(--lm-fg);
}

.lm-book-wiz__cal-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  background: none;
  color: var(--lm-fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lm-book-wiz__cal-weekdays,
.lm-book-wiz__cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.lm-book-wiz__cal-weekdays {
  margin-bottom: 0.5rem;
}

.lm-book-wiz__cal-weekdays span {
  text-align: center;
  color: var(--lm-muted);
  font-size: 0.5625rem;
  padding: 0.25rem 0;
}

.lm-book-wiz__cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: #fff;
  color: var(--lm-fg);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.lm-book-wiz__cal-day:disabled {
  background: rgba(180, 150, 100, 0.06);
  color: rgba(180, 150, 100, 0.35);
  cursor: not-allowed;
}

.lm-book-wiz__cal-day.is-selected {
  border: 2px solid var(--lm-primary);
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  color: #1a1209;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz__cal-note {
  margin: 0.875rem 0 0;
  color: var(--lm-muted);
  font-size: 0.625rem;
}

.lm-book-wiz__date-picked {
  margin-top: 0.75rem;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.15);
  padding: 0.75rem 1.125rem;
  font-size: 0.8125rem;
}

.lm-book-wiz__times-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--lm-muted);
}

.lm-book-wiz__times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.lm-book-wiz__time-btn {
  padding: 0.6875rem 0.375rem;
  font-size: 0.6875rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  background: #fff;
  color: var(--lm-fg);
  cursor: pointer;
  transition: all 0.15s;
}

.lm-book-wiz__time-btn:disabled {
  background: rgba(180, 150, 100, 0.06);
  color: rgba(180, 150, 100, 0.35);
  cursor: not-allowed;
}

.lm-book-wiz__time-btn.is-selected {
  border: 2px solid var(--lm-primary);
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  color: #1a1209;
  font-weight: 700;
}

.lm-book-wiz__summary {
  background: var(--lm-surface, #faf8f5);
  border: 2px solid rgba(201, 169, 110, 0.15);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.15);
}

.lm-book-wiz__summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lm-book-wiz__summary-grid .is-full {
  grid-column: 1 / -1;
}

.lm-book-wiz__summary-label {
  margin: 0 0 0.25rem;
  color: var(--lm-muted);
  font-size: 0.625rem;
}

.lm-book-wiz__summary-val {
  margin: 0;
  color: var(--lm-fg);
  font-size: 0.9375rem;
}

.lm-book-wiz__summary-val--gold {
  color: var(--lm-primary);
}

.lm-book-wiz__summary-total {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lm-book-wiz__form-section {
  max-width: 42.5rem;
  margin-bottom: 2.5rem;
}

.lm-book-wiz__form-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lm-book-wiz__form-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  color: #0a0608;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.lm-book-wiz__form-grid {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .lm-book-wiz__form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.lm-book-wiz__field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--lm-fg);
}

.lm-book-wiz__field input,
.lm-book-wiz__field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(180, 150, 100, 0.22);
  color: var(--lm-fg);
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  font-family: inherit;
}

.lm-book-wiz__field input[type="email"] {
  direction: ltr;
  text-align: left;
}

.lm-book-wiz__logged-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.125rem;
  padding: 0.625rem 0.875rem;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.25);
  font-size: 0.8125rem;
  color: var(--lm-muted);
}

.lm-book-wiz__pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lm-book-wiz__pay-card {
  border: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--lm-surface, #faf8f5);
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lm-book-wiz__pay-card.is-selected {
  border: 2px solid var(--lm-primary);
  background: rgba(201, 169, 110, 0.07);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

.lm-book-wiz__pay-note {
  margin: 0.75rem 0 0;
  padding: 1rem 1.25rem;
  background: rgba(201, 169, 110, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
  font-size: 0.8125rem;
  line-height: 1.75;
}

.lm-book-wiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.lm-book-wiz__nav-prev,
.lm-book-wiz__nav-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.lm-book-wiz__nav-prev {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
}

.lm-book-wiz__nav-next {
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  border: none;
  color: #0a0608;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.lm-book-wiz__nav-next:disabled {
  background: rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
  font-weight: 400;
  box-shadow: none;
  cursor: not-allowed;
}

.lm-book-wiz__nav-progress {
  margin: 0;
  color: var(--lm-primary);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.lm-book-wiz__otp {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lm-book-wiz__otp[hidden] {
  display: none !important;
}

.lm-book-wiz__otp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lm-book-wiz__otp-card {
  position: relative;
  background: #fff;
  max-width: 30rem;
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 2.25rem 2.5rem;
  text-align: center;
}

.lm-book-wiz__otp-icon {
  width: 4rem;
  height: 4rem;
  border: 2px solid var(--lm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.lm-book-wiz__otp-title {
  margin: 0 0 0.5rem;
  font-weight: 400;
  font-size: 1.5rem;
}

.lm-book-wiz__otp-lead {
  margin: 0 0 0.375rem;
  color: var(--lm-muted);
  font-size: 0.8125rem;
}

.lm-book-wiz__otp-phone {
  margin: 0 0 1.5rem;
  color: var(--lm-primary);
  font-size: 1rem;
  direction: ltr;
}

.lm-book-wiz__otp-inputs {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.lm-book-wiz__otp-inputs input {
  width: 4.25rem;
  height: 4.5rem;
  text-align: center;
  font-size: 1.75rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  outline: none;
}

.lm-book-wiz__otp-inputs input.is-filled {
  border: 2px solid var(--lm-primary);
  background: rgba(201, 169, 110, 0.08);
}

.lm-book-wiz__otp-timer {
  margin: 0 0 1.5rem;
  color: var(--lm-muted);
  font-size: 0.75rem;
}

.lm-book-wiz__otp-actions {
  display: flex;
  gap: 0.75rem;
}

.lm-book-wiz__otp-cancel,
.lm-book-wiz__otp-submit {
  flex: 1;
  padding: 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: inherit;
  cursor: pointer;
}

.lm-book-wiz__otp-cancel {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--lm-muted);
}

.lm-book-wiz__otp-submit {
  background: linear-gradient(135deg, var(--lm-primary), #e8c98e);
  border: none;
  color: #1a1209;
  font-weight: 700;
}

.lm-book-wiz__otp-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
