/* =========================================================
   baskan.site — herkese açık QR menü (müşteri ekranı)
   Telefon için tasarlanmıştır; RTL (Arapça) için mantıksal CSS özellikleri kullanılır.
   --theme değişkeni işletmenin tema renginden gelir.
   ========================================================= */

:root {
  --theme: #C2410C;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #ECE8E4;
  --bg: #FAF8F6;
  --card: #FFFFFF;
  --danger: #B91C1C;
  --radius: 18px;
  --radius-lg: 20px;
  --fw: 800;
  --hs: 1;
  --price: var(--theme);
  --on-card-overlay: #fff;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06);
  --shadow: 0 2px 6px rgba(28, 25, 23, .05), 0 10px 30px rgba(28, 25, 23, .06);
  --font: "Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 720px; margin: 0 auto; padding-inline: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--theme) 45%, transparent); outline-offset: 2px; }

/* ---------- Başlık ---------- */
.m-hero { position: relative; background: var(--card); padding-bottom: 16px; }
.m-cover {
  height: 180px; background: linear-gradient(135deg, var(--theme), color-mix(in srgb, var(--theme) 55%, #F59E0B)) center/cover no-repeat;
  position: relative;
}
.m-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 45%, rgba(0,0,0,.08) 100%); }
.m-top { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.m-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .94); color: #1C1917; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12); backdrop-filter: blur(6px);
}
.m-pill svg { flex: none; }
.m-head { position: relative; margin-top: -44px; z-index: 1; }
.m-logo {
  width: 88px; height: 88px; border-radius: 24px; background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14); border: 3px solid #fff;
  font: var(--fw) calc(34px * var(--hs)) var(--font-display); color: var(--theme);
}
.m-logo img { width: 100%; height: 100%; object-fit: cover; }
.m-head h1 { font: var(--fw) calc(26px * var(--hs))/1.15 var(--font-display); letter-spacing: -.02em; margin: 12px 0 4px; }
.m-sub { color: var(--muted); font-size: 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.m-sub span { display: inline-flex; align-items: center; gap: 5px; }
.m-chips { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; cursor: pointer;
}
.m-chip svg { color: var(--theme); }
.m-table { background: var(--theme); color: #fff; border-color: transparent; }
.m-table svg { color: #fff; }

/* ---------- Kategori çubuğu ---------- */
.m-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.m-nav .wrap { display: flex; align-items: center; gap: 8px; padding-block: 10px; }
.m-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.m-cats::-webkit-scrollbar { display: none; }
.m-cats a {
  flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line); white-space: nowrap;
}
.m-cats a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.m-icon-btn { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.m-search { padding: 0 0 10px; }
.m-search input {
  width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  font: 400 16px var(--font); color: var(--ink);
}
.m-search input:focus { outline: none; border-color: var(--theme); box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme) 15%, transparent); }

/* ---------- Açılış: görselli kategori kartları ---------- */
.m-home { padding-top: 16px; }
.m-home-search {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; margin-bottom: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); cursor: text;
}
.m-home-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 16px var(--font); color: var(--ink); padding: 12px 0; }
.m-home-search:focus-within { border-color: var(--theme); box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme) 15%, transparent); }
.m-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-cat-card {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg);
  text-decoration: none; color: #fff; background: var(--theme); box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent; transition: transform .12s;
}
.m-cat-card:active { transform: scale(.97); }
.m-cat-media { position: absolute; inset: 0; overflow: hidden; display: block; }
.m-cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.m-cat-card:hover .m-cat-media img { transform: scale(1.04); }
.m-cat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .68) 100%); }
.m-cat-body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.m-cat-name { font: var(--fw) calc(17px * var(--hs))/1.2 var(--font-display); text-shadow: 0 1px 6px rgba(0, 0, 0, .3); overflow-wrap: anywhere; }
.m-cat-count { font-size: 12.5px; font-weight: 600; opacity: .9; }
/* Görseli olmayan kategoriler: tema renginden türeyen, kartlar arasında tonu değişen degrade + baş harf */
.m-cat-ph {
  position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 6px 14px;
  font: var(--fw) 92px/1 var(--font-display); color: rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 80%, #fff), var(--theme) 55%, color-mix(in srgb, var(--theme) 70%, #000));
}
.m-cat-card:nth-child(6n+2) .m-cat-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 45%, #F59E0B), color-mix(in srgb, var(--theme) 60%, #92400E)); }
.m-cat-card:nth-child(6n+3) .m-cat-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 40%, #E11D48), color-mix(in srgb, var(--theme) 55%, #4C0519)); }
.m-cat-card:nth-child(6n+4) .m-cat-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 35%, #0D9488), color-mix(in srgb, var(--theme) 45%, #042F2E)); }
.m-cat-card:nth-child(6n+5) .m-cat-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 35%, #7C3AED), color-mix(in srgb, var(--theme) 45%, #2E1065)); }
.m-cat-card:nth-child(6n+6) .m-cat-ph { background: linear-gradient(135deg, color-mix(in srgb, var(--theme) 40%, #65A30D), color-mix(in srgb, var(--theme) 50%, #1A2E05)); }
@media (min-width: 560px) { .m-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* Kategori sayfası başlığı (grid modunda, görsel varsa) */
.m-cat-hero { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 10px; background: var(--theme); }
.m-cat-hero img { width: 100%; height: 100%; object-fit: cover; }
.m-cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .65)); }
.m-cat-hero h2 { position: absolute; inset-inline: 16px; bottom: 12px; z-index: 1; margin: 0; color: #fff; font-size: 24px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.m-back { color: var(--theme); }
[dir="rtl"] .m-back svg { transform: scaleX(-1); }
body[data-layout="grid"] .m-section { scroll-margin-top: 0; }

/* ---------- Ürünler ---------- */
main { padding-block: 8px 24px; }
.m-section { scroll-margin-top: 70px; padding-top: 18px; }
.m-section h2 { font: var(--fw) calc(20px * var(--hs)) var(--font-display); letter-spacing: -.01em; margin: 0 0 4px; }
.m-section .cat-desc { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.m-items { display: grid; gap: 10px; margin-top: 10px; }
.m-item {
  display: flex; gap: 12px; padding: 14px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); cursor: pointer; text-align: start; width: 100%;
  color: inherit; font: inherit; transition: transform .1s, box-shadow .15s;
}
.m-item:active { transform: scale(.99); }
.m-item:hover { box-shadow: var(--shadow); }
.m-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-item-title { display: block; font-size: 16px; font-weight: 700; margin: 0 0 3px; line-height: 1.3; }
.m-item .desc { display: block; color: var(--muted); font-size: 13.5px; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-item-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.m-price { font-weight: 800; font-size: 16px; color: var(--price); white-space: nowrap; }
.m-portion { font-size: 12.5px; color: var(--muted); }
.m-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.m-tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--theme) 12%, var(--card)); color: color-mix(in srgb, var(--theme) 75%, var(--ink)); white-space: nowrap; }
.m-allergen-icons { font-size: 13px; letter-spacing: 1px; }
.m-item-img { width: 96px; height: 96px; border-radius: calc(var(--radius) * .75); overflow: hidden; flex: none; background: var(--bg); align-self: flex-start; }
.m-item-img { position: relative; }
.m-item-img img { width: 100%; height: 100%; object-fit: cover; }
/* Stok kütüphanesinden seçilen görseller: tüketiciyi yanıltmamak için "temsili" ibaresi */
.m-rep { position: absolute; inset-inline-start: 4px; bottom: 4px; padding: 2px 5px; border-radius: 5px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 9.5px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.m-detail-figure { position: relative; margin: 0; }
.m-detail-figure figcaption { position: absolute; inset-inline-start: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 600; }
.m-item.soldout { opacity: .6; }
.m-item.soldout .m-price { text-decoration: line-through; color: var(--muted); }
.m-soldout { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--danger); padding: 2px 8px; border-radius: 999px; }
.m-empty { text-align: center; color: var(--muted); padding: 40px 10px; }
@media (min-width: 560px) { .m-item-img { width: 116px; height: 116px; } }

