/* ===== Public menu (what customers see after scanning the QR) ===== */
:root {
  --accent: #C2410C;
  --bg: #F7F5F2; --card: #FFFFFF; --text: #1C1917; --muted: #78716C; --line: #E7E5E4;
  --chip: #F0EDE9; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05);
  --radius: 16px;
}
html[data-theme="dark"] {
  --bg: #121212; --card: #1E1E1E; --text: #F5F5F4; --muted: #A8A29E; --line: #2E2E2E;
  --chip: #262626; --shadow: none;
}
html[data-theme="warm"] {
  --bg: #F4ECE1; --card: #FFFBF5; --text: #3B2A1E; --muted: #8A7260; --line: #E6D8C6;
  --chip: #EADDCB;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 15px; line-height: 1.7;
}
img { display: block; max-width: 100%; }
.wrap { max-width: 640px; margin: 0 auto; }

/* Hero */
.hero { position: relative; height: 190px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.35)); }
.brand { position: relative; margin: -44px 16px 0; background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); text-align: center; z-index: 2; }
.logo { width: 76px; height: 76px; border-radius: 50%; margin: -54px auto 8px; border: 4px solid var(--card); background: var(--card); object-fit: cover; }
.logo-fallback { display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #fff; background: var(--accent); }
.brand h1 { margin: 0; font-size: 21px; font-weight: 700; }
.brand .tagline { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.info a, .info span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--chip); color: var(--text); text-decoration: none; }
.info svg { width: 14px; height: 14px; opacity: .7; }

/* Sticky category nav + search */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 14px; }
.nav-inner { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; padding: 6px 14px; border-radius: 99px; font-size: 13.5px; color: var(--text); text-decoration: none; background: var(--chip); transition: background .2s, color .2s; }
.tab.active { background: var(--accent); color: #fff; }
.search-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--chip); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.search-btn svg { width: 18px; height: 18px; }
.search-bar { display: none; padding: 0 16px 10px; }
.search-bar.open { display: block; }
.search-bar input { width: 100%; font: inherit; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); outline: none; }
.search-bar input:focus { border-color: var(--accent); }

/* Featured */
.section-title { margin: 22px 16px 10px; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.featured { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured::-webkit-scrollbar { display: none; }
.f-card { flex: none; width: 150px; scroll-snap-align: start; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.f-card .ph { height: 110px; background: var(--chip); }
.f-card .ph { display: grid; place-items: center; }
.ph-icon { font-size: 40px; opacity: .8; }
.f-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.f-card .b { padding: 8px 10px 10px; }
.f-card h3 { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Items */
.items { padding: 0 16px; display: grid; gap: 10px; }
.item { display: flex; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); cursor: pointer; transition: transform .15s; }
.item:active { transform: scale(.985); }
.item .ph { flex: none; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--chip); }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0; font-size: 15px; font-weight: 600; }
.item p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .row { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }
.price small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.price s { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); white-space: nowrap; }
.item.off { opacity: .55; }
.item.off .badge { background: var(--chip); color: var(--muted); }
.item.no-img .ph { display: none; }
.empty-search { display: block; text-align: center; color: var(--muted); padding: 40px 16px; }

