/* SDC Studio — same black & gold editorial system as saradarwichchamas.com */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 300; src: url(/fonts/cormorant-garamond-latin-300-normal.woff2) format('woff2') }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2') }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2') }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 400; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2') }
@font-face { font-family: 'Lora'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/lora-latin-400-normal.woff2) format('woff2') }
@font-face { font-family: 'Lora'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/lora-latin-600-normal.woff2) format('woff2') }
@font-face { font-family: 'Lora'; font-style: italic; font-display: swap; font-weight: 400; src: url(/fonts/lora-latin-400-italic.woff2) format('woff2') }

:root {
  --gold-hi: #f1d38a; --gold-lo: #8a6420; --gold-glow: rgba(201, 162, 74, .35);
  --grad: linear-gradient(120deg, #8a6420, #c9a24a 40%, #f1d38a);
  --serif: "Cormorant Garamond", "Noto Naskh Arabic", "Times New Roman", Georgia, serif;
  --text: "Lora", "Noto Naskh Arabic", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Tahoma, Arial, sans-serif;
  --pad-x: clamp(18px, 6vw, 96px); --max: 1180px; --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 18px;
}
:root, [data-theme="dark"] {
  --bg: #050505; --bg-2: #0b0a08; --surface: #111009; --surface-2: #17150f;
  --ink: #f4efe6; --ink-2: rgba(244, 239, 230, .74); --muted: rgba(244, 239, 230, .52);
  --line: rgba(244, 239, 230, .12); --line-2: rgba(244, 239, 230, .22);
  --gold: #c9a24a; --accent: #f1d38a; --glass: rgba(5, 5, 5, .78); --grain: .05;
  --ok: #7fbf8e; --warn: #e3b25a; --bad: #e07a6a; color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f2ea; --bg-2: #eee7da; --surface: #fffdf8; --surface-2: #f3ece0;
  --ink: #16130d; --ink-2: rgba(22, 19, 13, .76); --muted: rgba(22, 19, 13, .62);
  --line: rgba(22, 19, 13, .13); --line-2: rgba(22, 19, 13, .24);
  --gold: #86601c; --accent: #7d5411; --glass: rgba(246, 242, 234, .84); --grain: .03;
  --ok: #2f7a43; --warn: #9a6a10; --bad: #b0412f; color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden }
[dir="rtl"] body { font-family: var(--sans) }
img, svg { display: block; max-width: 100% }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -.015em }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--sans); font-weight: 600; letter-spacing: 0 }
p { margin: 0 }
a { color: var(--accent); text-decoration: none }
a:hover { color: var(--gold) }
button, input, select, textarea { font: inherit; color: inherit }
::selection { background: var(--gold); color: #000 }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px }
[hidden] { display: none !important }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.muted { color: var(--muted) }
.center { text-align: center }
.gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent }
em.gold { font-style: italic }
.grain { position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold) }
[dir="rtl"] .eyebrow { letter-spacing: .05em }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease); white-space: nowrap }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease-out) }
.btn:hover { color: var(--bg); border-color: var(--ink) }
.btn:hover::before { transform: none }
.btn--gold { background: var(--grad); border-color: transparent; color: #0a0a0a; box-shadow: 0 10px 40px -14px var(--gold-glow) }
.btn--gold:hover { color: var(--bg) }
.btn--sm { padding: 9px 16px; font-size: 11px; letter-spacing: .14em }
.btn--ghost { border-color: transparent }
.btn--danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent) }
.btn[disabled] { opacity: .5; pointer-events: none }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--ink-2) }
.pill:hover { border-color: var(--gold); color: var(--ink) }
.seal--init { font-style: normal; font-size: 20px; letter-spacing: .08em; text-transform: none !important }
.seal { width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); margin: 0 auto 18px; text-transform: lowercase }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad-x); background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line) }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--serif); font-size: 20px; letter-spacing: .16em }
.brand:hover { color: var(--ink) }
.brand__mark { width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: 13px; letter-spacing: .04em; color: var(--accent); font-style: italic }
.brand small { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase }
.nav__links a { color: var(--ink-2) }
.nav__links a:hover { color: var(--ink) }
.nav__cta { padding: 9px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--accent) !important }
.nav__cta:hover { background: var(--gold); color: #000 !important }
.theme-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink-2) }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5 }
[data-theme="dark"] .theme-btn .moon, [data-theme="light"] .theme-btn .sun { display: none }
@media (max-width: 760px) { .nav__links .hide-sm { display: none } }

