/* ───────────────────────────────────────────────────────────────────────────
 * BeautyNetwork · GUEST iPhone app · monogram-luxe · MOBILE-FIRST
 *
 * Source of truth: salonMANAGER/design.md
 * Design canvas: 390 × 844 (iPhone 14). Min support: 360 × 640.
 * Desktop ≥ 768: SAME mobile layout centered in a faux device frame.
 *
 * Consumer warmth dialect:
 *   · Slightly larger Cormorant headlines (32-40px) on aspirational moments.
 *   · Hero photo placeholders use FLAT tobacco panels — never gradients.
 *   · Single-accent gold rule INTACT (one CTA per screen).
 *
 * iOS conventions: safe-area-inset, 44pt top bar, 49pt tab bar, 5-tab max,
 * line-style icons, segmented control, bottom sheets, full-bleed list rows
 * w/ 0.5px hairlines, 56pt min row height, underlined floating-label inputs,
 * bottom-anchored 50pt primary CTA, scale(0.97) :active feedback.
 *
 * Sharp corners preserved (exceptions: filter chips 16px iOS chip semantics,
 * segmented-control 6-8px, bottom sheet top 16px iOS standard, faux device
 * frame on desktop only).
 * ─────────────────────────────────────────────────────────────────────── */

:root {
  --c-primary: #2D1C0F;
  --c-secondary: #8C7563;
  --c-tertiary: #B99256;
  --c-tertiary-deep: #9C7841;
  --c-neutral: #F1E9DA;
  --c-surface: #FBF4E5;
  --c-on-primary: #FBF4E5;
  --c-tertiary-tint: rgba(185, 146, 86, 0.10);
  --c-tertiary-edge: rgba(185, 146, 86, 0.30);
  --c-secondary-tint: rgba(140, 117, 99, 0.18);
  --c-secondary-tint-strong: rgba(140, 117, 99, 0.32);
  --c-primary-tint: rgba(45, 28, 15, 0.05);
  --c-hairline: rgba(140, 117, 99, 0.30);

  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 2px;
  --r-sheet: 16px;

  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;

  --vp-w: 390px;
  --vp-frame: 430px;
  --topbar-h: 44px;
  --tabbar-h: 49px;

  --sai-top: env(safe-area-inset-top, 0px);
  --sai-bottom: env(safe-area-inset-bottom, 0px);
  --sai-left: env(safe-area-inset-left, 0px);
  --sai-right: env(safe-area-inset-right, 0px);
}

[data-theme="dark"] {
  --c-primary: #FBF4E5;
  --c-secondary: #A89685;
  --c-tertiary: #B99256;
  --c-tertiary-deep: #D4AC73;
  --c-neutral: #1A100A;
  --c-surface: #281A0F;
  --c-on-primary: #1A100A;
  --c-tertiary-tint: rgba(185, 146, 86, 0.14);
  --c-tertiary-edge: rgba(185, 146, 86, 0.38);
  --c-secondary-tint: rgba(168, 150, 133, 0.18);
  --c-secondary-tint-strong: rgba(168, 150, 133, 0.32);
  --c-primary-tint: rgba(251, 244, 229, 0.04);
  --c-hairline: rgba(168, 150, 133, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-primary: #FBF4E5;
    --c-secondary: #A89685;
    --c-tertiary: #B99256;
    --c-tertiary-deep: #D4AC73;
    --c-neutral: #1A100A;
    --c-surface: #281A0F;
    --c-on-primary: #1A100A;
    --c-tertiary-tint: rgba(185, 146, 86, 0.14);
    --c-tertiary-edge: rgba(185, 146, 86, 0.38);
    --c-secondary-tint: rgba(168, 150, 133, 0.18);
    --c-secondary-tint-strong: rgba(168, 150, 133, 0.32);
    --c-primary-tint: rgba(251, 244, 229, 0.04);
    --c-hairline: rgba(168, 150, 133, 0.28);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--c-neutral);
  color: var(--c-primary);
  font-family: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

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

/* iOS Safari quirks suppression
 * - 16px floor on form controls prevents auto-zoom on focus.
 * - appearance:none + radius:0 strips iOS rounded chrome on inputs/buttons.
 * - tap-highlight-color removed (handled per-component with :active).
 * - touch-callout off on imagery (no long-press menu). */
input, textarea, select, button {
  font-size: 16px;
}
input, textarea, select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
button {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%; display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ─── Type scale ──────────────────────────────────────────────────────── */
.t-large {
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: 0.01em;
}
.t-h1 {
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 36px; font-weight: 400; line-height: 1.05; letter-spacing: 0.005em;
}
.t-h2 {
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: 0.005em;
}
.t-h3 {
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 19px; font-weight: 500; line-height: 1.3;
}
.t-editorial {
  /* Aspirational moments — onboarding, loyalty tier, salon hero */
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 40px; font-weight: 400; line-height: 1.02; letter-spacing: 0.005em;
}
.t-body { font-size: 15px; font-weight: 400; line-height: 1.55; }
.t-body-lead { font-size: 16px; font-weight: 400; line-height: 1.55; color: var(--c-secondary); font-style: italic; }
.t-bar-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--c-primary);
}
.t-eyebrow,
.t-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
}
.t-tab {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.t-mono { font-family: 'Inter', ui-monospace, 'SF Mono', Menlo, monospace; font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }
.t-num { font-family: 'Inter', system-ui, sans-serif; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; letter-spacing: -0.005em; }
.t-muted { color: var(--c-secondary); }
.t-italic { font-style: italic; }

/* Currency suffix · baseline-aligned with the digits next to it */
.cur-suffix {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.62em; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-secondary);
  margin-left: 0.34em;
  vertical-align: baseline;
}

/* ─── Device viewport · the page canvas ─────────────────────────────────
 * SCROLL POLICY: scrolling happens on <body>, NOT on .vp.
 * .vp is just a layout wrapper — DO NOT set overflow-y, overflow,
 * or -webkit-overflow-scrolling on .vp.
 *
 * .vp.has-tabbar / .vp.has-cta-dock add bottom padding so fixed-bottom
 * elements never cover the last row of content. */
.vp {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--c-neutral);
  margin: 0 auto;
  padding-left: var(--sai-left);
  padding-right: var(--sai-right);
  isolation: isolate;
}

.vp.has-tabbar {
  padding-bottom: calc(var(--tabbar-h) + var(--sai-bottom) + 16px);
}
.vp.has-cta-dock {
  padding-bottom: calc(64px + var(--sai-bottom) + 16px);
}
.vp.has-tabbar.has-cta-dock {
  padding-bottom: calc(var(--tabbar-h) + 64px + var(--sai-bottom) + 16px);
}

@media (min-width: 768px) {
  body {
    background: var(--c-neutral);
    padding: 32px 0;
  }
  .vp {
    width: var(--vp-frame);
    max-width: var(--vp-frame);
    min-height: 844px;
    border: 1px solid var(--c-secondary-tint);
  }
}

@media (min-width: 1024px) {
  body { padding: 48px 0; }
  .vp {
    border-radius: 44px;
    border: 1px solid var(--c-primary);
    /* No overflow:hidden — would re-trap scroll. */
    box-shadow:
      0 0 0 8px var(--c-surface),
      0 0 0 9px var(--c-primary);
  }
}

/* ─── Top bar (44pt) ──────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--c-neutral);
  padding-top: var(--sai-top);
  border-bottom: 0.5px solid var(--c-hairline);
  transition: background 200ms ease;
}
.topbar--transparent { border-bottom: 0; }
.topbar-row {
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s-md);
  gap: 8px;
}
.topbar-leading,
.topbar-trailing {
  display: inline-flex; align-items: center;
  min-width: 44px; min-height: 44px;
  color: var(--c-primary);
}
.topbar-trailing { justify-content: flex-end; }
.topbar-title {
  flex: 1; min-width: 0; text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--c-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-large {
  padding: 4px var(--s-md) 14px;
  background: var(--c-neutral);
}
.topbar-large h1 {
  font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
  font-size: 32px; font-weight: 400; letter-spacing: 0.01em;
  margin: 0;
  color: var(--c-primary);
}
.topbar-large .eyebrow {
  display: block; margin-top: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-secondary);
}
.topbar-icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; padding: 0;
  color: var(--c-primary);
  transition: transform 80ms ease-out, opacity 200ms ease;
}
.topbar-icon-btn:active { transform: scale(0.92); opacity: 0.7; }
.topbar-icon-btn svg { width: 22px; height: 22px; stroke-width: 1.5; }
.topbar-text-btn {
  background: transparent; border: 0; padding: 0 4px;
  height: 44px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; font-weight: 500;
  color: var(--c-primary);
  transition: opacity 200ms ease;
}
.topbar-text-btn:active { opacity: 0.5; }
.topbar-text-btn.is-accent { color: var(--c-tertiary-deep); font-weight: 600; }

.topbar-back {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; padding: 0 4px 0 0;
  height: 44px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; font-weight: 400;
  color: var(--c-primary);
  max-width: 50%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-back:active { opacity: 0.5; }
.topbar-back svg { width: 22px; height: 22px; stroke-width: 1.5; flex-shrink: 0; }
.topbar-back .lbl { font-weight: 400; }

/* ─── Page content wrapper ───────────────────────────────────────────── */
.content {
  padding-bottom: calc(var(--tabbar-h) + var(--sai-bottom) + 24px);
}
.content--no-tab {
  padding-bottom: calc(var(--sai-bottom) + 24px);
}
.content--with-cta {
  padding-bottom: calc(var(--sai-bottom) + 90px);
}
.content--with-cta-and-tab {
  padding-bottom: calc(var(--tabbar-h) + var(--sai-bottom) + 90px);
}
.section {
  padding: 16px var(--s-md) 8px;
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 28px var(--s-md) 12px;
  gap: 12px;
}
.section-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; letter-spacing: 0.005em;
  color: var(--c-primary);
}
.section-head .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; line-height: 1.2; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-secondary);
}
.section-head .link {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}

