/* Okzen Menu — tüm menü tasarımlarının ortak temeli.
   Her tasarımın kendi düzeni public/css/menu/<tasarım>.css dosyasındadır. */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f2f2f5;
  --text: #0b1a2e;
  --muted: #616d7d;
  --faint: #9aa3b2;
  --line: rgba(11, 26, 46, .08);
  --line-strong: rgba(11, 26, 46, .16);
  --radius: 22px;
  --card: 0 1px 2px rgba(11, 26, 46, .04), 0 10px 30px -18px rgba(11, 26, 46, .28);
  --ring: 0 0 0 1px var(--line);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, var(--surface));
  --price: var(--text);
  /* Ana renk yazı olarak kullanılınca okunur kalsın: açık zeminde koyulaştırılır, koyu zeminde açılır */
  --primary-ink: color-mix(in srgb, var(--primary) 70%, #000);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.32, 1.4, .5, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Haplar: köşeli tasarımlarda (yarıçap < 8px) köşeli, diğerlerinde yuvarlak */
body { --pill: max(var(--radius), calc((var(--radius) - 7px) * 999)); }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; stroke-width: 2; }
/* Simge sayfasından (<use>) gelen simgelerin çizgi ayarları; özgüllüğü 0 olduğu için tasarımların kuralları önceliklidir */
:where(svg.icon) { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.grow { flex: 1 1 auto; min-width: 0; }
.thumb *, .thumb *::before, .thumb *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
[data-section] { scroll-margin-top: 72px; }
[data-nav] { position: relative; }
.noscroll { scrollbar-width: none; }
.noscroll::-webkit-scrollbar { display: none; }

/* =================== ORTAK PARÇALAR =================== */
/* Üstteki dil / para birimi / arama / bilgi düğmeleri */
.tools { display: flex; gap: 8px; align-items: center; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; transition: transform .2s var(--spring), background .2s; }
.tool:active { transform: scale(.94); }
.tool.round { width: 38px; padding: 0; }
.tool .icon { width: 17px; height: 17px; }

/* Açık / kapalı ve masa rozeti */
.status-pill, .table-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.status-pill .sep { opacity: .45; }
.table-pill .icon { width: 14px; height: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.live-dot.on { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
.live-dot.off { background: #ef4444; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Hızlı işlemler (garson, puan, rezervasyon...) — tasarımlar biçimini değiştirir */
.acts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.acts::-webkit-scrollbar { display: none; }
.act { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.act-ic { display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--spring); }
.act:active .act-ic { transform: scale(.9); }
.act-l { white-space: nowrap; }

.banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--primary-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent); font-size: 14px; font-weight: 600; }
.banner-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); flex-shrink: 0; }
.banner-ic .icon { width: 17px; height: 17px; }

/* Ürün ortak */
.item { position: relative; cursor: pointer; outline: none; -webkit-user-select: none; user-select: none; }
.item:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent); }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Sağdan sola dillerde tutar ve birimler karışmasın ("₺ 260" değil "260 ₺") */
.price, .p-price, .sr-p, .pp { unicode-bidi: isolate; }
.money, .cart-item .p, .row-line b, .variant b, .bt-no, .cta b, .cart-bar b { unicode-bidi: isolate; direction: ltr; }
.unit, .stamp-head span { unicode-bidi: plaintext; }
[dir="rtl"] :is(.item h3, .item .desc, .item p, .p-body h2, .p-desc, .p-block p, .cart-item .n, .cart-item .n small, .sr-n, .pn, .banner-t, .camp-t, .camp-t > *, .sec-desc, [data-section] h2, .tagline, .foot-name, .foot-addr, .footer p) { unicode-bidi: plaintext; }
/* Şablonlara özgü serbest metinler (kapak alt yazısı, bölüm açıklaması...) de yazıldığı dilin yönünde akar */
[dir="rtl"] :is(.cover-sub, .lede, .deck, figcaption, .ss-desc, .story-desc, .unit-desc, .row-desc, .pf-bio, .r-small, .app-t small, [data-section] header p, .sec-head p, .stop-head p, .cap p) { unicode-bidi: plaintext; }
.price s { opacity: .5; font-weight: 500; font-size: .86em; margin-inline-end: 6px; }
.price small { opacity: .6; font-weight: 500; font-size: .8em; margin-inline-start: 1px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--primary-soft); color: color-mix(in srgb, var(--primary) 70%, var(--text)); white-space: nowrap; line-height: 1.35; }
.tag .icon { width: 11px; height: 11px; }
.tag.b-vegan, .tag.b-vejetaryen { background: rgba(22, 163, 74, .11); color: #166534; }
.tag.b-aci { background: rgba(220, 38, 38, .1); color: #b91c1c; }
.tag.soldout-tag { background: rgba(220, 38, 38, .1); color: #b91c1c; text-transform: uppercase; letter-spacing: .04em; font-size: 10px; }
.tag.later-tag { background: rgba(37, 99, 235, .1); color: #1d4ed8; display: inline-flex; align-items: center; gap: 4px; }
.tag.later-tag .icon { width: 11px; height: 11px; }
.item.later, .item:has(.later-tag) { opacity: .72; }
.order-cancelled { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 12px; color: #b91c1c; font-weight: 700; }
.order-cancelled .icon { width: 18px; height: 18px; }
.cart-bar.tracking .cart-count { min-width: auto; padding: 0 10px; }
.item.soldout img, .item.soldout .ph { filter: grayscale(1); opacity: .55; }
img.lg { width: 100%; height: 100%; object-fit: contain !important; padding: 9%; background: #fff; }
.lg-svg { display: block; width: 100%; height: 100%; font-style: normal; line-height: 0; }
.lg-svg svg { display: block; width: 100%; height: 100%; }
.media { position: relative; overflow: hidden; background: var(--surface-2); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
/* Fotoğrafı olmayan ürünler için baş harfli yer tutucu */
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--primary) 26%, var(--surface)), var(--surface-2)); color: color-mix(in srgb, var(--primary) 75%, var(--text)); }
.ph b { font-family: var(--font-head); font-size: 2.1em; font-weight: 700; opacity: .9; }
.add { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); flex-shrink: 0; transition: transform .2s var(--spring); }
.add:active { transform: scale(.86); }
.add .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.sec-closed { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #b45309; background: #fef3c7; padding: 5px 11px; border-radius: 999px; }
.sec-closed .icon { width: 14px; height: 14px; }
.unavailable .items { opacity: .5; filter: grayscale(.4); }
.unavailable [data-quick-add] { display: none !important; }
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.empty { text-align: center; color: var(--muted); padding: 56px 20px; }
.empty .icon { width: 42px; height: 42px; opacity: .35; margin: 0 auto 10px; }

/* Görsel (fotoğraf) menü sayfaları */
.pages { max-width: 780px; margin: 10px auto 0; padding: 0 14px 24px; display: flex; flex-direction: column; gap: 14px; }
.page { display: block; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--card), var(--ring); background: var(--surface); }
.page img { width: 100%; height: auto; }
.zoom { position: fixed; inset: 0; z-index: 200; background: #000; }
.zoom-scroll { width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-scroll img { width: 200%; max-width: none; }
.zoom .sheet-x { top: calc(16px + env(safe-area-inset-top, 0px)); }

/* =================== ALT BİLGİ =================== */
.footer { text-align: center; padding: 40px 22px calc(44px + var(--safe-b)); color: var(--muted); font-size: 13px; }
.has-cart .footer { padding-bottom: calc(120px + var(--safe-b)); }
.foot-logo { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 12px; overflow: hidden; box-shadow: var(--ring); }
.foot-logo > span { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--primary); }
.foot-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.01em; margin-bottom: 4px; }
.footer p { margin: 4px auto; max-width: 420px; }
.foot-social { display: flex; justify-content: center; gap: 10px; margin: 16px 0; }
.foot-social:empty { display: none; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--ring); color: var(--text); }
.foot-note { font-size: 12px; color: var(--muted); }
.powered { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--muted); }
/* Filtre hapı görünürken son kartlar ve alt bilgi onun altında kalmasın */
body:has(.filter-pill:not([hidden])) .footer { padding-bottom: calc(110px + var(--safe-b)); }
body.has-cart:has(.filter-pill:not([hidden])) .footer { padding-bottom: calc(176px + var(--safe-b)); }
.powered svg { width: 15px; height: 15px; }

