/* ==========================================================
   QR Menü — müşteri arayüzü
   Marka rengi: --brand (ayarlardan). Tema: <html data-theme> (müşteri değiştirebilir), düzen: <body data-layout>
   ========================================================== */

:root,
[data-theme="light"] {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --surface-2: #f1efe9;
    --text: #17150f;
    --muted: #6f6b62;
    --line: rgba(23, 21, 15, .08);
    --line-strong: rgba(23, 21, 15, .14);
    --shadow-sm: 0 1px 2px rgba(23, 21, 15, .04);
    --shadow: 0 1px 2px rgba(23, 21, 15, .04), 0 10px 30px -14px rgba(23, 21, 15, .14);
    --shadow-lg: 0 30px 70px -20px rgba(23, 21, 15, .35);
    --brand-ink: color-mix(in oklab, var(--brand) 80%, #000);
    --brand-soft: color-mix(in oklab, var(--brand) 9%, var(--surface));
    --scrim: rgba(12, 11, 9, .45);
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #0c0c0e;
    --surface: #16161a;
    --surface-2: #202026;
    --text: #f3f1ec;
    --muted: #a3a09a;
    --line: rgba(255, 255, 255, .07);
    --line-strong: rgba(255, 255, 255, .13);
    --shadow-sm: none;
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
    --brand-ink: color-mix(in oklab, var(--brand) 50%, #fff);
    --brand-soft: color-mix(in oklab, var(--brand) 20%, var(--surface));
    --scrim: rgba(0, 0, 0, .62);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --bg: #0c0c0e;
        --surface: #16161a;
        --surface-2: #202026;
        --text: #f3f1ec;
        --muted: #a3a09a;
        --line: rgba(255, 255, 255, .07);
        --line-strong: rgba(255, 255, 255, .13);
        --shadow-sm: none;
        --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
        --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
        --brand-ink: color-mix(in oklab, var(--brand) 50%, #fff);
        --brand-soft: color-mix(in oklab, var(--brand) 20%, var(--surface));
        --scrim: rgba(0, 0, 0, .62);
        color-scheme: dark;
    }
}

:root {
    --radius: 22px;
    --radius-sm: 14px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --max: 780px;
}
body[data-layout="grid"] { --max: 1000px; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}
body.sheet-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.6; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.eyebrow {
    display: flex; align-items: center; gap: 7px;
    margin: 0 0 14px; font-family: var(--font-body);
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Kapak ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(56px + env(safe-area-inset-top)) 24px 72px;
    text-align: center; color: var(--brand-contrast);
    background:
        radial-gradient(120% 90% at 10% -10%, color-mix(in oklab, var(--brand) 45%, #fff) 0%, transparent 55%),
        radial-gradient(90% 90% at 110% 120%, color-mix(in oklab, var(--brand) 55%, #000) 0%, transparent 60%),
        var(--brand);
}
.hero::before {
    /* ince ışık çizgileri */
    content: ""; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1;
    background: repeating-radial-gradient(circle at 50% 100%, transparent 0 38px, color-mix(in srgb, var(--brand-contrast) 7%, transparent) 38px 39px);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero.has-cover { color: #fff; --brand-contrast: #fff; }
.hero.has-cover::before { display: none; }
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); }
.hero.has-cover::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.78) 100%);
}
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; animation: rise .7s var(--ease) both; }
.hero-table {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
    height: 30px; padding: 0 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
    background: color-mix(in srgb, var(--brand-contrast) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand-contrast) 24%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-logo {
    width: 88px; height: 88px; margin: 0 auto 18px;
    border-radius: 28px; object-fit: cover; background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 6px rgba(255, 255, 255, .1), 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.hero-logo-text {
    display: grid; place-items: center;
    font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--brand);
}
.hero h1 { margin: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.05; text-wrap: balance; }
.hero-slogan { margin: 10px auto 0; max-width: 34ch; opacity: .85; font-size: 15.5px; text-wrap: balance; }

/* ---------- Hızlı erişim ---------- */
.quick {
    position: relative; z-index: 2;
    display: flex; overflow-x: auto; scrollbar-width: none;
    width: calc(100% - 32px); max-width: calc(var(--max) - 32px); margin: -26px auto 0; padding: 5px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    animation: rise .6s var(--ease) both;
}
.quick::-webkit-scrollbar { display: none; }
.quick-item {
    position: relative; flex: 1 0 auto;
    padding: 11px 12px; border: 0; border-radius: 13px; background: none; cursor: pointer;
    font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; text-align: center; text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s;
}
.quick-item + .quick-item::before {
    content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line-strong);
}
.quick-item:hover { background: var(--surface-2); }
.quick-item:hover::before, .quick-item:hover + .quick-item::before { opacity: 0; }
.quick-item:active { color: var(--brand-ink); }

/* ---------- Araç çubuğu ---------- */
.toolbar {
    position: sticky; top: 0; z-index: 20;
    padding-top: env(safe-area-inset-top);
    transition: background .25s, box-shadow .25s, border-color .25s;
    border-bottom: 1px solid transparent;
}
.toolbar.is-stuck {
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-bottom-color: var(--line);
}
.toolbar-row { display: flex; gap: 8px; align-items: center; padding: 16px 16px 8px; max-width: var(--max); margin: 0 auto; }
.toolbar-brand {
    width: 0; opacity: 0; overflow: hidden; flex: none;
    transition: width .3s var(--ease), opacity .2s;
}
.toolbar.is-stuck .toolbar-brand { width: 40px; opacity: 1; }
.toolbar-brand img, .toolbar-brand span {
    width: 40px; height: 40px; border-radius: 12px; object-fit: cover;
    display: grid; place-items: center;
    background: var(--brand); color: var(--brand-contrast);
    font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.search {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 15px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: color-mix(in oklab, var(--brand) 50%, transparent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 14%, transparent); }
.search .icon { color: var(--muted); }
.search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 16px; color: var(--text);
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.icon-btn {
    position: relative; flex: none;
    width: 46px; height: 46px; border-radius: 16px; cursor: pointer;
    display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: background .2s, color .2s, transform .15s;
}
.icon-btn:active { transform: scale(.94); }
.filter-btn.is-active { background: var(--brand); color: var(--brand-contrast); border-color: transparent; }
.filter-count {
    position: absolute; top: -5px; right: -5px;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800;
    border: 2px solid var(--bg);
}

/* Tema düğmesi: açıkta ay, koyuda güneş */
.theme-btn .when-dark { display: none; }
[data-theme="dark"] .theme-btn .when-light { display: none; }
[data-theme="dark"] .theme-btn .when-dark { display: block; }
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] .theme-btn .when-light { display: none; }
    [data-theme="auto"] .theme-btn .when-dark { display: block; }
}
.theme-btn .icon { animation: spin-in .4s var(--ease); }

.tabs {
    display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    padding: 4px 16px 12px; max-width: var(--max); margin: 0 auto;
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
    flex: none; height: 36px; padding: 0 15px; border-radius: 999px;
    display: inline-flex; align-items: center;
    font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
    color: var(--muted); transition: background .25s, color .25s;
}
.tabs a:hover { color: var(--text); }
.tabs a.is-active { background: var(--text); color: var(--bg); }
.tabs a[hidden] { display: none; }

/* ---------- Menü ---------- */
.menu { max-width: var(--max); margin: 0 auto; padding: 4px 16px 32px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.active-filters .pill {
    font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
    background: var(--brand-soft); color: var(--brand-ink);
}
.loyalty-promo { margin-top: 14px; }

/* Öne çıkanlar */
.featured { padding-top: 26px; }
.featured-track {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; scroll-padding-inline: 16px;
}
.featured-track::-webkit-scrollbar { display: none; }
.featured-card {
    position: relative; flex: none; width: 176px; aspect-ratio: 4 / 5;
    scroll-snap-align: start; border: 0; padding: 0; cursor: pointer; text-align: left;
    border-radius: 24px; overflow: hidden; isolation: isolate;
    background: var(--surface-2); box-shadow: var(--shadow);
    transition: transform .3s var(--ease);
}
.featured-card:active { transform: scale(.97); }
.featured-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.featured-card:hover img { transform: scale(1.05); }
.featured-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .78));
}
.featured-card.no-image {
    background:
        radial-gradient(100% 70% at 0% 0%, color-mix(in oklab, var(--brand) 50%, #fff), transparent 60%),
        var(--brand);
}
.featured-card.no-image::after { background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .35)); }
.featured-ph { position: absolute; top: 16px; left: 16px; color: color-mix(in srgb, var(--brand-contrast) 55%, transparent); }
.featured-ph .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.featured-info { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.featured-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.2; }
.featured-price { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Kategoriler */
.category { padding-top: 34px; }
.category[hidden] { display: none; }
.category-head { display: flex; align-items: center; gap: 12px; }
.category-head h2 { margin: 0; font-size: clamp(24px, 6vw, 28px); line-height: 1.1; }
.category-head::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); margin-left: 4px; }
.category-count {
    order: 2; font-size: 11.5px; font-weight: 700; color: var(--muted);
    border: 1px solid var(--line-strong); padding: 2px 9px; border-radius: 999px;
}
.category-head::after { order: 1; }
.category-desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.category-closed {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 12px 0 0; padding: 6px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: #b45309; background: color-mix(in srgb, #f59e0b 14%, var(--surface));
}