/* ─── Bottom tab bar (49pt + safe-area) ──────────────────────────────────
 * Guest variant — 4-tab. Solid surface, 0.5px taupe top hairline, 49pt
 * internal height ABOVE the home-indicator inset, gold 28×2 pill above
 * the active item — the ONLY gold on the bar. */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--c-surface);
  border-top: 0.5px solid var(--c-secondary-tint);
  padding-bottom: var(--sai-bottom);
  display: flex;
  touch-action: manipulation;
}
@media (min-width: 768px) {
  .tabbar {
    position: absolute;
    left: 0; right: 0;
    width: 100%;
  }
}
.tabbar-item {
  flex: 1 1 0;
  min-width: 0;
  height: var(--tabbar-h);
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  position: relative;
  background: transparent; border: 0;
  color: var(--c-secondary);
  text-decoration: none;
  transition: color 160ms ease, transform 80ms ease-out;
  padding: 6px 4px 4px;
  -webkit-tap-highlight-color: transparent;
}
.tabbar-item svg {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}
.tabbar-item .lbl {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}
@media (max-width: 414px) {
  .tabbar-item .lbl { letter-spacing: 0.06em; }
}
.tabbar-item.is-active { color: var(--c-primary); }
.tabbar-item.is-active .lbl { font-weight: 600; }
.tabbar-item.is-active svg { stroke-width: 1.85; }
/* Single-accent gold pill above active tab — pinned to top edge, centered */
.tabbar-item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 2px;
  background: var(--c-tertiary);
  border-radius: 0 0 2px 2px;
}
.tabbar-item:active {
  opacity: 0.7;
  transform: scale(0.96);
}

/* ─── List rows · iOS plain table ────────────────────────────────────── */
.list {
  list-style: none; margin: 0; padding: 0;
  background: var(--c-neutral);
}
.list--grouped {
  background: var(--c-surface);
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
  margin-bottom: 12px;
}
.list-section-head {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-secondary);
  padding: 22px var(--s-md) 8px;
}
.list-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px;
  padding: 10px var(--s-md);
  position: relative;
  background: transparent;
  color: var(--c-primary);
  text-decoration: none;
  transition: background 120ms ease;
}
.list-row + .list-row::before,
.list .list-row + .list-row::before {
  content: '';
  position: absolute; top: 0; left: var(--s-md); right: 0;
  height: 0.5px;
  background: var(--c-hairline);
}
.list-row.has-leading + .list-row::before { left: calc(var(--s-md) + 56px); }
.list-row:active { background: var(--c-primary-tint); }

.list-row .leading {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--c-primary); color: var(--c-on-primary);
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
}
.list-row .leading--icon {
  background: transparent; color: var(--c-secondary);
  border-radius: 0;
}
.list-row .leading--icon svg { width: 22px; height: 22px; stroke-width: 1.5; fill: none; stroke: currentColor; }
.list-row .body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.list-row .title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-row .sub {
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; color: var(--c-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-row .trailing {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-secondary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  flex-shrink: 0;
}
.list-row .trailing .v {
  color: var(--c-primary); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.list-row .disclosure {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--c-secondary);
}
.list-row .disclosure svg { width: 14px; height: 14px; stroke-width: 1.5; fill: none; stroke: currentColor; }
/* Belt-and-suspenders: any .disclosure svg, anywhere — caps inline SVGs that
   lose their .list-row ancestor due to HTML5 nested-<a> parser repair. */
.disclosure { display: inline-flex; flex: 0 0 14px; width: 14px; height: 14px; }
.disclosure > svg, span.disclosure svg, .trailing svg { width: 14px !important; height: 14px !important; max-width: 14px; max-height: 14px; stroke-width: 1.5; fill: none; stroke: currentColor; }

/* ─── Cards ──────────────────────────────────────────────────────────── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  padding: 18px;
}
.card--flush { padding: 0; }
.card-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px; gap: 12px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500; font-size: 19px; color: var(--c-primary);
}
.card-meta { color: var(--c-secondary); font-size: 12px; font-style: italic; }

/* ─── Hero photo placeholder · flat tobacco panel ─────────────────────── */
.photo {
  width: 100%;
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}
.photo--hero { aspect-ratio: 16 / 10; }
.photo--card { aspect-ratio: 4 / 3; }
.photo--banner { aspect-ratio: 3 / 1; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--map { aspect-ratio: 16 / 9; }
.photo .photo-mono {
  position: absolute; left: 16px; bottom: 14px;
  color: var(--c-on-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; letter-spacing: 0.04em; font-weight: 500;
}
.photo .photo-eyebrow {
  position: absolute; left: 16px; top: 14px;
  color: var(--c-tertiary);
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
}
.photo .photo-corner {
  position: absolute; right: 14px; top: 12px;
  color: var(--c-on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.16em;
  opacity: 0.7;
}

/* Editorial wide hero (Discover top) */
.hero-edit {
  position: relative;
  margin: 12px var(--s-md) 8px;
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 32px 24px 28px;
  border: 1px solid var(--c-tertiary);
}
.hero-edit .h-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.36em;
  text-transform: uppercase; color: var(--c-tertiary);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.hero-edit .h-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--c-tertiary);
}
.hero-edit .h-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 400; line-height: 1.05;
  margin: 0 0 14px;
}
.hero-edit .h-lead {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic; font-size: 14px; line-height: 1.6;
  color: var(--c-secondary);
  margin: 0;
}

/* ─── Salon carousel cards (Discover) ─────────────────────────────────── */
.carousel {
  display: flex; gap: 12px;
  padding: 12px var(--s-md) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--s-md);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.salon-card {
  flex: 0 0 auto;
  width: 240px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  text-decoration: none; color: var(--c-primary);
}
.salon-card .photo { aspect-ratio: 5 / 4; }
.salon-card .body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.salon-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.25em;
}
.salon-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 6px;
}
.salon-card .rating {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px;
}
.salon-card .rating svg { width: 12px; height: 12px; fill: var(--c-primary); stroke: var(--c-primary); }

/* ─── Service tiles (horizontal scroll on Discover) ───────────────────── */
.service-card {
  flex: 0 0 auto;
  width: 180px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none; color: var(--c-primary);
  display: flex; flex-direction: column;
}
.service-card .photo { aspect-ratio: 1 / 1; }
.service-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.service-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
}
.service-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ─── Avatars ─────────────────────────────────────────────────────────── */
.avatar-strip {
  display: flex; gap: 14px;
  padding: 12px var(--s-md) 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--s-md);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.avatar-strip::-webkit-scrollbar { display: none; }
.avatar-chip {
  flex: 0 0 auto;
  width: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  scroll-snap-align: start;
}
.avatar-chip .av {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-primary); color: var(--c-on-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em;
}
.avatar-chip .nm {
  font-family: 'Inter', sans-serif;
  font-size: 10px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-av {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--c-primary); color: var(--c-on-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 500; letter-spacing: 0.16em;
}

/* ─── Status indicators ───────────────────────────────────────────────── */
.status {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--c-secondary);
}
.status--confirmed::before {
  content: ''; width: 10px; height: 10px;
  background: var(--c-primary); border-radius: 50%;
}
.status--pending::before {
  content: ''; width: 10px; height: 10px;
  background: transparent;
  border: 1px solid var(--c-secondary); border-radius: 50%;
}
.status--complete {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--c-secondary);
}
.status--complete::before { content: '✓'; }

/* ─── Chips ──────────────────────────────────────────────────────────── */
.chip-row {
  display: flex; gap: 8px;
  padding: 12px var(--s-md);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--s-md);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--c-secondary-tint-strong);
  color: var(--c-secondary);
  cursor: pointer;
  transition: all 140ms ease;
}
.chip.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.chip:active { transform: scale(0.97); }

/* ─── Segmented control ──────────────────────────────────────────────── */
.seg {
  display: inline-flex;
  width: 100%;
  margin: 12px var(--s-md);
  width: calc(100% - var(--s-md) * 2);
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: 8px;
  padding: 3px;
  gap: 0;
}
.seg-item {
  flex: 1;
  height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--c-secondary);
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease;
  text-decoration: none;
}
.seg-item.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
}

.seg-sticky {
  position: sticky; top: calc(var(--topbar-h) + var(--sai-top));
  z-index: 20;
  background: var(--c-neutral);
  margin: 0;
  padding: 8px var(--s-md);
}
.seg-sticky .seg { margin: 0; width: 100%; }

/* ─── Search field ───────────────────────────────────────────────────── */
.search-bar {
  position: sticky; top: calc(var(--topbar-h) + var(--sai-top));
  z-index: 20;
  background: var(--c-neutral);
  padding: 8px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
}
.search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  background: var(--c-surface);
  border: 0.5px solid var(--c-hairline);
  border-radius: 10px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px; /* iOS no-zoom floor */
  color: var(--c-primary);
}
.search-wrap { position: relative; }
.search-wrap .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--c-secondary);
  pointer-events: none;
}
.search-input:focus { outline: none; border-color: var(--c-primary); }
.search-input::placeholder { color: var(--c-secondary); font-style: italic; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: transparent; color: var(--c-primary);
  transition: transform 80ms ease-out, background 200ms ease, opacity 200ms ease;
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--c-tertiary); color: var(--c-on-primary);
  border-color: var(--c-tertiary);
}
.btn--primary:active { background: var(--c-tertiary-deep); border-color: var(--c-tertiary-deep); }
.btn--ghost {
  border-color: var(--c-secondary-tint-strong); color: var(--c-primary);
  background: transparent;
}
.btn--text {
  border-color: transparent; color: var(--c-secondary); padding: 12px 4px;
}

/* Sticky bottom CTA */
.cta-dock {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding: 12px var(--s-md);
  padding-bottom: calc(var(--sai-bottom) + 12px);
  background: var(--c-neutral);
  border-top: 0.5px solid var(--c-hairline);
  z-index: 35;
}
.cta-dock--above-tab {
  bottom: var(--tabbar-h);
  padding-bottom: 12px;
}
@media (min-width: 768px) {
  .cta-dock { position: absolute; }
  .cta-dock--above-tab { position: absolute; bottom: var(--tabbar-h); }
}
.cta {
  display: inline-flex; width: 100%;
  align-items: center; justify-content: center; gap: 10px;
  height: 50px;
  background: var(--c-tertiary); color: var(--c-on-primary);
  border: 0;
  border-radius: var(--r-lg);
  font-family: 'Inter', system-ui, sans-serif;
  /* gp: 16px to match iOS HIG primary button typography */
  font-size: 16px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 80ms ease-out, background 200ms ease;
  cursor: pointer;
}
.cta:active { transform: scale(0.97); background: var(--c-tertiary-deep); }
.cta .price {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* Floating action button */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--tabbar-h) + var(--sai-bottom) + 14px);
  width: 56px; height: 56px;
  background: var(--c-tertiary); color: var(--c-on-primary);
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; line-height: 1;
  z-index: 38;
  transition: transform 80ms ease-out, background 200ms ease;
}
.fab:active { transform: scale(0.94); background: var(--c-tertiary-deep); }
@media (min-width: 768px) {
  .fab { position: absolute; }
}