/* =================== ALT PENCERELER =================== */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(2, 8, 20, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s ease-out; }
.sheet-panel { position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); color: var(--text); border-radius: 28px 28px 0 0; padding-bottom: var(--safe-b); animation: up .42s var(--ease); box-shadow: 0 -10px 40px -10px rgba(0,0,0,.25); scrollbar-width: none; }
.sheet-panel::-webkit-scrollbar { display: none; }
.sheet-panel.tall { max-height: 94vh; }
.sheet-panel.closing { animation: down .28s ease-in forwards; }
.sheet.closing .sheet-bg { animation: fade .28s ease-in reverse forwards; }
@media (min-width: 640px) { .sheet { align-items: center; padding: 24px; } .sheet-panel { border-radius: 28px; max-height: 88vh; } .grab { display: none; } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
/* Tutamaç içerikle birlikte kayar (başlığın üstüne binmez); kapatma düğmesi her zaman görünür kalır */
.grab { position: relative; z-index: 3; height: 0; display: flex; justify-content: center; }
.grab::before { content: ''; width: 38px; height: 5px; border-radius: 9px; background: rgba(0,0,0,.18); margin-top: 8px; }
.sheet-x { position: sticky; top: 14px; z-index: 4; margin-block: 14px -48px; margin-inline: auto 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(120, 120, 128, .2); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sheet-panel > .sheet-x { background: color-mix(in srgb, var(--surface) 72%, rgba(120, 120, 128, .5)); box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
.zoom .sheet-x { position: absolute; margin: 0; inset-inline-end: 14px; }
.sheet-x .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.sheet-panel:has(.p-media:not([hidden])) > .sheet-x { background: rgba(0, 0, 0, .35); color: #fff; }
.sheet-body { padding: 30px 22px 24px; }
.sheet-body > h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; padding-inline-end: 40px; }
.sheet-body > * + * { margin-top: 12px; }
.sheet-body > h2 + * { margin-top: 0; }

/* Ürün detayı */
.p-media { aspect-ratio: 4 / 3.2; background: var(--surface-2); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-body { padding: 22px 22px 8px; }
.p-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.p-badges:empty { display: none; }
.p-badges + h2 { margin-top: 10px; }
.p-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; padding-inline-end: 34px; text-wrap: balance; }
.p-media:not([hidden]) + .p-body h2 { padding-inline-end: 0; }
.p-price { font-size: 20px; font-weight: 750; color: var(--primary-ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.p-price s { color: var(--muted); font-size: 15px; font-weight: 500; margin-inline-end: 8px; }
.p-price:empty { display: none; }
.p-desc { color: var(--muted); font-size: 15px; margin-top: 12px; line-height: 1.55; }
.p-desc:empty { display: none; }
.p-block { margin-top: 22px; }
.p-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.p-label .icon { width: 14px; height: 14px; }
.p-block p { font-size: 14.5px; color: var(--text); }
.variants { border-radius: 18px; overflow: hidden; box-shadow: var(--ring); }
.variant { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; position: relative; }
.variant + .variant::before { content: ''; position: absolute; top: 0; inset-inline: 16px; height: 1px; background: var(--line); }
.variant input { position: absolute; opacity: 0; }
.variant .radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); flex-shrink: 0; transition: box-shadow .2s; }
.variant input:checked + .radio { box-shadow: inset 0 0 0 7px var(--primary); }
.variant .v-name { flex: 1; font-weight: 600; }
.variant b { font-weight: 700; font-variant-numeric: tabular-nums; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts:empty { display: none; }
.fact { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.fact .icon { width: 15px; height: 15px; color: var(--primary); }
.fact.warn { background: #fef3c7; color: #92400e; }
.fact.warn .icon { color: #b45309; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #f3d08a; background: #fffaeb; color: #92400e; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pair-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -22px; padding: 2px 22px 6px; }
.pair-scroll::-webkit-scrollbar { display: none; }
.pair { position: relative; flex: 0 0 132px; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--ring); cursor: pointer; }
.pair .pi { aspect-ratio: 1; background: var(--primary-soft) center / cover; }
.pair .pn { padding: 8px 10px 0; font-size: 13px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pair .pp { padding: 2px 10px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pair .item-add { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text); box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .35); }
.pair .item-add .icon { width: 16px; height: 16px; }
.pair .pi.noimg { aspect-ratio: 2 / 1; display: grid; place-items: center; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: color-mix(in srgb, var(--primary) 70%, var(--text)); }
.p-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 14px 16px calc(14px + var(--safe-b)); margin-top: 18px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 -1px 0 var(--line); }
.stepper { display: flex; align-items: center; height: 50px; border-radius: 999px; background: var(--surface-2); padding: 0 4px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.stepper button:active { background: var(--line); }
.stepper span { min-width: 24px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.cta { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 16px; letter-spacing: -.01em; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 75%, transparent); transition: transform .15s, filter .15s; }
.cta:active { transform: scale(.98); }
.cta b { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.cta span, .cta b { white-space: nowrap; }
.cta span + b { padding-inline-start: 12px; border-inline-start: 1px solid color-mix(in srgb, var(--on-primary) 30%, transparent); }
.cta.block { width: 100%; }
.cta.wa { background: #25d366; color: #052e14; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.cta[disabled] { opacity: .6; pointer-events: none; }
.link { display: block; margin: 14px auto 0; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Bilgi penceresi */
.wifi-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, var(--primary-soft), var(--surface-2)); }
.wifi-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); flex-shrink: 0; }
.wifi-net { font-weight: 700; }
.wifi-pass { font-size: 13.5px; color: var(--muted); }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); font-size: 13px; font-weight: 650; white-space: nowrap; }
.pill-btn.big { height: 44px; padding: 0 18px; font-size: 14px; }
.group { margin-top: 22px; }
.group-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.group-title .status { margin-inline-start: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status.on { background: rgba(22,163,74,.12); color: #15803d; }
.status.off { background: rgba(220,38,38,.1); color: #b91c1c; }
.row-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.row-line span { color: var(--muted); }
.row-line b { font-weight: 600; font-variant-numeric: tabular-nums; }
.row-line.today span, .row-line.today b { color: var(--text); font-weight: 750; }
.row-line.total { border: 0; font-size: 18px; padding-top: 14px; }
.row-line.total span { color: var(--text); font-weight: 700; }
.row-line.total b { font-weight: 800; }
.addr { font-size: 14.5px; margin-bottom: 12px !important; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-list { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; box-shadow: var(--ring); }
.choice { display: flex; align-items: center; gap: 14px; padding: 15px 16px; font-weight: 600; font-size: 15.5px; text-align: start; width: 100%; position: relative; }
.choice + .choice::before { content: ''; position: absolute; top: 0; inset-inline: 16px; height: 1px; background: var(--line); }
.choice .flag { font-size: 22px; width: 30px; text-align: center; font-weight: 800; }
.choice .flag.code { font-size: 13px; width: 38px; height: 28px; line-height: 28px; border-radius: 8px; background: var(--surface-2); letter-spacing: .04em; }
.choice.on { color: var(--primary); }
.choice .rate { font-size: 12px; color: var(--muted); font-weight: 500; }
.fine { font-size: 12px; color: var(--muted); text-align: center; }

/* Formlar */
.inp { display: block; width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--surface-2); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: box-shadow .2s; resize: vertical; }
.inp:focus { box-shadow: 0 0 0 2px var(--primary); }
textarea.inp { min-height: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .two { grid-template-columns: 1fr; } }
.lbl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; color: var(--muted); }
.lbl.row-between { flex-direction: row; justify-content: space-between; align-items: center; padding: 4px 0; }
.form-error { color: #dc2626; font-size: 14px; font-weight: 600; }
.field-inline { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--surface-2); }
.field-inline label { font-weight: 650; color: var(--muted); }
.field-inline .inp { background: var(--surface); text-align: center; font-weight: 700; }
.segmented { display: flex; padding: 4px; border-radius: 14px; background: var(--surface-2); gap: 4px; }
.segmented button { flex: 1; height: 40px; border-radius: 11px; font-weight: 650; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.segmented button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.order-fields > * + * { margin-top: 10px; }
.totals { margin-top: 6px; }

/* Garson çağırma */
.call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px !important; }
.call-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; min-height: 120px; border-radius: 22px; background: var(--surface-2); font-weight: 700; font-size: 16px; text-align: start; letter-spacing: -.01em; transition: transform .2s var(--spring), background .2s; }
.call-btn:active { transform: scale(.96); background: var(--primary-soft); }
.call-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.call-ic .icon { width: 22px; height: 22px; }
.call-btn:first-child { grid-column: 1 / -1; background: var(--primary); color: var(--on-primary); min-height: 96px; flex-direction: row; align-items: center; }
.call-btn:first-child .call-ic { background: color-mix(in srgb, var(--on-primary) 18%, transparent); color: var(--on-primary); }

/* Değerlendirme */
.stars-big { display: flex; justify-content: center; gap: 6px; margin: 4px 0 18px !important; }
.stars-big button { color: var(--line-strong); transition: transform .25s var(--spring), color .2s; }
.stars-big .icon { width: 46px; height: 46px; stroke-width: 1.5; }
.stars-big button.on, .stars-sm button.on { color: #f5b301; }
.stars-big button.on .icon, .stars-sm button.on .icon { fill: currentColor; }
.stars-big button.pop { transform: scale(1.22); }
.criteria { border-radius: 18px; box-shadow: var(--ring); padding: 4px 14px; }
.crit { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 14px; font-weight: 600; }
.crit + .crit { border-top: 1px solid var(--line); }
.stars-sm { display: flex; gap: 2px; }
.stars-sm button { color: var(--line-strong); }
.stars-sm .icon { width: 22px; height: 22px; stroke-width: 1.8; }

/* Başarı ekranı */
.sheet-body.done { text-align: center; padding-top: 44px; padding-bottom: 36px; }
.sheet-body.done h2 { padding: 0; margin: 16px 0 6px; }
.sheet-body.done p { color: var(--muted); }
.done-check { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); animation: pop .55s var(--spring); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--primary) 80%, transparent); }
.done-check .icon { width: 40px; height: 40px; stroke-width: 2.6; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.order-no { font-size: 15px; }
.order-no b { font-size: 22px; color: var(--text); margin-inline-start: 6px; }
.track { list-style: none; padding: 0; margin: 24px auto 0 !important; max-width: 300px; text-align: start; }
.track li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--muted); font-weight: 600; }
.track li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 9px; top: 32px; width: 2px; height: 20px; background: var(--line); }
.track-dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); flex-shrink: 0; }
.track li.done, .track li.current { color: var(--text); }
.track li.done .track-dot { background: var(--primary); box-shadow: none; }
.track li.current .track-dot { box-shadow: inset 0 0 0 6px var(--primary); animation: pulse-p 1.6s infinite; }
@keyframes pulse-p { 50% { box-shadow: inset 0 0 0 6px var(--primary), 0 0 0 6px color-mix(in srgb, var(--primary) 20%, transparent); } }

