/* ============================================================
   mobile-booking.css
   Mobile booking flow — full-viewport takeover
   All classes prefixed with mb- to avoid desktop CSS collisions
   ============================================================ */

/* ── Layout Foundation ────────────────────────────────────── */
.mobile-booking {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy);
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-light);
  touch-action: pan-y;
  user-select: none;
}
@media (max-width: 768px) {
  .mobile-booking { display: flex; }
}

/* ── Header ───────────────────────────────────────────────── */
.mb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(212,168,85,0.15);
  flex-shrink: 0;
}

.mb-back {
  display: flex; align-items: center; gap: 4px;
  color: var(--gold);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  min-width: 90px;
  transition: opacity 0.3s;
  background: none; border: none;
  font-family: inherit;
}
.mb-back svg { width: 18px; height: 18px; flex-shrink: 0; }
.mb-back.hidden { opacity: 0; pointer-events: none; }

.mb-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1rem;
}

.mb-close {
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 90px;
  text-align: right;
  background: none; border: none;
}

/* ── Progress Dots ────────────────────────────────────────── */
.mb-progress {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px 8px;
  gap: 0;
  flex-shrink: 0;
}

.mb-dot {
  min-width: 36px; min-height: 36px;
  padding: 4px 8px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600;
  background: var(--navy-surface);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  white-space: nowrap;
}
.mb-dot.active {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 10px rgba(212,168,85,0.5), 0 0 20px rgba(212,168,85,0.2);
  animation: mbActiveGlow 2s ease-in-out infinite;
}
.mb-dot.done {
  background: var(--gold-dark);
  color: var(--navy);
  cursor: pointer;
}

.mb-line {
  flex: 1;
  height: 2px;
  background: var(--navy-surface);
  min-width: 16px; max-width: 40px;
  transition: background 0.4s ease;
}
.mb-line.filled { background: var(--gold); }

/* ── Concierge ────────────────────────────────────────────── */
.mb-concierge {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 20px 4px;
  flex-shrink: 0;
  min-height: 36px;
  transition: opacity 0.3s;
}

