/* BoyutMM misafir menüsü · uygulamanın tasarım sistemiyle aynı dil (boyutmm/lib/theme/ds.dart, 2026-09-23).
   Medya Mühendisi paleti: zemin #F1F2EE · kart #FFF · ikincil yüzey #E7E9E0 · mürekkep #0E100D · soluk #5F6459 ·
   çizgi #C8C8C8 · zeytin #67743A (dolgu) / #46512A (vurgu metni) · koyu yüzey #24271F.
   Ölçüler uygulamadaki MisafirOlcu ile BİREBİR (S1): kapak 28 · bölüm 22 · ad 18 · fiyat 18 · açıklama 16 · rozet 14 ·
   küçük görsel 72 · sekme 44 · AR düğmesi 48 · köşe 16/12 · aralık 4/8/16/24/32. Yazı tipleri YEREL (üçüncü taraf isteği yok). */
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/PlexSans-latin.woff2") format("woff2"); font-weight: 100 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/PlexSans-latin-ext.woff2") format("woff2"); font-weight: 100 700; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/PlexMono400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/PlexMono400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/PlexMono500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/PlexMono500-latin-ext.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Playfair Display"; src: url("/fonts/PlayfairDisplay-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/PlayfairDisplay-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F1F2EE; --card: #FFFFFF; --kum: #E7E9E0; --ink: #0E100D; --ink2: #5F6459; --dim: #4E4E4E; --line: #C8C8C8;
  --ac: #67743A; --onac: #FFFFFF; --act: #46512A; --ac-soluk: #E1E8CE; --koyu: #24271F;
  --ok: #276A2B; --ok-bg: #E3F1DF; --amber: #8A5300; --amber-bg: #FFF1D1; --red: #B42318; --red-bg: #FDE4E1;
  --radius: 16px; --r-s: 12px;
  --head: "Archivo", "IBM Plex Sans", sans-serif; --body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(14,16,13,.06), 0 4px 16px rgba(14,16,13,.06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.4; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; }
#sheet-title:focus { outline: none; } /* programla verilen odak: yalnız ekran okuyucu için, halka çizilmez */
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.muted { color: var(--ink2); }
.center { text-align: center; }
h1, h2 { font-family: var(--head); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.15; margin: 0; }

/* ───────── düğmeler (uygulamadaki DsDugme: 56 dp, köşe 16) ───────── */
.actions { display: flex; flex-direction: column; gap: 8px; }
/* Yemek sayfasında eylemler altta yapışık (2026-10-04): iPhone SE'de "Gerçek boyutta gör" görsel + bilgi satırlarının
   altında, ilk ekranın dışında kalıyordu. Uygulamadaki önizleme de aynı (dsAltSayfa sabitAlt). */
