:root {
  --bg: #F5F1EB;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --dock-bg: rgba(245,241,235,.95);
  --text: #1A1A1A;
  --text-sec: #6B6B6B;
  --text-muted: #999;
  --border: rgba(0,0,0,0.06);
  --accent: #41443D;
  --accent-red: #C4453A;
  --success: #2E7D32;
  --danger: #C62828;
  --warning: #F57F17;
  --r: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 66px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

#halftone-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #41443D 0.5px, transparent 0.5px);
  background-size: 14px 14px;
  opacity: .035;
}

#noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-repeat: repeat;
  background-size: 150px;
}

#app {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

#pages {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(var(--dock) + var(--safe-bottom) + 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.page.active {
  opacity: 1;
  pointer-events: auto;
}

.assistant-page {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  --assistant-composer-height: 76px;
}

.page::-webkit-scrollbar,
#chat-messages::-webkit-scrollbar,
.booking-shell::-webkit-scrollbar {
  width: 0;
}

.page-title {
  font-family: 'Russo One', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text-muted);
  padding: 24px 20px 14px;
}

.section-label {
  font-family: 'Russo One', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 0 20px 10px;
}

.loading {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-sec);
}

.empty-state p {
  font-size: 13px;
  margin-bottom: 14px;
}

.state-card {
  background: var(--bg-card);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin: 20px;
  min-height: calc(100dvh - 230px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
  text-align: center;
  color: var(--text-sec);
}

.state-card p {
  font-size: 13px;
  line-height: 1.55;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 20px;
  position: relative;
  background: #41443D;
  margin: 0 0 20px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.hero canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 1;
}

.hero-btn-wrap {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.hero-btn {
  padding: 14px 36px;
  border-radius: 50px;
  background: #fff;
  border: none;
  color: #41443D;
  font-family: 'Russo One', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-btn:active { transform: scale(.92); }
.hero-btn svg { width: 16px; height: 16px; }

/* Home */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .15s;
  border-radius: var(--r);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.service-card:active { opacity: .85; }

.service-card-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.service-card.featured .service-card-img { height: 200px; }

.service-card-no-image {
  min-height: 200px;
  background: #161616;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 30%, transparent 55%);
}

.service-card-meta-bar {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.34) 38%, transparent 100%);
}

.service-card-name {
  display: block;
  color: #fff;
  font-family: 'Russo One', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
}

.service-card-desc {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}

.service-card-price {
  font-size: 12px;
  color: rgba(255,255,255,.58);
  font-weight: 600;
  margin-top: 6px;
}

.service-card-branded .service-card-price {
  margin-top: 0;
  color: rgba(255,255,255,.86);
}

.service-card-branded .service-card-img {
  filter: saturate(1.02) contrast(1.02);
}

.hot-deals-row {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
  overflow-x: auto;
}

.hot-deals-row::-webkit-scrollbar { display: none; }

.hot-deal-card {
  min-width: 260px;
  background: var(--accent-red);
  color: #fff;
  border-radius: var(--r);
  padding: 16px;
  box-shadow: 0 2px 12px rgba(196,69,58,0.18);
}

.hot-deal-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .72;
  font-weight: 700;
}

.hot-deal-title {
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  line-height: 1.1;
  margin-top: 8px;
}

.hot-deal-meta {
  font-size: 12px;
  line-height: 1.4;
  opacity: .88;
  margin-top: 8px;
}

.hot-deal-discount {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.hot-deal-btn {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: none;
  border-radius: 50px;
  background: #fff;
  color: var(--accent-red);
  font-family: 'Russo One', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: transform .15s, opacity .15s;
}

.hot-deal-btn:active {
  opacity: .92;
  transform: scale(.98);
}

/* Buttons / fields */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'Russo One', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .15s;
}

.btn-primary:active {
  opacity: .8;
  transform: scale(.98);
}

.btn-primary:disabled {
  opacity: .25;
  cursor: default;
}

.btn-secondary {
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--text-sec);
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btn-danger {
  background: none;
  border: none;
  color: var(--danger);
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 6px 0;
}

.form-label {
  font-family: 'Russo One', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 1px;
  padding-left: 2px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  margin-bottom: 8px;
  resize: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(65,68,61,0.08);
}

/* Assistant */
.assistant-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 10px;
}

.assistant-page .page-title {
  padding: 0;
  flex: 1;
}