/* ─── Inputs · iOS underlined floating-label ─────────────────────────── */
.field {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 0 0;
  border-bottom: 0.5px solid var(--c-hairline);
}
.field-label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 4px;
  transition: color 160ms ease;
}
.field-input {
  width: 100%;
  height: 32px;
  padding: 4px 0 8px;
  background: transparent;
  border: 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 17px;
  color: var(--c-primary);
}
.field-input:focus { outline: none; }
.field:focus-within { border-bottom-color: var(--c-primary); }
.field:focus-within .field-label { color: var(--c-primary); }
.field-input::placeholder { color: var(--c-secondary); font-style: italic; }
.field-help {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  margin-top: 6px;
}

/* Consent / KVKK row */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 12.5px; line-height: 1.55; color: var(--c-secondary);
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1px solid var(--c-secondary-tint-strong);
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--c-surface);
  position: relative; cursor: pointer;
}
.consent input[type="checkbox"]:checked {
  background: var(--c-primary); border-color: var(--c-primary);
}
.consent input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute; inset: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-on-primary); font-size: 13px; font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.consent a {
  color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--c-secondary-tint-strong);
}

/* Inline language pill */
.lang-pill {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 12px;
  background: transparent;
  border: 1px solid var(--c-secondary-tint-strong);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-secondary); cursor: pointer;
}
.lang-pill.on {
  background: var(--c-primary); color: var(--c-on-primary);
  border-color: var(--c-primary);
}

.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  background: transparent;
  border: 1px solid var(--c-secondary-tint-strong);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-secondary); cursor: pointer;
}
.lang-toggle .lang-sep { color: var(--c-secondary-tint-strong); }
.lang-toggle[data-lang="tr"] .lang-tr { color: var(--c-primary); font-weight: 600; }
.lang-toggle[data-lang="en"] .lang-en { color: var(--c-primary); font-weight: 600; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid var(--c-secondary-tint);
  color: var(--c-secondary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .theme-sun { display: none; }
.theme-toggle .theme-moon { display: block; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
[data-theme="dark"] .theme-toggle .theme-moon { display: none; }

/* ─── Bottom sheet ───────────────────────────────────────────────────── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(45, 28, 15, 0.32);
  display: none;
}
.sheet-backdrop.is-open { display: block; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--c-surface);
  border-top-left-radius: var(--r-sheet);
  border-top-right-radius: var(--r-sheet);
  padding: 8px var(--s-md) calc(var(--sai-bottom) + 16px);
  max-height: 80vh; overflow-y: auto;
  /* gp: prevent drag-inside-sheet from pulling page behind it */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet-handle {
  width: 40px; height: 4px;
  background: var(--c-secondary-tint-strong);
  border-radius: 2px;
  margin: 8px auto 16px;
}
.sheet-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--c-primary); margin: 0 0 8px;
}

/* ─── Step indicator (booking flow) ──────────────────────────────────── */
.steps {
  display: flex; align-items: center; gap: 6px;
  padding: 14px var(--s-md) 4px;
}
.step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  text-align: center;
}
.step .dot {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-secondary-tint-strong);
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--c-secondary);
  background: transparent;
}
.step.is-on .dot,
.step.is-done .dot {
  background: var(--c-primary); color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.step.is-on { color: var(--c-primary); }
.step-rule {
  flex: 0 0 14px;
  height: 1px;
  background: var(--c-hairline);
}

/* ─── Tier card (Loyalty) ────────────────────────────────────────────── */
.tier-card {
  margin: 16px var(--s-md);
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 28px 22px 24px;
  border: 1px solid var(--c-tertiary);
  position: relative;
}
.tier-card .t-eyebrow {
  color: var(--c-tertiary);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.tier-card .t-eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--c-tertiary);
}
.tier-card .tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 400; letter-spacing: 0.04em;
  margin: 0 0 18px;
  line-height: 1;
}
.tier-card .pts {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.tier-card .pts-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary); margin-left: 8px;
}
.tier-card .next {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--c-secondary);
  margin-top: 8px;
}
.tier-card .progress {
  margin-top: 14px;
  height: 4px; background: rgba(168, 150, 133, 0.25);
  position: relative; overflow: hidden;
}
.tier-card .progress span {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--c-secondary);
}

/* Reward grid (Loyalty) */
.reward-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px var(--s-md);
}
.reward-tile {
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 140px;
  justify-content: space-between;
}
.reward-tile .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--c-primary);
}
.reward-tile .cost {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-secondary);
}

/* ─── Receipt rows ───────────────────────────────────────────────────── */
.receipt {
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  margin: 12px var(--s-md);
  padding: 18px 16px;
}
.receipt-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 14px; color: var(--c-primary);
}
.receipt-row + .receipt-row { border-top: 0.5px solid var(--c-hairline); }
.receipt-row .lbl { color: var(--c-secondary); }
.receipt-row .v { font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; font-weight: 500; }
.receipt-row.total {
  border-top: 1px solid var(--c-secondary-tint-strong);
  margin-top: 6px; padding-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
}
.receipt-row.total .v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
}

