/* ASACUTS — Apple-stiilis disainisüsteem, mobiil ennekõike */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  /* Klaas: tugev läbipaistvus + hägustus */
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.62);
  --glass-hover: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-edge: rgba(15, 23, 42, 0.06);
  --blur: saturate(180%) blur(28px);
  --fill: rgba(118, 118, 128, 0.12);
  --fill-strong: rgba(118, 118, 128, 0.2);
  --text: #1d1d1f;
  --text-2: #55555a;          /* ≥ 6:1 ka klaasi taga oleva värvi peal */
  --separator: rgba(60, 60, 67, 0.14);
  --accent: #0066cc;          /* 5.6:1 valgel */
  --accent-hover: #0058b0;
  --accent-tint: rgba(0, 102, 204, 0.1);
  --on-accent: #ffffff;
  --success: #1a7f37;
  --success-tint: rgba(26, 127, 55, 0.12);
  --danger: #c4221a;
  --danger-tint: rgba(196, 34, 26, 0.1);
  --warning: #9a5b00;
  --warning-tint: rgba(154, 91, 0, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.74);
  --shadow: 0 1px 1px rgba(15, 23, 42, 0.03), 0 10px 30px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --radius: 22px;
  --radius-sm: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --maxw: 1080px;
  --nav-h: 52px;
  color-scheme: light;
}

/* ---------- Alus ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Pehmed värvilaigud valge tausta peal, et klaas oleks näha */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 8% 6%, rgba(0, 122, 255, 0.20), transparent 62%),
    radial-gradient(34vmax 34vmax at 95% 22%, rgba(175, 82, 222, 0.16), transparent 62%),
    radial-gradient(40vmax 40vmax at 70% 88%, rgba(90, 200, 250, 0.20), transparent 62%),
    radial-gradient(30vmax 30vmax at 5% 75%, rgba(255, 159, 10, 0.10), transparent 62%);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 680px; }
main { display: block; padding-bottom: 96px; }
@media (min-width: 834px) { main { padding-bottom: 40px; } }

/* ---------- Navigatsioon ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: #fff;
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--separator);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
/* Katab ekraani ülaserva turvaala (kell/kaamera), et menüü kohale ei jääks auku */
body::after {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px);
  background: #fff; z-index: 60; pointer-events: none;
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 29px; }
.nav-links { display: none; margin-left: auto; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--text); opacity: 0.85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-account { font-size: 14px; color: var(--text); padding: 6px 10px; border-radius: 999px; }
.nav-account:hover { background: var(--fill); text-decoration: none; }
.menu-btn {
  width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer;
}
.menu-btn:hover { background: var(--fill); }
.mobile-menu { border-top: 1px solid var(--separator); padding-block: 8px 20px; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 24px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; border-bottom: 1px solid var(--separator); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 834px) {
  .nav-links { display: flex; }
  .nav-actions { margin-left: 24px; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Nupud ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color .2s, transform .1s, opacity .2s;
}
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgba(0, 102, 204, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--glass-strong); color: var(--text); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-secondary:hover { background: var(--fill-strong); }
.btn-ghost { background: transparent; color: var(--accent); padding: 0 12px; }
.btn-ghost:hover { background: var(--accent-tint); }
.btn-google { background: var(--glass-strong); color: var(--text); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.btn-google:hover { background: var(--glass-hover); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-barber { background: var(--text); color: var(--bg); }
.btn-barber:hover { opacity: 0.88; }
.link-arrow::after { content: " ›"; }

/* ---------- Hero ---------- */
.hero { padding-block: 48px 16px; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0; margin-bottom: 10px; }
.hero h1 { font-size: clamp(44px, 12vw, 88px); font-weight: 700; letter-spacing: -0.045em; }
.hero .lead { margin: 16px auto 0; max-width: 34ch; font-size: clamp(19px, 4.6vw, 24px); color: var(--text-2); line-height: 1.35; letter-spacing: -0.02em; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* Hind otse põhinupus: nähtav kohe, aga ei konkureeri teise nupuna */
.btn-price { margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.45); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-proof { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.hero-proof .stars { font-size: 14px; letter-spacing: 1px; }
@media (min-width: 834px) { .hero { padding-block: 88px 24px; } }

/* ---------- Sektsioonid ---------- */
.section { padding-block: 48px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(32px, 8vw, 48px); font-weight: 700; }
.section-head p { margin-top: 10px; color: var(--text-2); font-size: 19px; max-width: 46ch; }
@media (min-width: 834px) { .section { padding-block: 80px; } }

/* iOS grupeeritud nimekiri */
.glass, .list, .card, .stat, .cta-band, .prose .toc {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.list { border-radius: var(--radius); overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; position: relative; min-height: 56px; }
.list-row + .list-row::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--separator); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-weight: 600; font-size: 17px; }
.list-row .sub { font-size: 15px; color: var(--text-2); }
.list-row .value { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.list-row .chev { color: var(--text-2); opacity: .6; }
a.list-row { color: var(--text); }
a.list-row:hover { background: var(--glass-hover); text-decoration: none; }
.list-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-2); padding: 0 18px 8px; font-weight: 500; }
.list-note { font-size: 13px; color: var(--text-2); padding: 8px 18px 0; }

/* Kaardid */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--text-2); margin-top: 6px; }

.barber-card { display: flex; gap: 16px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; background: var(--fill); }
.avatar-sm { width: 40px; height: 40px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--text-2); letter-spacing: 0; }
.tag-accent { background: var(--accent-tint); color: var(--accent); }
.tag-success { background: var(--success-tint); color: var(--success); }
.tag-warning { background: var(--warning-tint); color: var(--warning); }
.tag-danger { background: var(--danger-tint); color: var(--danger); }