/* ---------- Alt bilgi ---------- */
.m-foot { padding: 20px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; }
.m-foot .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; }
.m-foot .box p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.m-foot .box svg { flex: none; margin-top: 2px; color: var(--theme); }
.m-review { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; padding: 16px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink-2); }
.m-review-stars { color: #FBBC05; font-size: 20px; letter-spacing: 3px; line-height: 1; }
.m-review-text { display: grid; gap: 2px; font-size: 13.5px; }
.m-review-text strong { color: var(--ink); font-size: 15px; }
.m-review-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; background: #fff; color: #1F1F1F; border: 1px solid #DADCE0; font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.m-review-btn:active { transform: translateY(1px); }
.m-powered { text-align: center; margin-top: 18px; font-size: 12px; }
.m-powered a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.m-powered a span { color: #FF8A1F; }

/* ---------- Alt sayfa (bottom sheet) ---------- */
.m-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(28, 25, 23, .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
.m-backdrop.open { opacity: 1; pointer-events: auto; }
.m-sheet {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  max-width: 720px; margin: 0 auto;
}
.m-sheet.open { transform: none; }
.m-sheet-grip { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 10px auto 0; }
.m-sheet-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, .95); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); color: #1C1917; }
.m-sheet-body { padding: 16px 20px 24px; }
.m-sheet h2 { font: var(--fw) calc(21px * var(--hs)) var(--font-display); margin: 4px 0 6px; padding-inline-end: 40px; }
.m-detail-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.m-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.m-detail-price .m-price { font-size: 22px; }
.m-detail p.text { color: var(--ink-2); margin: 0 0 14px; }
.m-detail h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; }
.m-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.m-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.m-badge.warn { background: #FFF7ED; border-color: #FED7AA; color: #9A3412; }
.m-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.m-fact { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.m-fact small { display: block; color: var(--muted); font-size: 12px; }
.m-fact b { font-size: 15px; }
.m-langs { display: grid; gap: 8px; margin-top: 12px; }
.m-langs a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 16px; }
.m-langs a.active { border-color: var(--theme); background: color-mix(in srgb, var(--theme) 10%, var(--card)); }
.m-langs a b { font-size: 12px; color: var(--muted); }
.m-wifi { display: grid; gap: 10px; margin-top: 10px; }
.m-wifi .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 14px; }
.m-wifi .row small { display: block; color: var(--muted); font-size: 12px; }
.m-wifi .row b { font-size: 16px; word-break: break-all; }
.m-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 14px; border-radius: 12px; border: 0; background: var(--theme); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; flex: none; }