/* ─── Empty state ────────────────────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 64px 28px;
}
.empty .e-mark {
  width: 56px; height: 56px;
  border: 1px solid var(--c-secondary-tint-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  color: var(--c-secondary);
}
.empty .e-mark svg { width: 26px; height: 26px; stroke-width: 1.4; fill: none; stroke: currentColor; }
.empty h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; letter-spacing: 0.005em;
  margin: 0 0 10px; color: var(--c-primary);
}
.empty p {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic; font-size: 14px; line-height: 1.55;
  color: var(--c-secondary);
  margin: 0 0 22px;
}

/* ─── Skeleton shimmer (one example) ─────────────────────────────────── */
@keyframes shimmer {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
.skel {
  background: var(--c-secondary-tint);
  border-radius: 0;
  animation: shimmer 1.6s ease-in-out infinite;
}
.skel-card {
  flex: 0 0 auto;
  width: 240px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.skel-card .skel-photo { aspect-ratio: 5 / 4; }
.skel-card .skel-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.skel-card .skel-line { height: 12px; }
.skel-card .skel-line.w70 { width: 70%; }
.skel-card .skel-line.w40 { width: 40%; }

/* ─── Dividers ───────────────────────────────────────────────────────── */
.divider { height: 0.5px; background: var(--c-hairline); margin: 12px 0; border: 0; }
.divider-strong { height: 0.5px; background: var(--c-secondary-tint-strong); margin: 16px 0; border: 0; }

.eyebrow-rule {
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow-rule::before {
  content: ''; width: 24px; height: 1px; background: var(--c-tertiary);
}

/* ─── Animations ─────────────────────────────────────────────────────── */
@keyframes pushIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.push-enter { animation: pushIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade { animation: fadeUp 480ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.d1 { animation-delay: 60ms; }
.d2 { animation-delay: 140ms; }
.d3 { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .fade, .push-enter, .topbar-icon-btn, .topbar-text-btn, .btn, .cta, .fab, .chip, .tabbar-item {
    animation: none !important; transition: none !important;
  }
  .skel { animation: none !important; }
}

/* ─── Utility ────────────────────────────────────────────────────────── */
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 6px; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.center { align-items: center; justify-content: center; }
.gap-sm { gap: 6px; } .gap-md { gap: 12px; } .gap-lg { gap: 20px; }
.right { text-align: right; }
.muted { color: var(--c-secondary); }
.mono { font-family: 'Inter', ui-monospace, 'SF Mono', Menlo, monospace; font-variant-numeric: tabular-nums; }
.hidden { display: none; }
.inline { display: inline; }
.full { width: 100%; }
.flex1 { flex: 1; }

/* ─── Money — number+suffix wrap that never breaks ───────────────────── */
.money {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* iOS-feel :active feedback for plain rows */
.row:active { background: var(--c-secondary-tint); }
.list-row:active { background: var(--c-primary-tint); }

/* ──── Photography ─────────────────────────────────────────────────────
   Photos are content, not chrome. They may carry their own gradients
   (it's photography). The frame around them stays flat, sharp-cornered.
   This img-specific override wins over the placeholder .photo div above
   when the element is an actual <img> (object-fit only applies to img/video).
   ──────────────────────────────────────────────────────────────────── */
img.photo {
  display: block;
  background: var(--c-secondary-tint); /* taupe shimmer-feel while loading */
  object-fit: cover;
  width: 100%;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  border-radius: 0;
  color: transparent;
}
.photo {
  display: block;
  background: var(--c-secondary-tint);
  width: 100%;
  border-radius: 0;
}
.photo--hero { aspect-ratio: 16 / 9; }
.photo--card { aspect-ratio: 4 / 3; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 3 / 4; }

/* Avatar — circular, used for people only */
.av-photo {
  display: inline-block;
  border-radius: 50%;
  background: var(--c-secondary-tint);
  object-fit: cover;
  width: 40px; height: 40px;
  border: 1px solid var(--c-secondary-tint, rgba(140, 117, 99, 0.18));
  color: transparent;
}
.av-photo--lg { width: 64px; height: 64px; }
.av-photo--xl { width: 96px; height: 96px; }
.av-photo--xxl { width: 120px; height: 120px; }

/* Photo with thin gold rule below — editorial caption pattern */
.photo-frame {
  position: relative;
  display: block;
}
.photo-frame::after {
  content: ''; display: block; height: 1px;
  background: var(--c-tertiary); width: 32px; margin-top: 12px;
}

/* Before/after pair — side-by-side */
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 16px 0;
}
.ba-pair .photo { aspect-ratio: 1 / 1; }
.ba-pair figure { margin: 0; position: relative; }
.ba-pair figcaption {
  position: absolute; top: 8px; left: 8px;
  background: var(--c-primary); color: var(--c-on-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 8px;
}

/* Photo gallery grid (for client-360, salon-detail) */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.gallery .photo { aspect-ratio: 1 / 1; }

/* Skeleton shimmer for loading photos (decorative; static for mockup) */
.photo-skeleton {
  background: var(--c-neutral);
  position: relative; overflow: hidden;
}

/* Avatar size overrides where img replaces a sized span */
.avatar-chip .av-photo { width: 56px; height: 56px; }
.list-row .av-photo { width: 44px; height: 44px; }
.list-row .av-photo.av-photo--lg { width: 64px; height: 64px; }

/* ═══════════════════════════════════════════════════════════════════════
 * G2 — Guest-side additions (Agent 1 scope)
 * Prefix: g2-*  ·  Additive only · do not collide with another agent's edits.
 *
 * TOPBAR STANDARDIZATION (Item 5):
 *   The base .topbar above is the root variant (large title supported).
 *   For pushed pages add `.topbar--push` (44pt, no large block).
 *   For modal pages add `.topbar--modal` (text-buttons left+right).
 *   All variants now use box-shadow hairline for cleaner edge.
 * ═══════════════════════════════════════════════════════════════════════ */

/* Topbar shadow hairline (replaces border on push/modal variants) */
.topbar--push,
.topbar--modal {
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--c-secondary-tint);
}
.topbar--push .topbar-row,
.topbar--modal .topbar-row {
  height: var(--topbar-h);
}
.topbar--modal .topbar-row {
  padding: 0 12px;
}
/* Back chevron — 18px, weight 300, 44px hit area */
.topbar-back svg {
  stroke-width: 1.25;
}
.topbar-back .lbl { font-weight: 400; color: var(--c-primary); }

/* ─── Functional tab strip (Item 2) ────────────────────────────────────
 * Used by salon-detail tabs. Companion JS toggles .is-on on tab + pane. */
.seg-tabs {
  position: sticky; top: calc(var(--topbar-h) + var(--sai-top));
  z-index: 20;
  display: flex;
  background: var(--c-neutral);
  padding: 0 var(--s-md);
  gap: 22px;
  box-shadow: 0 0.5px 0 var(--c-hairline);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* gp: don't bounce page horizontally when reaching seg-tabs ends */
  overscroll-behavior-x: contain;
}
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tabs .seg-item {
  flex: 0 0 auto;
  height: auto;
  background: transparent !important;
  color: var(--c-secondary) !important;
  border-radius: 0;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  border: 0;
  white-space: nowrap;
}
.seg-tabs .seg-item.is-on {
  background: transparent !important;
  color: var(--c-primary) !important;
  font-weight: 600;
}
.seg-tabs .seg-item.is-on::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -0.5px;
  height: 2px;
  background: var(--c-primary);
}
.tab-pane { display: none; }
.tab-pane.is-on { display: block; }

/* ─── Search bar — content-area sticky variant ────────────────────────── */
.g2-search {
  padding: 10px var(--s-md);
  background: var(--c-neutral);
  position: sticky; top: calc(var(--topbar-h) + var(--sai-top));
  z-index: 18;
  box-shadow: 0 0.5px 0 var(--c-hairline);
}
.g2-search .search-wrap {
  position: relative;
}
.g2-search .search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid var(--c-hairline);
  border-radius: 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--c-primary);
}
.g2-search .search-input:focus {
  outline: none;
  border-bottom-color: var(--c-primary);
}
.g2-search .search-input::placeholder {
  color: var(--c-secondary); font-style: italic;
}
.g2-search .search-icon {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--c-secondary);
  pointer-events: none;
}

/* ─── Hero gold rule (Discover) ──────────────────────────────────────── */
.g2-hero-rule {
  display: block;
  width: 32px; height: 1px;
  background: var(--c-tertiary);
  margin: 14px 0 18px;
}

/* ─── Tighter featured salon card (Item 1) ─────────────────────────────
 * Override .salon-card with more semantic info row. */
.g2-salon-card {
  flex: 0 0 auto;
  width: 280px;
  min-height: 320px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  text-decoration: none; color: var(--c-primary);
}
.g2-salon-card .photo {
  width: 100%; aspect-ratio: 7 / 5;
}
.g2-salon-card .body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.g2-salon-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.g2-salon-card .row-rating {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.g2-salon-card .row-rating .star {
  width: 12px; height: 12px;
  color: var(--c-primary);
  fill: var(--c-primary);
}
.g2-salon-card .row-rating .reviews {
  color: var(--c-secondary); font-weight: 400;
}
.g2-salon-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-salon-card .meta-stats {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* ─── Service tile with social proof ────────────────────────────────── */
.g2-svc-tile {
  flex: 0 0 auto;
  width: 180px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--c-primary);
}
.g2-svc-tile .photo { aspect-ratio: 1 / 1; }
.g2-svc-tile .body {
  padding: 10px 12px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.g2-svc-tile .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.g2-svc-tile .price {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.g2-svc-tile .proof {
  font-family: 'Inter', sans-serif;
  font-size: 10px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ─── Editorial top-list (Item 1 — "İzmir's best") ─────────────────── */
.g2-toplist {
  list-style: none; margin: 0; padding: 0;
}
.g2-toplist .row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px var(--s-md);
  text-decoration: none; color: var(--c-primary);
  position: relative;
}
.g2-toplist .row + .row::before {
  content: '';
  position: absolute; left: var(--s-md); right: 0; top: 0;
  height: 0.5px; background: var(--c-hairline);
}
.g2-toplist .rank {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  width: 28px; flex-shrink: 0;
  text-align: right;
}
.g2-toplist .photo {
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.g2-toplist .body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.g2-toplist .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--c-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g2-toplist .neigh {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-toplist .rating {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-primary); font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.g2-toplist .rating svg { width: 12px; height: 12px; fill: var(--c-primary); stroke: var(--c-primary); }

/* ─── Featured-week single editorial card ──────────────────────────── */
.g2-week {
  margin: 12px var(--s-md) 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  text-decoration: none; color: var(--c-primary);
  display: block;
  overflow: hidden;
}
.g2-week .photo { aspect-ratio: 16 / 9; }
.g2-week .body { padding: 18px 18px 22px; }
.g2-week .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--c-secondary);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.g2-week .eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--c-tertiary);
}
.g2-week .head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; line-height: 1.1;
  color: var(--c-primary);
  margin: 0 0 12px;
}
.g2-week .quote {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic; font-size: 14px; line-height: 1.6;
  color: var(--c-secondary);
  margin: 0;
}

/* ─── Rating breakdown block (Item 2 — Yorumlar tab) ─────────────── */
.g2-rate-summary {
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  margin: 16px var(--s-md);
  padding: 18px 16px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.g2-rate-summary .top {
  display: flex; align-items: flex-start; gap: 18px;
}
.g2-rate-summary .score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 400;
  color: var(--c-primary); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.g2-rate-summary .stars {
  display: inline-flex; gap: 2px;
  margin: 4px 0 6px;
}
.g2-rate-summary .stars svg { width: 14px; height: 14px; fill: var(--c-primary); stroke: var(--c-primary); }
.g2-rate-summary .stars .half { fill: var(--c-secondary-tint-strong); stroke: var(--c-primary); }
.g2-rate-summary .reviews {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-bars {
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.g2-bar-row {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-bar-row .lbl { width: 12px; flex-shrink: 0; text-align: right; color: var(--c-secondary); }
.g2-bar-row .track {
  flex: 1; height: 4px;
  background: var(--c-secondary-tint);
}
.g2-bar-row .fill {
  height: 100%;
  background: var(--c-secondary);
}
.g2-bar-row .n {
  width: 28px; flex-shrink: 0; text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--c-secondary);
}

.g2-axis-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  border-top: 0.5px solid var(--c-hairline);
  padding-top: 14px;
}
.g2-axis-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-axis-row .v {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

/* ─── Review feed cards (Item 2) ────────────────────────────────────── */
.g2-review {
  padding: 16px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g2-review .head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.g2-review .head .av-photo { width: 36px; height: 36px; }
.g2-review .who {
  display: flex; flex-direction: column; gap: 1px;
  flex: 1; min-width: 0;
}
.g2-review .nm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; color: var(--c-primary);
}
.g2-review .meta {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g2-review .stars {
  display: inline-flex; gap: 2px;
  flex-shrink: 0;
}
.g2-review .stars svg { width: 12px; height: 12px; fill: var(--c-primary); stroke: var(--c-primary); }
.g2-review .stars svg.empty { fill: transparent; stroke: var(--c-secondary-tint-strong); }
.g2-review .tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 8px;
}
.g2-review .body {
  font-family: 'Libre Caslon Text', serif;
  font-size: 14px; line-height: 1.55;
  color: var(--c-primary);
  margin: 0;
}
.g2-review .reply {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--c-neutral);
  border-left: 2px solid var(--c-secondary);
}
.g2-review .reply .reply-head {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 6px;
}
.g2-review .reply .reply-body {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic; font-size: 13px; line-height: 1.55;
  color: var(--c-primary);
  margin: 0;
}

/* ─── KVKK note panel (Item 4 — replaces public before/after) ───────── */
.g2-kvkk-note {
  margin: 16px var(--s-md);
  padding: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  display: flex; gap: 12px; align-items: flex-start;
}
.g2-kvkk-note .icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--c-secondary-tint-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-secondary);
}
.g2-kvkk-note .icon svg { width: 18px; height: 18px; stroke-width: 1.4; fill: none; stroke: currentColor; }
.g2-kvkk-note .body {
  flex: 1;
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; line-height: 1.55;
  color: var(--c-secondary);
}
.g2-kvkk-note .body strong {
  color: var(--c-primary); font-weight: 700;
  font-family: 'Cormorant Garamond', serif; font-size: 15px;
  display: block; margin-bottom: 4px;
}
.g2-kvkk-note .body a {
  display: inline-block; margin-top: 8px;
  color: var(--c-primary);
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-secondary-tint-strong);
}

/* ─── Staff page (Item 6) ───────────────────────────────────────────── */
.g2-staff-hero {
  padding: 22px var(--s-md) 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.g2-staff-hero .av-photo { width: 120px; height: 120px; }
.g2-staff-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; line-height: 1.05;
  margin: 6px 0 0;
}
.g2-staff-hero .role {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g2-staff-hero .rating {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: var(--c-primary); font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.g2-staff-hero .rating svg { width: 14px; height: 14px; fill: var(--c-primary); stroke: var(--c-primary); }
.g2-staff-hero .rating .reviews { color: var(--c-secondary); font-weight: 400; }
.g2-staff-bio {
  padding: 8px var(--s-md) 16px;
  font-family: 'Libre Caslon Text', serif;
  font-style: italic; font-size: 14px; line-height: 1.6;
  color: var(--c-primary);
  text-align: center;
}
.g2-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 12px var(--s-md);
  border: 1px solid var(--c-secondary-tint);
}
.g2-stat {
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g2-stat:nth-child(2n) { border-right: 0; }
.g2-stat:nth-last-child(-n+2) { border-bottom: 0; }
.g2-stat .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--c-secondary);
}
.g2-stat .v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.g2-hours {
  margin: 12px var(--s-md);
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
}
.g2-hours .row {
  display: flex; justify-content: space-between;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.g2-hours .row + .row { border-top: 0.5px solid var(--c-hairline); }
.g2-hours .row .day { color: var(--c-secondary); letter-spacing: 0.04em; }
.g2-hours .row .closed { color: var(--c-secondary); font-style: italic; }

/* ─── Lightbox sheet (Item 2 — gallery tap) ─────────────────────────── */
.g2-lightbox {
  position: fixed; inset: 0;
  background: rgba(45, 28, 15, 0.92);
  z-index: 60;
  display: none;
  align-items: center; justify-content: center;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}
.g2-lightbox.is-open { display: flex; }
.g2-lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.g2-lightbox .close {
  position: absolute; top: calc(env(safe-area-inset-top) + 12px);
  right: 16px;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  color: var(--c-on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 24px; line-height: 1;
}

/* ─── 4-axis rating input row (rate-salon.html) ─────────────────────── */
.g2-rate-axis {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--c-hairline);
}
.g2-rate-axis .lbl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--c-primary);
}
.g2-rate-axis .sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-secondary);
  margin-top: 2px;
}
.g2-stars-input {
  display: inline-flex; gap: 6px;
}
.g2-star-btn {
  background: transparent; border: 0; padding: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-secondary-tint-strong);
  cursor: pointer;
}
.g2-star-btn svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; }
.g2-star-btn.is-on { color: var(--c-primary); }
.g2-star-btn:active { transform: scale(0.92); }