.sheet-card .actions { position: sticky; bottom: 0; z-index: 2; margin: 12px -16px 0; padding: 12px 16px; background: var(--bg); box-shadow: 0 -14px 18px -16px rgba(25, 23, 19, .35); }
.btn { position: relative; min-height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; width: 100%; padding: 0 16px; }
.btn.primary { background: var(--ac); color: var(--onac); }
.btn.ghost { background: var(--card); border: 2px solid var(--line); color: var(--ink); }
.btn[aria-disabled="true"], .btn[disabled] { background: var(--kum); color: var(--ink2); pointer-events: none; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn img { width: 0; height: 0; opacity: 0; position: absolute; }
.btn .g { width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 2px; transform: rotate(45deg) scale(.8); }
.hint { font-size: 14px; color: var(--ink2); text-align: center; margin: 8px 0 0; }
.hint.uyari { color: #8A5300; background: #FFF1D1; border-radius: 12px; padding: 10px 12px; text-align: left; line-height: 1.45; }
.hint.uyari a { color: inherit; font-weight: 700; }
.ic { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* ───────── sayfa (çerçevesiz: tam genişlik, telefon kalıbı yok) ───────── */
.app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.app.has-cart { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.state { padding: 64px 24px; text-align: center; }
.state h1 { font-size: 22px; margin-bottom: 8px; }
.state p { color: var(--ink2); margin: 0 0 24px; }
.spin { width: 32px; height: 32px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ac); animation: don 0.9s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } html { scroll-behavior: auto !important; } .sheet-card, .sheet-bg { animation: none !important; } }
.note { margin: 16px 16px 0; padding: 16px; border-radius: var(--radius); background: var(--amber-bg); color: var(--amber); display: flex; gap: 8px; align-items: center; font-weight: 600; }

/* ───────── site (uygulamadaki SiteView ile aynı çizim) ───────── */
.site { --s-bg: var(--bg); --s-card: var(--card); --s-ink: var(--ink); --s-ink2: var(--ink2); --s-line: var(--line); background: var(--s-bg); color: var(--s-ink); padding-bottom: 32px; }
.site.dark { --s-bg: #0E100D; --s-card: #24271F; --s-ink: #F1F2EE; --s-ink2: #A9AEA3; --s-line: #2B2F28; }
.site .hf { font-family: var(--head); font-weight: 800; }
.site.f-modern .hf { font-family: "Archivo", sans-serif; font-stretch: 112%; }
.site.f-klasik .hf { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.site.f-sade, .site.f-sade .hf { font-family: "Instrument Sans", sans-serif; }

.b-cover { position: relative; overflow: hidden; background: var(--ac); }
.b-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,13,0) 0%, rgba(14,16,13,.7) 100%); }
.b-cover .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: flex-end; gap: 16px; color: #fff; }
.b-cover .ttl { font-size: 28px; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b-cover .sub { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; background: var(--ac); color: var(--onac); border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 25px; }
.logo img { width: 100%; height: 100%; object-fit: cover; }

.b-venue { padding: 32px 24px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.b-venue h1 { font-size: 28px; margin-top: 16px; }
.b-venue p { margin: 4px 0 0; font-size: 16px; color: var(--s-ink2); }
.b-venue .rule2 { display: block; width: 48px; height: 2px; background: var(--ac); margin-top: 16px; }
.b-text { padding: 16px 24px 8px; }
.b-text.c { text-align: center; }
.b-text p { margin: 0; font-size: 16px; }
.b-text .hf { font-size: 22px; }
.b-image { padding: 16px 16px 0; }
.b-image img { width: 100%; object-fit: cover; border-radius: 16px; }

.b-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 16px 16px 0; scrollbar-width: none; position: sticky; top: 0; z-index: 5; background: var(--s-bg); padding-bottom: 8px; }
.b-tabs::-webkit-scrollbar, .bloklar::-webkit-scrollbar { display: none; }
.bloklar { display: flex; gap: 8px; overflow-x: auto; padding: 16px 16px 0; scrollbar-width: none; }
.bloklar button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--s-card); color: var(--s-ink); border: 2px solid var(--s-line); font-size: 16px; font-weight: 600; white-space: nowrap; }
.bloklar button.on { border-color: var(--s-ink); }
.b-tabs button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--s-card); color: var(--s-ink); border: 1px solid var(--s-line); font-size: 16px; font-weight: 600; white-space: nowrap; }
.b-tabs button.on { background: var(--ac); color: var(--onac); border-color: var(--ac); }

.sec-t { font-size: 22px; color: var(--act); padding: 32px 16px 16px; margin: 0; }
.b-sec { scroll-margin-top: 68px; }
.closed { margin: 0 16px 16px; font-size: 16px; font-weight: 600; color: var(--s-ink2); }
.dim { opacity: .5; }
.empty { text-align: center; color: var(--s-ink2); padding: 24px; margin: 0; }