.steps { counter-reset: s; display: grid; gap: 16px; }
@media (min-width: 834px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 14px; }

.hours { font-variant-numeric: tabular-nums; }
.hours .today .title::after { content: "Täna"; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-tint); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }

.cta-band { text-align: center; padding: 40px 24px; border-radius: 28px; }
.cta-band h2 { font-size: clamp(28px, 7vw, 40px); }
.cta-band p { color: var(--text-2); margin: 10px auto 22px; max-width: 36ch; }

/* ---------- Mobiili kinnitatud CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.06);
  display: flex; align-items: center; gap: 12px;
}
.sticky-cta .info { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.sticky-cta .info strong { display: block; color: var(--text); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 834px) { .sticky-cta.mobile-only { display: none; } }

/* ---------- Jalus ---------- */
.footer { border-top: 1px solid var(--glass-border); padding-block: 28px 40px; font-size: 13px; color: var(--text-2); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.footer-grid { display: grid; gap: 20px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 834px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Vormid ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 15px; font-weight: 500; }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border); background: var(--glass-strong); color: var(--text);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 0 0 1px var(--glass-edge);
  font: inherit; font-size: 17px; letter-spacing: -0.01em; appearance: none;
}
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--text-2); opacity: .8; }
.input:focus { outline: none; border-color: var(--accent); background: var(--glass-hover); box-shadow: 0 0 0 4px var(--accent-tint); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-tint); }
.field-error { font-size: 14px; color: var(--danger); min-height: 0; }
.field-hint { font-size: 13px; color: var(--text-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.form-alert.error { background: var(--danger-tint); color: var(--danger); }
.form-alert.success { background: var(--success-tint); color: var(--success); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--separator); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 72px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

/* Segmenteeritud juhik */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: 12px; padding: 3px; gap: 2px; }
.segmented button {
  min-height: 34px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500;
  border-radius: 8px; cursor: pointer; letter-spacing: -0.01em;
}
.segmented button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); font-weight: 600; }

/* ---------- Auth ---------- */
.auth { padding-block: 32px; }
.auth-card { max-width: 440px; margin-inline: auto; display: grid; gap: 20px; }
.auth-card h1 { font-size: 34px; font-weight: 700; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-2); }
.auth-logo { width: 80px; height: 64px; margin-inline: auto; }

/* Google demo leht */
.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; align-items: end; }
.sheet { background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: 20px 20px 0 0; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; max-width: 520px; width: 100%; margin-inline: auto; }
.sheet h2 { font-size: 22px; }
@media (min-width: 640px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 20px; } }