/* Specialties chip row reusing chip — no override needed. */

/* Availability badge for staff cards in salon Personel tab */
.g2-avail {
  display: inline-block;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-secondary);
}
.g2-avail.is-low { color: var(--c-primary); font-weight: 600; }

/* Tab pane bottom padding to clear floating CTA */
.tab-pane {
  padding-bottom: 16px;
}

/* Filter chip row inside reviews tab — narrower height variant */
.g2-filter-chips {
  display: flex; gap: 8px;
  padding: 8px var(--s-md) 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.g2-filter-chips::-webkit-scrollbar { display: none; }
.g2-filter-chips .chip { height: 30px; }

/* ──────────────────────────────────────────────────────────────────
 * g3-* GUEST FLOW v3 — booking multi-step + sheet pickers + chat
 * Owner: guest-ios surgery agent. Prefix g3- to avoid g2-* collisions.
 * ────────────────────────────────────────────────────────────────── */

/* g3-pip · 4-dot step indicator (replaces text-heavy .steps for tight bars) */
.g3-pip-row {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0;
}
.g3-pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-secondary-tint-strong);
  display: inline-block;
}
.g3-pip.is-on {
  width: 8px; height: 8px;
  background: var(--c-tertiary);
}
.g3-pip.is-done { background: var(--c-secondary); }

/* g3-demo-chip · "Demo: Selin Yılmaz" muted right-side topbar chip */
.g3-demo-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-secondary);
  padding: 4px 8px;
  border: 0.5px solid var(--c-hairline);
}

/* g3-cart-chip · sticky cart summary inside booking flow */
.g3-cart-chip {
  display: flex; align-items: center; gap: 10px;
  margin: 10px var(--s-md);
  padding: 10px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--c-primary);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.g3-cart-chip .g3-cart-meta {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.g3-cart-chip svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; color: var(--c-secondary); }

/* g3-svc-row · service row with checkbox + price */
.g3-svc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px var(--s-md);
  min-height: 56px;
  border-bottom: 0.5px solid var(--c-hairline);
  background: transparent;
  cursor: pointer;
}
.g3-svc-row .g3-cb {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1px solid var(--c-secondary-tint-strong);
  background: var(--c-surface);
  flex-shrink: 0;
  position: relative; cursor: pointer;
}
.g3-svc-row .g3-cb:checked {
  background: var(--c-primary); border-color: var(--c-primary);
}
.g3-svc-row .g3-cb:checked::after {
  content: '✓';
  position: absolute; inset: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-on-primary); font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.g3-svc-row .g3-svc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.g3-svc-row .g3-svc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--c-primary);
}
.g3-svc-row .g3-svc-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.g3-svc-row .g3-svc-price {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

/* g3-acc · category accordion */
.g3-acc {
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
  background: var(--c-surface);
  margin-bottom: 12px;
}
.g3-acc summary {
  display: flex; align-items: center; gap: 10px;
  padding: 14px var(--s-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--c-primary);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.g3-acc summary::-webkit-details-marker { display: none; }
.g3-acc summary::after {
  content: '+';
  margin-left: auto;
  color: var(--c-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 400;
  transition: transform 200ms ease;
}
.g3-acc[open] summary::after { transform: rotate(45deg); }
.g3-acc[open] summary { border-bottom: 0.5px solid var(--c-hairline); }
.g3-acc .g3-acc-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px; color: var(--c-secondary);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-left: 12px;
}

/* g3-staff-row · large staff card */
.g3-staff-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px var(--s-md);
  min-height: 72px;
  border-bottom: 0.5px solid var(--c-hairline);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.g3-staff-row.is-on {
  background: var(--c-primary-tint);
}
.g3-staff-row.is-on::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--c-tertiary);
}
.g3-staff-row .av-photo { width: 48px; height: 48px; flex-shrink: 0; }
.g3-staff-row .g3-staff-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.g3-staff-row .g3-staff-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500; color: var(--c-primary);
  letter-spacing: 0.005em;
}
.g3-staff-row .g3-staff-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
}
.g3-staff-row .g3-staff-avail {
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-tertiary-deep);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.g3-staff-row .g3-staff-rating {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}

/* g3-date-strip · 14-day horizontal scroll */
.g3-date-strip {
  display: flex; gap: 8px;
  padding: 14px var(--s-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--s-md);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.g3-date-strip::-webkit-scrollbar { display: none; }
.g3-date-cell {
  flex: 0 0 auto;
  width: 56px; height: 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  scroll-snap-align: start;
  font-family: 'Inter', sans-serif;
  color: var(--c-primary);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.g3-date-cell .g3-dow {
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g3-date-cell .g3-dom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.g3-date-cell.is-weekend .g3-dow,
.g3-date-cell.is-weekend .g3-dom { color: var(--c-secondary); }
.g3-date-cell.is-today::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1px; background: var(--c-tertiary);
}
.g3-date-cell.is-on {
  background: var(--c-primary); border-color: var(--c-primary);
}
.g3-date-cell.is-on .g3-dow,
.g3-date-cell.is-on .g3-dom { color: var(--c-on-primary); }
.g3-date-cell.is-on.is-today::after { background: var(--c-tertiary); }

/* g3-slot-grid · 4-col tappable time grid */
.g3-slot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 12px var(--s-md);
}
.g3-slot {
  height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--c-tertiary-edge);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.g3-slot:active { transform: scale(0.97); }
.g3-slot.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.g3-slot.is-disabled {
  border-color: var(--c-secondary-tint);
  color: var(--c-secondary-tint-strong);
  background: var(--c-secondary-tint);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* g3-sheet · iOS-feel bottom sheet (own version, distinct from .sheet for transition) */
.g3-sheet-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(45, 28, 15, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.g3-sheet-backdrop[data-open="true"] {
  opacity: 1; pointer-events: auto;
}
.g3-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--c-surface);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g3-sheet-backdrop[data-open="true"] .g3-sheet { transform: translateY(0); }
.g3-sheet-handle {
  width: 40px; height: 4px;
  background: var(--c-secondary-tint-strong);
  border-radius: 2px;
  margin: 8px auto 0;
  flex-shrink: 0;
}
.g3-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  flex-shrink: 0;
}
.g3-sheet-header h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; color: var(--c-primary);
}
.g3-sheet-cancel,
.g3-sheet-confirm {
  background: transparent; border: 0; padding: 6px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--c-secondary);
  min-height: 36px; min-width: 56px;
  text-align: left;
}
.g3-sheet-confirm { text-align: right; }
.g3-sheet-confirm.is-accent { color: var(--c-tertiary-deep); font-weight: 600; }
.g3-sheet-body {
  flex: 1; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--sai-bottom) + 16px);
  /* gp: trap inner scroll so page behind sheet stays still */
  overscroll-behavior: contain;
}

/* g3-cal · vertical month calendar inside sheet */
.g3-cal {
  padding: 12px var(--s-md);
}
.g3-cal-month-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 4px 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; color: var(--c-primary);
}
.g3-cal-month-nav {
  background: transparent; border: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-secondary);
}
.g3-cal-month-nav svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.g3-cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  padding: 0 4px 8px;
}
.g3-cal-dow span {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g3-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  padding: 0 4px;
}
.g3-cal-day {
  aspect-ratio: 1 / 1;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  position: relative;
}
.g3-cal-day.is-pad { color: transparent; pointer-events: none; }
.g3-cal-day.is-past { color: var(--c-secondary-tint-strong); pointer-events: none; }
.g3-cal-day.is-today { font-weight: 600; }
.g3-cal-day.is-today::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--c-tertiary);
}
.g3-cal-day.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
  font-weight: 600;
}
.g3-cal-day.is-on.is-today::after { background: var(--c-tertiary); }

/* g3-chat · iOS-Messages-style chat */
.g3-chat-list {
  padding: 12px var(--s-md) 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.g3-chat-day {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-secondary);
  padding: 16px 0 6px;
}
.g3-chat-from {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 15px; color: var(--c-secondary);
  padding: 6px 4px 2px;
}
.g3-bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 15px; line-height: 1.4;
  word-wrap: break-word;
}
.g3-bubble--in {
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  color: var(--c-primary);
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
}
.g3-bubble--out {
  background: var(--c-primary);
  color: var(--c-on-primary);
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.g3-bubble + .g3-bubble--out { margin-top: 2px; }
.g3-bubble + .g3-bubble--in { margin-top: 2px; }
.g3-chat-time {
  align-self: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em; color: var(--c-secondary);
  padding: 8px 0 4px;
}
.g3-chat-input-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 35;
  background: var(--c-neutral);
  border-top: 0.5px solid var(--c-hairline);
  padding: 8px var(--s-md);
  padding-bottom: calc(var(--sai-bottom) + 8px);
  display: flex; align-items: center; gap: 8px;
}
@media (min-width: 768px) {
  .g3-chat-input-bar { position: absolute; }
}
.g3-chat-input-bar .g3-attach {
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--c-secondary-tint);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-secondary);
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 400;
  line-height: 1;
}
.g3-chat-input-bar .g3-msg-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  background: var(--c-surface);
  border: 0.5px solid var(--c-hairline);
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px;
  color: var(--c-primary);
  border-radius: 18px;
}
.g3-chat-input-bar .g3-msg-input:focus { outline: none; border-color: var(--c-primary); }
.g3-chat-input-bar .g3-send {
  width: 36px; height: 36px;
  background: var(--c-tertiary); color: var(--c-on-primary);
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 200ms ease;
}
.g3-chat-input-bar .g3-send:disabled {
  background: var(--c-secondary-tint-strong);
  color: var(--c-secondary);
}
.g3-chat-input-bar .g3-send svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.g3-chat-presence {
  padding: 6px var(--s-md);
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary);
  letter-spacing: 0.04em;
  border-bottom: 0.5px solid var(--c-hairline);
  display: flex; align-items: center; gap: 6px;
}
.g3-chat-presence .g3-presence-dot {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  color: var(--c-tertiary-deep);
  font-size: 14px;
  line-height: 1;
}