/* ── Content Area ────────────────────────────────────────── */
.mb-content {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.mb-track {
  width: 100%;
  height: 100%;
}

.mb-section {
  display: none; flex-direction: column;
  justify-content: center; align-items: stretch;
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
  height: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mb-section::-webkit-scrollbar { display: none; }

.mb-section.scrollable {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  justify-content: flex-start !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 120px;
}

.mb-section.centered { align-items: center; }

/* ── Section Heading ──────────────────────────────────────── */
.mb-section-heading {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 16px;
}

/* ── Duration Cards ───────────────────────────────────────── */
.mb-dur-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
  border-radius: 10px;
  background: var(--navy-mid);
  border: 2px solid transparent;
  margin-bottom: 8px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s, opacity 0.3s;
}
.mb-dur-card:active { transform: scale(0.97); }

.mb-dur-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.mb-dur-name { color: #fff; font-size: 1rem; font-weight: 500; }
.mb-dur-desc { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
.mb-dur-price { color: var(--gold); font-size: 1.2rem; font-weight: 700; }
.mb-dur-spa  { color: var(--text-muted); font-size: 0.75rem; text-decoration: line-through; }

.mb-dur-card .popular, .mb-dur-card > .popular {
  position: absolute; top: -1px; right: 12px;
  background: var(--gold); color: var(--navy);
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px;
  border-radius: 0 0 5px 5px;
}

.mb-dur-card.glow-recommend {
  border-color: rgba(212,168,85,0.35);
  box-shadow: 0 0 12px rgba(212,168,85,0.15), 0 0 24px rgba(212,168,85,0.08);
  animation: mbRecommendGlow 2.5s ease-in-out infinite;
}


.mb-dur-card.winning {
  animation: mbCardWin 0.6s ease forwards;
}

.mb-dur-card.dealing-out {
  animation: mbCardDealOut 0.5s ease forwards;
}

/* ── Modality Grid ────────────────────────────────────────── */
.mb-mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mb-mod-btn {
  padding: 20px 12px;
  border-radius: 10px;
  background: var(--navy-surface);
  border: 2px solid rgba(212,168,85,0.1);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.mb-mod-btn:active { transform: scale(0.95); }

.mb-mod-name { color: #fff; font-size: 0.95rem; font-weight: 500; }
.mb-mod-sub  { color: var(--text-muted); font-size: 0.75rem; margin-top: 4px; }


.mb-mod-btn.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.08);
}

.mb-mod-btn.confirming {
  animation: mbModConfirm 0.5s ease forwards;
}

.mb-mod-btn.dealing-out {
  animation: mbModDealOut 0.5s ease forwards;
}

/* ── Add-on Items ─────────────────────────────────────────── */
.mb-addon-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
  border-radius: 10px;
  background: var(--navy-surface);
  border: 2px solid transparent;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.mb-addon-item:active { transform: scale(0.97); }
.mb-addon-item.selected { border-color: var(--gold); }
.mb-addon-item.bouncing { animation: mbAddonBounce 0.4s ease; }

.mb-addon-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  margin-left: 12px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  font-size: 0.7rem;
  color: transparent;
}
.mb-addon-name { color: #fff; font-size: 0.9rem; }
.mb-addon-desc { color: var(--text-muted); font-size: 0.75rem; margin-top: 2px; }
.mb-addon-price { font-size: 0.9rem; font-weight: 600; }

.mb-addon-item.selected .mb-addon-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ── Calendar ─────────────────────────────────────────────── */
.mb-cal-month {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mb-cal-month-label { color: #fff; font-weight: 600; font-size: 0.95rem; }
.mb-cal-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 1px solid rgba(212,168,85,0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
}

.mb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.mb-cal-day-label {
  font-size: 0.6rem; color: var(--text-muted); font-weight: 600; padding: 4px 0;
}

.mb-cal-day {
  padding: 10px 0;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: default;
  display: flex; align-items: center; justify-content: center;
}
.mb-cal-day.available {
  color: var(--text-light);
  cursor: pointer;
  background: var(--navy-surface);
  border-radius: 10px;
  position: relative; overflow: hidden;
  transition: all 0.15s ease;
}
.mb-cal-day.available:active { transform: scale(0.85); }
.mb-cal-day.selected {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.mb-cal-day.today { border: 1px solid rgba(212,168,85,0.3); }
.mb-cal-day.bubble-pop { animation: mbBubblePop 0.5s ease; }

.mb-time-group-label {
  font-size: 0.7rem; color: var(--gold-light); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 8px;
}

.mb-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mb-time-slot {
  padding: 12px 0;
  min-height: 44px;
  border-radius: 20px;
  background: var(--navy-surface);
  border: 1.5px solid transparent;
  color: var(--text-light);
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mb-time-slot:active { transform: scale(0.88); }
.mb-time-slot.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.1);
  color: var(--gold);
  font-weight: 600;
}

/* ── Tap Ripple ──────────────────────────────────────────── */
.mb-tap-ripple {
  position: absolute; border-radius: 50%; background: rgba(212,168,85,0.3);
  transform: scale(0); animation: mbTapRipple 0.5s ease forwards; pointer-events: none;
}

/* ── Therapist Picker ─────────────────────────────────────── */
.mb-therapist-pick {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 12px;
}

.mb-therapist-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--navy-surface);
  border: 2px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s;
  min-height: 44px;
}
.mb-therapist-card:active { transform: scale(0.97); }
.mb-therapist-card.selected { border-color: var(--gold); background: rgba(212,168,85,0.06); }

.mb-therapist-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold-dark);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  overflow: hidden;
}
.mb-therapist-name { color: #fff; font-size: 0.95rem; font-weight: 600; }
.mb-therapist-gender { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; font-style: italic; }

.mb-time-slot.disabled {
  opacity: 0.3; pointer-events: none; text-decoration: line-through;
}

/* ── Form Fields ──────────────────────────────────────────── */
.mb-form-field { margin-bottom: 10px; }
.mb-form-field label {
  display: block;
  font-size: 0.7rem; color: var(--text-muted);
  margin-bottom: 4px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.mb-form-field input {
  width: 100%;
  padding: 14px;
  min-height: 44px;
  border-radius: 8px;
  border: 1.5px solid rgba(212,168,85,0.15);
  background: var(--navy-surface);
  color: var(--text-light);
  font-family: inherit; font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.mb-form-field input:focus { border-color: var(--gold); }
.mb-form-field input::placeholder { color: var(--text-muted); }

/* ── Checkout ─────────────────────────────────────────────── */
.mb-checkout-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
}
.mb-checkout-row .label { color: var(--text-muted); }
.mb-checkout-row .value { color: #fff; }

.mb-checkout-row.total {
  border-top: 1px solid rgba(212,168,85,0.15);
  margin-top: 6px; padding-top: 10px;
  font-size: 1rem;
}
.mb-checkout-row.total .label { color: #fff; font-weight: 600; }
.mb-checkout-row.total .value { color: var(--gold); font-weight: 700; }

.mb-checkout-row.discount .value { color: #4CAF50; }

/* ── Payment Method Buttons ───────────────────────────────── */
.mb-pay-method-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid rgba(212,168,85,0.15);
  background: var(--navy-surface);
  color: var(--text-light);
  font-size: 0.9rem; font-weight: 500;
  text-align: center;
  cursor: pointer;
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.mb-pay-method-btn:active { transform: scale(0.98); }
.mb-pay-method-btn.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.08);
}
.mb-pay-method-btn .pay-icon  { font-size: 1.2rem; }
.mb-pay-method-btn .pay-label { font-weight: 600; }
.mb-pay-method-btn .pay-sub   { font-size: 0.7rem; color: var(--text-muted); }

.mb-pay-method-btn.apple-pay {
  background: #000;
  border-color: #333;
  color: #fff;
}
.mb-pay-method-btn.apple-pay.selected { border-color: #fff; }
.mb-pay-method-btn.google-pay {
  background: #fff;
  border-color: #dadce0;
  color: #3c4043;
}
.mb-pay-method-btn.google-pay.selected { border-color: var(--gold); }
.mb-pay-method-btn.google-pay .pay-label { color: #3c4043; font-weight: 600; }
.mb-pay-method-btn.square-pay .pay-label { color: #fff; }

/* ── Mini-Summary Bar ─────────────────────────────────────── */
.mb-mini-summary {
  background: var(--navy-mid);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(212,168,85,0.1);
  font-size: 0.8rem;
  display: flex; justify-content: space-between; align-items: center;
}
.mb-mini-summary .ms-label { color: var(--text-muted); }
.mb-mini-summary .ms-value { color: var(--gold); font-weight: 600; }

/* ── Sticky CTA ───────────────────────────────────────────── */
.mb-cta-wrap {
  flex-shrink: 0;
  padding: 12px 16px 28px;
  background: linear-gradient(transparent, var(--navy) 30%);
  transition: opacity 0.3s, transform 0.3s;
}
.mb-cta-wrap.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  height: 0;
  padding: 0 16px;
  overflow: hidden;
}

.mb-cta-btn {
  display: block; width: 100%;
  padding: 14px;
  border: none; border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 0.95rem; font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.08s, box-shadow 0.15s;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.mb-cta-btn:hover  { background: var(--gold-dark); }
.mb-cta-btn:active { transform: scale(0.92); }

/* Bounce-back after successful tap */
.mb-cta-btn.cta-pop {
  animation: mbCtaPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Internal ripple from tap point */
.mb-cta-btn .cta-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: mbCtaRipple 0.5s ease-out forwards;
  pointer-events: none;
}
.mb-cta-btn.disabled {
  background: var(--navy-surface);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Gate Toast ───────────────────────────────────────────── */
.mb-toast {
  position: absolute; bottom: 80px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,80,80,0.9);
  border: 1px solid rgba(255,80,80,0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.7rem; color: #fff;
  white-space: nowrap;
  z-index: 30;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mb-toast.show { opacity: 1; }


/* ── Sparkles ─────────────────────────────────────────────── */
.mb-sparkle-container {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 100; overflow: hidden;
}

.mb-sparkle {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: mbSparkle 0.6s ease forwards;
}
.mb-sparkle.star {
  width: 8px; height: 8px;
  background: none;
  border: 2px solid var(--gold-light);
}

.mb-gold-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--flash-x, 50%) var(--flash-y, 50%), var(--gold), transparent 70%);
  pointer-events: none; z-index: 50;
  animation: mbGoldFlash 0.5s ease forwards;
}

/* ── Confirmation Celebration ─────────────────────────────── */
.mb-confetti-burst {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 50; overflow: hidden;
}
.mb-confetti-piece {
  position: absolute;
  border-radius: 2px;
  animation: mbConfettiFall var(--fall-dur, 2.5s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mb-celebration-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  pointer-events: none; z-index: 45;
  animation: mbRingExpand var(--ring-dur, 1.2s) ease-out forwards;
  opacity: 0;
}

.mb-confirm-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,85,0.25) 0%, transparent 70%);
  pointer-events: none; z-index: 44;
  animation: mbGlowPulse 2.5s ease-in-out infinite;
}

.mb-confirm-check-circle {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  opacity: 0;
  transform: scale(0);
}
.mb-confirm-check-circle.animate {
  animation: mbCheckBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.mb-confirm-check-circle svg { width: 36px; height: 36px; }
.mb-confirm-check-circle svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.mb-confirm-check-circle.animate svg path {
  animation: mbDrawCheck 0.5s 0.4s ease forwards;
}

.mb-confirm-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mb-confirm-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.mb-confirm-summary-card {
  background: var(--navy-mid);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(212,168,85,0.1);
  text-align: left;
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.mb-confirm-summary-card.glow::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  animation: mbSummaryGlow 2s ease-in-out infinite;
  pointer-events: none;
}

.mb-confirm-action {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--navy-surface);
  border: 1px solid rgba(212,168,85,0.1);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.mb-confirm-action:active { transform: scale(0.97); }
.mb-confirm-action:hover  { border-color: rgba(212,168,85,0.3); }
.mb-confirm-action .ca-icon  { font-size: 1.2rem; flex-shrink: 0; }
.mb-confirm-action .ca-text  { color: #fff; font-size: 0.85rem; font-weight: 500; }
.mb-confirm-action .ca-sub   { color: var(--text-muted); font-size: 0.7rem; margin-top: 2px; }

/* ── Gift Card Input ──────────────────────────────────────── */
.mb-gift-card-input {
  display: flex; gap: 6px;
  margin-top: 10px;
}
.mb-gift-card-input input { flex: 1; }
.mb-gift-card-input button {
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 6px; border: none;
  background: var(--gold-dark); color: #fff;
  font-weight: 600; font-size: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.mb-gift-card-input button:disabled { opacity: 0.6; cursor: not-allowed; }
.mb-gift-card-error { font-size: 0.8rem; color: #D46A6A; margin-top: 6px; padding-left: 2px; }

/* Shake animation for invalid gift card input */
@keyframes mbInputShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.mb-input-shake { animation: mbInputShake 0.45s ease; }

/* ── Zone Icon (alive/breathing) ─────────────────────────── */
.mb-zone-icon {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 12px;
  animation: mbIconFloat 3s ease-in-out infinite;
}
.mb-zone-icon span {
  display: inline-block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(212,168,85,0.3));
}
.mb-zone-icon-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,85,0.2) 0%, transparent 70%);
  animation: mbIconGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes mbIconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes mbIconGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* ── CTA Feedback ────────────────────────────────────────── */
@keyframes mbCtaPop {
  0%   { transform: scale(0.92); box-shadow: 0 0 0 0 rgba(212,168,85,0.6); }
  40%  { transform: scale(1.06); box-shadow: 0 0 24px rgba(212,168,85,0.4), 0 0 0 4px rgba(212,168,85,0.25); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,168,85,0); }
}

@keyframes mbCtaRipple {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* ============================================================
   @keyframes  (all prefixed with mb)
   ============================================================ */

@keyframes mbActiveGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(212,168,85,0.5), 0 0 20px rgba(212,168,85,0.2); }
  50%       { box-shadow: 0 0 16px rgba(212,168,85,0.7), 0 0 30px rgba(212,168,85,0.3); }
}

@keyframes mbDotPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes mbRecommendGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(212,168,85,0.15), 0 0 24px rgba(212,168,85,0.08); }
  50%       { box-shadow: 0 0 18px rgba(212,168,85,0.3),  0 0 36px rgba(212,168,85,0.12); }
}

@keyframes mbCardWin {
  0%   { transform: scale(1);    box-shadow: 0 0 0 1px var(--gold); }
  30%  { transform: scale(1.06); box-shadow: 0 0 20px rgba(212,168,85,0.5), 0 0 0 2px var(--gold); }
  60%  { transform: scale(0.98); }
  100% { transform: scale(1);    box-shadow: 0 0 0 1px var(--gold); }
}

@keyframes mbCardDealOut {
  0%   { transform: translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateX(var(--deal-x)) rotate(var(--deal-rot)); opacity: 0; }
}

@keyframes mbPulseText {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes mbModConfirm {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.08); box-shadow: 0 0 20px rgba(212,168,85,0.4); }
  50%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}

