/* ============================================================
   BOOKING.CSS — Modern Blue & White, Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-400:  #60a5fa;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --blue-900:  #1e3a8a;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --white:     #ffffff;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-pill:999px;
  --t: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.booking-body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════
   STICKY NAV BAR
════════════════════════════════ */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.site-bar .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.site-bar .brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.ghost-link:hover { background: var(--gray-50); color: var(--gray-900); border-color: var(--gray-200); }

.lang-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-600);
  text-decoration: none;
  padding: 9px 14px;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-pill);
  background: var(--blue-50);
  transition: background var(--t), border-color var(--t);
}
.lang-link:hover { background: var(--blue-100); border-color: var(--blue-400); }

/* ════════════════════════════════
   HERO / WEBSITE HEADER
════════════════════════════════ */
.booking-hero {
  background: var(--blue-600);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle dot grid texture */
.booking-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* bottom wave */
.booking-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}

.booking-hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.booking-hero p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 28px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  padding: 10px 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ════════════════════════════════
   SHELL
════════════════════════════════ */
.booking-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 120px;
}

/* ════════════════════════════════
   SHARE BAR  (replaces hero-card-lite)
════════════════════════════════ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 14px 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.share-bar .meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

.share-bar .code-block {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11.5px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-sm);
  padding: 7px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.secondary {
  background: var(--blue-600);
  color: var(--white);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t);
}
.secondary:hover { background: var(--blue-700); }

/* ════════════════════════════════
   FLASH
════════════════════════════════ */
.flash {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 24px;
  border-left: 4px solid;
}
.flash.success { background: #f0fdf4; color: #166534; border-color: #22c55e; }
.flash.error   { background: #fef2f2; color: #991b1b; border-color: #ef4444; }

/* ════════════════════════════════
   MAIN GRID
════════════════════════════════ */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 300px;
  gap: 20px;
  align-items: start;
}

.booking-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 76px;
}

/* ════════════════════════════════
   PANELS
════════════════════════════════ */
.panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.booking-form-panel { padding: 32px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.section-head h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.section-head .muted,
p.muted {
  font-size: 12.5px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ════════════════════════════════
   FORM
════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-grid label span,
.field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 10px 14px;
  outline: none;
  width: 100%;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}

.form-grid select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-grid textarea { resize: vertical; min-height: 80px; }

.full-row { grid-column: 1 / -1; }

/* ── Slots ── */
#slot-help { font-size: 12.5px; color: var(--gray-400); margin-top: 6px; }

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.slot-grid button,
.slot-grid .slot-btn {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  border-radius: var(--r-sm) !important;
  padding: 8px 16px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--gray-700) !important;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), color var(--t) !important;
}
.slot-grid button:hover,
.slot-grid .slot-btn:hover {
  border-color: var(--blue-500) !important;
  background: var(--blue-50) !important;
  color: var(--blue-700) !important;
}
.slot-grid button.selected,
.slot-grid .slot-btn.selected {
  background: var(--blue-600) !important;
  border-color: var(--blue-600) !important;
  color: var(--white) !important;
}

/* ── Submit ── */
.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.form-actions button,
button[type="submit"] {
  background: var(--blue-600);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 36px;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 2px 10px rgba(37,99,235,0.28);
  letter-spacing: -0.01em;
}
.form-actions button:hover,
button[type="submit"]:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37,99,235,0.35);
}
.form-actions button:active { transform: translateY(0); }

/* ════════════════════════════════
   SIDEBAR — INFO PANEL
════════════════════════════════ */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-list > div span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.detail-list > div strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-800);
}

.hours-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.hours-mini > div {
  background: var(--gray-50);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hours-mini > div span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hours-mini > div strong {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-800);
}

/* ════════════════════════════════
   CHAT WIDGET
════════════════════════════════ */

/* Floating button */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: var(--blue-600);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,99,235,0.42);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.chat-fab:hover {
  background: var(--blue-700);
  transform: scale(1.06);
  box-shadow: 0 6px 30px rgba(37,99,235,0.50);
}
.chat-fab svg { width: 26px; height: 26px; color: #fff; }

/* Unread badge */
.chat-fab .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: block;
}
.chat-fab.open .badge { display: none; }