/* g3-msg-call-row · 2-button row at top of appt-detail */
.g3-msg-call-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--s-md) 4px;
}
.g3-msg-call-row .btn { padding: 12px 8px; font-size: 13px; }

/* g3-pp-pill · postpone-pending pill replacement for status */
.g3-pending-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 var(--s-md);
  padding: 8px 12px;
  border: 1px solid var(--c-tertiary-edge);
  background: var(--c-tertiary-tint);
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--c-primary);
}

/* g3-call-sheet number */
.g3-call-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  text-align: center;
  display: block;
  padding: 14px 0;
  text-decoration: none;
}

/* g3-edit-row · edit-visit chip-style row */
.g3-edit-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px var(--s-md);
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  margin: 8px var(--s-md);
}
.g3-edit-row .g3-edit-label {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 4px;
}
.g3-edit-row .g3-edit-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--c-primary);
}
.g3-edit-row .g3-edit-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.g3-edit-row .g3-edit-body .g3-edit-sub {
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; color: var(--c-secondary);
  margin-top: 2px;
}
.g3-edit-row .g3-edit-change {
  background: transparent; border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--c-tertiary-deep);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
  flex-shrink: 0;
}

/* g3-toast · success toast */
.g3-toast {
  position: fixed; left: 50%; bottom: 40%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-primary); color: var(--c-on-primary);
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; letter-spacing: 0.04em;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
  max-width: 80%;
}
.g3-toast.is-on {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* g3-ba-block · before/after section in past-state appt-detail */
.g3-ba-block {
  margin: 16px var(--s-md);
  padding: 16px;
  border: 1px solid var(--c-secondary-tint);
  background: var(--c-surface);
}
.g3-ba-block .g3-ba-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.g3-ba-block .g3-ba-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g3-ba-block .g3-ba-pair-cap {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--c-secondary); letter-spacing: 0.04em;
}
.g3-ba-block .g3-ba-pair-cap .av-photo { width: 24px; height: 24px; }
.g3-ba-block .g3-kvkk {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid var(--c-hairline);
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12px; line-height: 1.5;
  color: var(--c-secondary);
}
.g3-ba-block .g3-ba-actions {
  display: flex; gap: 8px;
  margin-top: 10px;
}
.g3-ba-block .g3-ba-actions .btn { flex: 1; }

/* ──────────────────────────────────────────────────────────────────────────
 * g4-* GUEST DEPTH WAVE — service-detail flesh-out, loyalty depth,
 *   profile depth, notifications, promotions, help.
 *   Owner: guest-ios depth agent. Prefix g4- to avoid g2/g3 collisions.
 *   Sharp corners preserved. Single-accent gold rule respected (only one
 *   surface per page may be tobacco/gold filled).
 * ────────────────────────────────────────────────────────────────────── */

/* g4-bell · topbar notification bell with unread badge */
.g4-bell {
  position: relative;
  width: 32px; height: 32px;
  background: transparent; border: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  cursor: pointer;
}
.g4-bell:active { transform: scale(0.92); opacity: 0.7; }
.g4-bell svg { width: 22px; height: 22px; stroke-width: 1.5; stroke: currentColor; fill: none; }
.g4-bell .g4-bell-badge {
  position: absolute; top: 1px; right: 1px;
  min-width: 14px; height: 14px;
  padding: 0 3px;
  background: var(--c-tertiary);
  color: var(--c-on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 600; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 1.5px solid var(--c-neutral);
}

/* g4-soc · social-proof line under hero */
.g4-soc {
  padding: 0 var(--s-md) 8px;
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 13px; color: var(--c-secondary);
}
.g4-soc .g4-pop-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border: 0.5px solid var(--c-hairline);
  background: var(--c-surface);
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-primary);
}

/* g4-axes · 4-axis rating row */
.g4-axes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 12px var(--s-md) 14px;
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-axes .g4-ax {
  display: flex; flex-direction: column; gap: 2px;
}
.g4-axes .g4-ax-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-axes .g4-ax-row {
  display: flex; align-items: baseline; gap: 6px;
}
.g4-axes .g4-ax-stars {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--c-tertiary-deep);
}
.g4-axes .g4-ax-num {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--c-primary);
}

/* g4-editorial · about / aftercare prose card */
.g4-editorial {
  padding: 10px var(--s-md) 16px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 15px; line-height: 1.65;
  color: var(--c-primary);
}

/* g4-tick-list · what's included / preparation / aftercare */
.g4-tick-list {
  list-style: none;
  margin: 0; padding: 6px var(--s-md) 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.g4-tick-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 14px; line-height: 1.5;
  color: var(--c-primary);
}
.g4-tick-list li::before {
  content: '\2713'; /* ✓ */
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--c-primary);
  font-size: 13px; line-height: 1.5;
}
.g4-tick-list.g4-warn li::before {
  content: '\2022'; /* • */
  color: var(--c-tertiary-deep);
  font-size: 18px; line-height: 1.2;
}

/* g4-staff-card · richer staff card on service-detail */
.g4-staff-list {
  display: flex; flex-direction: column;
  border-top: 0.5px solid var(--c-hairline);
}
.g4-staff-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 14px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: center;
}
.g4-staff-card .g4-staff-av {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
}
.g4-staff-card .g4-staff-body {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.g4-staff-card .g4-staff-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--c-primary);
}
.g4-staff-card .g4-staff-spec {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12.5px; color: var(--c-secondary);
}
.g4-staff-card .g4-staff-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em;
  color: var(--c-secondary);
}
.g4-staff-card .g4-staff-meta .g4-rating {
  color: var(--c-tertiary-deep);
}
.g4-staff-card .g4-staff-trail {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  text-align: right;
}
.g4-staff-card .g4-staff-trail .g4-slot {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-staff-card .g4-staff-trail .g4-slot-v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

/* g4-faq · accordion (extends g3-acc pattern but tighter for FAQ) */
.g4-faq {
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
  margin: 4px 0 8px;
}
.g4-faq details {
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-faq details:last-child { border-bottom: 0; }
.g4-faq summary {
  list-style: none;
  padding: 16px var(--s-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--c-primary);
  position: relative;
  cursor: pointer;
  padding-right: 44px;
}
.g4-faq summary::-webkit-details-marker { display: none; }
.g4-faq summary::after {
  content: '+';
  position: absolute; right: var(--s-md); top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 300;
  color: var(--c-secondary);
  transition: transform 200ms ease;
}
.g4-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g4-faq .g4-faq-body {
  padding: 0 var(--s-md) 16px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 14px; line-height: 1.6;
  color: var(--c-primary);
}

/* g4-related · horizontal scroll of related service cards */
.g4-related {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 4px var(--s-md) 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* gp: trap horizontal bounce */
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.g4-related::-webkit-scrollbar { display: none; }
.g4-related .g4-rel-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none;
  color: inherit;
}
.g4-related .g4-rel-card .photo {
  width: 200px; height: 130px; object-fit: cover;
}
.g4-related .g4-rel-card .g4-rel-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
  margin-top: 2px;
}
.g4-related .g4-rel-card .g4-rel-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-related .g4-rel-card .g4-rel-bundle {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12px; color: var(--c-tertiary-deep);
  margin-top: 2px;
}

/* g4-heat · popular times heatmap */
.g4-heat {
  padding: 8px var(--s-md) 16px;
}
.g4-heat .g4-heat-grid {
  display: grid;
  grid-template-columns: 28px repeat(11, 1fr);
  gap: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 9px; color: var(--c-secondary); letter-spacing: 0.02em;
}
.g4-heat .g4-heat-grid .g4-heat-dow {
  display: inline-flex; align-items: center; justify-content: flex-start;
  padding-right: 4px;
}
.g4-heat .g4-heat-grid .g4-heat-cell {
  height: 14px;
  background: var(--c-secondary-tint);
}
.g4-heat .g4-heat-grid .g4-heat-cell.h1 { background: rgba(140, 117, 99, 0.22); }
.g4-heat .g4-heat-grid .g4-heat-cell.h2 { background: rgba(140, 117, 99, 0.40); }
.g4-heat .g4-heat-grid .g4-heat-cell.h3 { background: rgba(45, 28, 15, 0.55); }
.g4-heat .g4-heat-grid .g4-heat-cell.h4 { background: rgba(45, 28, 15, 0.85); }
.g4-heat .g4-heat-grid .g4-heat-hr {
  font-family: 'Inter', sans-serif;
  font-size: 9px; color: var(--c-secondary);
  text-align: center;
}
.g4-heat .g4-heat-legend {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em;
  color: var(--c-secondary);
}
.g4-heat .g4-heat-legend .g4-heat-cell {
  display: inline-block; width: 14px; height: 10px;
}

/* ─── Loyalty depth ─────────────────────────────────────────────── */

/* g4-perk-chips · row of small perk chips inside tier card */
.g4-perk-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.g4-perk-chips .g4-perk-chip {
  padding: 4px 8px;
  background: var(--c-surface);
  border: 0.5px solid var(--c-tertiary-edge);
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.02em;
  color: var(--c-primary);
}

/* g4-tier-ladder · 5-step tier visual */
.g4-tier-ladder {
  display: flex; flex-direction: column;
  gap: 0;
  margin: 4px 0 8px;
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-tier-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 14px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: flex-start;
}
.g4-tier-step:last-child { border-bottom: 0; }
.g4-tier-step.is-current { background: var(--c-primary); color: var(--c-on-primary); }
.g4-tier-step .g4-tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; line-height: 1.1;
}
.g4-tier-step .g4-tier-range {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
  margin-top: 2px;
}
.g4-tier-step.is-current .g4-tier-range { color: var(--c-on-primary); opacity: 0.7; }
.g4-tier-step .g4-tier-perks {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 13px; line-height: 1.5;
  color: var(--c-secondary);
}
.g4-tier-step.is-current .g4-tier-perks { color: var(--c-on-primary); opacity: 0.85; }