/* ---------- Bulunamadı / çevrimdışı ---------- */
.m-state { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 20px; }
.m-state .ic { width: 72px; height: 72px; border-radius: 22px; background: var(--card); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: var(--shadow); color: var(--theme); }
.m-state h1 { font: var(--fw) calc(22px * var(--hs)) var(--font-display); margin: 0 0 8px; }
.m-state p { color: var(--muted); margin: 0 0 6px; }

/* =========================================================
   MENÜ STÜDYOSU VARYASYONLARI — body sınıfları (bkz. Models/MenuStyle.cs)
   ========================================================= */

/* --- Arka plan --- */
.bg-white { --bg: #FFFFFF; --card: #FFFFFF; --line: #EBEBEB; }
.bg-warm { --bg: #F5EEE3; --card: #FFFBF5; --line: #E6D9C6; --ink: #2B2118; --ink-2: #4A3B2C; --muted: #7D6B58; }
.bg-dark {
  --bg: #111111; --card: #1C1C1E; --line: #2E2E30; --ink: #F5F5F4; --ink-2: #D6D3D1; --muted: #A8A29E;
  --shadow-sm: none; --shadow: 0 8px 24px rgba(0, 0, 0, .45); --price: color-mix(in srgb, var(--theme) 55%, #fff);
  color-scheme: dark;
}
.bg-dark .m-logo { border-color: var(--card); }
.bg-dark .m-chip svg, .bg-dark .m-back, .bg-dark .m-foot .box svg { color: var(--price); }
.bg-dark .m-badge.warn { background: #3B2412; border-color: #7C2D12; color: #FED7AA; }
.bg-dark .m-backdrop { background: rgba(0, 0, 0, .65); }

/* --- Yazı tipleri (başlıklar --font-display, metin --font) --- */
.font-elegant { --font-display: "Playfair Display", Georgia, "Times New Roman", serif; --fw: 700; --hs: 1.04; }
.font-elegant .m-item-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.font-rounded { --font: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --font-display: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --fw: 800; }
.font-handwritten { --font: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --font-display: Caveat, "Segoe Print", cursive; --fw: 700; --hs: 1.3; }
.font-bold { --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif; --fw: 400; --hs: 1.22; }
.font-bold .m-head h1, .font-bold .m-section h2, .font-bold .m-cat-name, .font-bold .m-sheet h2 { letter-spacing: .015em; }

/* --- Başlık: ortalı --- */
.hdr-centered .m-cover { height: 140px; }
.hdr-centered .m-head { text-align: center; margin-top: -48px; }
.hdr-centered .m-logo { margin: 0 auto; }
.hdr-centered .m-sub, .hdr-centered .m-chips { justify-content: center; }

/* --- Başlık: kompakt (kapak yok) --- */
.hdr-compact .m-cover { height: 0; }
.hdr-compact .m-cover::after { display: none; }
.hdr-compact .m-hero { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
.hdr-compact .m-pill { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.hdr-compact .m-head { margin-top: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.hdr-compact .m-logo { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; font-size: calc(26px * var(--hs)); box-shadow: none; border: 1px solid var(--line); }
.hdr-compact .m-head h1 { margin: 0 0 2px; font-size: calc(22px * var(--hs)); align-self: end; }
.hdr-compact .m-sub { align-self: start; }
.hdr-compact .m-chips { grid-column: 1 / -1; }

/* --- Başlık: tam ekran fotoğraf --- */
.hdr-fullbleed .m-hero { padding-bottom: 0; background: var(--bg); }
.hdr-fullbleed .m-cover { height: calc(310px + env(safe-area-inset-top, 0px)); }
.hdr-fullbleed .m-cover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .78) 100%); }
.hdr-fullbleed .m-head { position: absolute; inset-inline: 0; bottom: 16px; margin-top: 0; color: #fff; }
.hdr-fullbleed .m-logo { width: 60px; height: 60px; border-radius: 16px; font-size: calc(24px * var(--hs)); border-width: 2px; }
.hdr-fullbleed .m-head h1 { font-size: calc(30px * var(--hs)); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hdr-fullbleed .m-sub { color: rgba(255, 255, 255, .9); }
.hdr-fullbleed .m-chip { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); }
.hdr-fullbleed .m-chip svg { color: #fff; }

/* --- Kategori kartları: geniş bant --- */
.cat-banners .m-cat-grid { grid-template-columns: 1fr; }
.cat-banners .m-cat-card { aspect-ratio: 16 / 7; }
.cat-banners .m-cat-body { padding: 16px 18px; }
.cat-banners .m-cat-name { font-size: calc(22px * var(--hs)); }
.cat-banners .m-cat-ph { font-size: 110px; }
@media (min-width: 560px) { .cat-banners .m-cat-grid { grid-template-columns: 1fr 1fr; } }

/* --- Kategori kartları: yuvarlak --- */
.cat-circles .m-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.cat-circles .m-cat-card { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; color: var(--ink); text-align: center; border-radius: 0; }
.cat-circles .m-cat-media { position: relative; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: var(--shadow); }
.cat-circles .m-cat-media::after { display: none; }
.cat-circles .m-cat-body { position: static; padding: 8px 2px 0; align-items: center; }
.cat-circles .m-cat-name { text-shadow: none; font-size: calc(14.5px * var(--hs)); }
.cat-circles .m-cat-count { color: var(--muted); font-size: 12px; }
.cat-circles .m-cat-ph { font-size: 40px; justify-content: center; align-items: center; padding: 0; color: rgba(255, 255, 255, .9); }
@media (min-width: 560px) { .cat-circles .m-cat-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- Ürünler: sade liste --- */
.item-list .m-items { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.item-list .m-item { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 0; }
.item-list .m-item:last-of-type { border-bottom: 0; }
.item-list .m-item:hover { box-shadow: none; }
.item-list .m-item-img { width: 64px; height: 64px; }

/* --- Ürünler: büyük fotoğraf (2 sütun) --- */
.item-photo .m-items { grid-template-columns: 1fr 1fr; gap: 12px; }
.item-photo .m-item { flex-direction: column-reverse; justify-content: flex-end; padding: 0; gap: 0; overflow: hidden; }
.item-photo .m-item-img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.item-photo .m-item-text { padding: 10px 12px 12px; }
.item-photo .m-item-title { font-size: 15px; }
.item-photo .m-tags { display: none; }
@media (min-width: 560px) { .item-photo .m-items { grid-template-columns: repeat(3, 1fr); } }

/* --- Köşeler --- */
.rad-s { --radius: 6px; --radius-lg: 8px; }
.rad-m { --radius: 18px; --radius-lg: 20px; }
.rad-l { --radius: 26px; --radius-lg: 30px; }

/* --- Göster / gizle --- */
.no-item-img .m-item-img { display: none; }
.no-item-img.item-photo .m-items { grid-template-columns: 1fr; }
.no-desc .m-item .desc { display: none; }
.no-allergen-icons .m-allergen-icons { display: none; }
.m-kcal { display: none; font-size: 12.5px; color: var(--muted); }
.show-kcal .m-kcal { display: inline; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Garson çağırma / hesap isteme (güvenlik kodlu masa kartı) ---------- */
body.has-callbar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.m-callbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(28, 25, 23, .08); }
.m-callbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }
.m-callbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--theme); background: var(--card); color: var(--ink); font: 700 15px/1.2 var(--font); cursor: pointer; }
.m-callbtn:first-child { background: var(--theme); color: #fff; }
.m-callbtn:focus-visible { outline: 3px solid color-mix(in srgb, var(--theme) 45%, transparent); outline-offset: 2px; }
.m-callbar.busy .m-callbtn { opacity: .55; pointer-events: none; }
.m-callstate { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 560px; margin: 0 auto 8px; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; background: var(--bg); color: var(--ink); }
.m-callstate.wait::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--theme); flex: none; animation: m-pulse 1.4s ease-in-out infinite; }
.m-callstate.ok { background: #DCFCE7; color: #166534; }
.m-callstate.bad { background: #FEE2E2; color: #991B1B; }
@keyframes m-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .m-callstate.wait::before { animation: none; } }
.m-billopts { display: grid; gap: 10px; margin-top: 10px; }
.m-billopts .m-btn { justify-content: center; min-height: 52px; font-size: 16px; }
.bg-dark .m-callstate.ok { background: #14532D; color: #DCFCE7; }
.bg-dark .m-callstate.bad { background: #7F1D1D; color: #FEE2E2; }

/* ---------- Masadan sipariş: sepet çubuğu, sepet, ürün detayında adet ---------- */
.m-callbar[hidden] { display: none; }
.m-cartbar { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; min-height: 52px; margin: 0 auto 10px; padding: 8px 16px; border: 0; border-radius: 14px; background: var(--ink); color: var(--card); font: 700 15px/1.2 var(--font); cursor: pointer; }
.m-cartbar[hidden] { display: none; }
.m-cartbar:only-child, .m-cartbar:last-child { margin-bottom: 0; }
.m-cartbar b { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.m-cartbar-count { font-weight: 600; opacity: .75; }
.m-cartbar.bump { animation: m-bump .4s ease-out; }
@keyframes m-bump { 40% { transform: scale(1.04); } }
.m-add { order: 99; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-start: auto; border-radius: 50%; background: var(--theme); color: #fff; }
.m-order { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 14px 0 6px; padding: 12px; border-radius: var(--radius); background: var(--bg); }
.m-order .m-line-note { grid-column: 1 / -1; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 15px var(--font); }
.m-order .m-btn { grid-column: 1 / -1; }
.m-btn-lg { justify-content: center; width: 100%; min-height: 52px; font-size: 16px; }
.m-btn:disabled { opacity: .6; cursor: default; }
.m-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); align-self: center; }
.m-qty button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 700 20px/1 var(--font); display: grid; place-items: center; cursor: pointer; }
.m-qty button:active { background: var(--bg); }
.m-qty output { min-width: 26px; text-align: center; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.m-cart-table { font: 600 14px var(--font); color: var(--muted); margin-inline-start: 6px; }
.m-cart-empty { color: var(--muted); margin: 10px 0 4px; }
.m-cart-empty[hidden], [data-cart-form][hidden] { display: none; }
.m-cart-lines { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; }
.m-cart-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.m-cart-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.m-cart-info small { color: var(--muted); font-size: 13px; }
.m-cart-info .m-cart-linenote { color: var(--ink-2, var(--ink)); font-style: italic; }
.m-cart-info .m-price { font-size: 14.5px; }
.m-cart-label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.m-cart-note { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 15px var(--font); resize: vertical; }
.m-cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; font-size: 17px; font-weight: 700; }
.m-cart-total b { font-size: 20px; font-variant-numeric: tabular-nums; }
.m-cart-pay { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.m-cart-pay svg { flex: none; margin-top: 2px; }
[data-cart-error] { margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { .m-cartbar.bump { animation: none; } }