/* Chat window */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 199;
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  box-shadow: 0 16px 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform-origin: bottom right;
}
.chat-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Chat header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--blue-600);
  flex-shrink: 0;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-400);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
}
.chat-avatar::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--blue-600);
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.chat-header-info span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
}
.chat-source-label {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  word-break: break-word;
}
.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t), background var(--t);
}
.chat-close:hover { color: #fff; background: rgba(255,255,255,0.15); }
.chat-close svg { width: 18px; height: 18px; }

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-50);
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* Message rows */
.msg-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.msg-row.user {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.msg-content {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  min-width: 0;
  align-items: flex-start;
}

.msg-row.user .msg-content {
  align-items: flex-end;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  border: 1.5px solid var(--blue-200, #bfdbfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-700);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.msg-bubble {
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
}
.msg-row.bot .msg-bubble {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 5px;
}
.msg-row.user .msg-bubble {
  background: var(--blue-600);
  color: var(--white);
  border-bottom-right-radius: 5px;
}

/* Timestamp */
.msg-time {
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 3px;
  text-align: right;
}
.msg-row.bot .msg-time { text-align: left; }

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  width: fit-content;
}
.typing-indicator span {
  width: 7px;
  height: 7px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: bounce 1.2s ease infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* Quick replies */
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.qr-btn {
  background: var(--white);
  border: 1.5px solid var(--blue-200, #bfdbfe);
  color: var(--blue-700);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.qr-btn:hover { background: var(--blue-50); border-color: var(--blue-500); }

/* Input area */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  min-width: 0;
}
.chat-input-row input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: var(--white);
}
.chat-input-row input::placeholder { color: var(--gray-400); }

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--blue-600);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
  flex-shrink: 0;
}
.chat-send:hover { background: var(--blue-700); transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; color: #fff; }

/* ════════════════════════════════
   RTL
════════════════════════════════ */
[dir="rtl"] .form-grid select { background-position: left 14px center; padding-right: 14px; padding-left: 38px; }
[dir="rtl"] .form-actions { justify-content: flex-start; }
[dir="rtl"] .detail-list > div strong { text-align: left; }
[dir="rtl"] .top-actions { flex-direction: row-reverse; }
[dir="rtl"] .chat-window { right: auto; left: 28px; transform-origin: bottom left; }
[dir="rtl"] .chat-fab { right: auto; left: 28px; }
[dir="rtl"] .msg-row.user { flex-direction: row; }
[dir="rtl"] .msg-row.bot .msg-bubble { border-bottom-left-radius: 18px; border-bottom-right-radius: 5px; }
[dir="rtl"] .msg-row.user .msg-bubble { border-bottom-right-radius: 18px; border-bottom-left-radius: 5px; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 860px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-side {
    position: static;
  }
}

@media (max-width: 600px) {
  .booking-shell { padding: 24px 16px 110px; }

  .site-bar { padding: 0 16px; height: 68px; }
  .ghost-link { display: none; }

  .booking-hero { padding: 44px 16px 52px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 8px 16px; }

  .share-bar { flex-direction: column; align-items: stretch; }
  .share-bar .code-block { white-space: normal; word-break: break-all; }
  .share-bar .secondary { align-self: flex-start; }

  .form-grid { grid-template-columns: 1fr; }
  .full-row { grid-column: 1; }

  .panel,
  .booking-form-panel { padding: 20px 18px; }

  .hours-mini { grid-template-columns: repeat(3, 1fr); }

  .chat-window {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 88px;
    border-radius: var(--r-xl);
    max-height: 70vh;
  }
  .chat-fab { bottom: 20px; right: 20px; }
}

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.booking-shell > * {
  animation: fadeUp 0.38s ease both;
}
.booking-shell > *:nth-child(1) { animation-delay: 0.02s; }
.booking-shell > *:nth-child(2) { animation-delay: 0.07s; }
.booking-shell > *:nth-child(3) { animation-delay: 0.12s; }
.booking-shell > *:nth-child(4) { animation-delay: 0.17s; }

.empty-state-panel {
  max-width: 720px;
  margin: 0 auto;
}

.booking-flow-form {
  display: grid;
  gap: 24px;
}

.flow-step {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.step-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-index {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-heading h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.step-heading p {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background var(--t);
  color: var(--gray-900);
}

.choice-card strong {
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-900);
}

.choice-card span,
.choice-card small {
  color: var(--gray-600);
}

.choice-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.choice-card.active {
  border-color: var(--blue-600);
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

.choice-card.active strong {
  color: #0f172a;
}

.choice-card.active span,
.choice-card.active small {
  color: #334155;
}

.service-card strong {
  font-size: 15px;
}

.service-card small {
  font-weight: 700;
  color: var(--blue-700);
}

.service-card.active small {
  color: #1e40af;
}

.date-step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.step-caption {
  font-size: 12px;
  color: var(--gray-500);
}

.date-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.date-card {
  min-height: 104px;
  align-content: start;
}

.date-card-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-card strong {
  font-size: 15px;
}

.date-card small {
  font-size: 13px;
  font-weight: 600;
}

.date-card.active .date-card-meta {
  background: rgba(37, 99, 235, 0.12);
  color: #1e3a8a;
}

.slot-card {
  min-height: 92px;
  align-content: center;
}

.slot-card strong {
  font-size: 15px;
}

.slot-card small {
  font-size: 12px;
  font-weight: 600;
}

.slot-choice-grid,
.staff-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.staff-card small {
  display: block;
}

.booking-inline-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px);
  gap: 14px;
}

.step-status {
  font-size: 13px;
  color: var(--gray-500);
}

.booking-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.booking-summary strong {
  font-size: 14px;
  color: #1e40af;
}

.booking-summary span {
  color: var(--gray-600);
  font-size: 13px;
}

@media (max-width: 600px) {
  .choice-grid,
  .slot-choice-grid,
  .staff-choice-grid,
  .booking-inline-grid {
    grid-template-columns: 1fr;
  }

  .date-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