/* Sepet */
.cart-bar { position: fixed; inset-inline: 12px; bottom: calc(14px + var(--safe-b)); margin: 0 auto; max-width: 536px; z-index: 50; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px 0 10px; border-radius: 22px; background: #0b1a2e; color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 18px 40px -14px rgba(4, 24, 47, .6); animation: up .45s var(--spring); }
.cart-bar b { font-variant-numeric: tabular-nums; }
.cart-count { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 14px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 15px; }
.cart-bar.bump .cart-count { animation: pop .4s var(--spring); }
.dark .cart-bar, .dm-on .cart-bar { background: var(--primary); color: var(--on-primary); }
.dark .cart-count, .dm-on .cart-count { background: var(--on-primary); color: var(--primary); }
.cart-items { margin-top: 0 !important; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item .n { flex: 1; min-width: 0; font-weight: 650; font-size: 15px; }
.cart-item .n small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.cart-item .stepper { height: 40px; }
.cart-item .stepper button { width: 34px; height: 34px; }
.cart-item .p { font-weight: 700; min-width: 70px; text-align: end; font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translateX(-50%); z-index: 300; background: rgba(11, 26, 46, .92); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: normal; text-align: center; max-width: calc(100vw - 32px); width: max-content; overflow-wrap: anywhere; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: toast .35s var(--spring); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }

/* Arama */
.search-panel { min-height: 70vh; }
.search-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: var(--surface); }
.search-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 46px; padding-inline: 14px; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.search-box input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text); outline: none; min-width: 0; height: 100%; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-cancel { flex-shrink: 0; font-weight: 650; font-size: 15px; color: var(--text); padding: 8px 2px; }
.search-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 24px; }
.search-cats a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.search-cats a:has(.sc-img) { padding-inline-start: 6px; }
.sc-img { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.search-results { padding: 0 8px 24px; }
.sr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border-radius: 16px; text-align: start; }
.sr:active { background: var(--surface-2); }
.sr-img { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-family: var(--font-head); font-size: 20px; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-n { display: block; font-weight: 650; }
.sr-c { display: block; font-size: 12.5px; color: var(--muted); }
.sr-p { font-weight: 700; font-variant-numeric: tabular-nums; }
.sr.soldout { opacity: .5; }
.sr-empty { text-align: center; color: var(--muted); padding: 40px 20px; }
/* Arama boşken öneriler */
.sr-label { display: flex; align-items: center; gap: 6px; padding: 8px 8px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sr-label .icon { width: 14px; height: 14px; color: var(--primary-ink); }
.sr-c .tag { margin-inline-start: 6px; vertical-align: 1px; }

/* Sepet: QR'dan gelen masa düzenlenemez bir rozet olarak görünür */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.table-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--primary-soft); color: var(--text); font-weight: 700; font-size: 15px; }
.table-chip .icon { width: 17px; height: 17px; color: var(--primary-ink); }
.order-fields .lbl:has(.table-chip) { flex-direction: row; align-items: center; }