/* Ürün kartı — ortak */
.products { display: grid; gap: 10px; margin-top: 16px; }
.product {
    position: relative; cursor: pointer;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.product:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.product:active { transform: scale(.985); }
.product:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.product[hidden] { display: none; }
.product.is-unavailable .product-body, .product.is-unavailable .product-media img { opacity: .5; }
.product h3 { margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
[data-font="elegant"] .product h3 { font-family: var(--font-head); font-size: 17.5px; font-weight: 600; }
.product-desc {
    margin: 5px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-media { position: relative; flex: none; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
/* Görseli olmayan ürün: soluk “fotoğraf yok” */
.product-ph {
    display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; height: 100%;
    color: color-mix(in srgb, var(--muted) 70%, transparent); background: var(--surface-2);
}
.product-ph .icon { width: 28px; height: 28px; stroke-width: 1.3; }
.product-ph small { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.product-flag {
    position: absolute; left: 8px; bottom: 8px;
    font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
    background: rgba(17, 17, 20, .78); color: #fff; backdrop-filter: blur(6px);
}
.product-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.price {
    flex: none; white-space: nowrap; font-weight: 750; font-size: 15px; color: var(--brand-ink); font-variant-numeric: tabular-nums;
    padding: 3px 11px; border-radius: 999px; background: var(--brand-soft);
}
.foot-flag { display: none; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.allergen-icons { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 1px; min-width: 0; font-size: 14px; margin-left: auto; }
.trace { opacity: .38; filter: grayscale(.7); }

.tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tag {
    font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
    color: color-mix(in oklab, var(--tag) 85%, var(--text));
    background: color-mix(in oklab, var(--tag) 13%, transparent);
}

/* Liste düzeni */
[data-layout="list"] .product {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px;
}
[data-layout="list"] .product-media { order: 2; width: 104px; height: 104px; }
[data-layout="list"] .product:not(.has-image) { grid-template-columns: minmax(0, 1fr); }
[data-layout="list"] .product:not(.has-image) .product-media { display: none; }
[data-layout="list"] .product:not(.has-image) .foot-flag { display: inline-flex; }
@media (min-width: 720px) {
    [data-layout="list"] .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Izgara düzeni */
[data-layout="grid"] .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
[data-layout="grid"] .product { display: flex; flex-direction: column; padding: 8px; border-radius: 24px; }
[data-layout="grid"] .product-media { aspect-ratio: 1 / 1; width: 100%; border-radius: 18px; }
[data-layout="grid"] .product-body { display: flex; flex-direction: column; flex: 1; padding: 10px 6px 4px; }
[data-layout="grid"] .product h3 { font-size: 15px; }
[data-layout="grid"] .product-desc { font-size: 12.5px; }
[data-layout="grid"] .tag-row { max-height: 22px; overflow: hidden; }
[data-layout="grid"] .product-foot { margin-top: auto; padding-top: 10px; }
[data-layout="grid"] .allergen-icons { font-size: 12px; }
@media (min-width: 640px) { [data-layout="grid"] .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { [data-layout="grid"] .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Boş durum */
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty-icon {
    width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 22px;
    display: grid; place-items: center; background: var(--surface-2); color: var(--muted);
}
.empty-icon .icon { width: 28px; height: 28px; }
.empty-icon.brand { background: var(--brand-soft); color: var(--brand-ink); }

/* ---------- Bilgi sayfası (/bilgi): konum, iletişim, saatler, Wi-Fi ---------- */
.page-bar {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 12px;
    padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid var(--line);
}
.page-bar .icon-btn { text-decoration: none; }
.page-bar-title { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.page-bar-title img { width: 34px; height: 34px; border-radius: 11px; object-fit: cover; }
.page-bar-title span { display: grid; line-height: 1.2; font-family: var(--font-head); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-bar-title small { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.about { max-width: var(--max); margin: 0 auto; padding: 20px 16px calc(32px + env(safe-area-inset-bottom)); animation: rise .5s var(--ease) both; }
.back-to-menu { margin-top: 16px; }

.info-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .info-place { grid-row: span 2; } }
.info-card {
    padding: 20px; border-radius: 24px; scroll-margin-top: 84px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-card h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.2; }
.info-address { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.map { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
@media (prefers-color-scheme: dark) { [data-theme="auto"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); } }
.map-placeholder {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center;
}
.map-placeholder small { color: var(--muted); font-size: 11.5px; }
.map-placeholder .btn { background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.directions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.directions .btn { flex: 1 1 auto; }

.contact-list { list-style: none; margin: 0 0 14px; padding: 0; }
.contact-list li + li { border-top: 1px dashed var(--line-strong); }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; text-decoration: none; }
.contact-list a > span { display: grid; line-height: 1.35; font-weight: 600; font-size: 15px; min-width: 0; }
.contact-list small { color: var(--muted); font-weight: 500; font-size: 12px; }
.contact-list b { font-size: 13.5px; font-weight: 650; color: var(--brand-ink); }
.contact-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.hours li { padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Alt bilgi ---------- */
.menu-footer { max-width: var(--max); margin: 0 auto; padding: 16px 16px calc(44px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--muted); }
.menu-footer a { color: var(--brand-ink); font-weight: 600; }
.legend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.legend summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; cursor: pointer; color: var(--text); font-weight: 650; font-size: 14px;
}
.legend summary::-webkit-details-marker { display: none; }
.legend-title { display: inline-flex; align-items: center; gap: 8px; }
.legend-chevron { transition: transform .25s var(--ease); color: var(--muted); }
.legend[open] .legend-chevron { transform: rotate(180deg); }
.legend > p { margin: 0 0 12px; }
.legend-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px;
}
.legend-list li { display: flex; gap: 8px; align-items: center; }
.legend-list span { width: 20px; text-align: center; }
.legend-note { margin: 14px 0 16px !important; }
.footer-notes { text-align: center; padding: 20px 8px 0; }
.footer-notes p { margin: 6px 0; }
.footer-brand { margin-top: 18px !important; font-family: var(--font-head); font-size: 15px; color: var(--text); opacity: .55; letter-spacing: .02em; }

/* ---------- Alt pencere ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-width: 640px; margin: 0 auto; max-height: 90vh; max-height: 90dvh; overflow-y: auto;
    background: var(--surface); border-radius: 30px 30px 0 0; box-shadow: var(--shadow-lg);
    transform: translateY(100%); transition: transform .4s var(--ease);
    padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain;
}
.sheet.is-open { pointer-events: auto; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { transform: translateY(0); }
.sheet-handle {
    position: absolute; top: 8px; left: 50%; z-index: 3; transform: translateX(-50%);
    width: 40px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--muted) 45%, transparent);
}
.sheet-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--surface) 75%, transparent); color: var(--text);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.sheet-body { padding: 32px 22px 26px; }
.sheet-body h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; padding-right: 40px; }
.sheet-body.text-center h2 { padding: 0; }
.sheet-body h3 {
    font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin: 24px 0 10px;
}
.sheet-hero { width: 100%; aspect-ratio: 4 / 3; max-height: 340px; object-fit: cover; }
.sheet-hero + .sheet-body { padding-top: 20px; }
.sheet-price { display: inline-block; font-size: 18px; font-weight: 750; color: var(--brand-ink); margin: 8px 0 2px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); }
.sheet-desc { color: var(--muted); margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.sheet-alert {
    display: flex; align-items: center; gap: 8px;
    margin: 14px 0 0; padding: 11px 14px; border-radius: 14px; font-weight: 600; font-size: 14px;
    background: color-mix(in srgb, #f59e0b 16%, var(--surface)); color: #b45309;
}
.facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.fact {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: var(--surface-2);
}
.allergen-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.allergen-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px;
}
.allergen-list .ic { font-size: 18px; }
.allergen-list .lvl { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.lvl-contains { color: #dc2626; background: color-mix(in srgb, #dc2626 12%, var(--surface)); }
.lvl-may { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, var(--surface)); }
.no-allergen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #16a34a 10%, var(--surface)); color: #15803d; font-size: 14px; font-weight: 600; }
.option-group { border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-bottom: 10px; }
.option-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.option-group-head small { color: var(--muted); font-weight: 500; font-size: 12px; }
.option-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 7px 0; border-top: 1px dashed var(--line); }
.option-row:first-of-type { border-top: 0; }
.option-row .delta { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.option-row .oa { font-size: 13px; margin-left: 4px; }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 18px 0 0; text-align: left; }
.hint .icon { margin-top: 1px; }

.allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 14px; }
.allergen-toggle input, .tag-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.allergen-toggle span {
    display: flex; align-items: center; gap: 9px; cursor: pointer;
    padding: 11px 12px; border-radius: 14px; background: var(--surface-2); border: 1.5px solid transparent;
    font-size: 14px; font-weight: 600; transition: all .15s;
}
.allergen-toggle b { font-size: 18px; font-weight: 400; }
.allergen-toggle input:checked + span { border-color: #dc2626; background: color-mix(in srgb, #dc2626 10%, var(--surface)); }
.allergen-toggle input:checked + span::after { content: "✕"; margin-left: auto; color: #dc2626; font-size: 12px; }
.allergen-toggle input:focus-visible + span, .tag-toggle input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-toggle span {
    display: inline-block; padding: 9px 15px; border-radius: 999px; cursor: pointer;
    background: var(--surface-2); font-size: 14px; font-weight: 600; border: 1.5px solid transparent;
}
.tag-toggle input:checked + span { border-color: var(--tag); background: var(--tag); color: #fff; }

.switch-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 12px; padding: 13px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; font-weight: 500; cursor: pointer;
}
.switch {
    appearance: none; -webkit-appearance: none; flex: none; margin: 0;
    width: 48px; height: 28px; border-radius: 14px; background: color-mix(in srgb, var(--muted) 35%, transparent);
    position: relative; cursor: pointer; transition: background .2s;
}
.switch::after {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: 22px; height: 22px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease);
}
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(20px); }

.sheet-actions {
    display: flex; gap: 10px; margin: 22px -22px -26px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    position: sticky; bottom: 0; background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none;
    font-weight: 700; font-size: 15px; padding: 0 20px;
    transition: transform .15s, filter .15s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-primary { background: var(--brand); color: var(--brand-contrast); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-block { width: 100%; }
.btn-compact { flex: none; height: 42px; padding: 0 16px; font-size: 14px; border-radius: 14px; }
.btn .icon { width: 17px; height: 17px; }
.stack-buttons { display: grid; gap: 10px; margin-top: 18px; }

.wifi-line {
    display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px;
    background: var(--surface-2); border-radius: 14px; margin: 8px 0;
}
.wifi-line span { color: var(--muted); }
.wifi-line strong { word-break: break-all; text-align: right; }
.wifi-line + .btn { margin-top: 10px; }
.info-card .wifi-line:first-of-type { margin-top: 0; }


.toast {
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
    transform: translate(-50%, 140px); transition: transform .35s var(--ease);
    background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
    box-shadow: var(--shadow-lg); white-space: nowrap;
}
.toast.is-visible { transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { transform: rotate(-60deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 720px) {
    .hero { padding-top: 84px; padding-bottom: 96px; }
    .hero-logo { width: 100px; height: 100px; border-radius: 32px; }
    .quick-item { flex: 1 1 0; }
    .sheet-panel {
        bottom: auto; top: 50%; border-radius: 30px; max-height: 86vh;
        transform: translateY(-46%) scale(.97); opacity: 0; transition: transform .3s var(--ease), opacity .2s;
    }
    .sheet-small { max-width: 460px; }
    .sheet.is-open .sheet-panel { transform: translateY(-50%) scale(1); opacity: 1; }
    .sheet-handle { display: none; }
    .sheet-actions { margin-bottom: -26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
.sheet-close:focus { outline: none; }
.sheet-close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