@keyframes mbModDealOut {
  0%   { transform: scale(1)   rotate(0deg);             opacity: 1; }
  100% { transform: scale(0.5) rotate(var(--deal-rot));  opacity: 0; }
}

@keyframes mbAddonBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.04); }
  60%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes mbBubblePop {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(212,168,85,0.4); }
  20%  { transform: scale(0.82); box-shadow: inset 0 0 12px rgba(212,168,85,0.2); }
  45%  { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(212,168,85,0.15); }
  65%  { transform: scale(0.96); box-shadow: 0 0 0 12px rgba(212,168,85,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(212,168,85,0); }
}

@keyframes mbTapRipple {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

@keyframes mbConfettiFall {
  0%   { transform: translateY(-20px) rotate(0deg) scale(1); opacity: 1; }
  50%  { opacity: 1; }
  100% { transform: translateY(var(--fall-dist, 500px)) rotate(var(--fall-spin, 720deg)) scale(0.4); opacity: 0; }
}

@keyframes mbRingExpand {
  0%   { width: 40px;  height: 40px;  opacity: 0.8; border-width: 3px; }
  100% { width: 500px; height: 500px; opacity: 0;   border-width: 1px; }
}

@keyframes mbGlowPulse {
  0%, 100% { transform: translate(-50%, -60%) scale(1);   opacity: 0.6; }
  50%       { transform: translate(-50%, -60%) scale(1.3); opacity: 1; }
}

@keyframes mbCheckBounceIn {
  0%   { transform: scale(0);   opacity: 0; }
  50%  { transform: scale(1.2); opacity: 1; }
  75%  { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}

@keyframes mbDrawCheck {
  0%   { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 0; }
}

@keyframes mbSummaryGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(212,168,85,0.2);  opacity: 0.5; }
  50%       { box-shadow: 0 0 20px rgba(212,168,85,0.4); opacity: 1; }
}