.assistant-dismiss-btn {
  border: none;
  background: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.assistant-shell {
  margin: 0 16px 16px;
  background: var(--bg-card);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  flex: 1;
  min-height: 0;
}

#chat-messages {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 14px 18px calc(var(--assistant-composer-height) + 14px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.chat-bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-bubble.model {
  background: rgba(65,68,61,.07);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  color: var(--text);
}

.chat-bubble.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-message-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
}

.model-group { align-items: flex-start; }

.chat-typing {
  align-self: flex-start;
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 0;
}

.chat-service-card {
  width: min(280px, calc(100vw - 84px));
  background: rgba(65,68,61,.05);
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.chat-service-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.chat-service-body {
  padding: 12px;
}

.chat-service-name {
  font-family: 'Russo One', sans-serif;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

.chat-service-price {
  font-size: 12px;
  color: var(--text-sec);
  margin-bottom: 10px;
}

.chat-service-btn {
  width: auto;
  min-width: 112px;
  padding: 10px 16px;
}

.chat-input-row {
  padding: 10px 14px calc(10px + var(--safe-bottom));
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.assistant-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--bg-card);
  padding-bottom: calc(14px + var(--safe-bottom));
}

.chat-input-row input {
  flex: 1;
  padding: 9px 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  caret-color: var(--accent);
  outline: none;
}

.chat-input-row input:focus { border-color: var(--accent); }

.chat-send {
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}

/* History */
.booking-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 14px;
  margin: 0 20px 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.booking-card-clickable { cursor: pointer; }

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.booking-id {
  font-weight: 600;
  font-size: 12px;
  color: var(--text-muted);
}

.booking-status {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.booking-status.pending { background: rgba(245,127,23,.1); color: var(--warning); }
.booking-status.confirmed { background: rgba(46,125,50,.1); color: var(--success); }
.booking-status.in_progress { background: rgba(0,0,0,.05); color: var(--text); }
.booking-status.completed { background: rgba(0,0,0,.03); color: var(--text-muted); }
.booking-status.cancelled { background: rgba(198,40,40,.08); color: var(--danger); }

.booking-service {
  font-family: 'Russo One', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.booking-meta {
  font-size: 12px;
  color: var(--text-sec);
  margin-top: 2px;
}

.booking-meta span { margin-right: 8px; }

.booking-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.booking-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-sec);
  padding: 3px 0;
}

.booking-detail-row span:last-child {
  color: var(--text);
  text-align: right;
  font-weight: 600;
}

.booking-comment {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

.booking-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Profile / Contacts */
.profile-card,
.contacts-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 18px;
  margin: 0 20px 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.profile-name {
  font-size: 17px;
  font-weight: 700;
}

.profile-username {
  font-size: 12px;
  color: var(--text-sec);
  margin-top: 1px;
}

.profile-form {
  margin-top: 16px;
}

.subscription-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.subscription-row + .subscription-row {
  border-top: 1px solid var(--border);
}

.subscription-title {
  font-size: 13px;
  font-weight: 600;
}

.subscription-subtitle {
  font-size: 11px;
  color: var(--text-sec);
  margin-top: 2px;
}

.subscription-toggle {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.subscription-toggle-track {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.06);
  transition: background .16s ease, border-color .16s ease, opacity .16s ease;
}

.subscription-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.16);
  transition: transform .16s ease;
}

.subscription-toggle.on .subscription-toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}

.subscription-toggle.on .subscription-toggle-thumb {
  transform: translateX(22px);
}

.subscription-toggle:disabled,
.subscription-toggle.busy {
  cursor: default;
}

.subscription-toggle:disabled .subscription-toggle-track,
.subscription-toggle.busy .subscription-toggle-track {
  opacity: .55;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}

.contact-row a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-icon {
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section-title {
  font-family: 'Russo One', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.directions-line {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.directions-line + .directions-line { margin-top: 8px; }

.directions-video-card {
  margin-top: 16px;
}

.directions-video-launch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(65,68,61,0.09), rgba(65,68,61,0.03)),
    var(--bg-card);
  color: var(--text);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.directions-video-play {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(65,68,61,0.18);
}

.directions-video-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.directions-video-copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.directions-video-copy small {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-sec);
}

.directions-video-frame {
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.directions-video-player {
  display: block;
  width: 100%;
  max-height: min(62vh, 560px);
  background: #000;
}

/* Dock */
#dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--dock) + var(--safe-bottom) + 8px);
  background: var(--dock-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,.06);
  z-index: 100;
}

.dock-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: calc(var(--dock) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

body.assistant-input-mode #dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

body.assistant-input-mode .assistant-page {
  padding-bottom: 0;
}

.dock-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  transition: color .15s;
  padding: 6px 10px;
  position: relative;
  line-height: 1.15;
}

.dock-item.active { color: var(--accent); }
.dock-item svg { width: 20px; height: 20px; }

/* Booking overlay */
#booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  --booking-viewport-height: 100dvh;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
}

