/*
 * Müşteri menüsü. Düzen: telefonda tek sütun ve üstte yapışkan kategori şeridi;
 * geniş ekranda solda yapışkan kategori/filtre sütunu, sağda iki sütunlu ürün ızgarası.
 */
:root { --whatsapp: #0e7a6d;
  --bg: #f1f2ee;          /* taş rengi zemin, hafif yeşil eğilimli */
  --surface: #fbfcf9;
  --ink: #1b221e;
  --muted: #66706a;
  --line: #dde1d9;
  --accent: #0e5a4b;      /* koyu çini yeşili */
  --accent-soft: #dcebe5;
  --white: #fffdf8;       /* saf beyaz yerine sıcak kâğıt beyazı (koyu zemin üstü yazı, beyaz kartlar) */
  --black: #0e100f;       /* saf siyah yerine (hikâye görüntüleyici) */
  --story-kicker: #f2b45a;
  --saffron: #a8670d;     /* rozet ve vurgular */
  --saffron-soft: #f6e8d2;
  --warn: #b42318;
  --warn-soft: #fbe9e6;
  --shadow: 0 1px 2px rgba(27, 34, 30, .06), 0 8px 24px rgba(27, 34, 30, .06);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --surface: #181e1b;
    --ink: #e8ece9;
    --muted: #a2aca6;
    --line: #2b332f;
    --accent: #6cc9b0;
    --accent-soft: #1d3a32;
    --saffron: #e5ac57;
    --saffron-soft: #3a2d18;
    --warn: #ff8f84;
    --warn-soft: #3c1f1c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
html[dir="rtl"] body { --font-display: "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, serif; --font-body: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font-body); }
html[dir="rtl"] body { line-height: 1.75; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-gutter, .m-head-inner, .m-layout, .m-foot-inner {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Üst bar */
.m-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.m-head-inner { max-width: 1180px; margin: 0 auto; padding-block: 20px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.m-name { margin: 0; font: 600 clamp(1.6rem, 5vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.m-city { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
html.not-latin .m-city { text-transform: none; letter-spacing: 0; }
.m-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.m-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--bg); }
.m-seg a, .m-seg button {
  border: 0; background: none; min-height: 36px; padding: 4px 12px; border-radius: 999px; font-size: .85rem; color: var(--muted);
  text-decoration: none; cursor: pointer; min-width: 36px; text-align: center;
}
.m-seg [aria-current="true"], .m-seg [aria-pressed="true"] { background: var(--accent); color: var(--surface); font-weight: 600; }

/* Yerleşim */
.m-layout { max-width: 1180px; margin: 0 auto; }
.m-side { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
.m-cats { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.m-cats::-webkit-scrollbar { display: none; }
.m-cats a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.m-cats a.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.m-cat-count { font-size: .72rem; opacity: .6; font-variant-numeric: tabular-nums; }
.m-filters { display: flex; flex-direction: column; gap: 12px; }
.m-main { padding-block: 8px 32px; min-width: 0; }

/* Filtreler (telefonda kategori şeridinin altında, yapışkan değil) */
.m-mobile-filters { padding-block: 12px 0; }
.m-filter-group { display: flex; flex-direction: column; gap: 8px; }
.m-filter-label { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 600; }
html.not-latin .m-filter-label { letter-spacing: 0; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip { position: relative; }
.m-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.m-chip span {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: .85rem; cursor: pointer; transition: background .15s, border-color .15s;
}
.m-chip b { font-variant-numeric: tabular-nums; font-size: .75rem; color: var(--muted); }
.m-chip-tag input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--surface); font-weight: 600; }
.m-chip-al input:checked + span { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); font-weight: 600; }
.m-chip-al input:checked + span b { color: inherit; }
.m-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-filter { padding-block: 4px; }
/* "Alerjim var": kutunun iki kenarına dayanan şerit düğme */
.m-filter summary {
  cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 12px; box-sizing: border-box;
  border: 1px solid var(--warn); border-radius: 12px; background: var(--warn-soft); color: var(--warn);
  font-size: .92rem; font-weight: 600; list-style: none; transition: filter .15s;
}
.m-filter summary:hover { filter: brightness(.97); }
.m-filter summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-filter summary::-webkit-details-marker { display: none; }
.m-filter summary::before { content: "⚠"; }
.m-filter summary::after { content: "▾"; margin-inline-start: auto; }
.m-filter[open] summary::after { content: "▴"; }
.m-filter[open] summary { margin-bottom: 8px; }
.m-count { background: var(--warn); color: var(--surface); border-radius: 6px; padding: 0 8px; font-size: .75rem; font-variant-numeric: tabular-nums; }
.m-help { margin: 4px 0 8px; font-size: .85rem; color: var(--muted); }
.m-filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; font-size: .88rem; flex-wrap: wrap; }
.m-btn-quiet { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: .88rem; }

/* Kategoriler ve kartlar */
.m-cat { scroll-margin-top: 72px; }
.m-cat h2 { font: 600 1.45rem/1.2 var(--font-display); margin: 28px 0 12px; display: flex; align-items: center; gap: 12px; }
.m-cat h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.m-grid { display: grid; gap: 12px; }
.m-item { animation: m-rise .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
.m-open {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: start; text-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.m-open:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.m-open:active { transform: scale(.99); }
.m-item-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-item-name { font: 600 1.08rem/1.25 var(--font-display); }
.m-desc { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; }
.m-tag { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.m-tag-aci { background: var(--warn-soft); color: var(--warn); }
.m-tag-sef, .m-tag-yeni { background: var(--saffron-soft); color: var(--saffron); }
.m-item-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.m-prices { display: flex; flex-direction: column; gap: 2px; }
.m-price-row { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.m-var { font-size: .82rem; color: var(--muted); }
.m-price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.m-fx { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.m-al-nums { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.m-al-num {
  min-width: 24px; height: 24px; padding: 0 8px; border-radius: 6px; gap: 4px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600; border: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums;
}
.m-al-num.hit { background: var(--warn); border-color: var(--warn); color: var(--surface); }
.m-thumb { width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); max-width: 100%; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m-thumb.is-sample img { opacity: .9; }
.m-warn { color: var(--warn); font-weight: 700; font-size: .85rem; }
.m-item.is-flagged .m-open { border-color: var(--warn); background: var(--warn-soft); }
.m-pill { display: inline-block; width: fit-content; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
html.not-latin .m-pill { letter-spacing: 0; }
.m-pill-out { background: var(--ink); color: var(--bg); }

/* Tükendi: silinmez, soluk ve üstü çizili */
.m-item.is-sold-out .m-open { background: var(--bg); }
.m-item.is-sold-out .m-item-name, .m-item.is-sold-out .m-price { text-decoration: line-through; color: var(--muted); }
.m-item.is-sold-out .m-desc, .m-item.is-sold-out .m-tags { opacity: .6; }
.m-item.is-sold-out .m-thumb img { filter: grayscale(1); opacity: .5; }

.m-no-results { margin: 24px 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.m-empty { max-width: 760px; margin: 40px auto; padding: 0 16px; color: var(--muted); }

/* Ürün detayı: telefonda alttan açılan sayfa, geniş ekranda ortada pencere */
.m-dialog {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 100%; max-height: 100%; margin: auto auto 0;
}
.m-dialog::backdrop { background: rgba(10, 14, 12, .5); }
.m-dialog[open] { animation: m-sheet .32s cubic-bezier(.2, .8, .2, 1); }
.m-dialog-inner {
  position: relative; background: var(--surface); border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px); overscroll-behavior: contain;
}
.m-close {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); color: #1b221e; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.m-d-media { position: relative; background: var(--line); }
.m-d-media img { width: 100%; max-height: 52vh; object-fit: cover; }
.m-d-media.is-sample { display: flex; justify-content: center; padding: 28px 16px 24px; background: var(--bg); }
.m-d-media.is-sample img { width: 180px; aspect-ratio: 1; border-radius: 18px; }
.m-sample-note {
  position: absolute; bottom: 10px; inset-inline-start: 12px; font-size: .72rem; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: var(--white);
}
.m-d-body { padding: 20px max(20px, env(safe-area-inset-left, 0px)) 28px; display: flex; flex-direction: column; gap: 12px; }
.m-d-name { margin: 0; font: 600 1.6rem/1.2 var(--font-display); text-wrap: balance; }
.m-d-desc { margin: 0; color: var(--muted); max-width: 60ch; }
.m-d-prices { padding: 12px 0; border-block: 1px solid var(--line); gap: 8px; }
.m-d-prices .m-price { font-size: 1.15rem; }
.m-d-facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px 16px; }
.m-d-facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 12px; }
html.not-latin .m-d-facts dt { letter-spacing: 0; }
.m-d-facts dd { margin: 0; }
.m-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.m-badge { font-size: .8rem; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.m-badge b { font-variant-numeric: tabular-nums; }
.m-badge.flag { background: var(--saffron-soft); color: var(--saffron); }
.m-badge.hit { background: var(--warn); color: var(--surface); }

/* Alt bilgi */
.m-foot { border-top: 1px solid var(--line); background: var(--surface); }
.m-foot-inner { max-width: 1180px; margin: 0 auto; padding-block: 20px 40px; font-size: .86rem; color: var(--muted); }
.m-foot p { margin: 8px 0; max-width: 75ch; }
.m-foot strong { color: var(--ink); }
.m-legend summary { cursor: pointer; }
.m-add-marks { font-size: .62em; font-weight: 500; opacity: .75; margin-inline-start: 2px; letter-spacing: 0; vertical-align: super; line-height: 0; }
.m-add-legend { margin: 8px 0; padding: 0; list-style: none; columns: 2 220px; }
.m-add-legend li { break-inside: avoid; }
.m-salt { font-size: .85em; margin-inline-start: 2px; }
.m-origin { display: block; font-size: .78rem; opacity: .8; margin-top: 2px; }
.m-legend ol { margin: 8px 0; padding-inline-start: 24px; columns: 2 220px; }
.m-made a { color: var(--muted); }

@keyframes m-rise { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes m-sheet { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Tablet ve üstü: kartlarda daha büyük görsel */
@media (min-width: 640px) {
  .m-open { grid-template-columns: minmax(0, 1fr) 120px; padding: 16px; }
  .m-thumb { width: 120px; }
}

/* Geniş ekran: yan sütun + iki sütunlu ızgara, detay ortada pencere */
@media (min-width: 960px) {
  html { scroll-padding-top: 20px; }
  .m-cat { scroll-margin-top: 20px; }
  .m-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
  .m-side {
    position: sticky; top: 0; margin: 0; padding: 24px 0; border: 0; max-height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 24px;
  }
  .m-cats { flex-direction: column; overflow: visible; padding: 0; gap: 2px; }
  .m-cats a { background: none; border: 0; border-radius: 10px; padding: 8px 12px; justify-content: space-between; font-size: .98rem; white-space: normal; line-height: 1.3; }
  .m-cats a:hover { background: var(--surface); }
  .m-cats a.is-active { background: var(--surface); color: var(--accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
  html[dir="rtl"] .m-cats a.is-active { box-shadow: inset -3px 0 0 var(--accent); }
  .m-filters { display: flex; flex-direction: column; gap: 16px; }
  .m-mobile-filters { display: none; }
  .m-main { padding-block: 12px 48px; }
  .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .m-dialog { max-width: 720px; margin: auto; }
  .m-dialog-inner { border-radius: 20px; max-height: 88vh; }
  .m-dialog[open] { animation: m-pop .25s cubic-bezier(.2, .8, .2, 1); }
  .m-d-body { padding: 24px 32px 32px; }
  .m-d-facts { grid-template-columns: 160px 1fr; align-items: baseline; }
  .m-d-facts dt { margin-top: 8px; }
  .m-d-facts dd { margin-top: 8px; }
}
@keyframes m-pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-item, .m-dialog[open] { animation: none; }
  .m-open, .m-thumb img, .m-cats a { transition: none; }
}

/* =====================================================================
   TEMALAR — her tema renk, yazı ve kart düzenini birlikte değiştirir.
   Tek görünümlü temalar (Kor, Tabildot) telefonun koyu/açık ayarından bağımsızdır.
   ===================================================================== */

/* Ortak yardımcı: fotoğrafa dayanmayan temalarda örnek görselleri gizle */
body.theme-kahve .m-item:not(.has-photo) .m-thumb,
body.theme-esnaf .m-item:not(.has-photo) .m-thumb { display: none; }
body.theme-kahve .m-item:not(.has-photo) .m-open,
body.theme-esnaf .m-item:not(.has-photo) .m-open { grid-template-columns: minmax(0, 1fr); }

/* ---------- KAVRUM (kahveci): kraft kâğıt, basılı menü ---------- */
body.theme-kahve {
  --bg: #e9dfcf; --surface: #f3ecdf; --ink: #2b1a12; --muted: #6e5646; --line: #cdbca4;
  --accent: #4a2c1d; --accent-soft: #e2d2bb; --saffron: #9a5b1f; --saffron-soft: #ecd8b8;
  --warn: #a3241b; --warn-soft: #f3dcd3; --shadow: none;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 4px; color-scheme: light;
  background-image: radial-gradient(rgba(74, 44, 29, .05) 1px, transparent 1px);
  background-size: 6px 6px;
}
.theme-kahve .m-head { background: transparent; border-bottom: 2px solid var(--ink); }
.theme-kahve .m-head-inner { padding-block: 28px 20px; }
.theme-kahve .m-name { font-weight: 700; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -.02em; }
.theme-kahve .m-city { font-size: .78rem; letter-spacing: .25em; }
.theme-kahve .m-seg { background: transparent; border-color: var(--ink); }
.theme-kahve .m-side { background: var(--bg); }
.theme-kahve .m-cats a { background: transparent; border-color: var(--line); border-radius: 2px; font-size: .85rem; }
.theme-kahve .m-cats a.is-active { background: var(--ink); color: var(--bg); }
.theme-kahve .m-cat h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; justify-content: center; margin-top: 36px; }
.theme-kahve .m-cat h2::before { content: ""; flex: 1; height: 1px; background: var(--ink); }
.theme-kahve .m-cat h2::after { background: var(--ink); }
.theme-kahve .m-grid { gap: 0; }
.theme-kahve .m-open { background: transparent; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 16px 2px; }
.theme-kahve .m-open:hover { box-shadow: none; background: rgba(255, 255, 255, .25); }
.theme-kahve .m-item-name { font-size: 1.15rem; font-weight: 500; }
.theme-kahve .m-item-foot { margin-top: 2px; }
.theme-kahve .m-price { font-family: var(--font-display); font-size: 1.1rem; }
.theme-kahve .m-thumb { border-radius: 2px; filter: sepia(.15); }
.theme-kahve .m-tag { background: transparent; border: 1px solid currentColor; border-radius: 2px; }
.theme-kahve .m-dialog-inner { border-radius: 6px 6px 0 0; background: var(--surface); }

/* ---------- KOR (ızgara/steak): kömür siyahı, köz turuncusu, büyük fotoğraf ---------- */
body.theme-izgara {
  --bg: #151211; --surface: #1f1a18; --ink: #f1e9e2; --muted: #a8988c; --line: #332b27;
  --accent: #e8622c; --accent-soft: #3a2117; --saffron: #f2a541; --saffron-soft: #3a2b16;
  --warn: #ff7a6b; --warn-soft: #3d1b18; --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", -apple-system, "Segoe UI", sans-serif;
  --radius: 6px; color-scheme: dark;
}
.theme-izgara .m-head {
  background: linear-gradient(180deg, rgba(232, 98, 44, .16), transparent 70%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.theme-izgara .m-head-inner { padding-block: 32px 20px; }
.theme-izgara .m-name { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(2.2rem, 9vw, 3.4rem); }
.theme-izgara .m-city { color: var(--accent); letter-spacing: .3em; }
.theme-izgara .m-cats a { font-family: var(--font-display); font-weight: 500; border-radius: 4px; }
.theme-izgara .m-cats a.is-active { background: var(--accent); border-color: var(--accent); color: #151211; }
.theme-izgara .m-cat h2 { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1.6rem; }
.theme-izgara .m-cat h2::after { background: linear-gradient(90deg, var(--accent), transparent); height: 2px; }
.theme-izgara .m-open { grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; gap: 0; }
.theme-izgara .m-thumb { order: -1; width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.theme-izgara .m-item:not(.has-photo) .m-thumb { display: none; }
.theme-izgara .m-item:not(.has-photo) .m-open { box-shadow: inset 0 1px 0 var(--accent), var(--shadow); }
.theme-izgara .m-item-text { padding: 16px 16px 16px; }
.theme-izgara .m-item-name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; }
.theme-izgara .m-price { color: var(--accent); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.theme-izgara .m-tag-aci { background: var(--accent); color: #151211; }
.theme-izgara .m-pill-out { background: var(--accent); color: #151211; }
.theme-izgara .m-close { background: var(--accent); color: #151211; }

/* ---------- GÜN IŞIĞI (kafe): gökyüzü panelleri, iki sütun kutucuk ---------- */
body.theme-kafe {
  --bg: #eef3f8; --surface: var(--white); --ink: #1f3c5a; --muted: #5d7489; --line: #d6e2ec;
  --accent: #1f3c5a; --accent-soft: #e3edf6; --saffron: #9b6a00; --saffron-soft: #fdf0c9;
  --warn: #b42318; --warn-soft: #fbe9e6; --shadow: 0 6px 22px rgba(31, 60, 90, .10);
  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 22px; color-scheme: light;
  background: linear-gradient(180deg, #cfe0ef 0, #eef3f8 340px) no-repeat, #eef3f8;
}
.theme-kafe .m-head { background: transparent; border: 0; }
.theme-kafe .m-head-inner { padding-block: 36px 12px; align-items: flex-end; }
.theme-kafe .m-name { font-weight: 400; font-size: clamp(2.4rem, 10vw, 3.6rem); letter-spacing: -.02em; }
.theme-kafe .m-seg { background: var(--surface); border-color: transparent; }
.theme-kafe .m-side { background: var(--bg); border: 0; }
.theme-kafe .m-cats a { border: 0; box-shadow: 0 1px 0 var(--line); }
.theme-kafe .m-cat h2 { font-weight: 400; font-size: 1.7rem; }
.theme-kafe .m-cat h2::after { display: none; }
.theme-kafe .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theme-kafe .m-open { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 8px 8px 16px; gap: 12px; border: 0; box-shadow: var(--shadow); height: 100%; }
.theme-kafe .m-thumb { order: -1; width: 100%; border-radius: 16px; }
.theme-kafe .m-item-text { padding-inline: 8px; }
.theme-kafe .m-item-name { font-weight: 400; font-size: 1.05rem; }
.theme-kafe .m-desc { font-size: .82rem; }
.theme-kafe .m-item-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
.theme-kafe .m-cat:nth-of-type(4n+2) .m-open { background: #fff8e6; }
.theme-kafe .m-cat:nth-of-type(4n+3) .m-open { background: #eef8f1; }
.theme-kafe .m-cat:nth-of-type(4n+4) .m-open { background: #fbeff3; }
.theme-kafe .m-item.is-sold-out .m-open { background: #eef1f4; }
.theme-kafe .m-dialog-inner { border-radius: 28px 28px 0 0; }
@media (min-width: 960px) {
  .theme-kafe .m-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-kafe .m-dialog-inner { border-radius: 28px; }
  .theme-kafe .m-side { background: transparent; }
}

/* ---------- OCAKBAŞI (kebapçı): pul biber kırmızısı, safran, çini şerit ---------- */
body.theme-kebap {
  --bg: #fbf6ef; --surface: var(--white); --ink: #2a1512; --muted: #7a5e57; --line: #ecdcd2;
  --accent: #8e1b16; --accent-soft: #f6e1dc; --saffron: #9b6200; --saffron-soft: #fbecc8;
  --warn: #b42318; --warn-soft: #fbe3df; --shadow: 0 4px 16px rgba(142, 27, 22, .08);
  --font-display: "Rubik", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Rubik", -apple-system, "Segoe UI", sans-serif;
  --radius: 16px; color-scheme: light;
}
.theme-kebap .m-head { background: var(--accent); color: #fff6ea; border: 0; position: relative; }
.theme-kebap .m-head::after {
  content: ""; display: block; height: 14px;
  background:
    radial-gradient(circle at 7px 7px, #d39b2a 3px, transparent 3.5px) 0 0 / 14px 14px,
    linear-gradient(#6f1410, #6f1410);
}
.theme-kebap .m-head-inner { padding-block: 28px 24px; }
.theme-kebap .m-name { font-weight: 800; letter-spacing: -.01em; font-size: clamp(2rem, 8vw, 3rem); }
.theme-kebap .m-city { color: #f3c96b; }
.theme-kebap .m-seg { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .2); }
.theme-kebap .m-seg a, .theme-kebap .m-seg button { color: #fbe9d6; }
.theme-kebap .m-seg [aria-current="true"], .theme-kebap .m-seg [aria-pressed="true"] { background: #f3c96b; color: #5a0f0b; }
.theme-kebap .m-cats a { font-weight: 500; }
.theme-kebap .m-cats a.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.theme-kebap .m-cat h2 { font-weight: 800; color: var(--accent); }
.theme-kebap .m-cat h2::before { content: ""; width: 14px; height: 14px; transform: rotate(45deg); background: var(--saffron); border-radius: 2px; flex: none; }
.theme-kebap .m-cat h2::after { background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px); height: 2px; }
.theme-kebap .m-open { grid-template-columns: 84px minmax(0, 1fr); border-color: var(--line); }
.theme-kebap .m-thumb { order: -1; width: 84px; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--saffron); }
.theme-kebap .m-item:not(.has-photo) .m-thumb img { transform: scale(1.15); }
.theme-kebap .m-item-name { font-weight: 600; font-size: 1.1rem; }
.theme-kebap .m-price { color: var(--accent); font-weight: 800; font-size: 1.1rem; }
.theme-kebap .m-tag-sef { background: var(--accent); color: var(--white); }
@media (min-width: 640px) {
  .theme-kebap .m-open { grid-template-columns: 104px minmax(0, 1fr); }
  .theme-kebap .m-thumb { width: 104px; }
}

/* ---------- TABİLDOT (esnaf lokantası): kara tahta, tebeşir ---------- */
body.theme-esnaf {
  --bg: #1e2a23; --surface: #24322a; --ink: #f4f1e6; --muted: #b9c2b4; --line: #3c4c42;
  --accent: #f2d16b; --accent-soft: #3a3f2b; --saffron: #f2d16b; --saffron-soft: #3a3f2b;
  --warn: #ff9b8a; --warn-soft: #4a2a25; --shadow: none;
  --font-display: "Kalam", "Comic Sans MS", "Bradley Hand", cursive;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --radius: 4px; color-scheme: dark;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .06), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 255, 255, .04), transparent 55%),
    #1e2a23;
}
.theme-esnaf .m-head { background: transparent; border-bottom: 6px solid #5b3a24; box-shadow: 0 1px 0 #7a5236; }
.theme-esnaf .m-head-inner { padding-block: 28px 20px; }
.theme-esnaf .m-name { font-weight: 700; font-size: clamp(2.2rem, 9vw, 3.2rem); transform: rotate(-1deg); }
.theme-esnaf .m-city { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--accent); }
.theme-esnaf .m-seg { background: transparent; border-color: var(--line); }
.theme-esnaf .m-seg [aria-current="true"], .theme-esnaf .m-seg [aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-esnaf .m-side { background: var(--bg); }
.theme-esnaf .m-cats a { background: transparent; font-family: var(--font-display); font-size: 1.05rem; border-style: dashed; }
.theme-esnaf .m-cats a.is-active { background: var(--ink); color: var(--bg); border-style: solid; }
.theme-esnaf .m-cat h2 { font-weight: 700; font-size: 1.8rem; color: var(--accent); }
.theme-esnaf .m-cat h2::after { background: none; border-bottom: 2px dashed rgba(244, 241, 230, .35); }
.theme-esnaf .m-grid { gap: 0; }
.theme-esnaf .m-open { background: transparent; border: 0; border-bottom: 1px dashed rgba(244, 241, 230, .2); border-radius: 0; padding: 16px 2px; }
.theme-esnaf .m-open:hover { box-shadow: none; background: rgba(255, 255, 255, .03); }
.theme-esnaf .m-item-name { font-weight: 700; font-size: 1.35rem; }
.theme-esnaf .m-price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--accent); }
.theme-esnaf .m-item-foot { margin-top: 0; }
.theme-esnaf .m-tag { background: transparent; border: 1px dashed currentColor; color: var(--muted); }
.theme-esnaf .m-al-num { border-style: dashed; }
.theme-esnaf .m-pill-out { background: transparent; color: var(--warn); border: 2px solid var(--warn); transform: rotate(-3deg); }
.theme-esnaf .m-item.is-sold-out .m-open { background: transparent; }
.theme-esnaf .m-dialog-inner { background: #24322a; }
.theme-esnaf .m-foot, .theme-izgara .m-foot { background: transparent; }

/* Koyu tek görünümlü temalarda açık renkli örnek çizimleri yumuşat */
.theme-esnaf .m-d-media.is-sample, .theme-izgara .m-d-media.is-sample { background: var(--surface); }
.theme-esnaf .m-d-media.is-sample img, .theme-izgara .m-d-media.is-sample img { opacity: .8; }

/* Alt kategoriler */
.m-sub { scroll-margin-top: 72px; }
.m-sub + .m-sub, .m-grid + .m-sub { margin-top: 20px; }
.m-sub h3 {
  margin: 0 0 12px; font: 600 .88rem/1.3 var(--font-body); color: var(--muted);
}
html.not-latin .m-sub h3 { letter-spacing: 0; font-size: .95rem; }
.m-sub-link { display: none !important; }
@media (min-width: 960px) {
  .m-sub { scroll-margin-top: 20px; }
  .m-sub-link { display: flex !important; font-size: .86rem !important; padding: 4px 12px 4px 28px !important; color: var(--muted) !important; }
  .m-sub-link[hidden] { display: none !important; }
  .m-sub-link:hover { color: var(--ink) !important; }
}
.theme-kahve .m-sub h3, .theme-esnaf .m-sub h3 { text-align: center; }
.theme-esnaf .m-sub h3 { font: 700 1.2rem/1.2 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--ink); }
.theme-izgara .m-sub h3 { font-family: var(--font-display); color: var(--accent); letter-spacing: .1em; }
.theme-kebap .m-sub h3 { color: var(--accent); }
.theme-kafe .m-sub h3 { font: 400 1.15rem/1.2 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--ink); }

/* Latin dışı alfabeler: tema yazı tipleri bu harfleri içermediği için sistem yazı tipleri */
html[lang="ru"] body, html[lang="bg"] body {
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html[lang="ka"] body {
  --font-display: "Noto Serif Georgian", "BPG Glaho", "Sylfaen", serif;
  --font-body: "Noto Sans Georgian", "BPG Arial", "Helvetica Neue", "Sylfaen", sans-serif;
}
html[lang="ja"] body {
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}
html[lang="ko"] body {
  --font-display: "Apple SD Gothic Neo", "Noto Serif KR", "Malgun Gothic", serif;
  --font-body: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
html[lang="zh"] body {
  --font-display: "Songti SC", "STSong", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html[lang="ja"] body, html[lang="ko"] body, html[lang="zh"] body { line-height: 1.7; }
html.not-latin .m-cats a, html.not-latin .m-cat h2 { letter-spacing: 0; }

/* Çok dilli seçici */
.m-langs { position: relative; }
.m-langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .88rem; color: var(--ink);
}
.m-langs summary::-webkit-details-marker { display: none; }
.m-langs summary::after { content: "▾"; font-size: .7rem; color: var(--muted); }
.m-langs-list {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 30; min-width: 190px; max-height: 70vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 8px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow), 0 12px 32px rgba(0, 0, 0, .18);
}
.m-langs-list a { padding: 8px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .95rem; text-align: start; }
.m-langs-list a:hover { background: var(--bg); }
.m-langs-list a[aria-current="true"] { background: var(--accent); color: var(--surface); font-weight: 600; }
.theme-kebap .m-langs summary { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .25); color: #fbe9d6; }
/* Dil adları her alfabede düzgün görünsün diye sayfanın diline bağlı olmayan sistem yazı tipi */
.m-langs-list a, .m-langs summary {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

/* ===== Garsona göster kartı ===== */
.m-staff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 4px;
  min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: .92rem; cursor: pointer;
}
.m-staff-dialog .m-d-body { gap: 16px; }
.m-staff-check { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; cursor: pointer; }
.m-staff-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--warn); }
.m-staff-severe { padding: 12px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.m-staff-diets { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.m-staff-show {
  padding: 16px; border: 0; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 1.05rem; cursor: pointer;
}

/* Tam ekran kart: personel okuyacağı için temadan bağımsız, yüksek kontrastlı ve büyük */
html.staff-card-open, html.staff-card-open body { overflow: clip; }
.m-staff-card {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--white); color: #111111;
  display: flex; flex-direction: column;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.m-staff-card[hidden] { display: none !important; }
.m-staff-card-inner { flex: 1; max-width: 760px; width: 100%; margin: 0 auto; }
.m-staff-heading {
  margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #b42318; color: var(--white);
  font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-align: center;
}
.m-staff-intro, .m-staff-diet-intro { margin: 16px 0 8px; font-size: clamp(1.25rem, 5.4vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.m-staff-list, .m-staff-diets-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.m-staff-list li {
  font-size: clamp(1.5rem, 6.8vw, 2.2rem); font-weight: 800; line-height: 1.2; padding: 12px 16px;
  border: 3px solid #111111; border-radius: 12px;
}
.m-staff-diets-list li { font-size: clamp(1.15rem, 5vw, 1.45rem); font-weight: 700; line-height: 1.3; padding: 8px 16px; border-left: 6px solid #111111; }
.m-staff-severe-line {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #fde7e4; color: #8a1810; border: 3px solid #b42318;
  font-size: clamp(1.15rem, 5vw, 1.45rem); font-weight: 800; line-height: 1.3;
}
.m-staff-footer { margin: 20px 0 0; font-size: clamp(1.05rem, 4.6vw, 1.3rem); font-weight: 600; line-height: 1.4; }
.m-staff-guest { max-width: 760px; width: 100%; margin: 20px auto 0; display: flex; flex-direction: column; gap: 12px; color: #444444; font-size: .92rem; }
.m-staff-guest summary { cursor: pointer; font-weight: 600; }
.m-staff-guest ul { padding-inline-start: 20px; }
.m-staff-back {
  padding: 16px; border-radius: 12px; border: 2px solid #111111; background: var(--white); color: #111111; font-weight: 700; font-size: 1rem; cursor: pointer;
}
@media (orientation: landscape) and (max-height: 500px) {
  .m-staff-list { flex-direction: row; flex-wrap: wrap; }
}

.m-partner { color: var(--muted); }

/* En alttaki küçük "Çerezler ve gizlilik" bağlantısı */
.m-privacy { margin: 4px 0 0; font-size: .78rem; }
.m-privacy a { color: var(--muted); }

/* ===== Garson çağır / hesabı iste (WhatsApp) ===== */
.m-call { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.m-call-table { margin: 0; font-weight: 700; font-size: .95rem; color: var(--accent); }
.m-call-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-call-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--accent); font-weight: 600; font-size: .92rem; cursor: pointer;
}
.m-call-dialog .m-d-body { gap: 16px; }
.m-call-label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.m-call-label input {
  font: inherit; font-size: 1.4rem; font-weight: 700; padding: 12px 12px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); max-width: 12ch;
}
.m-call-note { margin: 0; }
#cart-nick { max-width: none; font-size: 1.05rem; font-weight: 600; }
.m-field-hint { margin-top: -4px; font-size: .82rem; font-weight: 400; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-bill { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg); }
.m-bill-title { margin: 0 0 8px; font-size: 1rem; }
.m-bill-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.m-bill-items li, .m-bill-total { display: flex; justify-content: space-between; gap: 12px; }
.m-bill-sum, .m-bill-total strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-bill-total { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; }
.m-move-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.m-move-actions > button { flex: 1 1 140px; min-height: 46px; }
/* WhatsApp'ın koyu yeşili: beyaz yazıyla okunur kontrast */
.m-call-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 12px;
  background: var(--whatsapp); color: var(--white); font-weight: 700; font-size: 1.05rem; text-decoration: none;
}
.m-call-go.is-disabled { opacity: .45; }
.m-machine { margin: 0 0 8px; font-size: .82rem; color: var(--muted); }

/* Hikâyeler: menünün üstünde yatay kayan yuvarlaklar (Instagram benzeri) ve tam ekran görüntüleyici */
.m-stories { display: flex; gap: 16px; overflow-x: auto; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 8px; scrollbar-width: none; max-width: 1200px; margin: 0 auto; }
.m-stories::-webkit-scrollbar { display: none; }
.m-story { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.m-story-ring { width: 70px; height: 70px; border-radius: 50%; padding: 4px; background: var(--accent); display: grid; place-items: center; }
.m-story-ring > img, .m-story-icon { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; background: var(--saffron-soft); }
.m-story-icon { display: grid; place-items: center; font-size: 1.9rem; }
.m-story.is-seen .m-story-ring { background: var(--line); }
.m-story-name { width: 100%; font-size: .74rem; line-height: 1.2; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.m-story:focus-visible .m-story-ring { outline: 2px solid var(--accent); outline-offset: 2px; }
html.story-open { overflow: clip; } /* hikâye açıkken sayfa kaymaz; clip yapışkan öğeleri bozmaz */
.m-story-view { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--white); overflow: hidden; }
.m-story-view::backdrop { background: var(--black); }
.m-sv-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.m-sv-slide { width: 100%; height: 100%; display: grid; place-items: center; }
.m-sv-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 700px) { .m-sv-image img { max-height: calc(100dvh - 40px); border-radius: 12px; } }
.m-sv-daily { align-content: center; justify-items: stretch; gap: 12px; max-width: 520px; margin: 0 auto; padding: 72px max(24px, env(safe-area-inset-left, 0px)) 40px; background: radial-gradient(circle at 50% 0, #5a3a1c, #1b120b 70%); box-sizing: border-box; overflow: hidden; }
@media (min-width: 560px) { .m-sv-daily { max-height: calc(100dvh - 40px); border-radius: 12px; } }
.m-sv-kicker { margin: 0; text-align: center; font-size: .85rem; font-weight: 700; color: var(--story-kicker); }
.m-sv-title { margin: 0; text-align: center; font-family: var(--font-display); font-size: 1.9rem; color: var(--white); }
.m-sv-note { margin: 0; text-align: center; font-style: italic; color: #e9d9c4; }
.m-sv-list { list-style: none; margin: 8px 0 0; padding: 0; }
.m-sv-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.22); }
.m-sv-name { flex: 1 1 10em; min-width: 0; font-weight: 600; font-size: 1.05rem; }
.m-sv-list .m-prices { margin-inline-start: auto; color: #f2b45a; font-weight: 700; }
.m-sv-list .is-sold-out .m-sv-name { text-decoration: line-through; opacity: .6; }
.m-sv-bars { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 10px; right: 10px; display: flex; gap: 4px; max-width: 520px; margin: 0 auto; }
.m-sv-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.m-sv-bar i { display: block; height: 100%; width: 0; background: var(--white); }
.m-sv-close { position: absolute; z-index: 4; top: calc(env(safe-area-inset-top, 0px) + 20px); right: max(12px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.m-sv-nav { position: absolute; z-index: 2; top: 60px; bottom: 0; border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.m-sv-prev { left: 0; width: 33%; }
.m-sv-next { right: 0; width: 67%; }
.is-rtl .m-sv-prev { left: auto; right: 0; }
.is-rtl .m-sv-next { right: auto; left: 0; }
@media (prefers-reduced-motion: reduce) { .m-sv-bar i { transition: none !important; } }

/* Günün menüsü ("bugün ocakta"): menünün başında, temanın renkleriyle */
.m-daily { margin: 4px 0 20px; padding: 16px 16px 12px; background: var(--saffron-soft); border: 1px solid color-mix(in srgb, var(--saffron) 30%, transparent); border-radius: var(--radius); }
.m-daily-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.m-daily-note { margin: 0 0 8px; font-size: .9rem; font-style: italic; color: var(--muted); }
.m-daily-list { list-style: none; margin: 0; padding: 0; }
.m-daily-list li + li { border-top: 1px dashed var(--line); }
.m-daily-btn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: 100%; padding: 8px 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.m-daily-name { flex: 1 1 12em; min-width: 0; font-weight: 600; }
.m-daily-btn .m-prices { margin-inline-start: auto; color: var(--saffron); font-weight: 600; }
.m-daily-list .is-sold-out .m-daily-name { text-decoration: line-through; color: var(--muted); }

/* Zayıf internet: kayıttan gösterilen menü uyarısı */
.m-offline { margin: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)); font-size: .85rem; text-align: center; background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0d58a; }
@media print { .m-offline { display: none !important; } }
.m-al-free { color: var(--accent); font-weight: 600; }
.m-call-status { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .9rem; }
.m-call-status.is-ack { background: var(--saffron-soft); color: var(--ink); }
.m-call-result { margin: 0; font-weight: 600; color: var(--accent); }
.m-call-result.is-error { color: var(--warn); }
button.m-call-go { border: 0; font: inherit; cursor: pointer; width: 100%; }

/* Masadan sipariş: ürün detayında "Sepete ekle", altta sepet çubuğu, sepet ve sipariş durumu penceresi */
.m-add-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.m-add { flex: 1 1 auto; min-height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--accent); color: var(--surface); font: inherit; font-weight: 700; cursor: pointer; }
.m-cartbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(to top, var(--bg) 60%, transparent); pointer-events: none; }
.m-cartbar-btn { pointer-events: auto; display: block; width: 100%; max-width: 560px; margin: 0 auto; min-height: 54px; border: 0; border-radius: 16px;
  background: var(--accent); color: var(--surface); font: inherit; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; }
body.has-cartbar { padding-bottom: 84px; }
.m-cart-items, .m-orders, .m-order-items { list-style: none; margin: 0; padding: 0; }
.m-cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.m-cart-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-cart-name { font-weight: 600; }
.m-cart-warn { color: var(--warn); font-size: .82rem; font-weight: 600; }
.m-cart-qty { display: flex; align-items: center; gap: 8px; }
.m-qty-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.m-qty { min-width: 1.4em; text-align: center; font-weight: 700; }
.m-cart-price { font-weight: 600; white-space: nowrap; }
.m-cart-empty { color: var(--muted); }
.m-cart-total { font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; font-size: 1.05rem; }
#cart-form { display: flex; flex-direction: column; gap: 12px; }
#cart-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--surface); color: var(--ink); }
.m-cart-legal { margin: 0; font-size: .82rem; }
#orders-section { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--line); }
.m-shared-item { display: flex; flex-direction: column; gap: 8px; padding: 8px 12px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 12px; }
.m-shared-row { display: flex; justify-content: space-between; gap: 12px; }
.m-share-btn { align-self: flex-start; min-height: 40px; }
.m-share-btn.is-on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.m-order { padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.m-order-head, .m-order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.m-order-status { padding: 2px 12px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
.m-order.is-bekliyor .m-order-status { background: var(--saffron-soft); color: var(--saffron); }
.m-order.is-hazir .m-order-status { background: var(--accent); color: var(--surface); }
.m-order.is-iptal .m-order-status, .m-order.is-reddedildi .m-order-status { background: var(--warn-soft); color: var(--warn); }
.m-order-items { margin: 8px 0; font-size: .92rem; }
.m-order-note { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.m-orders-closed { padding: 12px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }

/* Sipariş hazır uyarısı (tam ekran) */
.m-keep-open { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: .88rem; font-weight: 600; }
.m-ready { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--accent); color: var(--surface); }
.m-ready::backdrop { background: var(--accent); }
.m-ready-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px max(24px, env(safe-area-inset-left, 0px)); text-align: center; }
.m-ready-icon { margin: 0; color: var(--accent); line-height: 0; animation: m-ring 1s ease-in-out 4; }
@keyframes m-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .m-ready-icon { animation: none; } }
.m-ready h2 { margin: 0; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; }
.m-ready-no { margin: 0; display: flex; flex-direction: column; align-items: center; font-size: 1.1rem; opacity: .95; }
.m-ready-no strong { font-size: 5.5rem; line-height: 1; letter-spacing: -.02em; }
.m-ready-text { margin: 0; max-width: 22em; font-size: 1.15rem; }
.m-ready .m-call-go { max-width: 320px; background: var(--surface); color: var(--accent); }

/* Besin değerleri tablosu (ürün ayrıntısı) */
.m-nut-per { text-transform: none; letter-spacing: 0; font-weight: 400; }
.m-nut { border-collapse: collapse; width: 100%; max-width: 360px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.m-nut th, .m-nut td { padding: 4px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); font-weight: 400; }
.m-nut th { text-align: start; }
.m-nut td { text-align: end; white-space: nowrap; padding-inline-start: 12px; }
.m-nut tr.sub th { padding-inline-start: 12px; color: var(--muted); }

/* ---------- Pano: yönetim paneli sadeliği (DashStack esinli). Açık/koyu, telefonun ayarına göre. ---------- */
body.theme-pano {
  --bg: #f5f6fa; --surface: var(--white); --ink: #202224; --muted: #646d78; --line: #e6e8ee;
  --accent: #3466dc; --accent-soft: #ebf1ff; --saffron: #b26a00; --saffron-soft: #fff3dc;
  --warn: #d6334a; --warn-soft: #ffeef1; --shadow: 0 4px 18px rgba(32, 34, 36, .06);
  --font-display: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  body.theme-pano {
    --bg: #1b2431; --surface: #273142; --ink: #f1f3f7; --muted: #a3acba; --line: #34405a;
    --accent: #6f9bff; --accent-soft: #24365c; --saffron: #f0b45a; --saffron-soft: #3d311c;
    --warn: #ff8394; --warn-soft: #43232c; --shadow: 0 4px 18px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
.theme-pano .m-head { background: var(--surface); border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.theme-pano .m-name { font-weight: 800; letter-spacing: -.01em; }
.theme-pano .m-seg { border-radius: 10px; }
.theme-pano .m-cats a { border: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 1px 0 var(--line); font-weight: 600; }
.theme-pano .m-cats a.is-active { background: var(--accent); color: var(--surface); /* koyu modda yüzey koyu: açık mavi üstünde okunur */ box-shadow: 0 6px 16px rgba(72, 128, 255, .3); }
.theme-pano .m-cat h2 { font-weight: 800; font-size: 1.5rem; }
.theme-pano .m-cat h2::after { display: none; }
.theme-pano .m-sub h3 { font: 700 .88rem/1.2 var(--font-body); color: var(--muted); }
.theme-pano .m-open { border: 0; box-shadow: var(--shadow); }
.theme-pano .m-open:hover { box-shadow: 0 8px 26px rgba(32, 34, 36, .10); }
.theme-pano .m-item-name { font-weight: 700; }
.theme-pano .m-price { color: var(--accent); font-weight: 800; }
.theme-pano .m-tag { border-radius: 6px; font-weight: 700; }
.theme-pano .m-thumb { border-radius: 10px; }
.theme-pano .m-dialog-inner { border-radius: 18px 18px 0 0; }
@media (min-width: 900px) {
  .theme-pano .m-side { background: transparent; border: 0; }
  .theme-pano .m-dialog-inner { border-radius: 18px; }
}

/* Kategoriler açılır-kapanır, tüm temalar (assets/menu.js). transitions.dev "accordion expand": grid-rows 0fr↔1fr, ok scaleY ile döner. */
body {
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.m-cat.t-acc { margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding-inline: 12px; }
.m-cat.t-acc > h2 { margin: 0; font-size: clamp(1.15rem, 5vw, 1.45rem); justify-content: stretch; }
.m-cat.t-acc > h2::before, .m-cat.t-acc > h2::after { display: none; }
.theme-kafe .m-cat.t-acc { background: rgba(255, 255, 255, .55); border: 0; }
.m-acc-thumb {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: calc(var(--radius) * .6);
  background: var(--accent-soft); color: var(--accent); overflow: hidden;
}
.m-acc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-acc-title { min-width: 0; overflow-wrap: anywhere; }
.t-acc-panel-inner > :last-child { margin-bottom: 12px; } /* boşluk içeride: kapalıyken artık şerit kalmaz */
.t-acc-head {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 8px; border: 0; background: none;
  font: inherit; color: inherit; text-align: start; cursor: pointer; border-radius: 16px;
}
.t-acc-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-acc-count { margin-inline-start: auto; font: 600 .8rem/1 var(--font-body); color: var(--muted); background: var(--surface); padding: 4px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron {
    transition: none !important;
  }
}

/* ---------- Açık / koyu görünüm (assets/mod.js: html[data-mode]; varsayılan cihazın ayarı, sağ üstteki düğmeyle değişir) ----------
 * Her temanın iki paleti var. data-mode yoksa (betik çalışmadı) temalar eski hâlinde: Sade ve Pano cihaza uyar, diğerleri sabit. */
.m-head-inner { position: relative; padding-inline-end: 56px; }
/* Açık dil listesi yapışkan kategori şeridinin (z-index 5) ve çentik bandının üstünde kalsın */
.m-head:has(.m-langs[open]) { position: relative; z-index: 7; }
.m-mode {
  position: absolute; top: 14px; inset-inline-end: 0; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.m-mode:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-mode-moon, [data-mode="dark"] .m-mode-sun { display: none; }
[data-mode="dark"] .m-mode-moon { display: block; }

/* Sade */
html[data-mode="light"] body.theme-sade {
  --bg: #f1f2ee; --surface: #fbfcf9; --ink: #1b221e; --muted: #66706a; --line: #dde1d9; --accent: #0e5a4b; --accent-soft: #dcebe5;
  --saffron: #a8670d; --saffron-soft: #f6e8d2; --warn: #b42318; --warn-soft: #fbe9e6;
  --shadow: 0 1px 2px rgba(27, 34, 30, .06), 0 8px 24px rgba(27, 34, 30, .06); color-scheme: light;
}
html[data-mode="dark"] body.theme-sade {
  --bg: #111613; --surface: #181e1b; --ink: #e8ece9; --muted: #a2aca6; --line: #2b332f; --accent: #6cc9b0; --accent-soft: #1d3a32;
  --saffron: #e5ac57; --saffron-soft: #3a2d18; --warn: #ff8f84; --warn-soft: #3c1f1c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}
html[data-mode="light"] body.theme-sade, html[data-mode="dark"] body.theme-sade { background: var(--bg); color: var(--ink); }

/* Pano */
html[data-mode="light"] body.theme-pano {
  --bg: #f5f6fa; --surface: var(--white); --ink: #202224; --muted: #646d78; --line: #e6e8ee; --accent: #3466dc; --accent-soft: #ebf1ff;
  --saffron: #b26a00; --saffron-soft: #fff3dc; --warn: #d6334a; --warn-soft: #ffeef1; --shadow: 0 4px 18px rgba(32, 34, 36, .06); color-scheme: light;
}
html[data-mode="dark"] body.theme-pano {
  --bg: #1b2431; --surface: #273142; --ink: #f1f3f7; --muted: #a3acba; --line: #34405a; --accent: #6f9bff; --accent-soft: #24365c;
  --saffron: #f0b45a; --saffron-soft: #3d311c; --warn: #ff8394; --warn-soft: #43232c; --shadow: 0 4px 18px rgba(0, 0, 0, .25); color-scheme: dark;
}

/* Kavrum (kahve): koyuda espresso zemin, kraft yazı */
html[data-mode="dark"] body.theme-kahve {
  --bg: #1d140f; --surface: #271b14; --ink: #efe3d2; --muted: #b9a28b; --line: #47331f; --accent: #e0b58a; --accent-soft: #3a2a1c;
  --saffron: #e3a35c; --saffron-soft: #3d2b17; --warn: #ff8f84; --warn-soft: #3c1f1c; color-scheme: dark;
  background-image: radial-gradient(rgba(239, 227, 210, .04) 1px, transparent 1px);
}
html[data-mode="dark"] .theme-kahve .m-open:hover { background: rgba(255, 255, 255, .04); }

/* Kor (ızgara): açıkta kül beyazı zemin, köz turuncusu */
html[data-mode="light"] body.theme-izgara {
  --bg: #f4efea; --surface: var(--white); --ink: #1d1714; --muted: #6f6158; --line: #e3d8cf; --accent: #d4541f; --accent-soft: #fbe3d6;
  --saffron: #a8640a; --saffron-soft: #f8ead0; --warn: #b42318; --warn-soft: #fbe9e6; --shadow: 0 8px 24px rgba(29, 23, 20, .08); color-scheme: light;
}

/* Gün Işığı (kafe): koyuda gece mavisi */
html[data-mode="dark"] body.theme-kafe {
  --bg: #121c27; --surface: #1b2836; --ink: #e8eff6; --muted: #9db2c6; --line: #2b3d50; --accent: #f2c14e; --accent-soft: #2e3a24;
  --saffron: #f2c14e; --saffron-soft: #3a3218; --warn: #ff8f84; --warn-soft: #3c1f1c; --shadow: 0 6px 22px rgba(0, 0, 0, .35); color-scheme: dark;
  background: linear-gradient(180deg, #1c2c3d 0, #121c27 340px) no-repeat, #121c27;
}
html[data-mode="dark"] .theme-kafe .m-cat .m-open,
html[data-mode="dark"] .theme-kafe .m-item.is-sold-out .m-open { background: var(--surface); }
html[data-mode="dark"] .theme-kafe .m-cat.t-acc { background: rgba(255, 255, 255, .04); }

/* Ocakbaşı (kebap): koyuda közlenmiş bordo */
html[data-mode="dark"] body.theme-kebap {
  --bg: #1a0e0c; --surface: #261513; --ink: #f6ebe1; --muted: #c4a79c; --line: #43251f; --accent: #c7362d; --accent-soft: #3f1d19;
  --saffron: #e5a93b; --saffron-soft: #3d2c12; --warn: #ff8f84; --warn-soft: #43201c; --shadow: 0 4px 16px rgba(0, 0, 0, .4); color-scheme: dark;
}

/* Tabildot (esnaf): açıkta tebeşir yerine kurşun kalem, krem defter */
html[data-mode="light"] body.theme-esnaf {
  --bg: #f4f1e6; --surface: #fbf9f1; --ink: #1e2a23; --muted: #5d6a61; --line: #d9d3bd; --accent: #8a6a00; --accent-soft: #efe6c4;
  --saffron: #8a6a00; --saffron-soft: #efe6c4; --warn: #b42318; --warn-soft: #fbe9e6; color-scheme: light;
  background: #f4f1e6;
}
html[data-mode="light"] .theme-esnaf .m-cat h2::after { border-bottom-color: var(--line); }
html[data-mode="light"] .theme-esnaf .m-open { border-bottom-color: var(--line); }
html[data-mode="light"] .theme-esnaf .m-open:hover { background: rgba(0, 0, 0, .03); }
html[data-mode="light"] .theme-esnaf .m-dialog-inner { background: var(--surface); }

/* Çizgi simgeler (inc/simgeler.php icon()): metinle aynı hizada, temanın rengini alır */
.ic { flex: none; vertical-align: -0.2em; }
.m-daily-title, .m-sv-kicker, .m-keep-open { display: flex; align-items: center; gap: 8px; }
.m-daily-title .ic { color: var(--saffron); }
.m-staff-btn, .m-call-btn, .m-call-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.m-story-icon { color: var(--saffron); }

/* Hareket (tek bir açılış anı + geri bildirim). "Hareketi azalt" açıksa hiçbiri çalışmaz. */
@media (prefers-reduced-motion: no-preference) {
  /* Menü açılınca ilk kategoriler sırayla, hafifçe yerine oturur (yalnız sayfa yüklenirken) */
  @keyframes m-rise { from { opacity: .6; transform: translateY(6px); } }
  .m-cat { animation: m-rise 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  /* Sepete ekleyince alttaki çubuk kısa bir "pop" yapar */
  @keyframes m-pop { 40% { transform: scale(1.04); } }
  .is-pop { animation: m-pop 260ms cubic-bezier(0.22, 1, 0.36, 1); }
  /* Açık/koyu geçişi yumuşak */
  .m-mode svg { transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1); }
  .m-mode:active svg { transform: rotate(-20deg) scale(.9); }
}

/* Sosyal medya bağlantıları (Ayarlar → Sosyal medya), alt bilginin başında */
.m-social { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-weight: 600; text-decoration: none; }
.m-social a:hover { border-color: var(--accent); color: var(--accent); }
.m-social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-add.is-added { filter: brightness(.9); }
@media (prefers-reduced-motion: no-preference) { .m-add.is-added { animation: m-add-ok .3s ease-out; } }
@keyframes m-add-ok { from { transform: scale(.96); } to { transform: none; } }
/* Çentik bandı: sayfa kayarken içerik saatin arkasından görünmesin */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 6; }

/* ===== Telefonda sade ilk ekran: tercih + alerji tek açılır satır, personel/garson/hesap tek sıra ===== */
.m-filter-wrap > summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none;
}
.m-filter-wrap > summary::-webkit-details-marker { display: none; }
.m-filter-wrap > summary::after { content: "▾"; margin-inline-start: auto; color: var(--muted); }
.m-filter-wrap[open] > summary::after { content: "▴"; }
.m-filter-wrap-body { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.m-filter-wrap > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-call-btns.has-staff { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-call-btns.has-staff.no-staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* "Personele göster" kapalı */
.m-call-btns.has-staff > button { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: .8rem; line-height: 1.2; text-align: center; color: var(--ink); }
.m-call-btns.has-staff .m-staff-btn { margin: 0; width: auto; border-radius: 12px; }
/* Telefonda personel düğmeleri altta yapışık çubuk: ilk ekranda kategoriler görünsün; sepet çubuğu bunun üstüne çıkar */
@media (max-width: 959px) {
  .m-call-btns.has-staff { position: fixed; z-index: 29; left: 0; right: 0; bottom: 0; gap: 8px; border-top: 1px solid var(--line); background: var(--bg);
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .m-call-btns.has-staff > button { min-height: 52px; }
  body.has-callbar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-callbar.has-cartbar { padding-bottom: calc(152px + env(safe-area-inset-bottom, 0px)); }
  body.has-callbar .m-cartbar { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); padding-bottom: 8px; }
}
@media (min-width: 960px) {
  .m-filter-wrap > summary { display: none; }
  .m-filter-wrap-body { padding-top: 0; gap: 16px; }
  .m-call-btns.has-staff { grid-template-columns: 1fr; }
  .m-call-btns.has-staff > button { flex-direction: row; font-size: .92rem; padding: 8px 12px; }
}
.m-mobile-filters .m-filters { padding-bottom: 12px; }

/* ===== İşletme logosu (inc/marka.php logo_url): ad yanında; açık kâğıt zeminli kutu, koyu temalarda da koyu logolar görünsün ===== */
.m-logo { display: block; max-height: 56px; max-width: 132px; width: auto; height: auto; object-fit: contain; padding: 4px; border-radius: 12px; background: var(--white); flex: none; }
.m-logo + .m-title { margin-inline-end: auto; }
@media (min-width: 960px) { .m-logo { max-height: 72px; max-width: 180px; } }

/* ===== Marka paketi: kapak görseli başlığın arkasında, temanın zemininden yarı saydam katmanla (yazı okunur kalsın) ===== */
.m-head.has-cover { position: relative; } /* overflow kesilmez: dil listesi başlığın dışına taşar */
.m-head.has-cover .m-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.m-head.has-cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 92%, transparent)); }
.m-head.has-cover .m-head-inner { position: relative; z-index: 1; padding-block: 56px 20px; }
@media (min-width: 960px) { .m-head.has-cover .m-head-inner { padding-block: 96px 28px; } }
.m-bill-shared { flex-wrap: wrap; }
.m-bill-shared .m-share-btn, .m-bill-note { flex-basis: 100%; }
.m-bill-note { font-size: .85rem; color: var(--muted); }
