:root {
  /* 90% Base background & surfaces */
  --bg-page: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-chip: #F2EDE7;
  --bg-highlight: #FDF3EF;

  /* 8% Typography & subtle borders */
  --text-primary: #1C1917;
  --text-secondary: #78716C;
  --border-subtle: rgba(28, 25, 23, 0.08);
  --border-strong: rgba(28, 25, 23, 0.16);

  /* 2% Accents & statuses */
  --accent-primary: #1C1917;
  --accent-brand: #B85D43;
  --accent-solopro-text: #15803D;
  --accent-solopro-bg: #DCFCE7;

  /* Geometry & elevation */
  --radius-card: 18px;
  --radius-sheet: 22px;
  --radius-btn: 12px;
  --radius-thumb: 10px;
  --shadow-sheet: 0 -8px 32px rgba(28, 25, 23, 0.12);
  --shadow-card: 0 2px 10px rgba(28, 25, 23, 0.03);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.has-modal {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

input,
textarea,
select {
  font-size: 16px; /* Prevents iOS Safari auto-zoom on focus */
}

button {
  cursor: pointer;
  color: inherit;
  border: none;
  background: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   Header (54px + safe-area)
   ========================================================= */
.hub-header {
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg-page);
}

.hub-header-inner {
  max-width: 900px;
  margin: 0 auto;
  height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-brand);
  flex-shrink: 0;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring), background-color 0.2s ease;
}

.city-pill:active {
  transform: scale(0.97);
}

.city-caret {
  font-size: 11px;
  color: var(--text-secondary);
}

.header-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s ease;
}

.header-apply-btn:hover {
  border-color: var(--text-primary);
}

.header-apply-btn:active {
  transform: scale(0.97);
}

/* =========================================================
   Sticky Search & Filters Panel
   ========================================================= */
.sticky-filters {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  padding-bottom: 10px;
  background: rgba(250, 248, 245, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.filters-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.07);
}

.search-icon {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 44px 0 38px;
  font-size: 16px;
  color: var(--text-primary);
  border-radius: var(--radius-btn);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear-btn {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
}

.search-clear-btn[hidden] {
  display: none;
}

.scroll-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -14px;
  padding: 2px 14px;
}

.scroll-strip[hidden] {
  display: none;
}

.scroll-strip::-webkit-scrollbar {
  display: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-brand);
  outline-offset: 2px;
}

.district-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-spring);
}

.district-chip::after {
  content: '';
  position: absolute;
  inset: -4px 0;
}

.district-chip.is-active {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.06);
}

.tag-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-spring);
}

.tag-chip::after {
  content: '';
  position: absolute;
  inset: -4px 0;
}

.tag-chip.is-active {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.tag-chip-lg {
  min-height: 44px;
  padding: 0 16px;
}

.tag-chip-more {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-secondary);
}

.tag-chip-x {
  font-size: 15px;
  line-height: 1;
  opacity: 0.82;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding-top: 2px;
}

.status-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.reset-filters-btn {
  min-height: 32px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-brand);
}

.reset-filters-btn[hidden] {
  display: none;
}

/* =========================================================
   Main Catalog Feed
   ========================================================= */
.hub-main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 14px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.masters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.master-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 11px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), border-color 0.2s ease, box-shadow 0.2s ease;
}

.master-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.06);
}

.master-card:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-chip);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.avatar-sm {
  width: 40px;
  height: 40px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-brand);
  letter-spacing: 0.02em;
}

.card-head-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.card-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.solopro-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-solopro-bg);
  color: var(--accent-solopro-text);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.solopro-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-solopro-text);
}

.match-all-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-highlight);
  color: var(--accent-brand);
  border: 1px solid rgba(184, 93, 67, 0.18);
  font-size: 12px;
  font-weight: 600;
}

.matched-service-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-thumb);
  background: var(--bg-highlight);
  border: 1px solid rgba(184, 93, 67, 0.24);
  color: var(--accent-brand);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.2s ease;
}

.matched-service-pill:hover {
  background: #FBE9E2;
}

.matched-service-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matched-service-price {
  flex-shrink: 0;
  color: var(--text-primary);
}

/* Concentric mini gallery: card radius 18px, padding 14px, balanced 10px photos */
.card-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.card-photo-btn {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-thumb);
  overflow: hidden;
  background: var(--bg-chip);
  display: block;
  width: 100%;
  transition: transform 0.2s var(--ease-spring);
}

.card-photo-btn:active {
  transform: scale(0.98);
}

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

