:root {
  /* Palette: Warm Editorial Studio */
  --bg-page: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-chip: #F2EDE7;
  --bg-chip-hover: #E9E2D9;
  --bg-highlight: #FDF3EF;
  --bg-subtle: #F6F2EC;

  --text-primary: #1C1917;
  --text-secondary: #6E6762;
  --text-muted: #9C948D;
  --border-subtle: rgba(28, 25, 23, 0.08);
  --border-strong: rgba(28, 25, 23, 0.16);

  /* Accents */
  --accent-primary: #1C1917;
  --accent-brand: #B85D43;
  --accent-brand-soft: rgba(184, 93, 67, 0.12);
  --accent-solopro-text: #15803D;
  --accent-solopro-bg: #DCFCE7;

  /* Geometry & Elevation */
  --radius-card: 20px;
  --radius-sheet: 24px;
  --radius-btn: 12px;
  --radius-thumb: 10px;
  --shadow-card: 0 2px 12px rgba(28, 25, 23, 0.04);
  --shadow-card-hover: 0 10px 28px rgba(28, 25, 23, 0.08);
  --shadow-sheet: 0 -10px 36px rgba(28, 25, 23, 0.14);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --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;
}

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

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

[hidden] {
  display: none !important;
}

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

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.app-shell > * {
  min-width: 0;
  max-width: 100%;
}

/* =========================================================
   Header
========================================================= */
.hub-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.hub-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

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

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-brand);
  box-shadow: 0 0 0 3px var(--accent-brand-soft);
  flex-shrink: 0;
}

.brand-tld {
  color: var(--text-secondary);
  font-weight: 700;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 140px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

#city-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-pill:hover {
  border-color: var(--border-strong);
}

.city-caret {
  font-size: 10px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.header-apply-btn {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.16s ease, opacity 0.2s ease;
}

.header-apply-btn:hover {
  opacity: 0.92;
}

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

/* =========================================================
   Sticky Search & Catalog Filters
========================================================= */
.sticky-controls {
  position: sticky;
  top: calc(52px + env(safe-area-inset-top, 0px));
  z-index: 35;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.sticky-controls.is-catalog-active {
  border-bottom-color: var(--border-subtle);
}

.controls-inner {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-chip);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 0.18s ease;
}

.back-categories-btn:hover {
  background: var(--bg-chip-hover);
}

.catalog-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--text-primary);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

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

.search-input {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 42px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 14px;
}

.search-input:focus {
  border-color: var(--accent-brand);
  box-shadow: 0 0 0 3px var(--accent-brand-soft);
}

/* Remove default browser search cancel button */
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-chip);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.scroll-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

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

.filter-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg-chip);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  background: var(--bg-chip-hover);
}

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

.filter-pill.is-sub.is-active {
  background: var(--accent-brand);
  color: #FFFFFF;
}

.pill-check {
  font-size: 11px;
  font-weight: 700;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
}

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

.reset-filters-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-brand);
}

/* =========================================================
   Main Content & Home (4 Categories)
========================================================= */
.hub-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.home-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-brand);
}

.home-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.home-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 560px;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 186px;
  padding: 18px;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: left;
  background-color: #292524;
  box-shadow: var(--shadow-card);
  transition: transform 0.26s var(--ease-spring), box-shadow 0.26s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.category-card:active {
  transform: scale(0.985);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.category-card:hover .category-card-bg {
  transform: scale(1.04);
}

.category-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.14) 0%,
    rgba(28, 25, 23, 0.45) 48%,
    rgba(28, 25, 23, 0.88) 100%
  );
}

.category-card-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover .category-card-arrow {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(2px);
}

.category-card-desc {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.category-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.category-mini-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

/* =========================================================
   Catalog View & Master Cards
========================================================= */
.masters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.master-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}

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

.master-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-chip);
  flex-shrink: 0;
}

.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-chip);
  color: var(--text-secondary);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  border: 1px solid var(--border-subtle, rgba(28, 25, 23, 0.08));
}

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

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