#booking-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.booking-shell {
  height: var(--booking-viewport-height);
  min-height: var(--booking-viewport-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--safe-bottom) + 24px);
}

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 20px 8px;
  background: var(--bg);
}

.booking-topbar-btn,
.step-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 12px 0 0;
  font-family: inherit;
}

.booking-step-shell {
  min-height: var(--booking-viewport-height);
  display: flex;
  flex-direction: column;
}

.booking-step {
  flex: 1;
  min-height: calc(var(--booking-viewport-height) - 58px);
  padding: 0 20px calc(24px + var(--safe-bottom));
}

.booking-step-animated {
  animation: fadeIn .16s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.step-title {
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 20px 0 16px;
}

.step-subtitle {
  font-size: 13px;
  color: var(--text-sec);
  margin: -8px 0 16px;
}

.summary-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.helper-card .booking-info-text { margin-top: 0; }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}

.summary-label { color: var(--text-sec); }
.summary-value { font-weight: 600; text-align: right; }

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  font-size: 17px;
  font-weight: 800;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.history-controls {
  margin: 0 20px 14px;
  display: grid;
  gap: 8px;
}

.history-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.history-chip-row::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.history-chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-sec);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.history-chip.active {
  background: rgba(65, 68, 61, 0.1);
  border-color: rgba(65, 68, 61, 0.16);
  color: var(--accent);
}

.info-card { overflow: hidden; }

.booking-hero-img {
  width: calc(100% + 32px);
  display: block;
  height: 180px;
  margin: -16px -16px 16px;
  object-fit: cover;
}

.booking-info-title {
  font-family: 'Russo One', sans-serif;
  font-size: 20px;
  line-height: 1.1;
}

.booking-info-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-sec);
}