/* Bottom sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 640px; margin: 0 auto; background: var(--card); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); z-index: 51; max-height: 88vh; overflow-y: auto; visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
.sheet.open { transform: translateY(0); visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 10px auto; }
.sheet .s-img { margin: 0 16px; border-radius: 16px; overflow: hidden; background: var(--chip); }
.sheet .s-img img { width: 100%; max-height: 320px; object-fit: cover; }
.sheet .s-body { padding: 14px 20px 28px; }
.sheet h2 { margin: 0 0 4px; font-size: 19px; }
.sheet .s-desc { color: var(--muted); margin: 0 0 14px; white-space: pre-line; }
.sheet .s-foot { display: flex; align-items: center; justify-content: space-between; }
.sheet .price { font-size: 18px; }
.close-btn { border: 0; background: var(--chip); color: var(--text); font: inherit; padding: 8px 18px; border-radius: 99px; cursor: pointer; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 34px 16px 40px; }
footer a { color: inherit; }

/* ===== Ordering ===== */
.table-tag { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.table-tag[hidden] { display: none; }
.add-btn { display: none; flex: none; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font: inherit; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.add-btn.has { background: var(--accent); color: #fff; font-size: 14px; }
body.ordering .add-btn { display: inline-flex; align-items: center; justify-content: center; }
body.ordering .item .row .badge { margin-inline-start: auto; }
body.has-dock .wrap { padding-bottom: 96px; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: 640px; margin: 0 auto; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; pointer-events: none; }
.dock[hidden] { display: none; }
.dock > * { pointer-events: auto; }
.dock-actions { display: flex; gap: 8px; }
.dock-actions[hidden] { display: none; }
.dock-actions button, .track-btn { flex: 1; font: inherit; font-size: 13.5px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); box-shadow: 0 4px 18px rgba(0,0,0,.12); cursor: pointer; }
.dock-actions button:disabled { opacity: .55; }
.track-btn[hidden], .cart-bar[hidden] { display: none; }
.cart-bar { display: flex; align-items: center; gap: 10px; font: inherit; padding: 13px 16px; border: 0; border-radius: 16px; background: var(--accent); color: #fff; box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 45%, transparent); cursor: pointer; }
.cart-bar b { flex: 1; text-align: right; font-weight: 600; }
.cart-bar .cnt { min-width: 26px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

.toast { position: fixed; top: 16px; left: 50%; transform: translate(-50%, -150%); z-index: 60; background: #1C1917; color: #fff; padding: 9px 18px; border-radius: 99px; font-size: 13.5px; transition: transform .3s; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }

.s-btns { display: flex; gap: 8px; align-items: center; }
.s-btns.full { margin-top: 14px; }
.s-btns.full .primary-btn { flex: 1; }
.primary-btn { border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 600; padding: 9px 20px; border-radius: 99px; cursor: pointer; }
.primary-btn:disabled { opacity: .6; }
.primary-btn[hidden] { display: none; }
.close-btn.wide { width: 100%; margin-top: 14px; padding: 11px; }
.sheet h2 small { font-size: 13px; font-weight: 400; }
.muted { color: var(--muted); }
.cart-lines { display: grid; gap: 2px; margin: 10px 0 12px; }
.cl { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cl-name { flex: 1; min-width: 0; font-weight: 600; }
.cl-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--chip); border-radius: 99px; padding: 3px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--card); color: var(--text); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.note { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); resize: none; }
.cart-sum { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 15px; }
.cart-sum b { color: var(--accent); font-size: 17px; }
.pay-note { margin-top: 8px; font-size: 13px; color: var(--muted); background: var(--chip); padding: 8px 12px; border-radius: 10px; text-align: center; }
.err { margin-top: 10px; color: #B91C1C; background: #FEE2E2; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; }
.err[hidden] { display: none; }
.st-head { text-align: center; padding: 6px 0 4px; }
.st-num { font-size: 17px; }
.st-num b { font-size: 26px; color: var(--accent); }
.steps { display: flex; justify-content: space-between; margin: 18px 0 14px; position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; right: 12%; left: 12%; height: 2px; background: var(--line); }
.step { position: relative; flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.step i { display: block; width: 20px; height: 20px; margin: 0 auto 6px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); }
.step.done i { background: var(--accent); border-color: var(--accent); }
.step.cur span { color: var(--text); font-weight: 700; }
.step.cur i { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.st-lines { background: var(--chip); border-radius: 12px; padding: 10px 14px; font-size: 14px; display: grid; gap: 4px; }

/* ===== Notice, open status, about button, labels, sizes, about page (all templates) ===== */
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 14px 16px 0; padding: 10px 12px 10px 8px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--text); font-size: 13.5px; line-height: 1.7; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.notice svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.notice p { margin: 0; flex: 1; }
.notice button { flex: none; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 6px; }
.open-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.open-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-st.is-open { color: #16A34A; }
.open-st.is-closed { color: #DC2626; }
.about-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.lbs { display: inline-flex; gap: 2px; vertical-align: middle; font-size: .78em; }
.lb { line-height: 1; }
.s-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.s-lb { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: var(--chip); }
.s-variants { display: grid; gap: 8px; margin: 0 0 14px; }
.s-var { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: inherit; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-align: right; }
.s-var b { font-weight: 700; }
.s-var.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.about .ab-head { text-align: center; padding-top: 4px; }
.about .ab-logo { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; margin: 0 auto 8px; display: block; }
.about .ab-logo.fb { display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 30px; font-weight: 700; }
.about h2 { margin: 0; }
.about .ab-head p { margin: 2px 0 6px; }
.ab-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 6px; }
.ab-actions a, .ab-actions button { display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; font-size: 12px; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; }
.ab-actions span { width: 48px; height: 48px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; }
.ab-actions svg { width: 21px; height: 21px; color: var(--accent); }
.ab-sec { margin-top: 18px; }
.ab-sec h3 { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.ab-text { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--chip); line-height: 1.9; }
.ab-hours { border-radius: 12px; background: var(--chip); padding: 4px 14px; }
.ab-hours .hr { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ab-hours .hr:last-child { border-bottom: 0; }
.ab-hours .hr.today { font-weight: 700; color: var(--accent); }
.ab-note { font-size: 12.5px; margin: 6px 2px 0; }
.brand-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 12px 16px 0; }
.pct { display: inline-block; font-weight: 700; font-size: 11px; line-height: 1.7; padding: 0 8px; border-radius: 99px; background: #DC2626; color: #fff; white-space: nowrap; }
.item.off .badge { color: #DC2626; background: color-mix(in srgb, #DC2626 12%, transparent); font-weight: 700; }
#welcome { position: fixed; inset: 0; z-index: 70; max-width: 640px; margin: 0 auto; overflow: hidden; transition: transform .55s cubic-bezier(.7,0,.3,1), opacity .45s; }
html:not(.welcomed):has(#welcome:not([hidden])) body { overflow: hidden; }
html.welcomed #welcome { transform: translateY(-100%); pointer-events: none; }
.w-swipe { display: grid; justify-items: center; gap: 2px; font-size: 12px; opacity: .75; }
.w-swipe svg { width: 18px; height: 18px; animation: w-bob 1.6s ease-in-out infinite; }
@keyframes w-bob { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { #welcome { transition: opacity .3s; } html.welcomed #welcome { transform: none; opacity: 0; } .w-swipe svg { animation: none; } }

/* ===== Shared welcome screen (templates without their own) ===== */
.gw { display: flex; flex-direction: column; color: var(--gw-ink, #fff); background: var(--gw-bg, linear-gradient(160deg, color-mix(in srgb, var(--accent) 88%, #fff), color-mix(in srgb, var(--accent) 45%, #000))); font-family: var(--gw-font, inherit); }
.gw-cov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gw.has-cov { color: #fff; }
.gw.has-cov .gw-go { background: var(--gw-btn-cov, var(--gw-btn, #fff)); color: var(--gw-btn-cov-ink, var(--gw-btn-ink, #111)); }
.gw.has-cov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.15) 35%, rgba(0,0,0,.75)); }
.gw-in, .gw-foot { position: relative; z-index: 1; }
.gw-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 24px 0; }
.gw-logo { width: 104px; height: 104px; border-radius: var(--gw-logo-r, 30px); overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.gw-logo img { width: 100%; height: 100%; object-fit: cover; }
.gw-logo span { font-size: 44px; font-weight: 700; color: var(--gw-mark, var(--accent)); }
.gw h1 { margin: 20px 0 0; font-size: clamp(30px, 9vw, 42px); font-weight: 700; line-height: 1.3; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.gw p { margin: 4px 0 0; font-size: 15px; opacity: .92; max-width: 24em; }
.gw-meta { margin-top: 14px; }
.gw-meta .open-st { background: rgba(255,255,255,.94); border-radius: 99px; padding: 2px 12px; }
.gw-foot { display: grid; gap: 16px; justify-items: center; padding: 20px 22px calc(26px + env(safe-area-inset-bottom)); }
.gw-go { width: 100%; max-width: 360px; font: inherit; font-size: 17px; font-weight: 700; padding: 13px; border: 0; border-radius: var(--gw-btn-r, 16px); background: var(--gw-btn, #fff); color: var(--gw-btn-ink, #111); cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.gw-icons { display: flex; gap: 12px; }
.gw-icons a, .gw-icons button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gw-icons svg { width: 19px; height: 19px; }
.ab-map { height: 170px; margin-top: 8px; border-radius: 12px; overflow: hidden; background: var(--chip); z-index: 0; }
.ab-map .leaflet-control-attribution { font-size: 9px; direction: ltr; }
.ab-maplinks { display: flex; gap: 8px; margin-top: 8px; }
.ab-maplinks a { flex: 1; text-align: center; font-size: 13px; font-weight: 600; text-decoration: none; padding: 8px 6px; border-radius: 10px; background: var(--chip); color: var(--text); }

.gw-branch { font: inherit; font-size: 13.5px; font-weight: 600; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 99px; padding: 7px 18px; cursor: pointer; }
.br-list { display: grid; gap: 8px; margin: 8px 0 4px; }
.br-list a { display: grid; gap: 0; padding: 12px 14px; border-radius: 14px; background: var(--chip); color: var(--text); text-decoration: none; position: relative; }
.br-list a b { font-size: 15px; }
.br-list a small { color: var(--muted); font-size: 12.5px; }
.br-list a em { position: absolute; left: 12px; top: 12px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.br-list a.cur { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ab-branch { display: block; margin: 10px auto 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--chip); border: 0; border-radius: 99px; padding: 6px 16px; cursor: pointer; }
html:not(.welcomed) .sheet { z-index: 80; } html:not(.welcomed) .sheet-bg { z-index: 79; }

/* Compact table-service button (same as menu-core.css) */
.dock-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.dock-row > [hidden], .cart-bar[hidden] { display: none; }
.dock-row .cart-bar { flex: 1; min-width: 0; }
.dock-pill { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; font: inherit; font-size: 13.5px; font-weight: 600; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); box-shadow: 0 4px 18px rgba(0,0,0,.14); cursor: pointer; white-space: nowrap; }
.dock-pill svg { width: 21px; height: 21px; flex: none; }
.dock-pill[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.dock.with-cart .dock-pill { width: 48px; padding: 0; justify-content: center; }
.dock.with-cart .dock-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.svc { position: relative; flex: none; }
.svc-menu { position: absolute; bottom: calc(100% + 8px); left: 0; width: 220px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.18); display: grid; gap: 4px; }
.svc-menu[hidden] { display: none; }
.svc-menu button { font: inherit; font-size: 14px; text-align: right; padding: 11px 12px; border: 0; border-radius: 11px; background: transparent; color: inherit; cursor: pointer; }
.svc-menu button:hover, .svc-menu button:focus-visible { background: color-mix(in srgb, var(--accent) 10%, transparent); outline: none; }
.svc-menu button:disabled { opacity: .5; }

.sheet { overscroll-behavior: contain; }

/* "Made with MenuNext" badge in the menu footer */
@font-face { font-family: "MNBrand"; src: url("../fonts/lalezar-arabic-400-normal.d29aca20adbd.woff2") format("woff2"); font-display: swap; }
.mn-badge { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 12px; opacity: .85; direction: rtl; }
.mn-badge:hover { opacity: 1; }
.mn-badge svg { width: 18px; height: 18px; flex: none; }
.mn-badge b { font-family: "MNBrand", "Vazirmatn", sans-serif; font-weight: 400; font-size: 15px; line-height: 1; padding-top: 2px; }