/* g4-history · points history timeline */
.g4-hist {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-hist li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: baseline;
}
.g4-hist li:last-child { border-bottom: 0; }
.g4-hist .g4-hist-body {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.g4-hist .g4-hist-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; color: var(--c-primary);
}
.g4-hist .g4-hist-when {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-hist .g4-hist-pts {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--c-primary);
}
.g4-hist .g4-hist-pts.g4-neg { color: var(--c-tertiary-deep); }

/* g4-warn-card · expiring points warning */
.g4-warn-card {
  margin: 8px var(--s-md);
  padding: 14px;
  border: 1px solid var(--c-tertiary-edge);
  background: var(--c-tertiary-tint);
  display: flex; align-items: center; gap: 12px;
}
.g4-warn-card .g4-warn-body {
  flex: 1; min-width: 0;
}
.g4-warn-card .g4-warn-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--c-primary);
}
.g4-warn-card .g4-warn-sub {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12.5px; color: var(--c-secondary);
  margin-top: 2px;
}
.g4-warn-card .g4-warn-link {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--c-tertiary-deep);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
}

/* g4-refer · referral card */
.g4-refer {
  margin: 8px var(--s-md);
  padding: 18px;
  border: 1px solid var(--c-secondary-tint);
  background: var(--c-surface);
}
.g4-refer h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; color: var(--c-primary);
}
.g4-refer p {
  margin: 0 0 12px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 13.5px; line-height: 1.55; color: var(--c-secondary);
}
.g4-refer .g4-promo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--c-neutral);
  border: 1px dashed var(--c-secondary-tint-strong);
  font-family: 'Inter', ui-monospace, monospace;
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--c-primary);
  margin-bottom: 10px;
}
.g4-refer .g4-promo-chip .g4-copy {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-refer .g4-refer-actions {
  display: flex; gap: 8px;
}

/* g4-compare-table · tier comparison table */
.g4-compare {
  margin: 4px 0 8px;
}
.g4-compare summary {
  list-style: none;
  padding: 14px var(--s-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--c-primary);
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
  position: relative;
  padding-right: 44px;
  cursor: pointer;
}
.g4-compare summary::-webkit-details-marker { display: none; }
.g4-compare summary::after {
  content: '+';
  position: absolute; right: var(--s-md); top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 300;
  color: var(--c-secondary);
  transition: transform 200ms ease;
}
.g4-compare[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g4-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
}
.g4-compare-table th, .g4-compare-table td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 0.5px solid var(--c-hairline);
  vertical-align: middle;
}
.g4-compare-table th:first-child, .g4-compare-table td:first-child {
  text-align: left;
  padding-left: var(--s-md);
  color: var(--c-secondary);
}
.g4-compare-table th {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-size: 9.5px;
}
/* gp: "current tier" column uses surface tint, not gold tint —
 * single-accent gold is reserved for the page's CTA. The bold weight
 * + subtle background already signal "you are here". */
.g4-compare-table td.g4-cur {
  background: var(--c-secondary-tint);
  color: var(--c-primary);
  font-weight: 600;
}
.g4-compare-table td .g4-yes { color: var(--c-primary); font-weight: 600; }
.g4-compare-table td .g4-no { color: var(--c-secondary); opacity: 0.5; }

/* ─── Profile depth ─────────────────────────────────────────────── */

/* g4-id-stats · quick-stats row in profile hero */
.g4-id-stats {
  display: flex; gap: 18px;
  justify-content: center;
  padding: 10px 0 0;
  border-top: 0.5px solid var(--c-hairline);
  margin-top: 14px; width: 100%;
}
.g4-id-stats .g4-id-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.g4-id-stats .g4-id-stat .g4-id-stat-v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.g4-id-stats .g4-id-stat .g4-id-stat-l {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}

/* g4-tier-badge · clickable tier badge inside id-card */
.g4-tier-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: var(--c-primary); color: var(--c-on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
}

/* g4-verified · verified ✓ chip on contact rows */
.g4-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em;
  color: var(--c-tertiary-deep);
}

/* g4-kvkk-chip · sensitive personal data marker */
.g4-kvkk-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 6px;
  background: var(--c-secondary-tint);
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 0.04em;
  color: var(--c-secondary);
  border: 0.5px solid var(--c-hairline);
}

/* g4-toggle · toggle switch (visual only) */
.g4-toggle {
  display: inline-block;
  width: 36px; height: 20px;
  background: var(--c-secondary-tint-strong);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
  transition: background 200ms ease;
}
.g4-toggle::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--c-on-primary);
  border-radius: 50%;
  transition: left 200ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
/* gp: iOS toggles use system green; here we use --c-primary (warm dark)
 * to preserve single-accent gold rule — gold is reserved for the page's
 * single primary CTA, never for toggle states. */
.g4-toggle.is-on { background: var(--c-primary); }
.g4-toggle.is-on::after { left: 18px; }

/* g4-staff-pref · preferred staff row with toggle */
.g4-staff-pref {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  padding: 12px var(--s-md);
  align-items: center;
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-staff-pref .av-photo { width: 44px; height: 44px; }
.g4-staff-pref .g4-staff-pref-body {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.g4-staff-pref .g4-staff-pref-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
}
.g4-staff-pref .g4-staff-pref-spec {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12px; color: var(--c-secondary);
}

/* g4-consent-row · KVKK explicit consent row with timestamp */
.g4-consent-row .sub.g4-stamp {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em; text-transform: none;
  color: var(--c-secondary);
}

/* ─── Notifications ─────────────────────────────────────────────── */

.g4-notif-filters {
  display: flex; gap: 6px; overflow-x: auto;
  padding: 8px var(--s-md) 12px;
  -webkit-overflow-scrolling: touch;
}
.g4-notif-filters::-webkit-scrollbar { display: none; }
.g4-notif-filters .g4-notif-chip {
  padding: 6px 12px;
  border: 0.5px solid var(--c-secondary-tint-strong);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--c-secondary);
  white-space: nowrap;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.g4-notif-filters .g4-notif-chip.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
  border-color: var(--c-primary);
}

.g4-notif-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 0.5px solid var(--c-hairline);
}
.g4-notif-row {
  display: grid;
  grid-template-columns: 36px 1fr 14px;
  gap: 12px;
  padding: 14px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.g4-notif-row .g4-notif-icon {
  width: 36px; height: 36px;
  border: 0.5px solid var(--c-hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-secondary);
  flex-shrink: 0;
}
.g4-notif-row .g4-notif-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.g4-notif-row.is-unread .g4-notif-icon { color: var(--c-primary); border-color: var(--c-primary); }
.g4-notif-row .g4-notif-body {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.g4-notif-row .g4-notif-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
  line-height: 1.25;
}
.g4-notif-row.is-unread .g4-notif-title {
  font-weight: 500;
}
.g4-notif-row.is-read .g4-notif-title { color: var(--c-secondary); }
.g4-notif-row .g4-notif-text {
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; line-height: 1.5;
  color: var(--c-secondary);
}
.g4-notif-row .g4-notif-when {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
  margin-top: 2px;
}
.g4-notif-row .g4-notif-status {
  align-self: flex-start;
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; line-height: 1;
  color: var(--c-tertiary-deep);
}
.g4-notif-row.is-read .g4-notif-status { color: transparent; }

.g4-notif-day-head {
  padding: 18px var(--s-md) 6px;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
  background: var(--c-neutral);
}

/* ─── Promotions ─────────────────────────────────────────────── */

.g4-promo-hero {
  position: relative;
  margin: 8px var(--s-md) 16px;
}
.g4-promo-hero img.photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.g4-promo-hero .g4-promo-hero-body {
  padding: 14px 0 0;
}
.g4-promo-hero .g4-promo-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-tertiary-deep);
  margin-bottom: 6px;
}
.g4-promo-hero h2 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; line-height: 1.08; letter-spacing: 0.005em;
  color: var(--c-primary);
}
.g4-promo-hero .g4-promo-hero-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.04em; color: var(--c-secondary);
  margin-bottom: 10px;
}

.g4-promo-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 0.5px solid var(--c-hairline);
}
.g4-promo-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 14px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.g4-promo-card .photo {
  width: 80px; height: 80px; object-fit: cover;
}
.g4-promo-card .g4-promo-body {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.g4-promo-card .g4-promo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
  line-height: 1.2;
}
.g4-promo-card .g4-promo-dates {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-promo-card .g4-promo-discount {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 13px; color: var(--c-tertiary-deep);
}
.g4-promo-card .g4-promo-claimed {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 0.04em; color: var(--c-secondary);
  margin-top: 2px;
}
.g4-promo-card .g4-promo-claimed-bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--c-secondary-tint);
  margin-top: 4px;
}
.g4-promo-card .g4-promo-claimed-bar span {
  display: block;
  height: 100%;
  background: var(--c-tertiary);
}

/* ─── Help ─────────────────────────────────────────────── */

.g4-help-search {
  padding: 8px var(--s-md) 12px;
}
.g4-help-search .g4-help-input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.g4-help-search .g4-help-input-wrap svg {
  position: absolute; left: 12px;
  width: 16px; height: 16px;
  stroke: var(--c-secondary); stroke-width: 1.5; fill: none;
}
.g4-help-search input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 38px;
  background: var(--c-surface);
  border: 0.5px solid var(--c-hairline);
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px;
  color: var(--c-primary);
}
.g4-help-search input::placeholder { color: var(--c-secondary); }

.g4-help-contact {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 0.5px solid var(--c-hairline);
  border-bottom: 0.5px solid var(--c-hairline);
}
.g4-help-contact li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px var(--s-md);
  border-bottom: 0.5px solid var(--c-hairline);
  align-items: center;
}
.g4-help-contact li:last-child { border-bottom: 0; }
.g4-help-contact .g4-help-icon {
  color: var(--c-secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.g4-help-contact .g4-help-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.g4-help-contact .g4-help-body {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.g4-help-contact .g4-help-label {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-secondary);
}
.g4-help-contact .g4-help-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--c-primary);
}

