:root {
  --ink: #151225;
  --ink-2: #3a3450;
  --muted: #6b6584;
  --line: #ece7f5;
  --line-2: #f3efff;
  --sand: #fbf7f1;
  --sand-2: #f5efe4;
  --surface: #ffffff;
  --primary: #6366F1;
  --primary-deep: #5822C8;
  --coral: #FF6B8A;
  --coral-2: #ff9a6b;
  --teal: #14B8A6;
  --yellow: #F5B800;
  --violet: #8b5cf6;
  --ok: #0ea572;
  --warn: #e8a43a;
  --err: #e04668;

  --grad-hero: linear-gradient(135deg, #6366F1 0%, #8b5cf6 45%, #c25bd6 75%, #ff6b8a 100%);
  --grad-card: linear-gradient(135deg, #6366F1 0%, #5822C8 100%);
  --grad-coral: linear-gradient(135deg, #ff6b8a 0%, #ff9a6b 100%);
  --grad-teal: linear-gradient(135deg, #14B8A6 0%, #3b82f6 100%);

  --shadow-sm: 0 1px 2px rgba(21, 18, 37, 0.04), 0 1px 3px rgba(21, 18, 37, 0.03);
  --shadow-md: 0 4px 12px rgba(21, 18, 37, 0.06), 0 1px 3px rgba(21, 18, 37, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(88, 34, 200, 0.14), 0 4px 12px rgba(21, 18, 37, 0.05);
  --shadow-xl: 0 30px 60px -15px rgba(88, 34, 200, 0.28);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--sand);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', 'Times New Roman', serif; letter-spacing: -0.02em; }
.mono { font-family: 'JJT Mono', 'JetBrains Mono', ui-monospace, monospace; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ========== APP SHELL ========== */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.brand .b1 { color: var(--ink); }
.brand .b2 { color: var(--yellow); }

.navlinks {
  display: flex;
  gap: 4px;
  flex: 1;
}
.navlink {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all .15s;
}
.navlink:hover { background: rgba(99, 102, 241, 0.07); color: var(--primary-deep); }
.navlink.active { background: var(--ink); color: #fff; }
.navlink .ico { width: 16px; height: 16px; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: all .15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn .dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  border: 2px solid #fff;
}
.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.avatar-btn svg { display: block; }

/* ========== CONTAINERS ========== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.container-narrow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  transition: all .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn-brand {
  background: var(--grad-card);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(88, 34, 200, 0.5);
}
.btn-brand:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(88, 34, 200, 0.6); }
.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover { background: #e8526f; }
.btn-outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost {
  color: var(--ink-2);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ========== CARDS & UTILITY ========== */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.card-soft {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--sand-2);
  color: var(--ink-2);
}
.badge-verified { background: rgba(20, 184, 166, 0.12); color: #0b7564; }
.badge-coral { background: rgba(255, 107, 138, 0.12); color: #c43a5c; }
.badge-indigo { background: rgba(99, 102, 241, 0.13); color: var(--primary-deep); }
.badge-yellow { background: rgba(245, 184, 0, 0.18); color: #8a6700; }
.badge-ok { background: rgba(14, 165, 114, 0.13); color: #087048; }
.badge-warn { background: rgba(232, 164, 58, 0.16); color: #916016; }
.badge-err { background: rgba(224, 70, 104, 0.13); color: #a52341; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.divider { height: 1px; background: var(--line); width: 100%; }

/* ========== LANDING ========== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: var(--sand);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 84px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 500;
}
.hero h1 .accent {
  font-style: italic;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-meta .stat .n {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-meta .stat .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
}
.hero-blob {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  border-radius: 56% 44% 52% 48% / 48% 52% 48% 52%;
  filter: blur(0px);
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 56% 44% 52% 48% / 48% 52% 48% 52%; }
  50% { border-radius: 44% 56% 48% 52% / 52% 48% 52% 48%; }
}
.hero-card-float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-card-1 {
  top: 8%; left: 0;
  width: 240px;
  max-width: 60%;
  animation: float1 7s ease-in-out infinite;
}
.hero-card-2 {
  bottom: 18%; right: 0;
  width: 260px;
  max-width: 64%;
  animation: float2 8s ease-in-out infinite;
}
.hero-card-3 {
  bottom: 0; left: 8%;
  width: 220px;
  max-width: 56%;
  animation: float1 9s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-logo-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1;
  border-radius: 26%;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(88, 34, 200, 0.5);
}
.hero-logo-center img { width: 100%; height: 100%; display: block; }

/* Hero placeholder avatar */
.placeholder-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--grad-coral);
  position: relative;
}
.placeholder-av.teal { background: var(--grad-teal); }
.placeholder-av.violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

/* Services strip */
.services-strip {
  padding: 40px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.ticker {
  display: flex;
  gap: 60px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.ticker span {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker span::after {
  content: '✻';
  color: var(--coral);
  font-style: normal;
  font-size: 18px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Feature 3-up */
.section { padding: 80px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
}
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  font-weight: 500;
  max-width: 780px;
}
.section-head h2 .i { font-style: italic; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-card .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  font-weight: 500;
}
.feature-card p {
  color: var(--ink-2);
  margin: 0 0 20px;
  font-size: 14px;
}
.feature-card .viz {
  height: 160px;
  border-radius: var(--r);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

/* Services grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.svc-tile {
  aspect-ratio: 1;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  transition: all .15s;
  cursor: pointer;
}
.svc-tile:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.svc-tile .g {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
}

/* Footer */
.footer {
  background: var(--ink);
  color: #d5d0e8;
  padding: 72px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; font-size: 13.5px; }
.footer li:hover { color: #fff; cursor: pointer; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #8c87a3;
}
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 56px;
}

/* ========== EXPLORE ========== */
.explore-head {
  padding: 32px 0 20px;
}
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 780px;
  gap: 0;
}
.search-cell {
  padding: 10px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.search-cell:last-of-type { border-right: none; }
.search-cell label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-cell input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 0;
  font-weight: 500;
}
.search-cell input::placeholder { color: var(--muted); }
.search-submit {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-left: 6px;
}
.search-submit:hover { background: var(--primary-deep); }

.filters-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 0;
  align-items: center;
}
.view-toggle {
  margin-left: auto;
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.view-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.view-toggle button.active { background: var(--ink); color: #fff; }

.explore-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 60px;
  min-height: 780px;
}

.provider-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.provider-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .2s;
  cursor: pointer;
}
.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.provider-cover {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.provider-cover .fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
.provider-cover .fav:hover { background: #fff; }
.provider-cover .price-pill {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(21, 18, 37, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.provider-body {
  padding: 14px 16px 16px;
}
.provider-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.provider-name .n {
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.provider-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.provider-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
}
.provider-services {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Map */
.map-wrap {
  position: sticky;
  top: 84px;
  height: calc(100vh - 140px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef4;
}
.map-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 40%, #d4e4f2 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, #dde8d4 0%, transparent 50%),
    #e8eef4;
}
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 2;
}
.map-pin .p {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.map-pin:hover .p { background: var(--ink); color: #fff; }
.map-pin.active .p { background: var(--primary); color: #fff; border-color: var(--primary); }
.map-pin::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink);
  margin: 0 auto;
}

/* ========== PROVIDER PROFILE ========== */
.profile-cover {
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  margin: 0 -28px;
}
.profile-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(21, 18, 37, 0.4));
}
.profile-head {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: end;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}
.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--grad-coral);
}
.profile-info { padding-bottom: 12px; }
.profile-info h1 {
  font-family: 'Fraunces', serif;
  font-size: 46px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.profile-info .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.profile-info .meta span { display: inline-flex; align-items: center; gap: 5px; }
.profile-cta { display: flex; gap: 8px; padding-bottom: 12px; }

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: 16px 0 28px;
}
.profile-tabs button {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.profile-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding-bottom: 80px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.portfolio-tile {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}
.portfolio-tile:hover { transform: scale(1.02); }

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.service-row:last-child { border-bottom: none; }
.service-row h4 { margin: 0; font-size: 15px; font-weight: 600; }
.service-row .d { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.service-row .p { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }

.review-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.review-card:last-child { border-bottom: none; }
.review-head { display: flex; gap: 12px; align-items: center; }
.review-head .n { font-weight: 600; font-size: 13.5px; }
.review-head .d { color: var(--muted); font-size: 11.5px; }
.review-stars { display: flex; gap: 2px; color: var(--yellow); margin-top: 4px; }
.review-body { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

.booking-rail {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  align-self: start;
}
.booking-rail h3 { margin: 0 0 4px; font-size: 18px; }
.booking-rail .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }

/* ========== BOOKINGS LIST ========== */
.page-head {
  padding: 36px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.page-head h1 {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  font-weight: 500;
}
.page-head h1 .i { font-style: italic; color: var(--primary-deep); }

.status-filters {
  display: flex;
  gap: 6px;
  padding: 12px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.status-filters button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-filters button:hover { color: var(--ink); }
.status-filters button.active { background: var(--ink); color: #fff; }
.status-filters button .c {
  background: rgba(255,255,255,0.15);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
}
.status-filters button:not(.active) .c { background: var(--line); color: var(--ink-2); }

.booking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 12px;
  transition: all .15s;
}
.booking-card:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.booking-card .date-block {
  width: 68px;
  text-align: center;
  background: var(--sand-2);
  border-radius: var(--r);
  padding: 10px;
}
.booking-card .date-block .m {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking-card .date-block .d {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  margin-top: 3px;
}
.booking-card .info .svc { font-weight: 600; font-size: 15px; }
.booking-card .info .prov { color: var(--muted); font-size: 12.5px; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.booking-card .info .prov .av {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-coral);
}
.booking-card .info .time { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 10px; }
.booking-card .price {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bookings-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  padding-bottom: 80px;
}

/* Mini calendar */
.mini-cal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  position: sticky;
  top: 100px;
}
.mini-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mini-cal-head h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin: 0;
  font-weight: 500;
}
.cal-nav { display: flex; gap: 4px; }
.cal-nav button {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
}
.cal-nav button:hover { background: var(--line); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.cal-cell.dow { font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; cursor: default; }
.cal-cell:not(.dow):hover { background: var(--sand-2); }
.cal-cell.today { background: var(--ink); color: #fff; }
.cal-cell.has-event::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--coral);
}
.cal-cell.today.has-event::after { background: #fff; }
.cal-cell.dim { color: var(--line); }

/* ========== MESSAGES ========== */
.msg-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  height: calc(100vh - 160px);
  margin-bottom: 40px;
}
.conv-list {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.conv-list-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.conv-list-head input {
  width: 100%;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  outline: none;
  font-size: 13px;
}
.conv-item {
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all .15s;
  position: relative;
}
.conv-item:hover { background: var(--sand); }
.conv-item.active { background: var(--sand); border-left-color: var(--ink); }
.conv-item .av {
  width: 44px; height: 44px; border-radius: 50%;
  flex-shrink: 0;
}
.conv-body { flex: 1; min-width: 0; }
.conv-body .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.conv-body .n { font-weight: 600; font-size: 13.5px; }
.conv-body .t { font-size: 11px; color: var(--muted); }
.conv-body .last {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conv-body .last.unread { color: var(--ink); font-weight: 500; }
.conv-item .unread-dot {
  position: absolute;
  top: 18px; right: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.chat-pane { display: flex; flex-direction: column; }
.chat-head {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-head .n { font-weight: 600; font-size: 14.5px; }
.chat-head .s { font-size: 11.5px; color: var(--teal); display: flex; align-items: center; gap: 5px; }
.chat-head .s::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.chat-head .actions { margin-left: auto; display: flex; gap: 4px; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-day {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}
.msg-bubble {
  max-width: 68%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 2px;
}
.msg-in {
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  border: 1px solid var(--line);
}
.msg-out {
  background: var(--grad-card);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.msg-time {
  font-size: 10.5px;
  color: var(--muted);
  margin: 2px 4px 8px;
}
.msg-time.out { align-self: flex-end; }
.msg-img {
  max-width: 260px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  align-self: flex-end;
}
.typing {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 18px;
  align-self: flex-start;
  display: flex;
  gap: 4px;
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.3s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-input {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-input input {
  flex: 1;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  outline: none;
  font-size: 13.5px;
}
.chat-input input:focus { border-color: var(--primary); background: #fff; }

/* ========== MARKETPLACE ========== */
.market-hero {
  padding: 36px 0 28px;
}
.market-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.market-head h1 {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  font-weight: 500;
}

.market-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}
.market-tabs button {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.market-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: 60px;
}
.product-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-image {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.product-image .sale {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--coral);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.product-image .qadd {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(10px);
  opacity: 0;
  transition: all .2s;
}
.product-card:hover .qadd { transform: translateY(0); opacity: 1; }
.product-image .qadd:hover { background: var(--primary-deep); }
.product-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body .seller { font-size: 11px; color: var(--muted); font-weight: 500; }
.product-body h4 { margin: 4px 0 8px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.product-prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.product-prices .p {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.product-prices .c {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: line-through;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 420px;
  background: #fff;
  box-shadow: -20px 0 60px -20px rgba(21,18,37,0.2);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21,18,37,0.4);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-head {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cart-body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item .img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.cart-item .n { font-size: 13.5px; font-weight: 500; }
.cart-item .s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cart-item .qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.qty-btn:hover { background: var(--line); }
.cart-item .p {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
}
.cart-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--sand);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13.5px;
}
.cart-line.total {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  padding: 12px 0 16px;
  letter-spacing: -0.01em;
}

/* ========== DASHBOARDS (SELLER / ADMIN) ========== */
.dash-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0 60px;
}
.side-nav {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 10px;
  position: sticky;
  top: 100px;
  align-self: start;
  border: 1px solid var(--line);
}
.side-nav-label {
  padding: 14px 16px 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.side-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .12s;
}
.side-nav-item:hover { background: var(--sand); }
.side-nav-item.active { background: var(--ink); color: #fff; }
.side-nav-item .c {
  margin-left: auto;
  font-size: 11px;
  background: rgba(255,255,255,0.18);
  padding: 1px 7px;
  border-radius: 999px;
}
.side-nav-item:not(.active) .c { background: var(--coral); color: #fff; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stat-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 20px;
  border: 1px solid var(--line);
}
.stat-card .lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.stat-card .val {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1;
}
.stat-card .delta {
  font-size: 11.5px;
  margin-top: 8px;
  font-weight: 600;
}
.stat-card .delta.up { color: var(--ok); }
.stat-card .delta.down { color: var(--err); }

.balance-card {
  background: var(--grad-card);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.balance-card::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.balance-card::after {
  content: '';
  position: absolute;
  right: 40px; bottom: -60px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.balance-card .eyebrow { color: rgba(255,255,255,0.8); }
.balance-card .big {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 12px 0 4px;
  line-height: 1;
}
.balance-card .sub { font-size: 13px; color: rgba(255,255,255,0.75); }
.balance-card .actions { margin-top: 20px; display: flex; gap: 8px; }
.balance-card .btn-w { background: #fff; color: var(--ink); }
.balance-card .btn-g { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.chart-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.chart-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 500;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 14px 12px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.table tr:hover td { background: var(--sand); }
.table .user-cell { display: flex; align-items: center; gap: 10px; }
.table .user-cell .av { width: 32px; height: 32px; border-radius: 50%; }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21,18,37,0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  padding: 40px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-head {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.modal-head .close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
}
.modal-body { padding: 16px 28px 28px; }

.step-dots {
  display: flex;
  gap: 6px;
  padding: 0 28px 16px;
}
.step-dots .d {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  transition: background .2s;
}
.step-dots .d.done { background: var(--primary); }
.step-dots .d.active { background: var(--ink); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.time-slot {
  padding: 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all .12s;
}
.time-slot:hover { border-color: var(--ink); }
.time-slot.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.time-slot:disabled { opacity: 0.35; cursor: not-allowed; }

.date-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.date-picker .dp {
  aspect-ratio: 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: var(--sand);
}
.date-picker .dp:hover:not(.disabled):not(.selected) { background: var(--line); }
.date-picker .dp.selected { background: var(--ink); color: #fff; }
.date-picker .dp.disabled { opacity: 0.3; cursor: not-allowed; }
.date-picker .dp.dow { background: transparent; font-size: 10px; color: var(--muted); cursor: default; font-weight: 700; text-transform: uppercase; }

.book-summary {
  background: var(--sand);
  border-radius: var(--r);
  padding: 16px;
  margin-top: 20px;
}
.book-summary .r {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13.5px;
}
.book-summary .r.tot {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

/* ========== WIZARD ========== */
.wizard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
  max-width: 1080px;
  margin: 0 auto;
}
.wiz-steps { position: sticky; top: 100px; align-self: start; }
.wiz-step {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .15s;
}
.wiz-step:hover { background: #fff; }
.wiz-step.active { background: #fff; box-shadow: var(--shadow-sm); }
.wiz-step .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sand-2);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--muted);
}
.wiz-step.done .n { background: var(--ok); color: #fff; }
.wiz-step.active .n { background: var(--ink); color: #fff; }
.wiz-step .label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.wiz-step .sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.wiz-panel {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 40px;
}
.wiz-panel h2 {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 500;
}
.wiz-panel h2 .i { font-style: italic; }
.wiz-panel .lead { color: var(--ink-2); font-size: 15px; margin-bottom: 28px; }

/* Portfolio drop zone */
.drop-zone {
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  background: var(--sand);
  transition: all .15s;
}
.drop-zone:hover { border-color: var(--primary); background: #fff; }
.drop-zone .big {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.upload-tile {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.upload-tile .rm {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  background: rgba(21,18,37,0.75);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* Availability */
.avail-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.avail-row .day { font-weight: 600; font-size: 13.5px; }
.avail-row .hours { color: var(--muted); font-size: 13px; }
.toggle {
  width: 40px; height: 22px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  transition: background .15s;
  cursor: pointer;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.toggle.on { background: var(--ink); }
.toggle.on::after { transform: translateX(18px); }

/* ========== PRODUCT DETAIL ========== */
.pd-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 28px 0 60px;
}
.pd-gallery { display: flex; flex-direction: column; gap: 10px; }
.pd-main {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
.pd-thumb.active { border-color: var(--ink); }

.pd-info { padding-top: 20px; }
.pd-info h1 {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  font-weight: 500;
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 16px 0 24px;
}
.pd-price .p {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.pd-price .c { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.pd-price .s { background: var(--coral); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }

/* ========== PLACEHOLDER IMAGERY ========== */
.ph {
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image: linear-gradient(
    -45deg,
    rgba(0,0,0,0.04) 25%,
    transparent 25%,
    transparent 50%,
    rgba(0,0,0,0.04) 50%,
    rgba(0,0,0,0.04) 75%,
    transparent 75%,
    transparent
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px;
  position: relative;
}
.ph.coral { background-color: #ffd7cf; }
.ph.peach { background-color: #ffe2c9; }
.ph.sand { background-color: #f0e4d0; }
.ph.lav { background-color: #e2d8f4; }
.ph.mint { background-color: #cfeae0; }
.ph.blush { background-color: #f5d3dc; }
.ph.indigo { background-color: #d4d5f5; color: rgba(0,0,0,0.55); }
.ph.teal { background-color: #c2e5e0; }
.ph.rose { background-color: #ecc8d6; }
.ph.dark { background-color: #2a2440; color: rgba(255,255,255,0.5); }
.ph.dark.coral { background-color: #4a2640; }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d9d3e8; border-radius: 999px; border: 2px solid var(--sand); }
::-webkit-scrollbar-track { background: var(--sand); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .ico { color: var(--teal); }

/* Tweaks panel */
.tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px 18px;
  z-index: 150;
  border: 1px solid var(--line);
  display: none;
}
.tweaks.open { display: block; }
.tweaks h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin: 0 0 4px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tweaks .sub { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.tweaks .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 10px;
}
.tweaks .lbl { font-size: 12.5px; font-weight: 500; }
.tweak-swatches { display: flex; gap: 6px; }
.tweak-sw {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.tweak-sw.active { box-shadow: 0 0 0 2px var(--ink); }

/* Confetti */
.confetti {
  position: fixed;
  width: 8px;
  height: 12px;
  pointer-events: none;
  z-index: 300;
}

/* Entrance animations */
.fade-in { animation: fadeIn .35s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ========== MOBILE PHONE FRAME ========== */
.phone-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 20px 80px;
  background: var(--sand);
}
.phone {
  width: 390px;
  height: 844px;
  border-radius: 54px;
  background: #1a1626;
  padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(88, 34, 200, 0.35), 0 0 0 2px #2a2440;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--sand);
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 32px;
  background: #1a1626;
  border-radius: 20px;
  z-index: 10;
}
.phone-status {
  padding: 12px 28px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.phone-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 80px;
}
.mob-nav {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  height: 76px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-radius: 0 0 42px 42px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px 16px;
}
.mob-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.mob-tab.active { color: var(--ink); }
.mob-tab.active::before {
  content: '';
  position: absolute;
  top: 4px;
  width: 28px; height: 3px;
  background: var(--primary);
  border-radius: 999px;
}
.mob-tab .ico-wrap {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
}

/* Mobile page content */
.mob-page { padding: 8px 18px 20px; }
.mob-page h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0 16px;
  font-weight: 500;
}
.mob-greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 12px;
}
.mob-greet .nm { font-size: 11px; color: var(--muted); }
.mob-greet .hi { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; }
.mob-search {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.mob-cat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -18px 18px;
  padding-left: 18px;
  padding-right: 18px;
}
.mob-cat-row::-webkit-scrollbar { display: none; }
.mob-cat-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.mob-cat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.mob-provider-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.mob-provider-cover { aspect-ratio: 5/3; position: relative; }
.mob-provider-body { padding: 12px 14px 14px; }

/* ========== CHECKOUT ========== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 32px 0 80px;
}
.checkout-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.checkout-step {
  flex: 1;
  padding: 12px 0;
  border-bottom: 2px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-step .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sand-2);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.checkout-step.active { color: var(--ink); border-bottom-color: var(--ink); }
.checkout-step.active .n { background: var(--ink); color: #fff; }
.checkout-step.done { color: var(--ok); border-bottom-color: var(--ok); }
.checkout-step.done .n { background: var(--ok); color: #fff; }

.checkout-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 32px;
}
.checkout-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.address-option {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.address-option.active { border-color: var(--ink); background: var(--sand); }
.address-option .radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  margin-top: 2px;
}
.address-option.active .radio {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 3px #fff;
}

/* ========== ORDER TRACKING ========== */
.track-steps {
  position: relative;
  padding: 20px 0;
}
.track-steps::before {
  content: '';
  position: absolute;
  left: 20px; top: 40px; bottom: 40px;
  width: 2px;
  background: var(--line);
}
.track-step {
  position: relative;
  padding: 14px 0 14px 56px;
}
.track-step .dot {
  position: absolute;
  left: 12px; top: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  z-index: 2;
}
.track-step.done .dot {
  background: var(--ok);
  border-color: var(--ok);
}
.track-step.done .dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.track-step.active .dot {
  background: var(--ink);
  border-color: var(--ink);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,18,37,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(21,18,37,0); }
}
.track-step .t { font-weight: 600; font-size: 14px; }
.track-step .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.track-step.done .t { color: var(--ok); }

/* ========== AUTH ========== */
.auth-layout {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.auth-side h1 {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 14px;
  font-weight: 500;
}
.auth-visual {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.auth-visual::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
}

.otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}
.otp-cell {
  width: 52px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid var(--line);
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  outline: none;
  background: #fff;
}
.otp-cell:focus { border-color: var(--ink); }
.otp-cell.filled { background: var(--sand); border-color: var(--ink); }

/* ========== SELLER PRODUCT EDITOR ========== */
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  padding: 28px 0 80px;
}
.editor-main {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 32px;
}
.editor-main h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 28px 0 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.editor-main h3:first-child { margin-top: 0; }
.editor-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.editor-preview {
  position: sticky;
  top: 100px;
  align-self: start;
}
.preview-frame {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow-md);
}
.preview-frame .lab {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 64px; }
  .feature-grid, .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .explore-layout { grid-template-columns: 1fr; }
  .map-wrap { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid, .bookings-split, .dash-grid, .wizard, .pd-layout { grid-template-columns: 1fr; }
}


/* ============================================================
   NEW PAGE STYLES — appended for auth, checkout, tracking, mobile,
   editor, public booking, embed, qr, gift cards, referral, city,
   analytics, pricing
   ============================================================ */

/* ---------- AUTH / LOGIN ---------- */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.auth-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
  background: var(--surface);
}
.auth-side .auth-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 16px;
}
.auth-side h1 {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.auth-side h1 .i { font-style: italic; color: var(--primary-deep); }
.auth-side .sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 420px;
}
.auth-form { max-width: 420px; width: 100%; }
.auth-form .field { margin-bottom: 14px; }
.auth-form .divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-form .divider-or::before,
.auth-form .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.auth-social .btn {
  justify-content: center;
}
.auth-visual {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-deep) 55%, #2d1167 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: #fff;
}
.auth-visual::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 0%, transparent 65%);
  top: -120px; right: -140px;
  opacity: 0.65;
  filter: blur(8px);
}
.auth-visual::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 65%);
  bottom: -100px; left: -80px;
  opacity: 0.5;
  filter: blur(8px);
}
.auth-visual .inner {
  position: relative;
  z-index: 1;
  max-width: 460px;
}
.auth-visual .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 18px;
}
.auth-visual h2 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1;
  font-weight: 400;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.auth-visual h2 em { font-style: italic; }
.auth-visual p { opacity: 0.85; font-size: 16px; line-height: 1.6; max-width: 380px; }
.auth-visual .stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.auth-visual .stats .n {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 500;
  display: block;
}
.auth-visual .stats .l {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* OTP cells */
.otp-row {
  display: flex;
  gap: 10px;
  margin: 20px 0 24px;
}
.otp-cell {
  flex: 1;
  aspect-ratio: 1;
  max-width: 58px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--sand);
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  color: var(--ink);
  transition: all 0.15s;
}
.otp-cell:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.18);
}
.otp-cell.filled {
  border-color: var(--primary-deep);
  background: #fff;
}

/* ---------- CHECKOUT ---------- */
.checkout-steps {
  display: flex;
  gap: 4px;
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  overflow-x: auto;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
}
.checkout-step .n {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.checkout-step.active {
  background: var(--sand);
  color: var(--ink);
}
.checkout-step.active .n {
  background: var(--primary-deep);
  color: #fff;
}
.checkout-step.done { color: var(--ink-2); }
.checkout-step.done .n {
  background: var(--ok);
  color: #fff;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
}
.checkout-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.checkout-card h2 + p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}
.address-option {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.15s;
  align-items: flex-start;
}
.address-option:hover { border-color: var(--primary); background: var(--sand); }
.address-option.active {
  border-color: var(--primary-deep);
  background: color-mix(in oklch, var(--primary) 6%, transparent);
}
.address-option .radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.address-option.active .radio {
  border-color: var(--primary-deep);
}
.address-option.active .radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--primary-deep);
  border-radius: 50%;
}

/* ---------- ORDER TRACKING ---------- */
.track-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0 48px;
  position: relative;
}
.track-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.track-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.track-step .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--muted);
  transition: all 0.3s;
}
.track-step.done .dot {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.track-step.current .dot {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--primary) 22%, transparent);
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--primary) 45%, transparent); }
  70% { box-shadow: 0 0 0 14px color-mix(in oklch, var(--primary) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--primary) 0%, transparent); }
}
.track-step .lab {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.track-step .t {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}
.track-step.pending .lab { color: var(--muted); font-weight: 500; }

/* ---------- PRODUCT EDITOR ---------- */
.editor-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}
.editor-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
}
.editor-main h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.editor-main h2:not(:first-child) { margin-top: 32px; }
.editor-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.editor-preview {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.editor-preview .eyebrow { margin-bottom: 14px; }
.preview-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
}

/* ---------- MOBILE PREVIEW ---------- */
.phone-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in oklch, var(--primary) 10%, transparent), transparent 50%),
    radial-gradient(circle at 75% 80%, color-mix(in oklch, var(--coral) 12%, transparent), transparent 50%),
    var(--sand);
}
.phone {
  width: 390px;
  height: 780px;
  background: #111;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(20,15,40,0.35),
    0 30px 60px -30px rgba(20,15,40,0.3),
    inset 0 0 0 2px #2a2438;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--sand);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #111;
  border-radius: 14px;
  z-index: 10;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.phone-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.phone-body::-webkit-scrollbar { width: 0; }

.mob-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 22px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.mob-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 0;
  cursor: pointer;
  font-weight: 500;
}
.mob-tab.active { color: var(--primary-deep); font-weight: 600; }
.mob-tab .ico-wrap {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}

.mob-page { padding: 14px 18px 20px; }
.mob-page h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 4px 0 16px;
}

.mob-greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 16px;
}
.mob-greet .nm { font-size: 12px; color: var(--muted); }
.mob-greet .hi {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.mob-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.mob-cat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.mob-cat-row::-webkit-scrollbar { height: 0; }
.mob-cat-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.mob-cat-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mob-provider-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}
.mob-provider-cover {
  height: 120px;
  position: relative;
}
.mob-provider-body { padding: 12px 14px 14px; }

/* ---------- PUBLIC BOOKING / EMBED / QR / REFERRAL / GIFT CARDS / CITY / ANALYTICS / PRICING ---------- */
/* These pages mostly compose existing classes; the rules below fill any gaps. */

.map-canvas {
  background: var(--sand-2);
  border-radius: 16px;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-pin {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50% 50% 50% 2px;
  background: var(--primary-deep);
  color: #fff;
  display: grid; place-items: center;
  transform: rotate(-45deg);
  cursor: pointer;
  box-shadow: 0 6px 14px -4px rgba(88,34,200,0.5);
  font-size: 11px;
  font-weight: 700;
}
.map-pin > * { transform: rotate(45deg); }

/* ---------- RESPONSIVE OVERRIDES (place LAST) ---------- */
@media (max-width: 1100px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-side { padding: 40px 28px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-preview { position: static; }
}
@media (max-width: 700px) {
  .track-steps { grid-template-columns: 1fr 1fr; }
  .track-steps::before { display: none; }
  .otp-row { gap: 6px; }
  .otp-cell { font-size: 22px; border-radius: 10px; }
}