/* ---------- Broneerimine ---------- */
.page-head { padding-block: 24px 8px; }
.page-head h1 { font-size: clamp(34px, 9vw, 48px); font-weight: 700; }
.page-head p { color: var(--text-2); margin-top: 8px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-block: 16px 8px; }
.progress span { height: 4px; border-radius: 2px; background: var(--fill-strong); }
.progress span.done { background: var(--accent); }
.progress-label { font-size: 13px; color: var(--text-2); }
.step-panel { display: grid; gap: 16px; padding-block: 12px 24px; }
.step-panel h2 { font-size: 24px; font-weight: 700; }

.option { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: var(--text); background: transparent; border: 0; cursor: pointer; }
.option .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fill-strong); flex: none; display: grid; place-items: center; }
.option[aria-checked="true"] .radio { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.option:hover { background: var(--glass-hover); }

.date-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  scroll-snap-align: start; flex: none; width: 60px; padding: 10px 0; border-radius: 14px; border: 0;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border);
  color: var(--text); font: inherit; cursor: pointer; display: grid; gap: 2px; text-align: center; box-shadow: var(--shadow);
}
.date-chip .dow { font-size: 12px; color: var(--text-2); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }
.date-chip .day { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.date-chip .mon { font-size: 12px; color: var(--text-2); }
.date-chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.date-chip[aria-pressed="true"] .dow, .date-chip[aria-pressed="true"] .mon { color: var(--on-accent); opacity: .85; }
.date-chip:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; background: var(--fill); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--text);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--glass-edge);
  font: inherit; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slot:disabled { color: var(--text-2); text-decoration: line-through; background: transparent; opacity: .55; cursor: not-allowed; }
.slot-group-title { font-size: 13px; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.summary .list-row .sub { font-size: 14px; }
.success-state { text-align: center; padding-block: 32px; display: grid; gap: 12px; justify-items: center; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--success-tint); color: var(--success); display: grid; place-items: center; }

/* ---------- Konto & juuksuri paneel ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border-radius: 18px; padding: 14px; }
.stat .num { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1.1; }
.stat .lbl { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.timeline .time { width: 54px; flex: none; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; }
.timeline .time small { display: block; font-weight: 400; color: var(--text-2); font-size: 12px; }
.timeline .list-row.now { background: var(--accent-tint); }
.timeline .list-row.free .title { color: var(--text-2); font-weight: 500; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px 12px; }
.panel-head h1 { font-size: clamp(30px, 8vw, 40px); font-weight: 700; }
.panel-head .date { color: var(--text-2); }
.panel-section { display: grid; gap: 12px; margin-top: 24px; }
.panel-section > h2 { font-size: 22px; font-weight: 700; }
.toggle { position: relative; width: 51px; height: 31px; flex: none; }
.toggle input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.toggle span { position: absolute; inset: 0; background: var(--fill-strong); border-radius: 999px; transition: background .2s; }
.toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s; }
.toggle input:checked + span { background: var(--success); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--separator); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar button { border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 11px; font-weight: 500; padding: 8px 0 6px; display: grid; justify-items: center; gap: 2px; cursor: pointer; letter-spacing: 0; }
.tabbar button[aria-selected="true"] { color: var(--accent); }
@media (min-width: 834px) { .tabbar { position: static; max-width: 480px; margin: 8px 0 0; border: 1px solid var(--glass-border); background: var(--glass); border-radius: 12px; padding: 2px; } .tabbar button { border-radius: 10px; } .tabbar button[aria-selected="true"] { background: var(--glass-hover); } }

/* ---------- Tekstilehed ---------- */
.prose { max-width: 680px; margin-inline: auto; padding-block: 24px 40px; }
.prose h1 { font-size: clamp(34px, 9vw, 48px); font-weight: 700; margin-bottom: 8px; }
.prose .updated { color: var(--text-2); font-size: 15px; margin-bottom: 28px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.prose .toc { border-radius: var(--radius); padding: 18px 22px; }
.prose .toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 48px; }
.notfound .code { font-size: clamp(96px, 30vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(135deg, #0066cc, #7a3fc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 28px; margin-top: 8px; }
.notfound p { color: var(--text-2); margin: 10px auto 24px; max-width: 34ch; }
.notfound .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: rgba(29, 29, 31, 0.82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px; box-shadow: 0 8px 30px rgba(0,0,0,.2); max-width: calc(100% - 32px); }
.hide-sm { display: none; }
@media (min-width: 480px) { .hide-sm { display: inline; } }
.show-sm { display: inline; }
@media (min-width: 480px) { .show-sm { display: none; } }
.date-strip { scroll-padding-inline: var(--gutter); }
.sticky-cta { transition: transform .25s ease, opacity .25s ease; }
.sticky-cta.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }
/* Hinnakaart avalehel */
.price-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; color: var(--text); }
.price-card .grow { flex: 1; min-width: 0; }
.price-card:hover { background: var(--glass-hover); text-decoration: none; }
.price-card .title { font-size: 22px; font-weight: 700; }
.price-big { font-size: clamp(40px, 12vw, 56px); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.price-card .sub { color: var(--text-2); font-size: 15px; }

/* ---------- Galerii ---------- */
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip .gallery-item { scroll-snap-align: start; }
@media (min-width: 834px) { .gallery-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
@media (min-width: 834px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; gap: 2px; padding: 10px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.62); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border);
}
.gallery-item figcaption .tag { justify-self: start; margin-bottom: 2px; }
.gallery-item figcaption strong { font-size: 16px; letter-spacing: -0.02em; }
.gallery-item figcaption span:last-child { font-size: 13px; color: var(--text-2); line-height: 1.35; }
@media (max-width: 480px) { .gallery-grid .gallery-item figcaption span:last-child { display: none; } }
.gallery-filter { max-width: 320px; margin-top: 8px; }
.segmented button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); font-weight: 600; }
.btn-block-sm { width: 100%; }
@media (min-width: 640px) { .btn-block-sm { width: auto; } }
#galerii .btn { margin-top: 8px; }