.photo-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F2EDE7 0%, #FDF3EF 100%);
  color: var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.card-tag.is-active {
  background: var(--bg-highlight);
  color: var(--accent-brand);
  border: 1px solid rgba(184, 93, 67, 0.25);
  font-weight: 600;
}

.card-bio-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.card-bio {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-services-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* =========================================================
   Buttons (Tactile anatomy, >= 44px)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.22s var(--ease-spring), background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.btn-primary:hover:not(:disabled) {
  background: #2C2724;
}

.btn-accent-dark {
  background: #3A2E2A;
  color: #FFFFFF;
}

.btn-accent-dark:hover:not(:disabled) {
  background: var(--accent-primary);
}

.btn-secondary {
  background: var(--bg-chip);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover:not(:disabled) {
  background: #EAE2D9;
  border-color: var(--border-strong);
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* =========================================================
   Skeleton, Empty State, Bottom CTA & Footer
   ========================================================= */
.skeleton-card {
  height: 310px;
  border-radius: var(--radius-card);
  background: linear-gradient(90deg, #F2EDE7 25%, #FAF8F5 50%, #F2EDE7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.empty-state-card {
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.empty-state-card.is-launch {
  padding: 36px 22px;
  border-color: rgba(184, 93, 67, 0.2);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF9F6 100%);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--bg-highlight);
  border: 1px solid rgba(184, 93, 67, 0.16);
  color: var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.empty-state-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 28ch;
}

.empty-state-card p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 38ch;
  line-height: 1.5;
}

.empty-launch-btn {
  margin-top: 6px;
  min-height: 46px;
  padding: 11px 22px;
}

.bottom-master-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bottom-master-cta[hidden] {
  display: none;
}

.bottom-cta-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-brand);
  margin-bottom: 4px;
}

.bottom-cta-content h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.bottom-cta-content p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hub-footer {
  padding: 12px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.hub-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12.5px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.hub-footer a:hover {
  color: var(--text-primary);
}

/* =========================================================
   Bottom-Sheets & Seamless Booking Modal
   ========================================================= */
.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.booking-root {
  z-index: 75;
}

.sheet-root.is-open {
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.22s ease;
}

.sheet-panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 92dvh;
  background: var(--bg-surface);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  box-shadow: var(--shadow-sheet);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.28s var(--ease-spring);
}

.sheet-panel-booking {
  background: var(--bg-page);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(28px);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--border-strong);
  margin: 10px auto 2px;
  flex-shrink: 0;
}

.sheet-header {
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.sheet-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}

.sheet-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.icon-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg-chip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--text-primary);
  flex-shrink: 0;
}

.sheet-body {
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sheet-lead {
  font-size: 14px;
  color: var(--text-secondary);
}

.sheet-section-caption {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.sheet-sticky-footer {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* City Sheet */
.city-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-option {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
}

.city-option.is-selected {
  background: var(--bg-highlight);
  border-color: rgba(184, 93, 67, 0.35);
}

.city-option.is-disabled {
  opacity: 0.72;
}

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

.city-option-info strong {
  font-family: var(--font-display);
  font-size: 15.5px;
}

.city-option-info span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.city-check {
  font-weight: 700;
  color: var(--accent-brand);
}

.soon-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.city-soon-toast {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-highlight);
  color: var(--accent-brand);
  font-size: 13px;
}

.all-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Detail Sheet */
.detail-head-master {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.detail-head-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.detail-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.meta-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.detail-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.detail-gallery::-webkit-scrollbar {
  display: none;
}

.detail-photo-btn {
  width: 148px;
  height: 148px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-chip);
}

.detail-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.detail-section h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
}

.detail-tap-hint {
  font-size: 12px;
  color: var(--accent-brand);
  font-weight: 500;
}

.detail-bio {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-primary);
}