/* ───────────────────────────────────────────────────────────────────────
 * gob-*  Guest Onboarding (welcome → phone → verify → terms → discover)
 *
 * Mirrors existing dialect: sharp corners (0/2px), 16px input floor,
 * single gold CTA per page (.cta), bottom sheet 16px top.
 * Prefix `gob-` chosen to stay clear of g2/g3/g4 helpers above.
 * ─────────────────────────────────────────────────────────────────────── */

/* 3-dot step pip indicator (lives in topbar trailing) */
.gob-step-pip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px;
  padding: 0 6px;
}
.gob-step-pip .pip {
  width: 8px; height: 8px;
  border: 1px solid var(--c-secondary-tint-strong);
  background: transparent;
  border-radius: 50%;
  display: inline-block;
  transition: background 200ms ease, border-color 200ms ease;
}
.gob-step-pip .pip.is-on {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

/* Onboarding hero block (Cormorant 28 + italic Libre tagline) */
.gob-hero {
  padding: 22px var(--s-md) 8px;
}
.gob-hero h1 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; letter-spacing: 0.005em; line-height: 1.1;
  color: var(--c-primary);
}
.gob-hero .sub {
  margin: 0;
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 16px; line-height: 1.5;
  color: var(--c-secondary);
}
.gob-hero .sub--sm { font-size: 14px; }

/* Body wrapper */
.gob-body { padding: 18px var(--s-md) 8px; }
.gob-section { margin-top: 22px; }
.gob-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--c-secondary);
  margin-bottom: 12px;
}
.gob-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--c-tertiary); }

/* Phone row · joined country pill + national input
 * Hairline tobacco on the seam between pill and input. */
.gob-phone-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--c-hairline);
  margin-top: 6px;
}
.gob-phone-row:focus-within { border-bottom-color: var(--c-primary); }

.gob-country-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px;
  padding: 0 12px 0 4px;
  background: transparent; border: 0;
  border-right: 1px solid var(--c-hairline);
  color: var(--c-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px;
}
.gob-country-pill:active { opacity: 0.6; }
.gob-country-pill .flag {
  font-size: 22px; line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.gob-country-pill .iso {
  font-weight: 600; letter-spacing: 0.04em; color: var(--c-primary);
}
.gob-country-pill .dial {
  color: var(--c-secondary);
  font-variant-numeric: tabular-nums;
}
.gob-country-pill .chev {
  width: 12px; height: 12px;
  color: var(--c-secondary);
  margin-left: 2px;
}

.gob-phone-input {
  flex: 1; min-width: 0;
  height: 48px;
  padding: 0 4px 0 12px;
  background: transparent; border: 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 18px; /* well above 16 — iOS no-zoom safe */
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--c-primary);
}
.gob-phone-input:focus { outline: none; }
.gob-phone-input::placeholder { color: var(--c-secondary); font-style: italic; letter-spacing: 0.06em; }

.gob-validity {
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--c-secondary);
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 16px;
}
.gob-validity::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-secondary-tint-strong);
  display: inline-block;
}
.gob-validity.is-ok { color: var(--c-tertiary-deep); }
.gob-validity.is-ok::before { background: var(--c-tertiary); }

.gob-helps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; color: var(--c-secondary); line-height: 1.55;
}
.gob-helps li {
  display: flex; gap: 10px;
  padding: 3px 0;
}
.gob-helps li::before {
  content: '·';
  color: var(--c-tertiary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; line-height: 1;
  margin-top: 1px;
}

/* Channel segmented control (mirrors .seg dialect, with extra note slot) */
.gob-channel-seg {
  display: inline-flex;
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: 8px;
  padding: 3px;
  margin: 6px 0 8px;
}
.gob-channel-seg .seg-item {
  flex: 1;
  height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--c-secondary);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.gob-channel-seg .seg-item.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
}
.gob-channel-note {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12.5px; line-height: 1.5;
  color: var(--c-secondary);
  margin: 6px 0 0;
}

.gob-kvkk-note {
  font-family: 'Libre Caslon Text', serif;
  font-size: 11.5px; line-height: 1.55;
  color: var(--c-secondary);
  margin: 18px 0 6px;
}
.gob-kvkk-note a {
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
}
.gob-aux-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.5px solid var(--c-hairline);
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; color: var(--c-secondary);
  text-align: center;
}
.gob-aux-row a {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  margin-left: 6px;
  text-decoration-color: var(--c-tertiary);
}

/* ── Country sheet (bottom sheet, 16px top, 80vh max) ────────────────── */
.gob-country-sheet { padding-top: 8px; }
.gob-country-sheet .gob-cs-search {
  position: sticky; top: 0;
  background: var(--c-surface);
  padding: 6px 0 10px;
  z-index: 2;
}
.gob-country-sheet .gob-cs-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--c-neutral);
  border: 0.5px solid var(--c-hairline);
  border-radius: 10px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 16px; /* iOS no-zoom floor */
  color: var(--c-primary);
}
.gob-country-sheet .gob-cs-search input:focus { outline: none; border-color: var(--c-primary); }
.gob-country-sheet .gob-cs-section-head {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-secondary);
  padding: 18px 0 6px;
}
.gob-country-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px;
  background: transparent; border: 0;
  border-bottom: 0.5px solid var(--c-hairline);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.gob-country-row:active { background: var(--c-primary-tint); }
.gob-country-row .flag {
  font-size: 22px; line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  flex-shrink: 0;
}
.gob-country-row .name {
  flex: 1; min-width: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--c-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gob-country-row .name .name-en {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12px; color: var(--c-secondary); margin-left: 6px;
}
.gob-country-row .dial {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--c-secondary);
  flex-shrink: 0;
}
.gob-country-row .check {
  width: 18px; height: 18px;
  color: var(--c-tertiary);
  visibility: hidden;
  flex-shrink: 0;
}
.gob-country-row.is-selected .check { visibility: visible; }
.gob-country-row.is-selected .name { color: var(--c-primary); font-weight: 500; }

/* ── OTP grid (verify page) ─────────────────────────────────────────── */
.gob-otp-grid {
  display: flex; gap: 8px;
  margin: 22px 0 4px;
  justify-content: space-between;
}
.gob-otp-cell {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint-strong);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding: 0;
  -moz-appearance: textfield;
}
.gob-otp-cell::-webkit-outer-spin-button,
.gob-otp-cell::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gob-otp-cell:focus {
  outline: none;
  border-color: var(--c-primary);
  background: var(--c-neutral);
}
.gob-otp-cell.has-value {
  border-color: var(--c-tertiary);
}

.gob-channel-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--c-secondary-tint-strong);
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-primary);
  margin-top: 8px;
}
.gob-channel-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-tertiary);
}

.gob-resend {
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--c-secondary);
  text-align: center;
}
.gob-resend.is-ready {
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
  cursor: pointer;
}
.gob-resend-row {
  margin-top: 10px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--c-secondary);
}
.gob-resend-row a {
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
}
.gob-edit-link {
  display: block; text-align: center;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
  background: transparent; border: 0; padding: 8px 0;
  width: 100%;
  cursor: pointer;
}
.gob-footer-note {
  margin: 22px var(--s-md) 0;
  padding: 12px 14px;
  background: var(--c-primary-tint);
  border-left: 2px solid var(--c-tertiary);
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 12.5px; line-height: 1.55;
  color: var(--c-secondary);
}

/* ── Terms accordions ───────────────────────────────────────────────── */
.gob-tnc-accordion {
  border-top: 0.5px solid var(--c-hairline);
}
.gob-tnc-accordion:last-of-type { border-bottom: 0.5px solid var(--c-hairline); }
.gob-tnc-acc-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 14px 0;
  background: transparent; border: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500;
  color: var(--c-primary);
  text-align: left;
  cursor: pointer;
}
.gob-tnc-acc-head .chev {
  width: 16px; height: 16px;
  color: var(--c-secondary);
  transition: transform 200ms ease;
}
.gob-tnc-accordion.is-open .gob-tnc-acc-head .chev {
  transform: rotate(180deg);
  color: var(--c-tertiary);
}
.gob-tnc-acc-body {
  display: none;
  padding: 0 0 18px;
  font-family: 'Libre Caslon Text', serif;
  font-size: 13.5px; line-height: 1.7;
  color: var(--c-secondary);
}
.gob-tnc-accordion.is-open .gob-tnc-acc-body { display: block; }
.gob-tnc-acc-body a {
  color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-tertiary);
}

/* Language pill row inside terms */
.gob-tnc-lang {
  display: inline-flex;
  background: var(--c-surface);
  border: 1px solid var(--c-secondary-tint);
  border-radius: 8px;
  padding: 3px;
  margin: 4px 0 18px;
}
.gob-tnc-lang button {
  height: 30px;
  padding: 0 14px;
  background: transparent; border: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-secondary);
  border-radius: 6px;
  cursor: pointer;
}
.gob-tnc-lang button.is-on {
  background: var(--c-primary); color: var(--c-on-primary);
}

/* Consent row (sticky just above CTA) */
.gob-consent-stack {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 0.5px solid var(--c-hairline);
}
.gob-consent-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 13px; line-height: 1.55; color: var(--c-secondary);
  min-height: 44px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.gob-consent-row + .gob-consent-row { border-top: 0.5px dashed var(--c-secondary-tint); }
.gob-consent-row .tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary); margin-left: 6px;
}
.gob-consent-row.is-required .tag { color: var(--c-tertiary-deep); }

.gob-consent-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1px solid var(--c-secondary-tint-strong);
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--c-surface);
  position: relative;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.gob-consent-row.is-required input[type="checkbox"]:not(:checked) {
  border-color: var(--c-tertiary);
  box-shadow: 0 0 0 1px var(--c-tertiary-tint);
  animation: gob-consent-pulse 2200ms ease-in-out infinite;
}
@keyframes gob-consent-pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--c-tertiary-tint); }
  50%      { box-shadow: 0 0 0 3px var(--c-tertiary-tint); }
}
.gob-consent-row input[type="checkbox"]:checked {
  background: var(--c-primary); border-color: var(--c-primary);
  box-shadow: none; animation: none;
}
.gob-consent-row input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute; inset: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-on-primary); font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.gob-required-hint {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--c-tertiary-deep);
  text-align: center;
  margin: 6px 0 0;
  min-height: 14px;
}

/* CTA disabled state — still gold but dimmed; no second accent */
.cta[disabled],
.cta.is-disabled {
  background: var(--c-secondary-tint-strong);
  color: var(--c-on-primary);
  cursor: not-allowed;
  opacity: 1;
}
.cta[disabled]:active,
.cta.is-disabled:active { transform: none; background: var(--c-secondary-tint-strong); }