.booking-info-price {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

.booking-info-section {
  margin-top: 14px;
}

.booking-info-section-label {
  margin-bottom: 8px;
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.booking-info-section .info-list,
.booking-info-section .info-link {
  margin-top: 0;
}

.booking-request-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-request-card .booking-info-text {
  margin-top: 0;
}

.booking-request-input {
  min-height: 144px;
  margin-bottom: 0;
}

.booking-request-submit {
  margin-top: 4px;
}

.info-list span,
.tier-badge {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 100px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(0,0,0,.04);
}

.info-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.calendar {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cal-month {
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
}

.cal-nav {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cal-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .12s;
  border: none;
  background: none;
  color: var(--text);
}

.cal-day:hover:not(.disabled):not(.empty) { background: rgba(0,0,0,.04); }
.cal-day.today { border: 1px solid var(--accent); }
.cal-day.selected { background: var(--accent); color: #fff; font-weight: 700; }
.cal-day.disabled { color: var(--text-muted); cursor: default; opacity: .3; }
.cal-day.empty { cursor: default; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.slot,
.fixed-slot-btn {
  padding: 12px 8px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .12s;
  font-family: inherit;
  color: var(--text);
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.slot.start,
.slot.end,
.fixed-slot-btn.selected {
  background: var(--accent);
  color: #fff;
}

.slot.in-range { background: rgba(65,68,61,.12); }
.slot.range-blocked {
  opacity: .45;
  cursor: default;
  pointer-events: none;
  color: var(--text-muted);
  background: rgba(65,68,61,.08);
}
.slot.taken,
.slot.past,
.fixed-slot-btn:disabled {
  opacity: .4;
  cursor: default;
  pointer-events: none;
}

.fixed-slots-list {
  display: grid;
  gap: 8px;
}

.time-info {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.pick-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: none;
  text-align: left;
  color: var(--text);
}

.pick-card:active,
.pick-card.selected { box-shadow: 0 1px 8px rgba(0,0,0,0.12); }

.pick-card-info { flex: 1; }
.pick-card-name { font-weight: 600; font-size: 14px; }
.pick-card-price { color: var(--text-muted); font-weight: 600; font-size: 12px; margin-top: 2px; }

.extras-list { margin-bottom: 12px; }

.extra-row {
  width: 100%;
  background: var(--bg-card);
  border: none;
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer;
  text-align: left;
  color: var(--text);
}

.extra-row.active {
  outline: 1px solid var(--accent);
  box-shadow: 0 1px 8px rgba(0,0,0,0.12);
}

.extra-name { font-size: 13px; font-weight: 600; }
.extra-price { font-size: 12px; color: var(--text-muted); font-weight: 700; }

.contact-card { position: relative; }

.contact-card .form-input { margin-bottom: 0; }

.button-row {
  display: flex;
  gap: 10px;
}

.button-row .btn-primary,
.button-row .btn-secondary {
  flex: 1;
}

.terms-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-sec);
}

.terms-box input { margin-top: 2px; }

.terms-copy {
  flex: 1;
}

.terms-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hot-deal-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 100px;
  background: rgba(196,69,58,.14);
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.booking-success {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px calc(40px + var(--safe-bottom));
  text-align: center;
}

.confirm-icon {
  color: var(--success);
  margin-bottom: 12px;
}

.booking-success h2 {
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.booking-success p {
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.booking-success .btn-secondary { margin-bottom: 10px; }

/* Dialog / toast */
#dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 320;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

#dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.confirm-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  max-width: 320px;
  width: calc(100% - 32px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.confirm-card h2 {
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.confirm-card p {
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.dialog-actions {
  display: flex;
  gap: 8px;
}

#toast {
  position: fixed;
  bottom: calc(var(--dock) + var(--safe-bottom) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: all .2s;
  z-index: 400;
  white-space: nowrap;
}

#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Dark booking mode */
body.dark-mode {
  --bg: #0A0A0A;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --dock-bg: rgba(10,10,10,.97);
  --text: #F5F1EB;
  --text-sec: #888;
  --text-muted: #555;
  --border: rgba(255,255,255,0.06);
  --accent: #C4453A;
}

body.dark-mode #app { background: #0A0A0A; }
body.dark-mode #halftone-bg {
  background-image: radial-gradient(circle, #C4453A 0.5px, transparent 0.5px);
  opacity: .04;
}
body.dark-mode #noise-overlay { opacity: .03; }
body.dark-mode .summary-card,
body.dark-mode .calendar,
body.dark-mode .slot,
body.dark-mode .fixed-slot-btn,
body.dark-mode .time-info,
body.dark-mode .pick-card,
body.dark-mode .extra-row,
body.dark-mode .terms-box,
body.dark-mode .state-card,
body.dark-mode .confirm-card {
  box-shadow: none;
}
body.dark-mode .form-input {
  border-color: rgba(255,255,255,0.08);
  background: var(--bg-card);
}
body.dark-mode .form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(196,69,58,0.15);
}
body.dark-mode .cal-day:hover:not(.disabled):not(.empty) { background: rgba(255,255,255,.05); }
body.dark-mode .cal-day.today { border-color: var(--accent); }
body.dark-mode .cal-day.selected,
body.dark-mode .slot.start,
body.dark-mode .slot.end,
body.dark-mode .fixed-slot-btn.selected {
  background: var(--accent);
  color: #fff;
}
body.dark-mode .slot.in-range { background: rgba(196,69,58,.2); }
body.dark-mode .slot.taken,
body.dark-mode .slot.past,
body.dark-mode .fixed-slot-btn:disabled { opacity: .28; }
body.dark-mode .chat-bubble.model { background: rgba(255,255,255,.06); }
body.dark-mode .chat-bubble.user,
body.dark-mode .chat-send { background: var(--accent); }
body.dark-mode .chat-input-row input {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body.dark-mode #dock { border-top-color: rgba(255,255,255,.04); }
body.dark-mode .dock-item.active { color: #fff; }
body.dark-mode #toast {
  background: var(--bg-elevated);
  color: var(--text);
}
body.dark-mode .info-list span,
body.dark-mode .hot-deal-inline {
  background: rgba(255,255,255,.06);
}
body.dark-mode .info-link { color: var(--accent); }
body.dark-mode .subscription-toggle-track {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.08);
}
body.dark-mode .subscription-toggle.on .subscription-toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}
body.dark-mode .subscription-toggle-thumb {
  background: #fff;
}
body.dark-mode .pick-card,
body.dark-mode .extra-row,
body.dark-mode .contact-suggestion-option {
  color: var(--text);
}
body.dark-mode .pick-card-name,
body.dark-mode .extra-name {
  color: var(--text);
}
body.dark-mode .pick-card-price,
body.dark-mode .extra-price,
body.dark-mode .booking-info-price,
body.dark-mode .booking-info-text {
  color: rgba(245,241,235,.74);
}
body.dark-mode .spinner {
  border-color: rgba(255,255,255,.08);
  border-top-color: var(--accent);
}