@keyframes mbSparkle {
  0%   { transform: scale(0) rotate(0);     opacity: 1; }
  50%  { transform: scale(1) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@keyframes mbGoldFlash {
  0%   { opacity: 0; }
  30%  { opacity: 0.15; }
  100% { opacity: 0; }
}

@keyframes mbRevealLine {
  0%   { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ── KEN AI Mobile Intake ───────────────────────────────────── */
@keyframes mbShimmer { 0% { left: -100%; } 100% { left: 100%; } }

.mb-ai-panel {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--navy-mid);
  border: 1px solid rgba(212,168,85,0.12);
  animation: mbAiSlideIn 0.3s ease-out;
}
@keyframes mbAiSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mb-ai-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.mb-ai-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mb-ai-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1.5px solid rgba(212,168,85,0.12);
  background: var(--navy-surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
  font-family: inherit;
  color: var(--text-light);
  min-height: 44px;
}
.mb-ai-chip i { font-size: 1rem; color: var(--text-muted); transition: color 0.2s; }
.mb-ai-chip span { font-size: 0.75rem; font-weight: 500; }
.mb-ai-chip:active { transform: scale(0.95); }
.mb-ai-chip.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.08);
}
.mb-ai-chip.selected i { color: var(--gold); }

.mb-ai-followup {
  padding: 14px;
  border-radius: 10px;
  background: var(--navy-surface);
  border: 1px solid rgba(212,168,85,0.12);
  margin-bottom: 12px;
  animation: mbAiSlideIn 0.3s ease-out;
}

.mb-ai-q-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}