.badge-solopro {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-solopro-bg);
  color: var(--accent-solopro-text);
  font-size: 11px;
  font-weight: 700;
}

.badge-demo {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-highlight);
  color: var(--accent-brand);
  font-size: 11px;
  font-weight: 700;
}

.master-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.master-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.master-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-thumb);
  object-fit: cover;
  background: var(--bg-chip);
}

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

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

.tag-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-chip);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.tag-chip.is-matched {
  background: var(--accent-brand-soft);
  color: var(--accent-brand);
  font-weight: 600;
}

.matched-service-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg-highlight);
  border: 1px solid rgba(184, 93, 67, 0.22);
  font-size: 13px;
}

.matched-service-name {
  font-weight: 600;
  color: var(--text-primary);
}

.matched-service-name mark,
.service-name mark {
  background: rgba(184, 93, 67, 0.2);
  color: inherit;
  padding: 0 3px;
  border-radius: 4px;
}

.matched-service-price {
  font-weight: 700;
  color: var(--accent-brand);
  white-space: nowrap;
}

.master-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.master-price-from {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.master-open-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-brand);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  padding: 36px 22px;
  border-radius: var(--radius-card);
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--bg-chip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 440px;
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.16s ease, background-color 0.18s ease, opacity 0.18s ease;
}

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

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

.btn-primary:hover {
  opacity: 0.92;
}

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

.btn-brand:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: var(--bg-chip);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-chip-hover);
}

.btn-outline {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

.btn.is-hook-pending {
  opacity: 0.85;
  cursor: default;
}

/* =========================================================
   Bottom CTA & Footer
========================================================= */
.bottom-master-cta {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bottom-cta-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bottom-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-brand);
}

.bottom-cta-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

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

.hub-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Bottom Sheets & Modals
========================================================= */
.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

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

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.48);
  backdrop-filter: blur(4px);
}

.sheet-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  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;
  transform: translateY(24px);
  transition: transform 0.28s var(--ease-spring);
}

.sheet-root.is-open .sheet-panel {
  transform: translateY(0);
}

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

.sheet-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sheet-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-chip);
  color: var(--text-primary);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sheet-body {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sheet-footer {
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

/* Master Quick-View Content */
.modal-master-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-master-avatar {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.modal-master-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.modal-photo-btn {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-chip);
}

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

.modal-section-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.services-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.is-highlighted {
  background: var(--bg-highlight);
}

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

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

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

.service-price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* Exactly 3 action buttons */
.modal-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-actions-grid .btn-book-main {
  grid-column: 1 / -1;
}

/* Location Picker */
.country-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

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

.city-option.is-selected {
  border-color: var(--accent-brand);
  background: var(--bg-highlight);
}

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

.city-option-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Onboard Modal */
.onboard-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboard-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-subtle);
}

.onboard-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onboard-step-text {
  font-size: 14px;
  color: var(--text-primary);
}

.onboard-free-badge {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-solopro-bg);
  color: var(--accent-solopro-text);
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   Lightbox
========================================================= */
.lightbox-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 16, 15, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

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

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 78dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78dvh;
  border-radius: 12px;
  object-fit: contain;
}

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

.lightbox-nav.prev {
  left: 8px;
}

.lightbox-nav.next {
  right: 8px;
}

/* =========================================================
   Responsive Desktop Breakpoints
========================================================= */
@media (min-width: 640px) {
  .hub-header-inner {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
    gap: 10px;
  }

  .header-left {
    gap: 10px;
  }

  .brand-logo {
    font-size: 17px;
    gap: 8px;
  }

  .brand-dot {
    width: 9px;
    height: 9px;
  }

  .city-pill {
    padding: 6px 11px;
    font-size: 13px;
    gap: 5px;
    max-width: none;
  }

  .header-apply-btn {
    padding: 8px 13px;
    font-size: 13px;
  }

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

  .category-card {
    min-height: 230px;
    padding: 22px;
  }

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

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

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

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

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

@media (min-width: 960px) {
  .scroll-strip {
    flex-wrap: wrap;
    overflow-x: visible;
  }

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