/* landing */
.wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x) }
.hero { min-height: 92vh; display: grid; align-content: center; padding: calc(var(--nav-h) + 60px) 0 70px; position: relative; z-index: 1 }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 10%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%) }
.hero h1 { font-size: clamp(52px, 10vw, 148px); font-weight: 300; line-height: .92; margin: 22px 0 26px; max-width: 12ch }
.hero p.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 52ch }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 80px); align-items: center }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr } .phone { max-width: 320px; margin: 0 auto } }
.phone { border: 1px solid var(--line-2); border-radius: 36px; padding: 14px; background: var(--surface); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); transform: rotate(2deg) }
.phone__screen { border-radius: 26px; overflow: hidden; background: var(--bg); border: 1px solid var(--line) }
.phone__head { padding: 26px 20px 16px; text-align: center; border-bottom: 1px solid var(--line) }
.phone__head h3 { font-size: 30px }
.phone__row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px }
.phone__row b { font-family: var(--sans); font-weight: 500; color: var(--accent) }
.phone__chat { margin: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); font-size: 13px; color: var(--ink-2) }
.phone__chat strong { color: var(--accent); font-weight: 500 }
section.block { position: relative; z-index: 1; padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line) }
.block h2 { font-size: clamp(38px, 6vw, 84px); font-weight: 300; max-width: 16ch; margin: 14px 0 22px }
.block .lead { color: var(--ink-2); max-width: 60ch; font-size: 18px }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 50px }
.steps > div { background: var(--bg); padding: 34px 28px }
.steps b { font-family: var(--serif); font-size: 54px; font-weight: 300; color: var(--gold); display: block; line-height: 1 }
.steps h3 { font-size: 28px; margin: 18px 0 10px }
.steps p { color: var(--ink-2); font-size: 15px }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr } }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start }
@media (max-width: 900px) { .split { grid-template-columns: 1fr } }
.feat { display: grid; gap: 0; border-top: 1px solid var(--line) }
.feat li { list-style: none; padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 14px }
.feat li span { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: .2em; padding-top: 5px }
.feat h4 { font-size: 24px; margin-bottom: 4px }
.feat p { color: var(--ink-2); font-size: 15px }
ul.feat { padding: 0; margin: 0 }
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 44px }
.acard { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, transform .4s var(--ease) }
.acard:hover { border-color: var(--gold); transform: translateY(-3px) }
.acard h4 { font-size: 24px }
.acard .ar { font-family: var(--sans); font-size: 13px; color: var(--gold); direction: rtl; text-align: start }
.acard p { color: var(--ink-2); font-size: 14px; flex: 1 }
.acard .tag { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted) }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px }
.plan { border: 1px solid var(--line-2); border-radius: var(--r); padding: 34px 30px; background: var(--surface); display: flex; flex-direction: column; gap: 16px }
.plan--hi { border-color: var(--gold); box-shadow: 0 30px 70px -40px var(--gold-glow) }
.plan h3 { font-size: 34px }
.plan .amt { font-family: var(--serif); font-size: 66px; font-weight: 300; line-height: 1 }
.plan .amt small { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-inline-start: 8px }
.plan ul { padding: 0; margin: 0; display: grid; gap: 8px; flex: 1 }
.plan li { list-style: none; color: var(--ink-2); font-size: 15px; padding-inline-start: 22px; position: relative }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 10px; height: 1px; background: var(--gold) }
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0 50px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--muted) }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px }