.detail-facts {
  background: var(--bg-page);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.detail-facts strong {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-services-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-service-row {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.detail-service-row.is-clickable:hover {
  border-color: var(--border-strong);
  background: #F7F3ED;
}

.detail-service-row.is-highlighted {
  background: var(--bg-highlight);
  border-color: rgba(184, 93, 67, 0.35);
}

.detail-service-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.detail-service-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.detail-service-dur {
  font-size: 12px;
  color: var(--text-secondary);
}

.detail-service-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.detail-contacts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 500;
}

.contact-chip:hover {
  border-color: var(--border-strong);
}

/* =========================================================
   Seamless Booking Modal & Application Form
   ========================================================= */
.booking-master-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.booking-master-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.booking-master-meta h3 {
  font-size: 16px;
}

.booking-loading {
  padding: 36px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2.5px solid var(--border-strong);
  border-top-color: var(--accent-primary);
  animation: spin 0.7s linear infinite;
}

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

.booking-form,
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-step-head h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.booking-step-head small {
  font-weight: 500;
  color: var(--text-secondary);
}

.booking-step-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-services-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.booking-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.booking-service-item.is-selected {
  background: var(--bg-highlight);
  border-color: rgba(184, 93, 67, 0.4);
}

.booking-service-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

.booking-service-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.booking-service-name {
  font-size: 14px;
  font-weight: 500;
}

.booking-service-dur {
  font-size: 12px;
  color: var(--text-secondary);
}

.booking-service-price {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.booking-days-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.booking-days-strip::-webkit-scrollbar {
  display: none;
}

.booking-day-chip {
  min-width: 72px;
  min-height: 52px;
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
}

.booking-day-chip.is-active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

.booking-day-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.day-top {
  font-size: 12px;
  font-weight: 600;
}

.day-bottom {
  font-size: 11.5px;
  opacity: 0.85;
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.booking-slot-btn {
  min-height: 44px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 600;
}

.booking-slot-btn.is-active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

.booking-slot-btn:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.booking-empty-slots {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.booking-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
}

.field-input:focus {
  border-color: var(--accent-primary);
}

.field-textarea {
  min-height: 68px;
  resize: vertical;
}

.booking-discount-pill {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--accent-solopro-bg);
  color: var(--accent-solopro-text);
  font-size: 13px;
  font-weight: 600;
}

.form-error {
  padding: 10px 12px;
  border-radius: 12px;
  background: #FEF2F2;
  border: 1px solid rgba(185, 28, 28, 0.25);
  color: #991B1B;
  font-size: 13.5px;
  font-weight: 500;
}

.booking-footer,
.apply-form .sheet-sticky-footer {
  position: sticky;
  bottom: -16px;
  margin: 0 -16px -16px;
  z-index: 5;
  justify-content: space-between;
}

.booking-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-total-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.booking-total-price {
  font-size: 16px;
}

.price-old {
  font-size: 13px;
  color: var(--text-secondary);
}

.booking-submit-btn {
  flex-shrink: 0;
  padding: 10px 22px;
}

.booking-success {
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.booking-success-badge {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--accent-solopro-bg);
  color: var(--accent-solopro-text);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-success-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.booking-success-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 40ch;
}

.booking-summary-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
}

.booking-summary-row span {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.booking-summary-row strong {
  text-align: right;
  font-weight: 600;
}

.booking-success-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Application Form Extras */
.sr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.apply-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.suggest-chip {
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.suggest-chip.is-active {
  background: var(--bg-highlight);
  border-color: rgba(184, 93, 67, 0.4);
  color: var(--accent-brand);
}

.apply-custom-svc-row {
  display: flex;
  gap: 8px;
}

.apply-custom-list {
  margin-top: 4px;
}

.apply-modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.apply-mode-card.is-selected {
  background: var(--bg-highlight);
  border-color: rgba(184, 93, 67, 0.45);
}

.apply-mode-card input[type='radio'] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

.apply-mode-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.apply-mode-card span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.apply-preview-box {
  width: 100%;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

/* =========================================================
   Fullscreen Lightbox
   ========================================================= */
.lightbox-root {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  display: none;
}

.lightbox-root.is-open {
  display: block;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.94);
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}

.lightbox-topbar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #FAF8F5;
}

.lightbox-counter {
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.lightbox-caption {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lightbox-media-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 24px;
  min-height: 0;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  user-select: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

/* =========================================================
   Responsive Breakpoints (Mobile <= 430 -> Tablet/Desktop >= 768)
   ========================================================= */
@media (max-width: 480px) {
  .booking-fields-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) {
  .hub-header-inner {
    padding: 0 24px;
  }

  .filters-inner {
    max-width: 900px;
    padding: 0 24px;
  }

  .search-box {
    max-width: 560px;
  }

  .scroll-strip {
    margin: 0;
    padding: 2px 0;
  }

  .tags-strip {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .card-name {
    font-size: 16px;
  }

  .hub-main {
    padding: 20px 24px 36px;
  }

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

  .bottom-master-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 26px;
  }

  .bottom-cta-btn {
    flex-shrink: 0;
  }

  .sheet-root {
    align-items: center;
    padding: 24px;
  }

  .sheet-panel {
    border-radius: var(--radius-sheet);
    max-height: 86dvh;
  }

  .sheet-handle {
    display: none;
  }
}