.fiyat { font-size: 18px; font-weight: 700; color: var(--s-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm { font-size: 18px; font-weight: 600; color: var(--s-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ds { font-size: 16px; color: var(--s-ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yer { background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--act); display: flex; align-items: center; justify-content: center; }

/* LİSTE (kagit): tek kart, satırlar çizgiyle ayrılır · küçük görsel · (3D rozeti) ad + açıklama · fiyat · "+" */
.liste { margin: 0 16px; background: var(--s-card); border-radius: 16px; overflow: hidden; }
.satir { display: flex; align-items: flex-start; }
.satir > .ac { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 16px; padding: 16px; text-align: left; }
.satir > .ekle { margin: 12px 8px 0 -8px; }
.satir + .satir { border-top: 1px solid var(--s-line); }
.satir .th { width: 72px; height: 72px; flex: none; border-radius: 12px; object-fit: cover; }
.satir .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r3d { align-self: flex-start; margin-bottom: 4px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; min-height: 24px; border-radius: 999px; background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--act); font-size: 14px; font-weight: 600; }
.r3d .ic { width: 16px; height: 16px; }

/* IZGARA (kartlar): iki sütun kare kart · 3D rozeti görselin köşesinde */
.izgara { margin: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kare { position: relative; background: var(--s-card); border-radius: 16px; overflow: hidden; }
.kare > .ac { display: flex; flex-direction: column; width: 100%; text-align: left; }
/* "+" görselin sağ altında: görselle aynı kare alan, yalnız düğme dokunulur */
.kare > .ekle-yer { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; pointer-events: none; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 4px 4px 0; }
.kare > .ekle-yer .ekle { pointer-events: auto; }
/* width: 100% şart (2026-10-04): Chrome ≤ 114'te dikey flex'teki (button.ac) aspect-ratio'lu boş kutu stretch ile
   genişlik ALMIYOR → 0 px, kartlarda görsel hiç görünmüyordu (emülatör Chrome 113'te bulundu; eski Android/Samsung) */
.kare .gr { position: relative; width: 100%; aspect-ratio: 1; }
.kare .gr img, .kare .gr .yer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kare .b3d { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--ac); color: var(--onac); font-size: 14px; font-weight: 700; }
.kare .b3d .ic { width: 16px; height: 16px; }
.kare .tx { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.kare .nm { font-size: 16px; }

/* BÜYÜK GÖRSEL (sahne): tam genişlik fotoğraf · ad + fiyat · açıklama · "Gerçek boyutta gör" */
.buyuk { margin: 0 16px 16px; background: var(--s-card); border-radius: 16px; overflow: hidden; }
.buyuk > button { display: block; width: 100%; text-align: left; }
.buyuk img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* alt boşluk yazıda: 3D/sepet satırı yokken de kart kenara yapışmaz */
.buyuk .tx { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.buyuk .ust { display: flex; gap: 16px; align-items: flex-start; }
.buyuk .ust .nm { flex: 1; font-family: var(--head); font-weight: 800; font-size: 20px; }
.site.f-klasik .buyuk .ust .nm { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.site.f-sade .buyuk .ust .nm { font-family: "Instrument Sans", sans-serif; }
.buyuk .alt { padding: 0 16px 16px; display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.buyuk .alt:empty { display: none; }
.buyuk .alt .ar-dugme { flex: 1; }
.ar-dugme { width: 100%; min-height: 48px; border-radius: 12px; background: var(--ac); color: var(--onac); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; }

/* "+" — tek dokunuşla sepete (40 px daire, 48 px dokunma alanı) */
.ekle { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; position: relative; font-weight: 700; font-size: 16px; color: var(--onac); font-variant-numeric: tabular-nums; }
.ekle::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ac); border: 2px solid var(--s-card); z-index: -1; }
.ekle { z-index: 1; isolation: isolate; }
.ekle .ic { width: 24px; height: 24px; }

.b-info { margin: 24px 16px 0; padding: 8px 16px; border-radius: 16px; background: var(--s-card); }
.b-info .r { display: flex; align-items: center; gap: 8px; padding: 8px 0; min-height: 44px; font-size: 16px; color: var(--s-ink2); }
.b-info .r .ic { color: var(--act); }
.b-info .r b { flex: 1; text-align: right; color: var(--s-ink); font-weight: 600; }
.b-info .r button, .b-info .r a { color: var(--act); font-weight: 700; min-height: 44px; }

.site-foot { padding: 32px 16px 0; text-align: center; font-size: 14px; color: var(--s-ink2); }
.site-foot b { color: var(--s-ink); }
.site-foot .kdv { margin: 0 0 8px; }
.ornek-not { margin: 0; padding: max(6px, env(safe-area-inset-top)) 16px 6px; font-size: 13px; line-height: 1.35; text-align: center; background: var(--line); color: var(--ink2); }
.site-foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 16px; margin-top: 8px; }
.site-foot nav a, .site-foot nav button { min-height: 44px; display: inline-flex; align-items: center; color: var(--s-ink2); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* ───────── alt sayfa ───────── */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(14,16,13,.45); }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 24px 24px 0 0; padding: 8px 16px max(24px, env(safe-area-inset-bottom)); }
/* alt sayfa: aşağıdan kayarak açılır, inerek kapanır; açıkken arkadaki menü kaymaz */
.sheet:not([hidden]) .sheet-card { animation: sayfa-cik .26s cubic-bezier(.2, .8, .2, 1); }
.sheet:not([hidden]) .sheet-bg { animation: perde .2s ease-out; }
.sheet.kapaniyor .sheet-card { animation: sayfa-in .18s ease-in forwards; }
.sheet.kapaniyor .sheet-bg { animation: perde .18s ease-in reverse forwards; }
@keyframes sayfa-cik { from { transform: translateY(100%); } }
@keyframes sayfa-in { to { transform: translateY(100%); } }
@keyframes perde { from { opacity: 0; } }
html.sayfa-acik, html.sayfa-acik body { overflow: hidden; }
.handle { display: block; width: 100%; height: 32px; position: relative; }
.handle::after { content: ""; position: absolute; left: 50%; top: 12px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line); }
#sheet-body { display: flex; flex-direction: column; gap: 16px; }
.sheet-title { font-size: 28px; }
.u-resim { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.u-ust { display: flex; gap: 16px; align-items: flex-start; }
.u-ust h2 { flex: 1; font-size: 28px; }
.u-ust .fiyat { font-size: 20px; color: var(--ink); }
.u-ds { margin: 0; color: var(--ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rozetler { display: flex; flex-wrap: wrap; gap: 8px; }
.rozet { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--kum); color: var(--ink); font-size: 14px; font-weight: 600; }
.rozet .ic { width: 16px; height: 16px; }
.rozet.ok { background: var(--ok-bg); color: var(--ok); }
.rozet.uy { background: var(--amber-bg); color: var(--amber); }
.kart { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.kart.kum { background: var(--kum); box-shadow: none; }
.bilgi .r { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; min-height: 44px; align-items: center; }
.bilgi .r + .r { border-top: 1px solid var(--line); }
.bilgi .r span { color: var(--ink2); display: inline-flex; align-items: center; gap: 8px; }
.bilgi .r span .ic { color: var(--ac); }
.bilgi .r span.uy .ic { color: var(--amber); }
.bilgi .r b { text-align: right; font-weight: 600; }
.bilgi .r a { color: var(--ac); font-weight: 700; }
/* Alerjenler (yemek sayfası): yönetmelikteki ad + kısa açıklama; beyan notu */
.alerjen { background: var(--amber-bg); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.alerjen h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; color: var(--amber); }
.alerjen h3 .ic { width: 20px; height: 20px; flex: none; }
.alerjen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alerjen li { background: var(--card); border-radius: var(--r-s); padding: 8px 12px; display: flex; flex-direction: column; }
.alerjen li b { font-size: 16px; color: var(--ink); }
.alerjen li span { font-size: 14px; color: var(--ink2); }
.alerjen p { margin: 0; font-size: 14px; color: var(--ink2); }
details.yasal summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
details.yasal p { font-size: 14px; color: var(--ink2); margin: 0 0 8px; }
details.yasal a { color: var(--ac); text-decoration: underline; }

/* ───────── masadan sipariş (sepet) ─────────
   Sepet çubuğu sayfanın altına yapışır; yalnız masa QR'ında ve işletme açtıysa çizilir. */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px max(16px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.cart-bar[hidden] { display: none; }
.cart-bar button { display: flex; width: 100%; max-width: 528px; margin: 0 auto; align-items: center; gap: 16px; min-height: 56px; padding: 0 16px; border-radius: 16px; background: var(--koyu); color: #fff; font-weight: 700; font-size: 16px; }
body.koyu .cart-bar { background: #0E100D; border-top-color: #2B2F28; }
body.koyu .cart-bar button { background: #9CB15A; color: #0E100D; }
.cart-lbl { flex: 1; text-align: left; }
.cart-total { font-size: 20px; font-variant-numeric: tabular-nums; }

.cart-line { display: flex; gap: 16px; align-items: center; }
.cart-line .th { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: cover; background: var(--kum); }
.cart-line .ad { flex: 1; min-width: 0; }
.cart-line .ad b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line .ad span { color: var(--ink2); font-size: 14px; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--kum); border-radius: 999px; padding: 0 4px; }
.qty button { width: 48px; height: 48px; border-radius: 999px; font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.genis { width: 100%; justify-content: space-between; min-height: 56px; }
label.alan { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.alan textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; resize: none; color: var(--ink); }
.alan textarea:focus, .alan input:focus { outline: none; border-color: var(--ac); }
.alan input { width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; color: var(--ink); }
#form { display: flex; flex-direction: column; gap: 16px; }
.toplam { display: flex; justify-content: space-between; align-items: baseline; }
.toplam span { color: var(--ink2); }
.toplam b { font-size: 22px; font-variant-numeric: tabular-nums; }
.hata { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--red-bg); color: var(--red); font-weight: 600; }
.tamam { text-align: center; padding: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tamam .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.tamam .tick .ic { width: 32px; height: 32px; }
.tamam p { margin: 0; color: var(--ink2); }
/* sipariş gidince: mutfağa ne gittiği (misafirin kendi siparişi) ve notu */
.tamam .giden { color: var(--ink); font-weight: 600; line-height: 1.5; }
.tamam .giden-not { font-style: italic; max-width: 32ch; overflow-wrap: anywhere; }
.puanla { display: flex; flex-direction: column; gap: 8px; }
.yildizlar { display: flex; gap: 4px; }
.yildiz { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); }
.yildiz .ic { width: 32px; height: 32px; }
.yildiz.on { color: var(--ac); }

/* ───────── yasal sayfalar (gizlilik, koşullar, hesap silme) ───────── */
.doc { max-width: 720px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px max(40px, env(safe-area-inset-bottom)); }
.doc-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px; }
.doc-head h1 { font-size: clamp(28px, 7vw, 36px); }
.doc-head .mono { display: block; margin-top: 8px; color: var(--ink2); }
.doc h2 { font-size: clamp(18px, 4.5vw, 22px); margin: 32px 0 8px; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 24px 0 4px; }
.doc p, .doc li { color: var(--dim); font-size: 16px; line-height: 1.6; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 16px; padding-left: 24px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--ac); text-decoration: underline; text-underline-offset: 2px; }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc-card { background: var(--card); border-radius: var(--radius); padding: 16px; margin: 0 0 16px; box-shadow: var(--shadow); }
.doc-card p:last-child { margin-bottom: 0; }
.doc-fill { background: var(--amber-bg); color: var(--amber); padding: 1px 6px; border-radius: 4px; font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.doc-table th { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); font-weight: 500; }
.doc-foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.doc-foot a { color: var(--ink2); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 420px) { .doc-table th:nth-child(3), .doc-table td:nth-child(3) { display: none; } }

/* ───────── kök sayfa (boyutmm.medyamuhendisi.com) ─────────
   Medya Mühendisi dili: Archivo 800 geniş başlık, IBM Plex Mono etiket, zeytin tek dolu düğme.
   Kahraman: yemek fotoğrafı tam genişlik, başlık altta (Chipotle/Wagamama gibi yemek önde). */
body.giris { background: var(--bg); }
.g-ust { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(16px, env(safe-area-inset-top)) 16px 16px; }
.g-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--head); font-weight: 800; font-stretch: 112%; font-size: 20px; }
.g-logo img { width: 32px; height: 32px; }
.g-mm { min-height: 44px; display: inline-flex; align-items: center; color: var(--act); font-weight: 600; }
.giris main { max-width: 560px; margin: 0 auto; }
.g-kahraman { margin: 0 16px; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.g-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-kap { padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; }
.g-kap h1 { font-size: 32px; }
.g-kap p { margin: 0; color: var(--ink2); }
.g-etiket { margin: 0 !important; color: var(--act) !important; }
.g-bolum { padding: 32px 16px 0; }
.g-bolum h2 { font-size: 22px; margin-bottom: 16px; }
.g-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.g-adimlar li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: center; }
.g-adimlar li b { grid-column: 2; font-size: 18px; }
.g-adimlar li span:not(.g-no) { grid-column: 2; color: var(--ink2); }
.g-no { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: var(--onac); display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; }
.g-adres { display: flex; flex-direction: column; gap: 4px; }
.g-adres .mono { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--act); word-break: break-all; }
.g-adres span:last-child { color: var(--ink2); }
.g-alt { max-width: 560px; margin: 0 auto; padding: 32px 16px max(24px, env(safe-area-inset-bottom)); text-align: center; color: var(--ink2); font-size: 14px; }
.g-alt nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.g-alt nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.g-alt p { margin: 8px 0 0; }
.giris .state .btn { max-width: 320px; }

/* ───────── tanıtım sayfası (index.html · destek.html, 2026-10-04) ─────────
   Telefonda tek sütun (misafir sayfasıyla aynı ölçüler); 760 px üstünde iki–üç sütun, 1080 px kap. */
.tanitim .g-ust, .tanitim .g-alt { max-width: 1080px; }
.l-ust { flex-wrap: wrap; }
.l-nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.l-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 12px; color: var(--ink2); font-weight: 600; }
.l-nav a:hover { color: var(--ink); background: var(--kum); }
.tanitim main { max-width: 1080px; margin: 0 auto; }
.l-kahraman { margin: 0 16px; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column-reverse; }
.l-kahraman-metin { padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; }
.l-kahraman-metin h1 { font-size: 34px; }
.l-etiket { margin: 0; color: var(--act); font-weight: 700; }
.l-giris { margin: 0; color: var(--ink2); font-size: 18px; }
.l-eylem { display: flex; flex-direction: column; gap: 8px; }
.l-not { margin: 0; color: var(--ink2); font-size: 14px; }
.l-kahraman-foto { margin: 0; position: relative; }
.l-kahraman-foto img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.l-rozet { position: absolute; left: 16px; bottom: 16px; background: rgba(14,16,13,.78); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.l-nokta { width: 8px; height: 8px; border-radius: 50%; background: #9CB15A; }
.l-bolum { padding: 40px 16px 0; scroll-margin-top: 16px; }
.l-bolum h2 { font-size: 24px; margin-bottom: 16px; }
.l-alt { margin: -8px 0 16px; color: var(--ink2); }
.l-ozellik { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-ozellik li { display: flex; flex-direction: column; gap: 4px; }
.l-ozellik b { font-size: 18px; }
.l-ozellik span { color: var(--ink2); }
.l-ikon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--ac-soluk); fill: var(--act); margin-bottom: 8px; }
.l-adimlar li span:not(.g-no) { grid-column: 2; }
.l-serit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.l-serit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.l-paketler { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-paket { display: flex; flex-direction: column; gap: 8px; position: relative; }
.l-paket ul { margin: 0; padding-left: 18px; color: var(--ink2); display: flex; flex-direction: column; gap: 4px; }
.l-paket .btn { margin-top: auto; }
.l-paket-ad { font-family: var(--head); font-weight: 800; font-stretch: 112%; font-size: 20px; }
.l-fiyat { font-family: var(--head); font-weight: 800; font-size: 28px; }
.l-fiyat small { font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--ink2); margin-left: 2px; }
.l-one { outline: 2px solid var(--ac); }
.l-vurgu { align-self: flex-start; background: var(--ac-soluk); color: var(--act); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.l-kredi { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.l-kredi span { color: var(--ink2); }
.l-indir { display: grid; gap: 16px; align-items: center; }
.l-indir h2 { margin: 0 0 4px; }
.l-indir p { margin: 0; color: var(--ink2); }
.l-magaza { display: flex; flex-direction: column; gap: 8px; }
.l-sss { display: flex; flex-direction: column; gap: 8px; }
.l-sss summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.l-sss summary::-webkit-details-marker { display: none; }
.l-sss summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-family: var(--head); font-size: 22px; color: var(--act); }
.l-sss details[open] summary::after { content: "−"; }
.l-sss p { margin: 8px 0 0; color: var(--ink2); }
.l-sss a, .l-doc a { color: var(--act); text-decoration: underline; text-underline-offset: 3px; }
.l-alt-bilgi a { text-decoration: underline; text-underline-offset: 3px; }
.l-doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 0; }
.l-doc h1 { font-size: 30px; margin: 8px 0 8px; }
.l-doc h2 { font-size: 20px; margin: 32px 0 12px; scroll-margin-top: 16px; }
.l-doc p, .l-doc li { color: var(--ink2); }
.l-doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.l-doc .kart { margin: 8px 0; }
.l-iletisim { display: flex; flex-direction: column; gap: 12px; }
.l-iletisim .btn { max-width: 360px; }
@media (min-width: 760px) {
  .l-kahraman { flex-direction: row; align-items: stretch; margin: 0 16px; }
  .l-kahraman-metin { flex: 1 1 50%; padding: 48px 40px; justify-content: center; }
  .l-kahraman-metin h1 { font-size: 46px; }
  .l-kahraman-foto { flex: 1 1 50%; }
  .l-kahraman-foto img { aspect-ratio: auto; min-height: 440px; }
  .l-eylem { flex-direction: row; }
  .l-eylem .btn { width: auto; padding: 0 28px; }
  .l-bolum { padding-top: 64px; }
  .l-bolum h2 { font-size: 30px; }
  .l-dort { grid-template-columns: repeat(4, 1fr); }
  .l-uc { grid-template-columns: repeat(3, 1fr); }
  .l-adimlar { display: grid !important; grid-template-columns: repeat(3, 1fr); }
  .l-serit { grid-template-columns: repeat(4, 1fr); }
  .l-paketler { grid-template-columns: repeat(3, 1fr); }
  .l-indir { grid-template-columns: 56px 1fr auto; }
  .l-indir .l-not { grid-column: 2 / -1; }
  .l-magaza { flex-direction: row; }
  .l-magaza .btn { width: auto; padding: 0 28px; }
}
@media (min-width: 1000px) {
  .l-paketler { grid-template-columns: repeat(5, 1fr); }
  .l-paket { font-size: 15px; }
}