.mb-ai-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.mb-ai-opt {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(212,168,85,0.18);
  background: var(--navy-mid);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
  font-family: inherit;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mb-ai-opt:active { transform: scale(0.96); }
.mb-ai-opt.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.1);
  color: var(--gold);
}

.mb-ai-multi-chip {
  padding: 7px 12px;
  border-radius: 20px;
  border: 1.5px solid rgba(212,168,85,0.18);
  background: var(--navy-mid);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.12s;
  font-family: inherit;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mb-ai-multi-chip:active { transform: scale(0.95); }
.mb-ai-multi-chip.selected {
  border-color: var(--gold);
  background: rgba(212,168,85,0.1);
  color: var(--gold);
}

.mb-ai-text-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(212,168,85,0.18);
  background: var(--navy-mid);
  color: var(--text-light);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  min-height: 44px;
}
.mb-ai-text-input::placeholder { color: var(--text-muted); opacity: 0.7; }
.mb-ai-text-input:focus { border-color: rgba(212,168,85,0.5); }

.mb-ai-rec-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.3s;
  min-height: 44px;
}
.mb-ai-rec-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.mb-ai-result {
  padding: 16px;
  border-radius: 12px;
  background: var(--navy-mid);
  border: 1px solid rgba(212,168,85,0.12);
  margin-bottom: 14px;
  animation: mbAiSlideIn 0.3s ease-out;
}