/* forms */
.field { display: grid; gap: 7px; margin-bottom: 16px }
.field > span, .label { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
.input, .field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 15px; transition: border-color .2s }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5 }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold) }
.field small { color: var(--muted); font-family: var(--sans); font-size: 12px }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
@media (max-width: 640px) { .row, .row3 { grid-template-columns: 1fr } }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--sans); font-size: 14px; user-select: none }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 22px; background: var(--line-2); position: relative; cursor: pointer; transition: background .25s; margin: 0; flex: none }
.switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .25s var(--ease) }
.switch input:checked { background: var(--gold) }
.switch input:checked::after { transform: translateX(18px); background: #0a0a0a }
[dir="rtl"] .switch input:checked::after { transform: translateX(-18px) }
.err { color: var(--bad); font-family: var(--sans); font-size: 14px; min-height: 1.2em }

/* auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1 }
.auth__art { padding: 60px var(--pad-x); display: flex; flex-direction: column; justify-content: space-between; border-inline-end: 1px solid var(--line); background: radial-gradient(70% 60% at 20% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%) }
.auth__art h1 { font-size: clamp(44px, 6vw, 92px); font-weight: 300 }
.auth__form { display: grid; place-items: center; padding: 50px 24px }
.auth__form form { width: min(420px, 100%) }
.auth__form h2 { font-size: 44px; margin-bottom: 8px }
.tabs { display: flex; gap: 6px; margin: 24px 0; border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: fit-content }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg) }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr } .auth__art { display: none } }

/* dashboard */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; position: relative; z-index: 1 }
.side { position: sticky; top: 0; height: 100vh; border-inline-end: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 24px; background: var(--bg-2) }
.side nav { display: grid; gap: 2px }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-family: var(--sans); font-size: 14px }
.side nav a:hover { background: var(--surface); color: var(--ink) }
.side nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 2px 0 0 var(--gold) }
.side nav a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5 }
.side nav a .badge { margin-inline-start: auto }
.side__foot { margin-top: auto; display: grid; gap: 10px; font-family: var(--sans); font-size: 12px; color: var(--muted) }
.main { padding: 34px clamp(18px, 4vw, 54px) 90px; min-width: 0 }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 300 }
.page-head p { color: var(--muted); margin-top: 6px }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: clamp(18px, 3vw, 28px); margin-bottom: 18px }
.panel h3 { font-size: 26px; margin-bottom: 14px }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap }
.panel__head h3 { margin: 0 }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 18px }
.kpis > div { background: var(--surface); padding: 22px }
.kpis b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 300; line-height: 1 }
.kpis span { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr } }
.banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); margin-bottom: 18px; font-family: var(--sans); font-size: 14px }
.banner--bad { border-color: color-mix(in srgb, var(--bad) 50%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent) }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-2) }
.badge--gold { border-color: var(--gold); color: var(--accent) }
.badge--ok { border-color: var(--ok); color: var(--ok) }
.badge--bad { border-color: var(--bad); color: var(--bad) }
.cat-block { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; background: var(--surface); overflow: hidden }
.cat-block__head { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2) }
.cat-block__head h3 { font-size: 24px; flex: 1 }
.irow { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line) }
.irow:last-child { border-bottom: 0 }
.irow img, .irow .ph { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line) }
.irow .ph { display: grid; place-items: center; color: var(--muted); font-family: var(--serif); font-style: italic }
.irow h4 { font-family: var(--sans); font-size: 15px; font-weight: 500 }
.irow p { color: var(--muted); font-size: 13px; font-family: var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch }
.irow .pr { font-family: var(--sans); color: var(--accent); font-size: 15px }
.irow.is-off h4 { text-decoration: line-through; color: var(--muted) }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink-2) }
.icon-btn:hover { border-color: var(--gold); color: var(--ink) }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.qr-box { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center }
.qr-box img { width: 220px; height: 220px; border-radius: 14px; background: #fff; padding: 10px }
@media (max-width: 640px) { .qr-box { grid-template-columns: 1fr } }
.link-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--sans); font-size: 14px; word-break: break-all; margin: 10px 0 16px }
.link-line code { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg) }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px }
.tcard { text-align: start; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg); cursor: pointer; display: grid; gap: 6px; transition: border-color .25s }
.tcard:hover, .tcard[aria-pressed="true"] { border-color: var(--gold) }
.tcard h4 { font-size: 21px }
.tcard p { font-size: 13px; color: var(--muted); font-family: var(--sans) }
.tcard .ar { font-family: var(--sans); font-size: 12px; color: var(--gold) }
.list { display: grid; gap: 10px }
.order { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--surface) }
.order header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--sans) }
.order ul { padding: 0; margin: 0; font-family: var(--sans); font-size: 14px; color: var(--ink-2) }
.order li { list-style: none }
table.tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13px }
.tbl th, .tbl td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top }
.tbl th { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500 }
.scroll-x { overflow-x: auto }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 90; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 14px; transition: .35s var(--ease); pointer-events: none }
.toast.on { opacity: 1; transform: translateX(-50%) }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 18px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px) }
.modal__in { width: min(640px, 100%); max-height: 92vh; overflow: auto; background: var(--bg); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(20px, 4vw, 32px) }
.modal__in h3 { font-size: 32px; margin-bottom: 18px }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; flex-wrap: wrap }
.img-pick { display: flex; gap: 14px; align-items: center }
.img-pick img, .img-pick .ph { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); background: var(--surface) }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r) }
.empty h3 { color: var(--ink); font-size: 30px; margin-bottom: 8px }
.mobile-top { display: none }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 70; transform: translateX(-100%); transition: transform .35s var(--ease) }
  [dir="rtl"] .side { inset: 0 0 0 auto; transform: translateX(100%) }
  .side.open { transform: none }
  .mobile-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px) }
  .main { padding-top: 22px }
  .irow { grid-template-columns: 46px 1fr auto }
  .irow .pr { grid-column: 2 }
}