/* ---------- Arvustused ---------- */
.stars { color: #b25e00; letter-spacing: 2px; font-size: 16px; white-space: nowrap; }  /* 4.6:1 valgel */
.rating-summary { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rating-summary strong { color: var(--text); }
.reviews { display: grid; gap: 12px; }
@media (min-width: 834px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { padding: 18px 20px; border-radius: var(--radius); display: grid; gap: 10px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.review-head strong { font-size: 17px; }
.review-date { font-size: 13px; color: var(--text-2); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0066cc, #7a3fc4); }
.review p { font-size: 17px; overflow-wrap: anywhere; }
.review-box { margin-top: 16px; display: grid; gap: 12px; }
.review-box h3 { font-size: 20px; }
.review-box p { margin-top: 4px; }
.review-box > div { display: grid; gap: 10px; justify-items: start; }
.star-input { border: 0; padding: 0; margin: 0; min-width: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input legend { font-size: 15px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: var(--fill-strong); cursor: pointer; padding: 2px; border-radius: 8px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #b25e00; }
.star-input input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Tööaja graafik (juuksuri paneel) ---------- */
.panel-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-section-head h2 { font-size: 22px; font-weight: 700; }
.save-state { font-size: 14px; color: var(--success); font-weight: 600; }
.segmented button[aria-checked="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); font-weight: 600; }
.week-row { padding: 12px 18px; display: grid; gap: 10px; position: relative; }
.week-row + .week-row::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--separator); }
.week-row-main { display: flex; align-items: center; gap: 12px; }
.week-row-main .title { font-weight: 600; }
.week-row-main .sub { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.week-row.off .title { color: var(--text-2); }
.week-row-times, .ex-window { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.ex-window { grid-template-columns: 1fr auto 1fr auto; }
.select { min-height: 44px; padding: 8px 12px; font-variant-numeric: tabular-nums; text-align: center; text-align-last: center; }
.ex-windows { display: grid; gap: 8px; }
.slot-preview { font-size: 14px; color: var(--text-2); background: var(--accent-tint); padding: 10px 14px; border-radius: 12px; }
.slot-preview:empty { display: none; }
.slot-preview strong { color: var(--text); font-variant-numeric: tabular-nums; }
#exception-form h3 { font-size: 20px; }
.week-row-main .grow, #exception-list .grow { flex: 1; min-width: 0; }

/* ---------- Broneeringukaardid (paneel + konto) ---------- */
.bk-list { display: grid; gap: 12px; }
.bk-card { padding: 16px 18px; border-radius: var(--radius); display: grid; gap: 12px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.bk-card.is-next { border-color: rgba(0, 102, 204, 0.35); background: linear-gradient(var(--accent-tint), var(--accent-tint)), var(--glass); }
.bk-card.in-chair { border-color: rgba(196, 34, 26, 0.3); }
.bk-head { display: flex; align-items: flex-start; gap: 12px; }
.bk-head .grow { flex: 1; min-width: 0; }
.bk-head .title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.bk-head .sub { font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.bk-head .sub strong { color: var(--text); }
.bk-contact { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.bk-contact div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.bk-contact dt { color: var(--text-2); }
.bk-contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bk-actions, .bk-card .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-propose { display: grid; gap: 10px; padding-top: 4px; border-top: 1px solid var(--separator); }
.bk-propose-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-propose .label { font-size: 14px; font-weight: 500; }
.bk-proposal { font-size: 15px; background: var(--accent-tint); padding: 10px 14px; border-radius: 12px; }
.bk-text { font-size: 15px; color: var(--text-2); }
.bk-cancel { justify-self: start; }
.btn.danger, .btn-ghost.danger { color: var(--danger); }
.btn-ghost.danger:hover { background: var(--danger-tint); }
.day-head { font-size: 15px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 8px; }
.empty { font-size: 15px; color: var(--text-2); padding: 16px 18px; border-radius: var(--radius); border: 1px dashed var(--separator); }
.tabbar button { position: relative; }
.tab-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.tabbar button { font-size: 10.5px; }
.archive-toggle { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); font: inherit; color: var(--text); text-align: left; cursor: pointer;
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.archive-toggle strong { font-size: 20px; letter-spacing: -0.02em; }
.archive-toggle .sub { font-size: 14px; color: var(--text-2); }
.archive-toggle .grow { flex: 1; }
.archive-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.archive-toggle .chev { transition: transform .2s; font-size: 22px; }
.archive-toggle[aria-expanded="true"] .chev { transform: rotate(90deg); }
#archive-wrap { display: grid; gap: 10px; margin-top: 12px; }
.archive-month { padding: 12px 18px 6px; font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; }
.archive-row summary { display: flex; align-items: center; gap: 12px; padding: 12px 18px; cursor: pointer; list-style: none; }
.archive-row summary::-webkit-details-marker { display: none; }
.archive-row summary .title { font-weight: 600; }
.archive-row summary .sub { font-size: 14px; color: var(--text-2); }
.archive-row summary .grow { flex: 1; min-width: 0; }
.archive-row[open] summary { background: var(--glass-hover); }
.archive-row .bk-contact { padding: 8px 18px 14px; }
.archive-row + .archive-row, .archive-month + .archive-row { border-top: 1px solid var(--separator); }
.success-icon.warn { background: var(--warning-tint); color: var(--warning); font-size: 30px; font-weight: 700; margin-inline: auto; }

/* ---------- Sildid ja nupud (paneel) ---------- */
.tag-new { background: var(--accent); color: #fff; }              /* 5.6:1 */
.tag-dark { background: #3a3a3c; color: #fff; }                   /* 11:1 */
.btn-success { background: var(--success); color: #fff; box-shadow: 0 8px 24px rgba(26, 127, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-success:hover { background: #146c2e; }

/* ---------- Font Awesome ikoonid ---------- */
.fa { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.fa-sm { width: 14px; height: 14px; }
.fa-lg { width: 28px; height: 28px; }
.tabbar .fa { width: 22px; height: 22px; margin-bottom: 2px; }
.archive-icon .fa { width: 20px; height: 20px; }

/* ---------- Arvustused: viimased 6 + hajuv serv + "Näita veel" ---------- */
.reviews-wrap { display: grid; }
.reviews.has-more {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent 100%);
}
.reviews-more { justify-self: center; margin-top: -28px; position: relative; background: var(--surface); border: 1px solid var(--separator); box-shadow: var(--shadow); }

/* ---------- Galerii haldus (paneel) ---------- */
.gal-admin { display: grid; gap: 10px; }
.gal-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.gal-row img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; flex: none; background: var(--fill); }
.gal-row .grow { flex: 1; min-width: 0; line-height: 1.3; }
.gal-row .title { font-weight: 600; }
.gal-row .sub { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-row .tag { font-size: 11px; padding: 2px 8px; }
.gal-row-actions { display: grid; gap: 4px; justify-items: end; }
.gal-upload { display: grid; justify-items: start; gap: 6px; }
.gal-drop { width: 160px; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 16px; border: 2px dashed var(--separator); display: grid; place-items: center; overflow: hidden; cursor: pointer; background: var(--glass-strong); }
.gal-drop img { width: 100%; height: 100%; object-fit: cover; }
.gal-drop-empty { display: grid; justify-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-align: center; padding: 8px; }
.gal-drop-empty small { color: var(--text-2); font-weight: 400; font-size: 12px; }
.gal-upload:focus-within .gal-drop { outline: 3px solid var(--accent); outline-offset: 2px; }
.field > .label { font-size: 15px; font-weight: 500; }

/* ---------- "200+" hero ---------- */
.hero-proof { gap: 12px; margin-top: 4px; }
.proof-num {
  font-size: clamp(44px, 12vw, 56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums; min-width: 4.1ch; text-align: right;
  background: linear-gradient(135deg, #0066cc 10%, #7a3fc4 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-text { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--text-2); text-align: left; }

/* ---------- Aegade blokeerimine (paneel) ---------- */
.date-chip { position: relative; }
.blk-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #3a3a3c; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; }
.blk-card { display: grid; gap: 14px; padding: 18px; }
.blk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.blk-head strong { font-size: 18px; }
.blk-tools { display: flex; gap: 4px; }
.blk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.blk-slot { min-height: 56px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--glass-strong); color: var(--text);
  font: inherit; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; display: grid; place-content: center; gap: 0; line-height: 1.15;
  box-shadow: inset 0 0 0 1px var(--glass-edge); }
.blk-slot small { font-size: 11px; font-weight: 500; color: var(--text-2); }
.blk-slot.picked { background: var(--danger-tint); border-color: var(--danger); color: var(--danger); box-shadow: none; }
.blk-slot.picked small { color: var(--danger); }
.blk-slot.blocked { background: #3a3a3c; border-color: #3a3a3c; color: #fff; }
.blk-slot.blocked small { color: #d1d1d6; }
.blk-slot.booked { background: var(--accent-tint); color: var(--accent); cursor: not-allowed; }
.blk-slot.booked small { color: var(--accent); }
.blk-slot.past { opacity: .45; cursor: not-allowed; }
.blk-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.blk-legend li { display: flex; align-items: center; gap: 6px; }
.blk-legend .sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--separator); background: #fff; }
.blk-legend .sw.picked { background: var(--danger-tint); border-color: var(--danger); }
.blk-legend .sw.blocked { background: #3a3a3c; border-color: #3a3a3c; }
.blk-legend .sw.booked { background: var(--accent-tint); border-color: var(--accent); }

/* ---------- Blokeerimise leht (avaneb päeva realt) ---------- */
.week-open { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; line-height: 1.4; }
.week-open:disabled { cursor: default; }
.week-open .title { font-weight: 600; }
.week-open-cta { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent); }
.week-open [data-blocks] { font-size: 11px; padding: 2px 8px; vertical-align: 1px; }
.week-open:hover .week-open-cta { text-decoration: underline; }
.blk-sheet { max-height: calc(100dvh - 40px); overflow-y: auto; gap: 14px; padding-top: 18px; }
.blk-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blk-sheet-head h2 { font-size: 22px; }
.blk-sheet .date-strip { margin-inline: 0; padding-inline: 2px; }
.week-open [data-summary] { display: block; }

/* ---------- Menüü arvutis ---------- */
@media (min-width: 834px) {
  :root { --nav-h: 64px; }
  .nav-links { gap: 4px; font-size: 15px; }
  .nav-links a { padding: 8px 14px; border-radius: 999px; opacity: 1; color: var(--text-2); transition: background-color .15s, color .15s; }
  .nav-links a:hover { background: var(--fill); color: var(--text); }
  .nav-account { font-size: 15px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--separator); }
  .nav-actions { margin-left: 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 40px; height: 32px; }
}
/* Teisesed nupud nähtava äärega (valgel taustal) */
.btn-secondary { background: var(--surface); border: 1px solid var(--separator); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.btn-secondary:hover { background: var(--surface-2); }

/* Arvutis: logo vasakul, lingid keskel, konto paremal */
@media (min-width: 834px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-links { margin: 0; justify-self: center; }
  .nav-actions { margin-left: 0; justify-self: end; }
}

/* "200+": sinine klaasjas number – poolläbipaistev täide, hele läige ja pehme kuma */
.proof-num {
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.75) 48%, transparent 60%) 0 0 / 250% 100% no-repeat,
    linear-gradient(180deg, rgba(41, 151, 255, 0.95) 0%, rgba(0, 102, 204, 0.62) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(0, 102, 204, 0.28);
  filter: drop-shadow(0 6px 18px rgba(0, 102, 204, 0.28));
  animation: proof-shine 2.4s ease-out 0.4s 1 both;
}
@keyframes proof-shine { from { background-position: 100% 0, 0 0; } to { background-position: -60% 0, 0 0; } }

/* Telefoni ülaserva turvaala kõigil lehtedel (menüüriba ei kata sisu) */
html { padding-top: env(safe-area-inset-top, 0px); }

/* Avalehe lahtiolekuajad: vabade aegade arv */
.hours .free-count { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.hours .value.free { color: var(--success); }

/* ---------- Ootejärjekord (broneerimine) ---------- */
.waitlist { display: grid; gap: 10px; justify-items: start; }
.waitlist:empty { display: none; }
.waitlist.full, .waitlist.joined { padding: 16px 18px; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.waitlist.full { border-color: rgba(0, 102, 204, 0.3); }
.waitlist.joined { border-color: rgba(26, 127, 55, 0.35); background: var(--success-tint); }
.waitlist p { font-size: 15px; }

/* ---------- Püsikliendi boonus ---------- */
.loyalty-note { color: var(--success) !important; font-weight: 600; }
.loyalty-card { display: grid; gap: 14px; }
.loyalty-lead { font-weight: 700; font-size: 18px; }
.stamps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--text-2);
  border: 2px dashed var(--fill-strong); background: var(--surface); font-variant-numeric: tabular-nums; }
.stamp.filled { border: 0; background: var(--accent); color: #fff; font-size: 18px; box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3); }
.stamp.gift { font-size: 10px; letter-spacing: 0; border-color: var(--success); color: var(--success); text-transform: uppercase; }
.stamp.gift.ready { border: 0; background: var(--success); color: #fff; box-shadow: 0 4px 14px rgba(26, 127, 55, 0.35); }
.bk-free { font-size: 14px; font-weight: 600; color: var(--success); background: var(--success-tint); padding: 8px 12px; border-radius: 10px; }

/* ---------- Kiirbroneering (paneel) ---------- */
#qb-open { margin-top: 12px; }
.qb-sheet { max-height: calc(100dvh - 40px); overflow-y: auto; }
.qb-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qb-chip { display: inline-flex; align-items: stretch; border-radius: 999px; border: 1px solid var(--separator); background: var(--surface); overflow: hidden; }
.qb-chip button { border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; }
.qb-chip [data-preset] { padding: 8px 6px 8px 14px; font-size: 15px; font-weight: 600; }
.qb-chip [data-preset][aria-pressed="true"] { color: var(--accent); }
.qb-chip:has([aria-pressed="true"]) { border-color: var(--accent); background: var(--accent-tint); }
.qb-del { padding: 0 12px 0 6px; color: var(--text-2) !important; font-size: 18px !important; }
.qb-del:hover { color: var(--danger) !important; }

/* ---------- Arvustuste haldus (paneel) ---------- */
.rv-row .stars { font-size: 13px; }
.rv-row.is-hidden .title, .rv-row.is-hidden .sub { opacity: .55; }
.qb-sheet .date-strip { margin-inline: 0; padding-inline: 2px; }
.qb-saved { display: grid; gap: 10px; }
.qb-list { max-height: 320px; overflow-y: auto; }
.qb-list .review-avatar, #preset-admin .review-avatar { width: 36px; height: 36px; font-size: 15px; }
.qb-list .option[aria-checked="true"] { background: var(--accent-tint); }

/* Galerii sisse/välja lüliti (juuksuri seaded) */
.gal-switch { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.gal-switch .grow { flex: 1; min-width: 0; }
.gal-switch strong { display: block; font-size: 16px; }
.gal-switch .sub { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.gallery-off { text-align: center; }

/* Broneering: salvestatud kliendiandmed */
.me-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.me-card .grow { flex: 1; min-width: 0; }
.me-card strong { display: block; font-size: 17px; }
.me-card .sub { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