.mb-ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
}
.mb-ai-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: mbAiTypingBounce 1.2s infinite;
}
.mb-ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.mb-ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes mbAiTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.mb-ai-rec-card {
  padding: 14px;
  border-radius: 10px;
  background: rgba(212,168,85,0.06);
  border: 1px solid rgba(212,168,85,0.15);
  margin: 12px 0;
}

.mb-ai-book-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
  margin-top: 12px;
}
.mb-ai-book-btn:active { transform: scale(0.97); }

.mb-ai-back-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border: 1px solid rgba(212,168,85,0.2);
  border-radius: 20px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  min-height: 44px;
  transition: border-color 0.2s, color 0.2s;
}
.mb-ai-back-btn:active { color: var(--text-light); border-color: rgba(212,168,85,0.4); }

/* ── Zone Address Mismatch Toast ─────────────────────────────── */
.mb-zone-toast {
  position: absolute;
  bottom: 80px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(212,168,85,0.15);
  border: 1px solid rgba(212,168,85,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  z-index: 50;
  animation: mbAiSlideIn 0.3s ease-out;
  cursor: pointer;
}
.mb-zone-toast--error {
  background: rgba(239,83,80,0.15);
  border-color: rgba(239,83,80,0.4);
  color: #ff8a80;
}

/* ── Small Screen Overrides ─────────────────────────────────── */
@media (max-width: 380px) {
  .mb-mod-grid { grid-template-columns: 1fr; }
  .mb-therapist-pick { flex-direction: column; }
  .mb-therapist-card { width: 100%; }
}