/* ── public menu ─────────────────────────────────────────── */
body.pub { padding-bottom: 110px }
.pub-hero { position: relative; z-index: 1; text-align: center; padding: 54px 20px 30px; background: radial-gradient(70% 70% at 50% 0%, color-mix(in srgb, var(--gold) 13%, transparent), transparent 70%) }
.pub-logo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 1px solid var(--gold) }
.pub-title { font-size: clamp(48px, 12vw, 92px); font-weight: 300; margin: 10px 0 8px }
.pub-tag { font-style: italic; color: var(--ink-2); font-size: 18px }
.pub-meta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 12px }
.pub-links { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap }
.cat-nav { position: sticky; top: 0; z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line) }
.cat-nav__in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; max-width: 760px; margin: 0 auto; scrollbar-width: none }
.cat-nav__in::-webkit-scrollbar { display: none }
.cat-nav a { flex: none; padding: 8px 15px; border-radius: 999px; font-family: var(--sans); font-size: 13px; color: var(--ink-2); border: 1px solid transparent }
.cat-nav a.on, .cat-nav a:hover { border-color: var(--gold); color: var(--ink) }
.pub-main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 22px 16px 0 }
.search input { width: 100%; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--sans); font-size: 15px; margin-bottom: 10px }
.search input:focus { outline: none; border-color: var(--gold) }
.cat { padding-top: 26px }
.cat__title { font-size: 40px; font-weight: 300; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px }
.dish { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line) }
.dish__img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--line) }
.dish__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.dish__name { font-size: 24px; font-weight: 400 }
[dir="rtl"] .dish__name { font-size: 18px }
.dish__desc { color: var(--muted); font-size: 14px; line-height: 1.45 }
.dish__tags { display: flex; gap: 6px; flex-wrap: wrap }
.dish__tags span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 999px; padding: 2px 8px }
.dish__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px }
.dish__price { font-family: var(--sans); font-size: 16px; color: var(--accent); font-weight: 500 }
.dish__off { font-family: var(--sans); font-size: 12px; color: var(--muted) }
.dish.is-off { opacity: .55 }
.add { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: none; display: grid; place-items: center; cursor: pointer; color: var(--accent); position: relative }
.add:hover, .add.in { background: var(--grad); color: #0a0a0a; border-color: transparent }
.add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2 }
.add .q { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 600 11px/19px var(--sans); text-align: center; padding: 0 5px }
.about-biz { padding: 40px 0 0; color: var(--ink-2); font-style: italic; text-align: center }
.pub-foot { text-align: center; padding: 50px 0 20px }
.made { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted) }
.cart-btn, .ask-btn { position: fixed; z-index: 30; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 20px; cursor: pointer; font-family: var(--sans); font-size: 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6) }
.cart-btn { inset-inline-end: 16px; background: var(--grad); color: #0a0a0a; border: 0; font-weight: 600 }
.cart-btn span { min-width: 22px; height: 22px; border-radius: 11px; background: #0a0a0a; color: var(--gold-hi); display: grid; place-items: center; font-size: 12px }
.ask-btn { inset-inline-start: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--gold) }
.cart-btn svg, .ask-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center }
.sheet__in { width: min(640px, 100%); max-height: 88vh; overflow: auto; background: var(--bg); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 22px 20px 28px; animation: up .4s var(--ease-out) }
@keyframes up { from { transform: translateY(40px); opacity: 0 } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px }
.sheet__head h3 { font-size: 32px }
.cl { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15px }
.cl .n { flex: 1 }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 17px }
.qty b { min-width: 22px; text-align: center; font-weight: 500 }
.seg { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap }
.seg label { flex: 1; text-align: center; padding: 10px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-family: var(--sans); font-size: 13px }
.seg input { position: absolute; opacity: 0 }
.seg input:checked + span { color: var(--accent) }
.seg label:has(input:checked) { border-color: var(--gold) }
.tot { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 18px; padding: 14px 0; font-weight: 500 }
.paused { min-height: 90vh; display: grid; place-content: center; text-align: center; gap: 12px; padding: 30px; position: relative; z-index: 1 }
.paused h1 { font-size: clamp(44px, 8vw, 80px); font-weight: 300 }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px }
.chat__log { display: flex; flex-direction: column; gap: 10px; min-height: 160px }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-family: var(--sans); font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word }
.msg--ai { background: var(--surface-2); border: 1px solid var(--line); border-end-start-radius: 6px; align-self: flex-start }
.msg--me { background: var(--grad); color: #0a0a0a; border-end-end-radius: 6px; align-self: flex-end }
.msg--sys { align-self: center; font-size: 12.5px; color: var(--muted); background: none; text-align: center }
.typing::after { content: "…"; animation: blink 1s steps(3) infinite }
@keyframes blink { 50% { opacity: .2 } }
.chips { display: flex; gap: 8px; flex-wrap: wrap }
.chips button { border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-family: var(--sans); font-size: 13px; color: var(--ink-2) }
.chips button:hover { border-color: var(--gold); color: var(--ink) }
.composer { display: flex; gap: 8px; align-items: flex-end; position: sticky; bottom: 0; background: var(--bg); padding-top: 8px }
.composer textarea { flex: 1; resize: none; min-height: 48px; max-height: 160px; padding: 13px 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--sans); font-size: 15px }
.composer textarea:focus { outline: none; border-color: var(--gold) }
.composer button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad); cursor: pointer; display: grid; place-items: center; flex: none; color: #0a0a0a }
.composer button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2 }
[dir="rtl"] .composer button svg { transform: scaleX(-1) }
.agent-page { padding-bottom: 0 }
.agent-head { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 40px 18px 18px; display: flex; gap: 18px; align-items: center }
.agent-head .seal { margin: 0; flex: none; text-transform: none }
.agent-head h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 300; margin: 6px 0 }
.agent-head p.muted { font-size: 14px }
.chat--page { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 18px 20px; min-height: calc(100vh - 200px) }
.chat--page .chat__log { flex: 1 }

/* print */
body.print { background: #fff; color: #0a0a0a }
.print-bar { display: flex; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid #ddd; font-family: var(--sans) }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 210mm; margin: 0 auto }
.qcard { border: 1px dashed #bbb; padding: 12mm 8mm; text-align: center; display: grid; gap: 4mm; justify-items: center; background: #0a0a0a; color: #f4efe6; height: 148mm; align-content: center }
.qcard .eyebrow { color: #c9a24a }
.qcard h2 { font-size: 34px; font-style: italic; color: #f1d38a }
.qcard__qr { background: #fff; padding: 4mm; border-radius: 4mm; width: 52mm }
.qcard__qr svg { width: 100%; height: auto }
.qcard__name { font-family: var(--serif); font-size: 26px }
.qcard__url { font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: #b9ad97 }
.qcard__by { font-family: var(--sans); font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: #8a6420 }
@media print { .print-bar { display: none } body.print { margin: 0 } .qcard { -webkit-print-color-adjust: exact; print-color-adjust: exact } @page { size: A4; margin: 0 } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important } }
