/* ===== Salon teması: açık pudra/blush zemin + kömür grisi metin + gül-altın (rose-gold) vurgu =====
   Marka rengi config.js'te (brandColor / brandColorDark) — shared.js uygular; buradaki --brand yedek değerdir.
   Sağdan sola (fa) için yön bağımsız (logical) özellikler kullanılır: margin-inline, inset-inline, text-align: start… */
:root {
  --brand: #a2554f;
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 11%, var(--surface));
  --accent: #e8c4b8;            /* blush — hero arka plan vurgusu */
  --bg: #faf6f3;
  --bg-2: #f4e9e3;
  --surface: #fffdfb;
  --surface-2: #f6eee9;
  --text: #262120;
  --muted: #726764;
  --line: rgba(38, 33, 32, .12);
  --shadow: 0 10px 30px rgba(60, 40, 36, .07);
  --ok: #3b7a58;   --ok-bg: #e4f1e9;
  --busy: #b13a4a; --busy-bg: #fbe8ea;
  --meal: #a8621c; --meal-bg: #fbefdf;
  --off: #867c79;  --off-bg: #eee8e5;
  --r: 20px;
  --gutter: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #e3aa9c;
    --brand-ink: #231d1c;
    --brand-soft: color-mix(in srgb, var(--brand) 16%, var(--surface));
    --accent: #6b4a42;
    --bg: #161314;
    --bg-2: #1d191a;
    --surface: #221e1f;
    --surface-2: #2c2627;
    --text: #f5ece8;
    --muted: #b5a8a4;
    --line: rgba(255, 255, 255, .1);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --ok: #7fcfa0; --ok-bg: #17281e;
    --busy: #ff8fa0; --busy-bg: #33171c;
    --meal: #f0b26a; --meal-bg: #32251a;
    --off: #a39b98; --off-bg: #2a2526;
    color-scheme: dark;
  }
}
/* Farsça: Vazirmatn */
:root:lang(fa) { --font: "Vazirmatn", "Inter", system-ui, sans-serif; --display: "Vazirmatn", "Cormorant Garamond", serif; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: .005em; }
h2 { font-size: 1.85rem; line-height: 1.15; margin-bottom: 14px; }
:lang(fa) h1, :lang(fa) h2, :lang(fa) h3 { font-weight: 700; letter-spacing: 0; }
:lang(fa) h2 { font-size: 1.5rem; }
.eyebrow { color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; }
:lang(fa) .eyebrow, :lang(ru) .eyebrow { letter-spacing: .06em; }
.muted { color: var(--muted); }
section.block { padding: 36px 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .1s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn-wa { background: #25d366; color: #06230f; border-color: transparent; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.pill.warn { background: var(--meal-bg); color: var(--meal); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--busy-bg); color: var(--busy); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 18px; font-weight: 700; line-height: 1.35; width: max-content; transition: .25s; pointer-events: none;
  z-index: 50; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