/* Kategoriler penceresi */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; transition: background .2s; }
.cat-list a.active { background: var(--primary-soft); }
.cat-list a > .icon { color: var(--faint); }
.cl-img { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-img b { font-family: var(--font-head); font-size: 18px; color: var(--muted); }
.cl-n { display: block; font-weight: 700; font-size: 16px; font-family: var(--font-head); }
.cl-c { display: block; font-size: 12.5px; color: var(--muted); }

/* =================== KARANLIK MOD =================== */
body.dark { color-scheme: dark; --primary-ink: color-mix(in srgb, var(--primary) 55%, #fff); --price: var(--primary-ink); }
body.dm-on { color-scheme: dark; --bg: #0c0c0e; --surface: #17171a; --surface-2: #222226; --text: #f4f1ea; --muted: #a8a39a; --faint: #8a857c; --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.2); --card: 0 0 0 1px rgba(255,255,255,.05), 0 18px 40px -24px rgba(0,0,0,.8); --primary-soft: color-mix(in srgb, var(--primary) 18%, #17171a); --primary-ink: color-mix(in srgb, var(--primary) 55%, #fff); --price: var(--primary-ink); }
/* Tarayıcı destekliyorsa ana renk yalnızca gerektiği kadar açılır / koyulaşır (tasarımın rengi korunur) */
@supports (color: oklch(from red l c h)) {
  body { --primary-ink: oklch(from var(--primary) min(l, .52) c h); }
  body.dark { --primary-ink: oklch(from var(--primary) max(l, .7) c h); }
  body.dm-on { --primary-ink: oklch(from var(--primary) max(l, .74) c h); }
  @media (prefers-color-scheme: dark) { body.dm-auto { --primary-ink: oklch(from var(--primary) max(l, .74) c h); } }
}
/* Anlamsal renkler (acı, vegan, indirim, durum) koyu zeminde açık tonlarıyla */
body:is(.dark, .dm-on) .tag.b-aci, body:is(.dark, .dm-on) .tag.soldout-tag { background: rgba(248, 113, 113, .14); color: #fca5a5; }
body:is(.dark, .dm-on) .tag.b-vegan, body:is(.dark, .dm-on) .tag.b-vejetaryen { background: rgba(74, 222, 128, .12); color: #86efac; }
body:is(.dark, .dm-on) .tag.later-tag { background: rgba(96, 165, 250, .14); color: #93c5fd; }
body:is(.dark, .dm-on) .tag.b-happy { background: rgba(245, 158, 11, .18); color: #fbbf24; }
body:is(.dark, .dm-on) .hh-note { color: #fbbf24; }
body:is(.dark, .dm-on) .promo-on { background: rgba(74, 222, 128, .12); color: #86efac; }
body:is(.dark, .dm-on) .row-line.disc b { color: #4ade80; }
body:is(.dark, .dm-on) .status.on, body:is(.dark, .dm-on) .bill-st.st-ready, body:is(.dark, .dm-on) .bill-st.st-delivered { background: rgba(74, 222, 128, .14); color: #86efac; }
body:is(.dark, .dm-on) .status.off { background: rgba(248, 113, 113, .14); color: #fca5a5; }
body:is(.dark, .dm-on) .bill-st.st-preparing { background: rgba(245, 158, 11, .16); color: #fbbf24; }
body:is(.dark, .dm-on) :is(.form-error, .order-cancelled, .opt-need) { color: #fca5a5; }
body:is(.dark, .dm-on) .fact.warn .icon { color: #fbbf24; }
body:is(.dark, .dm-on) .opt-group.need .opt-hint.req { background: rgba(248, 113, 113, .16); color: #fca5a5; }
@media (prefers-color-scheme: dark) {
  body.dm-auto .tag.b-aci, body.dm-auto .tag.soldout-tag { background: rgba(248, 113, 113, .14); color: #fca5a5; }
  body.dm-auto .tag.b-vegan, body.dm-auto .tag.b-vejetaryen { background: rgba(74, 222, 128, .12); color: #86efac; }
  body.dm-auto .tag.later-tag { background: rgba(96, 165, 250, .14); color: #93c5fd; }
  body.dm-auto .hh-note { color: #fbbf24; }
  body.dm-auto .promo-on { background: rgba(74, 222, 128, .12); color: #86efac; }
  body.dm-auto .row-line.disc b { color: #4ade80; }
  body.dm-auto .status.on, body.dm-auto .bill-st.st-ready, body.dm-auto .bill-st.st-delivered { background: rgba(74, 222, 128, .14); color: #86efac; }
  body.dm-auto .status.off { background: rgba(248, 113, 113, .14); color: #fca5a5; }
  body.dm-auto .bill-st.st-preparing { background: rgba(245, 158, 11, .16); color: #fbbf24; }
  body.dm-auto :is(.form-error, .order-cancelled, .opt-need) { color: #fca5a5; }
}
.dark .grab::before, .dm-on .grab::before { background: rgba(255,255,255,.25); }
.dark .fact.warn, .dm-on .fact.warn, .dark .sec-closed, .dm-on .sec-closed { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.dark .chip, .dm-on .chip { background: rgba(245, 158, 11, .12); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); color: #fbbf24; }
.dark .cart-bar, .dm-on .cart-bar { background: var(--primary); color: var(--on-primary); }
.dark .cart-count, .dm-on .cart-count { background: var(--on-primary); color: var(--primary); }
@media (prefers-color-scheme: dark) {
  body.dm-auto { color-scheme: dark; --bg: #0c0c0e; --surface: #17171a; --surface-2: #222226; --text: #f4f1ea; --muted: #a8a39a; --faint: #8a857c; --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.2); --card: 0 0 0 1px rgba(255,255,255,.05), 0 18px 40px -24px rgba(0,0,0,.8); --primary-soft: color-mix(in srgb, var(--primary) 18%, #17171a); --primary-ink: color-mix(in srgb, var(--primary) 55%, #fff); --price: var(--primary-ink); }
  body.dm-auto .grab::before { background: rgba(255,255,255,.25); }
  body.dm-auto .fact.warn, body.dm-auto .sec-closed { background: rgba(245, 158, 11, .15); color: #fbbf24; }
  body.dm-auto .chip { background: rgba(245, 158, 11, .12); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); color: #fbbf24; }
  body.dm-auto .cart-bar { background: var(--primary); color: var(--on-primary); }
  body.dm-auto .cart-count { background: var(--on-primary); color: var(--primary); }
}

/* =================== SATIŞ ARAÇLARI =================== */
/* Ürün ekstraları */
.opt-hint { margin-inline-start: auto; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: var(--pill); background: var(--surface-2); color: var(--muted); text-transform: none; }
.opt-hint.req { background: var(--primary-soft); color: color-mix(in srgb, var(--primary) 75%, var(--text)); }
.opt-group .p-label { display: flex; align-items: center; gap: 6px; }
.opt-group.need .variants { box-shadow: 0 0 0 2px #dc2626; animation: shake .35s; }
/* Zorunlu seçim yapılmadan eklenmek istenirse: grup içinde açık uyarı */
.opt-group.need .opt-hint.req { background: #fee2e2; color: #b91c1c; }
.opt-need { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 650; color: #b91c1c; }
.opt-need .icon { width: 16px; height: 16px; }
.opt-group:not(.need) .opt-need { display: none; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.variant .check { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line-strong); flex-shrink: 0; display: grid; place-items: center; color: transparent; transition: background .2s, box-shadow .2s; }
.variant .check .icon { width: 14px; height: 14px; stroke-width: 3.2; }
.variant input:checked + .check { background: var(--primary); box-shadow: none; color: var(--on-primary); }
.variant.off { opacity: .45; }
.hh-note { display: block; font-size: 12px; font-weight: 650; color: #b45309; margin-top: 2px; }
.tag.b-happy { background: rgba(245, 158, 11, .14); color: #b45309; }

/* Sepette öneri, indirim kodu */
.upsell { margin-top: 18px !important; }
.upsell .p-label { display: flex; align-items: center; gap: 6px; }
.upsell .pair { flex-basis: 118px; }
.promo { margin-top: 14px !important; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .inp { flex: 1; min-width: 0; }
.inline-form .pill-btn { height: 50px; flex-shrink: 0; }
.promo-on { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: min(var(--radius), 14px); background: rgba(22, 163, 74, .1); color: #15803d; font-weight: 700; }
.promo-on .link { margin: 0 0 0 auto; color: inherit; }
.promo .form-error { margin-top: 6px !important; }
.row-line.disc b { color: #16a34a; }

/* Diyet ve alerjen filtresi */
.filter-open { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px 10px; padding: 12px 14px; border-radius: min(var(--radius), 14px); background: var(--primary-soft); color: color-mix(in srgb, var(--primary) 70%, var(--text)); font-weight: 650; font-size: 14px; text-align: start; }
.filter-open .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-open b { min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 12px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 40px; padding: 6px 14px; border-radius: var(--pill); background: var(--surface-2); color: var(--text); font-weight: 650; font-size: 14px; line-height: 1.25; text-align: start; transition: background .2s, color .2s, box-shadow .2s; }
.fchip .icon { width: 16px; height: 16px; }
.fchip.on { background: var(--primary); color: var(--on-primary); }
.fchip.avoid.on { background: #dc2626; color: #fff; text-decoration: line-through; text-decoration-thickness: 2px; }
.f-note { text-align: start; margin-bottom: 14px !important; }
/* Dar ekranlarda da iki düğme ekrana sığar: "Temizle" kısa kalır, "Sonuçları göster" kalan alanı kullanır */
.f-actions { display: flex; gap: 10px; min-width: 0; }
.f-actions .pill-btn { height: 52px; flex: 0 1 auto; min-width: 0; padding-inline: 16px; }
.f-actions .cta { flex: 1 1 0; min-width: 0; padding-inline: 16px; gap: 8px; }
.f-actions .cta span { min-width: 0; white-space: normal; line-height: 1.1; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-actions .cta b { flex-shrink: 0; }
.f-actions .cta span + b { padding-inline-start: 10px; }
.filter-pill { position: fixed; z-index: 49; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--dock-off, 0px) + var(--safe-b)); display: inline-flex; align-items: stretch; height: 42px; max-width: calc(100vw - 32px); border-radius: var(--pill); background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); overflow: hidden; }
.filter-pill > button { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit; }
.fp-open { padding-inline: 16px 10px; }
.fp-open span { overflow: hidden; text-overflow: ellipsis; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.fp-x { flex-shrink: 0; width: 42px; justify-content: center; border-inline-start: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); }
.filter-pill .icon { width: 16px; height: 16px; flex-shrink: 0; }
.has-cart .filter-pill { bottom: calc(86px + var(--dock-off, 0px) + var(--safe-b)); }
/* Örnek menülerdeki alt tanıtım şeridinin üstünde */
body:has(.demo-bar) .filter-pill { bottom: calc(76px + var(--dock-off, 0px) + var(--safe-b)); }
body.has-cart:has(.demo-bar) .filter-pill { bottom: calc(146px + var(--dock-off, 0px) + var(--safe-b)); }
.f-out, .f-empty { display: none !important; }

/* Kampanyalar */
.camps { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 6px; margin: 10px 0 4px; }
.camps::-webkit-scrollbar { display: none; }
.camp { flex: 0 0 auto; min-width: 0; max-width: 300px; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 10px; padding-inline: 10px 12px; border-radius: min(var(--radius), 18px); background: var(--surface); box-shadow: var(--card), var(--ring); text-align: start; color: var(--text); }
.camps .camp:only-child { flex: 1 1 auto; max-width: 100%; }
.camp-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: min(var(--radius), 12px); display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.camp-t { min-width: 0; flex: 1; }
.camp-t b { display: block; font-size: 14px; line-height: 1.25; }
.camp-t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 1px; }
.camp > .icon { color: var(--muted); flex-shrink: 0; }
[dir="rtl"] .camp > .icon, [dir="rtl"] .filter-open > .icon:last-child { transform: scaleX(-1); }
.camp-body { padding-top: 22px; }
.camp-body h2 { margin-top: 10px; }
.camp-body .cta { margin-top: 18px; }
/* Görseli olmayan kampanya: ana renkte büyük rozetli şerit */
.camp-art { display: grid; place-items: center; height: 148px; background: radial-gradient(90% 120% at 15% 0%, color-mix(in srgb, var(--on-primary) 22%, transparent), transparent 60%), var(--primary); color: var(--on-primary); overflow: hidden; }
.camp-art .icon { width: 72px; height: 72px; stroke-width: 1.6; transform: rotate(-10deg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.p-media:not([hidden]) + .camp-art { display: none; }
.camp-panel:has(.camp-art:not([hidden])) .camp-body { padding-top: 20px; }

/* Sadakat kartı */
.stamp-card { margin-top: 18px; padding: 18px; border-radius: min(var(--radius), 22px); background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: var(--on-primary); box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--primary) 80%, transparent); }
.stamp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.stamp-name { font-family: var(--font-head); font-size: 18px; }
.stamp-head span:last-child { font-size: 13px; opacity: .85; font-variant-numeric: tabular-nums; }
.stamps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 58px)); justify-content: center; gap: 10px; }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed color-mix(in srgb, var(--on-primary) 45%, transparent); color: transparent; transition: background .3s, color .3s, transform .3s var(--spring); }
.stamp .icon { width: 44%; height: 44%; stroke-width: 2.6; }
.stamp.gift { color: color-mix(in srgb, var(--on-primary) 60%, transparent); }
.stamp.on { background: var(--on-primary); color: var(--primary); border-color: transparent; transform: rotate(-8deg); }
.stamp-msg { margin-top: 14px !important; font-weight: 650; font-size: 14px; text-align: center; }
.stamp-msg.ready { font-size: 16px; }
.loy-body .inline-form { margin-top: 16px; }
.loy-body .form-error { margin-top: 8px !important; }

/* Hesabım */
.bill-order { padding: 4px 0 6px; }
.bill-order + .bill-order { border-top: 6px solid var(--surface-2); margin-top: 6px; }
.bill-head { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.bill-st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.bill-st.st-ready, .bill-st.st-delivered { background: rgba(22,163,74,.12); color: #15803d; }
.bill-st.st-preparing { background: rgba(245,158,11,.14); color: #b45309; }
.split { margin-top: 18px !important; padding: 14px 16px; border-radius: 20px; box-shadow: var(--ring); }
.split .p-label { display: flex; align-items: center; gap: 6px; }
.split > * + * { margin-top: 10px; }
.split .stepper { height: 44px; }
.bill-link { margin: 18px auto 0; }
[data-bill-calc] .fine { margin-top: 14px !important; }
[data-bill-calc] .cta { margin-top: 14px; }

/* Garson modu */
.staff-bar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px; background: #0b1a2e; color: #fff; font-size: 13.5px; box-shadow: 0 6px 20px -10px rgba(0,0,0,.5); }
.staff-bar .icon { width: 16px; height: 16px; color: #fbbf24; }
.staff-table { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 700; }
body:has(.staff-bar) { padding-top: 38px; }
.dark .tag.b-happy, .dm-on .tag.b-happy { background: rgba(245, 158, 11, .18); color: #fbbf24; }
@media (prefers-color-scheme: dark) { body.dm-auto .tag.b-happy { background: rgba(245, 158, 11, .18); color: #fbbf24; } }

/* =================== GARSON MODU: HIZLI SİPARİŞ EKRANI (views/menu/garson.ejs, public/js/garson.js) ===================
   Yalnızca body.waiter sayfasında kullanılır; müşteri menüsünü etkilemez. Telefon (390 px) öncelikli. */
body.waiter { --wm-navy: #0b1a2e; --wm-gold: #ecc25f; --wm-line: #e3e7ee; --wm-soft: #eef0f4; --wm-top: calc(64px + env(safe-area-inset-top, 0px)); --bg: #f4f5f7; --muted: #5a687b; background: var(--bg); }
body.waiter button, body.waiter a { touch-action: manipulation; }
.wm-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px; height: var(--wm-top); padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; background: var(--wm-navy); color: #fff; }
.wm-table { display: grid; grid-template-columns: auto 16px; column-gap: 6px; align-content: center; height: 48px; min-width: 86px; padding: 0 10px 0 12px; border-radius: 14px; background: var(--wm-gold); color: var(--wm-navy); text-align: start; position: relative; }
.wm-table small { grid-column: 1; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; opacity: .75; }
.wm-table b { grid-column: 1; grid-row: 2; font-size: 21px; font-weight: 800; line-height: 1.05; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-table .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 16px; height: 16px; stroke-width: 2.6; }
.wm-table.none { background: #fff; animation: wm-glow 1.6s ease-in-out infinite; }
.wm-table.open::after { content: ""; position: absolute; top: 6px; inset-inline-end: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--wm-navy); box-shadow: 0 0 0 2px var(--wm-gold); }
@keyframes wm-glow { 50% { box-shadow: 0 0 0 4px rgba(236, 194, 95, .55); } }
.wm-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.wm-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; outline: none; }
.wm-search input::placeholder { color: rgba(255, 255, 255, .6); }
.wm-search input::-webkit-search-cancel-button { display: none; }
.wm-search-x { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.wm-cats { position: sticky; top: var(--wm-top); z-index: 39; display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: #fff; box-shadow: 0 1px 0 var(--wm-line); }
.wm-cats a { flex-shrink: 0; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--wm-soft); color: var(--wm-navy); font-weight: 650; font-size: 14px; white-space: nowrap; }
.wm-cats a.active { background: var(--wm-navy); color: #fff; }
.wm-cats a.off { opacity: .55; }
body.searching .wm-cats { display: none; }
.wm-list { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.wm-sec { scroll-margin-top: calc(var(--wm-top) + 52px); }
.wm-sec h2 { display: flex; align-items: center; gap: 8px; padding: 18px 16px 6px; font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.wm-sec h2 small { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; letter-spacing: 0; text-transform: none; color: #b45309; }
.wm-sec h2 small .icon { width: 13px; height: 13px; }
.wm-row { display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--wm-line); transition: background .2s; }
.wm-sec h2 + .wm-row { border-top: 1px solid var(--wm-line); }
.wm-add { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 12px 8px 16px; text-align: start; color: var(--wm-navy); -webkit-user-select: none; user-select: none; }
.wm-add:active { background: var(--wm-soft); }
.wm-info { flex: 1; min-width: 0; }
.wm-n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 650; font-size: 16px; line-height: 1.25; }
.wm-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-p { flex-shrink: 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; unicode-bidi: isolate; }
.wm-p s { margin-inline-end: 5px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.wm-p small { color: var(--muted); }
.wm-q { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px #cfd5df; color: var(--wm-navy); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.wm-q .icon { width: 19px; height: 19px; stroke-width: 2.6; }
.wm-row.has { background: #fffaeb; }
.wm-row.has .wm-q { background: var(--wm-navy); color: #fff; box-shadow: none; }
.wm-row.bump .wm-q { animation: pop .35s var(--spring); }
/* "−" satırın solunda: sağdaki "+" ile karışmaz, art arda dokunuş hep ekler */
.wm-minus { order: -1; flex-shrink: 0; width: 48px; display: grid; place-items: center; color: var(--wm-navy); border-inline-end: 1px solid #f1e3bd; }
.wm-minus .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.wm-minus:active { background: #f8edcf; }
.wm-row.off { background: #fafbfc; }
.wm-row.off .wm-add { cursor: default; opacity: .5; }
.wm-row.off .wm-q { visibility: hidden; }
.wm-empty { padding: 48px 20px; text-align: center; color: var(--muted); }
/* Alt çubuk: sepet özeti + gönder */
.wm-bar, .wm-done { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
.wm-bar { background: #fff; box-shadow: 0 -1px 0 var(--wm-line), 0 -12px 30px -20px rgba(11, 26, 46, .45); animation: up .3s var(--ease); }
.wm-sum { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 12px 0 9px; border-radius: 16px; background: var(--wm-soft); color: var(--wm-navy); text-align: start; }
.wm-count { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; background: var(--wm-navy); color: #fff; font-weight: 800; font-size: 17px; }
.wm-sum-t b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wm-sum-t small { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 650; color: var(--muted); }
.wm-sum-t small .icon { width: 13px; height: 13px; }
.wm-send { flex: 1; min-width: 0; height: 58px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--wm-navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 26, 46, .8); }
.wm-send .wm-send-t { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.wm-send small { font-size: 12.5px; font-weight: 700; color: var(--wm-gold); line-height: 1.2; }
.wm-send small:empty { display: none; }
.wm-send:active { transform: scale(.98); }
.wm-send.busy, .wm-send[disabled] { opacity: .65; }
.wm-done { background: #15803d; color: #fff; box-shadow: 0 -12px 30px -20px rgba(0, 0, 0, .5); animation: up .3s var(--ease); }
.wm-done-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #15803d; }
.wm-done-ic .icon { width: 22px; height: 22px; stroke-width: 3; }
.wm-done b { display: block; font-size: 15.5px; line-height: 1.25; }
.wm-done small { display: block; font-size: 13px; opacity: .88; }
.wm-done-btn { flex-shrink: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 750; font-size: 14px; white-space: nowrap; }
/* Bildirim listenin üstünde durur ama dokunuşu engellemez (altındaki ürüne dokunulabilir) */
body.waiter .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
/* Masa seçimi (tam ekran) */
.wm-tables { position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--bg); color: var(--wm-navy); animation: fade .2s ease-out; }
.wm-tables-head { display: flex; align-items: flex-start; gap: 10px; }
.wm-tables-head h1 { font-family: inherit; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.wm-tables-head p { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.wm-tables-head p .icon { width: 15px; height: 15px; color: #b8862b; }
.wm-x { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #e4e8ee; color: var(--wm-navy); }
.wm-x .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.wm-tables-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: #92400e; font-size: 14px; font-weight: 650; box-shadow: inset 0 0 0 1px #f3d08a; }
.wm-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wm-legend i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; }
.wm-lg-open { background: var(--wm-navy); }
.wm-lg-call { background: var(--wm-gold); color: var(--wm-navy); border-radius: 50% !important; }
.wm-lg-call .icon { width: 10px; height: 10px; }
.wm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; margin-top: 12px; }
.wm-t { position: relative; min-height: 62px; padding: 4px 2px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; color: var(--wm-navy); box-shadow: inset 0 0 0 1px #d9dee6; transition: transform .12s; }
.wm-t b { font-size: 22px; font-weight: 800; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-t small { font-size: 11px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.wm-t:active { transform: scale(.95); }
.wm-t.open { background: var(--wm-navy); color: #fff; box-shadow: none; }
.wm-t.open small { color: var(--wm-gold); }
.wm-t.sel { box-shadow: 0 0 0 3px var(--wm-gold); }
.wm-t-call { position: absolute; top: -6px; inset-inline-end: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--wm-gold); color: var(--wm-navy); box-shadow: 0 0 0 2px var(--bg); }
.wm-t-call .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.wm-other { margin-top: 20px; }
.wm-other label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wm-other-row { display: flex; gap: 8px; }
.wm-other-row .inp { flex: 1; min-width: 0; background: #fff; box-shadow: inset 0 0 0 1px #d9dee6; font-weight: 700; }
.wm-other-go { flex-shrink: 0; height: 50px; padding: 0 20px; border-radius: 14px; background: var(--wm-navy); color: #fff; font-weight: 750; }
.wm-other .form-error { margin-top: 8px; }
.wm-recent p { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--muted); }
/* Boy / seçenek penceresi ve sepet */
.wm-pick .sheet-body { padding-top: 24px; }
.wm-pick .sheet-body > h2 { margin-bottom: 12px; }
.wm-pick-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--muted); }
.wm-pick-qty .stepper { height: 46px; }
.wm-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px !important; }
.wm-choice { min-height: 68px; padding: 10px 14px; border-radius: 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; background: var(--wm-soft); color: var(--wm-navy); text-align: start; }
.wm-choice span { font-weight: 750; font-size: 16px; line-height: 1.2; }
.wm-choice b { font-size: 14px; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.wm-choice:active { background: var(--wm-navy); color: #fff; }
.wm-choice:active b { color: var(--wm-gold); }
.wm-pick .cta, .wm-cart .cta { background: var(--wm-navy); color: #fff; margin-top: 16px; }
/* Uzun seçenek listesinde "Ekle" hep görünür (kaydırmadan eklenir) */
.wm-pick [data-w-pick-add] { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 2; }
.wm-cart .cta b { color: var(--wm-gold); }
.wm-cart textarea { margin-top: 14px !important; }
.wm-lost { position: fixed; z-index: 120; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); padding: 16px; border-radius: 18px; background: #fff; color: var(--wm-navy); box-shadow: 0 0 0 2px #dc2626, 0 24px 48px -20px rgba(0, 0, 0, .5); }
.wm-lost b { display: block; font-size: 17px; }
.wm-lost span { display: block; margin: 4px 0 12px; color: var(--muted); font-size: 14px; }
.wm-lost .cta { background: #dc2626; color: #fff; }
@media (min-width: 720px) {
  .wm-list, .wm-tables > * { max-width: 760px; margin-inline: auto; }
}
