/* ===== Salon teması: fildişi zemin, siyah + şampanya/altın vurgu (renkler config.brandColor / brandColorDark) =====
   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: #1d1b18;          /* birincil düğme (config ezer) */
  --brand-ink: #f6ecd8;
  --accent: #8c6d36;         /* şampanya/altın — metin vurgusu (fildişi üzerinde okunur koyulukta) */
  --gold: #c2a46a;           /* süs çizgileri */
  --brand-soft: color-mix(in srgb, var(--gold) 16%, var(--surface));
  --bg: #f8f4ec;
  --bg-2: #f1eadc;
  --surface: #fffdf8;
  --surface-2: #f4ede0;
  --text: #1d1b18;
  --muted: #6f665a;
  --line: rgba(60, 48, 28, .14);
  --shadow: 0 10px 30px rgba(60, 48, 28, .08);
  --ok: #3f7d5c;   --ok-bg: #e7f2ea;
  --busy: #a8323e; --busy-bg: #f8e6e7;
  --meal: #9a6a1c; --meal-bg: #f6ecd8;
  --off: #857c70;  --off-bg: #eee8dd;
  --r: 18px;
  --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 {
    --accent: #d8bd86;
    --gold: #b89a5e;
    --brand-soft: color-mix(in srgb, var(--gold) 20%, var(--surface));
    --bg: #121110;
    --bg-2: #181614;
    --surface: #1c1a17;
    --surface-2: #26231f;
    --text: #f4ead6;
    --muted: #b3a690;
    --line: rgba(216, 189, 134, .16);
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    --ok: #7fcfa0; --ok-bg: #16261c;
    --busy: #ff8f9a; --busy-bg: #33171b;
    --meal: #e6bd73; --meal-bg: #2e2617;
    --off: #a39a8c; --off-bg: #26231f;
    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(--accent); 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(--accent); 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: 99px; font-weight: 700; 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); }
