/* ================================================================
   PUBLIC MENU — v2 Refined
   Glassmorphism, modern tipografi, soft shadow, hover lift, skeleton
   ================================================================ */

:root {
    --m-primary:    #f97316;
    --m-primary-2:  #ea580c;
    --m-primary-soft: rgba(249, 115, 22, 0.18);
    --m-price:      #dc2626;
    --m-price-2:    #b91c1c;
    --m-gold:       #fbbf24;
}

/* DARK (default) */
body.menu-body {
    --bg:        #0c121e;
    --bg-2:      #131c2e;
    --bg-3:      #1a2540;
    --surface:   #1f2b48;
    --surface-2: #283656;
    --border:    rgba(255,255,255,0.08);
    --border-2:  rgba(255,255,255,0.12);
    --text:      #f8fafc;
    --text-2:    #e2e8f0;
    --text-3:    #cbd5e1;
    --muted:     #94a3b8;
    --shadow-color: 0 0 0;
}
body.menu-body[data-menu-theme="light"] {
    --bg:        #fafbff;
    --bg-2:      #ffffff;
    --bg-3:      #f5f7fb;
    --surface:   #f1f4f9;
    --surface-2: #e5e9f0;
    --border:    rgba(15, 23, 42, 0.08);
    --border-2:  rgba(15, 23, 42, 0.14);
    --text:      #0f172a;
    --text-2:    #1e293b;
    --text-3:    #475569;
    --muted:     #64748b;
    --shadow-color: 15 23 42;
}

/* ================== BASE ================== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body.menu-body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--menu-font, 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
    letter-spacing: -0.005em;
    /* clip: yatay taşmayı kırpar ama YENİ containing block oluşturmaz —
       fixed barlar viewport'a bağlı kalır. hidden'da mobil Chrome/Safari
       fixed elementleri bu block'a bağlıyor ve swipe transform sırasında
       fixed bar'lar içerikle birlikte kayıyordu. */
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Subtle radial accent on background */
body.menu-body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      radial-gradient(circle at 15% 8%, rgba(249,115,22,0.05), transparent 35%),
      radial-gradient(circle at 85% 92%, rgba(220,38,38,0.04), transparent 40%);
}

/* ================== TOPBAR (glassmorphism) ================== */
.topbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(12, 18, 30, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
body.menu-body[data-menu-theme="light"] .topbar { background: rgba(255,255,255,0.78); }

.topbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px;
    max-width: 1600px; margin: 0 auto;
    min-height: 64px;
}
@media (min-width: 768px) {
    .topbar-inner { padding: 12px 32px; min-height: 72px; }
}

.tb-logo {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.tb-logo .logo-box {
    width: 48px; height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(var(--shadow-color), 0.15);
}
@media (min-width: 768px) { .tb-logo .logo-box { width: 56px; height: 56px; } }
.tb-logo .logo-box img { width: 100%; height: 100%; object-fit: cover; }
.tb-logo .logo-box .ph {
    color: #fff; font-weight: 800; font-size: 22px;
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.tb-logo .restaurant-name {
    display: none;
    font-size: 17px; font-weight: 700;
    letter-spacing: -0.02em;
}
@media (min-width: 480px) { .tb-logo .restaurant-name { display: block; } }

/* Masaüstü search */
.tb-search-desk {
    display: none; position: relative;
    flex: 0 1 360px;
}
@media (min-width: 768px) { .tb-search-desk { display: block; } }
.tb-search-desk input {
    width: 100%; padding: 12px 44px 12px 44px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px; font-family: inherit;
    outline: none;
    transition: all 0.25s;
}
.tb-search-desk input::placeholder { color: var(--muted); }
.tb-search-desk input:focus {
    border-color: var(--m-primary);
    box-shadow: 0 0 0 4px var(--m-primary-soft);
    background: var(--bg);
}
.tb-search-desk .icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none;
}

.tb-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.tb-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;  /* WCAG 2.5.5 — minimum touch target */
    background: var(--surface);
    color: var(--text-2);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.tb-btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.tb-btn:active { transform: scale(0.92); }
.tb-btn .badge {
    position: absolute; top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bg-2);
}
.tb-btn .badge::before {
    content: ''; position: absolute; inset: 0;
    background: inherit; border-radius: 50%;
    animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 75%,100% { transform: scale(2.5); opacity: 0; } }

/* Tema butonu hep görünsün */
.tb-theme { display: inline-flex; }

/* ================== SHELL ================== */
.shell {
    position: relative; z-index: 1;
    padding-top: 72px;
    padding-bottom: 80px;
    min-height: 100vh;
}
@media (min-width: 768px) { .shell { padding-top: 80px; padding-bottom: 0; } }

/* ================== MOBİL: KATEGORİ GRİDİ ================== */
.view-categories { display: block; padding: 16px 12px 24px; }
@media (min-width: 768px) { .view-categories { display: none; } }

/* ============== HERO STRIP (kompakt — sadece slogan/masa varsa) ============== */
.hero-strip {
    margin: 14px 4px 14px;
    padding: 12px 16px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-strip-text {
    margin: 0;
    color: var(--text-3);
    font-size: 13px;
    font-style: italic;
    flex: 1; min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hero-strip-table {
    display: inline-block;
    padding: 5px 12px;
    background: var(--m-primary-soft);
    color: var(--m-primary);
    font-weight: 700;
    font-size: 12px;
    border-radius: 999px;
    flex-shrink: 0;
}

/* ============== ÖNE ÇIKAN ŞERİDİ ============== */
.featured-strip {
    margin: 0 0 18px;
}
.featured-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4px 10px;
}
.featured-head h3 {
    margin: 0;
    color: var(--text); font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em;
}
.featured-scroll {
    display: flex; gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.featured-scroll::-webkit-scrollbar { display: none; }
.featured-item {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: left;
    padding: 0;
}
.featured-item:hover { transform: translateY(-3px); border-color: var(--m-primary); box-shadow: 0 12px 24px -6px rgba(var(--shadow-color), 0.4); }
.featured-item:active { transform: scale(0.96); }

.featured-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface);
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.featured-item:hover .featured-img img { transform: scale(1.08); }
.featured-img .ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 32px;
}
.featured-price {
    position: absolute; bottom: 6px; right: 6px;
    background: linear-gradient(135deg, var(--m-price), var(--m-price-2));
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700; font-size: 11px;
    box-shadow: 0 4px 10px -2px rgba(220,38,38,0.5);
}
.featured-name {
    padding: 8px 10px;
    color: var(--m-primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============== SECTION BAŞLIĞI ============== */
.section-head {
    padding: 4px 4px 12px;
    display: flex; align-items: center; justify-content: space-between;
}
.section-head h2 {
    margin: 0;
    color: var(--text); font-size: 16px; font-weight: 700;
    letter-spacing: -0.01em;
}

/* ============== KATEGORİ ÜRÜN SAYISI BADGE ============== */
.cat-count {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 2;
    min-width: 22px; height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ============== FOOTER ============== */
.menu-footer {
    margin: 24px 4px 16px;
    padding: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--border);
}
.menu-footer p { margin: 2px 0; }
.menu-footer strong { color: var(--m-primary); font-weight: 700; }

.h-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
    margin: 0 16px 14px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 4px;
}

.cat-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-2);
    cursor: pointer;
    border: 1.5px solid var(--m-primary);
    box-shadow:
        0 4px 14px -4px rgba(var(--shadow-color), 0.4),
        0 0 0 0 var(--m-primary-soft);
    transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.cat-tile::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(249,115,22,0.15) 100%);
    z-index: 1; pointer-events: none;
    opacity: 0; transition: opacity 0.3s;
}
.cat-tile:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px -6px rgba(var(--shadow-color), 0.55), 0 0 0 4px var(--m-primary-soft); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile:active { transform: scale(0.96); }

/* Shimmer (kategori grid kart hover'da diagonal parlama) */
.cat-tile::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    z-index: 3;
    pointer-events: none;
    transition: left 0.6s ease;
}
.cat-tile:hover::after { left: 130%; }

.cat-tile-image {
    position: absolute; inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.cat-tile-image img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-tile:hover .cat-tile-image img { transform: scale(1.1); }
.cat-tile-image .ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    color: rgba(255,255,255,0.4);
}

.cat-tile-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.92) 70%);
    color: #fff;
    padding: 22px 8px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    z-index: 2;
}

/* ================== MOBİL: KATEGORİ TAB SHERİDİ ================== */
.mob-cat-tabs-wrap {
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 40;
    background: rgba(12, 18, 30, 0.75);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}
body.menu-body[data-menu-theme="light"] .mob-cat-tabs-wrap { background: rgba(255,255,255,0.85); }
@media (min-width: 768px) { .mob-cat-tabs-wrap { display: none; } }

.mob-cat-tabs {
    display: flex; gap: 6px;
    overflow-x: auto;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mob-cat-tabs::-webkit-scrollbar { display: none; }

.mob-cat-tab {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: var(--surface);
    color: var(--text-3);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.mob-cat-tab:hover { background: var(--surface-2); color: var(--text); }
.mob-cat-tab.active {
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    color: #fff;
    box-shadow: 0 6px 18px -4px rgba(249,115,22,0.55);
    transform: scale(1.02);
}
.mob-cat-tab .em { font-size: 14px; }

/* ================== MOBİL: ÜRÜN VIEW ================== */
.view-products {
    display: none;
    padding-top: 56px;
    /* Swipe transform'u burada clip — body'ye taşıp fixed bar'ları etkilemesin.
       overflow-x: clip yeni containing block oluşturmadığı için fixed
       elementler hala viewport'a bağlı. */
    overflow-x: clip;
}
.view-products.is-active { display: block; }
@media (min-width: 768px) {
    .view-products { display: block; padding-top: 0; }
    .view-products .products-cat-header-mob { display: none; }
}

.products-cat-header-mob {
    color: var(--m-primary);
    text-align: center;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 12px 12px 16px;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    box-shadow: 0 4px 12px -4px rgba(var(--shadow-color), 0.3);
}

/* ================== MASAÜSTÜ ================== */
.desk-shell { display: none; }
@media (min-width: 768px) {
    .desk-shell {
        display: flex;
        height: calc(100vh - 80px);
        max-width: 1600px;
        margin: 0 auto;
    }
    .desk-sidebar {
        width: 320px; flex-shrink: 0;
        background: var(--bg-2);
        border-right: 1px solid var(--border);
        padding: 24px;
        overflow-y: auto;
    }
    .desk-sidebar::-webkit-scrollbar { width: 6px; }
    .desk-sidebar::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
    .desk-main {
        flex: 1; padding: 28px 32px; overflow-y: auto;
        background: var(--bg);
    }
    .desk-main::-webkit-scrollbar { width: 8px; }
    .desk-main::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
}

.sidebar-title {
    display: flex; align-items: center; gap: 10px;
    color: var(--m-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.desk-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }

.desk-cat-btn {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 12px;
    color: var(--text);
    font-size: 13px; font-weight: 600;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
    cursor: pointer;
    letter-spacing: 0.01em;
}
.desk-cat-btn:hover {
    background: var(--surface-2);
    transform: translateX(4px);
    border-color: var(--border-2);
}
.desk-cat-btn.active {
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    border-color: var(--m-primary);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(249,115,22,0.55);
    transform: translateX(4px);
}
.desk-cat-btn .icon-box {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    color: var(--m-primary);
    font-size: 16px;
    transition: all 0.25s;
}
.desk-cat-btn.active .icon-box {
    background: rgba(255,255,255,0.22);
    border-color: transparent;
    color: #fff;
}
.desk-cat-btn .name {
    flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}
.desk-cat-btn .arrow { opacity: 0; transition: opacity 0.25s, transform 0.25s; transform: translateX(-4px); }
.desk-cat-btn.active .arrow { opacity: 1; transform: translateX(0); }

/* ================== ÜRÜN GRİDİ ================== */
.products-cat-header {
    color: var(--m-primary);
    text-align: center;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    background: var(--bg-2);
    border-radius: 14px;
    border: 1px solid var(--border-2);
    box-shadow: 0 4px 16px -6px rgba(var(--shadow-color), 0.25);
    display: inline-flex; align-items: center; gap: 10px; justify-content: center;
    width: 100%;
}
@media (max-width: 767px) { .products-cat-header { display: none; } }

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 12px;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); padding: 0; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.prod-card {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    display: flex; flex-direction: column;
    cursor: pointer;
    box-shadow: 0 2px 8px -2px rgba(var(--shadow-color), 0.18);
}
.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -10px rgba(var(--shadow-color), 0.5);
    border-color: var(--m-primary);
}
.prod-card:active { transform: translateY(-2px) scale(0.98); }

/* Shimmer (ürün kart hover'da) */
.prod-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: skewX(-22deg);
    z-index: 4;
    pointer-events: none;
    transition: left 0.7s ease;
}
.prod-card:hover::after { left: 130%; }

.prod-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface);
}
.prod-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-card:hover .prod-image img { transform: scale(1.08); }
.prod-image .ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
}
.prod-image .ph svg { width: 56px; height: 56px; opacity: 0.4; }

.prod-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35));
    pointer-events: none;
    opacity: 0; transition: opacity 0.3s;
}
.prod-card:hover .prod-image::after { opacity: 1; }

.prod-price {
    position: absolute;
    bottom: 10px; right: 10px;
    background: linear-gradient(135deg, var(--m-price), var(--m-price-2));
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.55);
    z-index: 1;
    letter-spacing: 0.02em;
}
.prod-price .cur { opacity: 0.85; margin-right: 2px; font-size: 11px; }

.prod-body {
    padding: 14px 14px 16px;
    text-align: center;
    background: var(--bg-2);
    flex: 1;
    display: flex; flex-direction: column;
}
.prod-name {
    margin: 0 0 4px;
    color: var(--m-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    line-height: 1.3;
}
.prod-sub {
    margin: 0 0 4px;
    color: var(--text-3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
    opacity: 0.85;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.featured-mark {
    position: absolute;
    top: 8px; left: 8px;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.85));
    color: var(--m-gold);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1;
}

/* ================== BOTTOM NAV (glassmorphism) ================== */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(12, 18, 30, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-around; align-items: center;
    padding: 8px 4px env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .bottom-nav { display: none; } }
body.menu-body[data-menu-theme="light"] .bottom-nav { background: rgba(255,255,255,0.85); }

.bn-btn {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px;
    background: transparent; border: none;
    color: var(--text-3);
    font-size: 11px; font-weight: 600;
    transition: color 0.2s, transform 0.15s;
    position: relative;
}
.bn-btn::before {
    content: ''; position: absolute; top: 4px;
    width: 28px; height: 3px;
    background: var(--m-primary);
    border-radius: 0 0 4px 4px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.bn-btn.active { color: var(--m-primary); }
.bn-btn.active::before { transform: scaleX(1); }
.bn-btn:active { transform: scale(0.92); }
.bn-btn svg { width: 22px; height: 22px; }

/* ================== DRAWER ================== */
.drawer {
    position: fixed; inset: 0;
    z-index: 100;
    display: none;
}
.drawer.is-open { display: block; }
.drawer-bg {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    animation: fade-in 0.25s ease;
}
.drawer-panel {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 92%; max-width: 360px;
    background: var(--bg-2);
    box-shadow: -12px 0 40px rgba(0,0,0,0.4);
    display: flex; flex-direction: column;
    animation: slide-in-r 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
    overflow-y: auto;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-r { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-head h2 {
    margin: 0;
    color: var(--m-primary);
    font-size: 18px; font-weight: 700;
    letter-spacing: -0.01em;
}
.drawer-close {
    background: var(--surface);
    border: 1px solid var(--border-2);
    width: 38px; height: 38px;
    border-radius: 10px;
    color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.drawer-close:hover { background: var(--surface-2); transform: scale(1.05); }

.drawer-body { padding: 16px; flex: 1; }

.dr-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}
.dr-section h3 {
    margin: 0 0 12px;
    color: var(--m-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.dr-section p {
    margin: 0 0 12px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.5;
}
.dr-section .row {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-2);
    font-size: 13px;
    padding: 6px 0;
    transition: color 0.2s;
}
.dr-section .row:hover { color: var(--m-primary); }
.dr-section .row svg { width: 16px; height: 16px; color: var(--m-primary); flex-shrink: 0; }

.hours-list { display: flex; flex-direction: column; gap: 6px; }
.hours-list .hr {
    display: flex; justify-content: space-between;
    color: var(--text-2);
    font-size: 13px;
    padding: 4px 0;
}
.hours-list .hr .day { font-weight: 500; }
.hours-list .closed { color: var(--muted); font-style: italic; }

.social-icons {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.social-icons a {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.social-icons a:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }
.social-icons svg { width: 20px; height: 20px; }
.s-fb { background: #1e293b; color: #1877f2; }
.s-ig { background: #1e293b; color: #e4405f; }
.s-tw { background: #1e293b; color: #1da1f2; }
.s-yt { background: #1e293b; color: #ff0000; }
.s-tt { background: #1e293b; color: #fff; }
.s-ws { background: #1e293b; color: #25d366; }
body.menu-body[data-menu-theme="light"] .s-fb { background: #e6f2ff; }
body.menu-body[data-menu-theme="light"] .s-ig { background: #fce7eb; }
body.menu-body[data-menu-theme="light"] .s-tw { background: #e6f7ff; }
body.menu-body[data-menu-theme="light"] .s-yt { background: #ffebeb; }
body.menu-body[data-menu-theme="light"] .s-tt { background: #1f2937; }
body.menu-body[data-menu-theme="light"] .s-ws { background: #e7faf0; }

/* ================== DİL DRAWER ================== */
.lang-list { display: flex; flex-direction: column; gap: 8px; }
.lang-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px; font-weight: 600;
    transition: all 0.2s;
}
.lang-item:hover { background: var(--surface-2); border-color: var(--m-primary); transform: translateX(2px); }
.lang-item.active {
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    border-color: var(--m-primary);
    color: #fff;
    box-shadow: 0 6px 16px -4px rgba(249,115,22,0.5);
}
.lang-item .flag {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}
.lang-item .flag svg { width: 100%; height: 100%; display: block; }
.lang-item .flag-text {
    font-size: 11px; font-weight: 700;
    background: var(--surface-2); color: var(--text);
    padding: 2px 6px; border-radius: 3px;
}

/* ================== ARAMA OVERLAY ================== */
.search-overlay {
    position: fixed; inset: 64px 0 0 0;
    z-index: 45;
    background: rgba(12, 18, 30, 0.96);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    display: none; flex-direction: column;
    padding: 16px;
}
body.menu-body[data-menu-theme="light"] .search-overlay { background: rgba(255,255,255,0.96); }
.search-overlay.is-open { display: flex; animation: fade-in 0.2s ease; }
@media (min-width: 768px) { .search-overlay { display: none !important; } }

.search-overlay .input-wrap {
    position: relative;
    margin-bottom: 14px;
}
.search-overlay-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px; font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
.search-overlay-input:focus { border-color: var(--m-primary); box-shadow: 0 0 0 4px var(--m-primary-soft); }
.search-overlay .input-wrap .ic-l {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--muted);
}
.search-overlay .input-wrap .ic-r {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: transparent; border: none;
    color: var(--text-3);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.search-overlay .input-wrap .ic-r:hover { background: var(--surface); }

.search-results-info {
    color: var(--text-3); font-size: 13px;
    padding: 8px 4px;
}

#search-results {
    overflow-y: auto; flex: 1;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}

.search-result-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 8px;
    transition: all 0.2s;
    cursor: pointer;
}
.search-result-item:hover { background: var(--surface); border-color: var(--m-primary); transform: translateY(-2px); }
.search-result-item:active { transform: scale(0.98); }
.search-result-item .img {
    width: 64px; height: 64px;
    border-radius: 12px;
    overflow: hidden; flex-shrink: 0;
    background: var(--surface);
}
.search-result-item .img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-item .info { flex: 1; min-width: 0; }
.search-result-item .info h4 {
    margin: 0 0 3px;
    color: var(--text);
    font-size: 14px; font-weight: 700;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-result-item .info p {
    margin: 0; color: var(--text-3);
    font-size: 12px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.search-result-item .price {
    background: linear-gradient(135deg, var(--m-price), var(--m-price-2));
    color: #fff;
    padding: 7px 14px;
    border-radius: 10px;
    font-weight: 700; font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(220, 38, 38, 0.4);
}

/* ================== WAITER FAB ================== */
.waiter-fab {
    position: fixed;
    bottom: 80px; right: 16px;
    z-index: 60;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    color: #fff;
    border: none;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px -6px rgba(249,115,22,0.55);
    animation: pulse-call 2.5s infinite;
}
@media (min-width: 768px) { .waiter-fab { bottom: 28px; right: 28px; width: 64px; height: 64px; } }
.waiter-fab svg { width: 26px; height: 26px; }
.waiter-fab:hover { transform: scale(1.06); }
.waiter-fab:active { transform: scale(0.94); }
@keyframes pulse-call {
    0%, 100% { box-shadow: 0 12px 28px -6px rgba(249,115,22,0.55), 0 0 0 0 rgba(249,115,22,0.5); }
    50%      { box-shadow: 0 12px 28px -6px rgba(249,115,22,0.55), 0 0 0 18px rgba(249,115,22,0); }
}

/* ================== M-MODAL (waiter) ================== */
.m-modal {
    position: fixed; inset: 0;
    z-index: 200;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.m-modal.is-open { display: flex; }
.m-modal-bg {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}
.m-modal-dialog {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    width: 100%; max-width: 420px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
    animation: pop-in 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.m-modal-head {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.m-modal-head h3 { margin: 0; color: var(--m-primary); font-size: 17px; font-weight: 700; }
.m-modal-body { padding: 22px; }
.m-modal-body label { display: block; color: var(--text-2); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.m-modal-body textarea {
    width: 100%; padding: 14px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 12px;
    color: var(--text); font-family: inherit; font-size: 14px;
    resize: vertical; outline: none;
    min-height: 80px;
    transition: all 0.2s;
}
.m-modal-body textarea:focus { border-color: var(--m-primary); box-shadow: 0 0 0 4px var(--m-primary-soft); }
.m-modal-foot {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex; gap: 10px; justify-content: flex-end;
    background: var(--bg);
}
.m-btn {
    padding: 11px 22px;
    border-radius: 11px;
    font-weight: 600; font-size: 14px;
    border: 1.5px solid var(--border-2);
    background: var(--surface); color: var(--text);
    cursor: pointer; transition: all 0.2s;
}
.m-btn:hover { background: var(--surface-2); }
.m-btn:active { transform: scale(0.97); }
.m-btn.primary {
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    color: #fff; border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(249,115,22,0.45);
}
.m-btn.primary:hover { box-shadow: 0 10px 24px -4px rgba(249,115,22,0.6); }

/* ================== TOAST ================== */
.m-toast-host {
    position: fixed; left: 50%; bottom: 100px;
    transform: translateX(-50%);
    z-index: 999;
    pointer-events: none;
    display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.m-toast {
    padding: 12px 20px;
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    font-size: 14px; font-weight: 500;
    pointer-events: auto;
    animation: toast-up 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
    max-width: 90vw;
    backdrop-filter: blur(12px);
}
.m-toast.success { border-color: #10b981; color: #d1fae5; }
.m-toast.error   { border-color: #ef4444; color: #fee2e2; }
@keyframes toast-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ================== EMPTY ================== */
.m-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 14px;
}
.m-empty svg { width: 56px; height: 56px; margin: 0 auto 16px; opacity: 0.4; }

/* ================== ÜRÜN DETAY MODAL ================== */
.prod-modal {
    position: fixed; inset: 0;
    z-index: 250;
    display: none; align-items: center; justify-content: center;
    padding: 16px;
}
.prod-modal.is-open { display: flex; }
.prod-modal-bg {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    animation: fade-in 0.25s ease;
}
.prod-modal-card {
    position: relative;
    width: 100%; max-width: 420px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 60px -12px rgba(0,0,0,0.6);
    animation: pop-in 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.prod-modal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 240px;
    background: var(--surface);
    overflow: hidden;
}
.prod-modal-image img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.prod-modal-image .ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 56px;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
}
.prod-modal-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65));
    pointer-events: none;
}
.prod-modal-image .price-tag {
    position: absolute;
    bottom: 12px; right: 12px;
    background: linear-gradient(135deg, var(--m-price), var(--m-price-2));
    color: #fff;
    padding: 7px 16px;
    border-radius: 10px;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 8px 20px -4px rgba(220,38,38,0.55);
    z-index: 1;
}
.prod-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.55);
    color: #fff; border: none;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 2;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.15s;
}
.prod-modal-close:hover { background: rgba(0,0,0,0.8); transform: scale(1.1); }

.prod-modal-body { padding: 20px 22px 14px; }
.prod-modal-title {
    color: var(--m-primary);
    font-weight: 700; font-size: 19px;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.prod-modal-cat {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 8px;
}
.prod-modal-cat::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: var(--m-primary);
    box-shadow: 0 0 8px var(--m-primary);
}
.prod-modal-desc {
    color: var(--text-3);
    font-size: 13px; line-height: 1.55;
    margin: 8px 0 0;
}

.prod-modal-rate {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.prod-modal-rate h4 {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.prod-modal-rate-buttons { display: flex; gap: 10px; }
.rate-btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    border-radius: 12px;
    color: var(--text-2);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.rate-btn svg { width: 16px; height: 16px; }
.rate-btn:hover:not(:disabled) {
    background: var(--surface-2);
    transform: translateY(-2px);
}
.rate-btn.like-active {
    background: rgba(16, 185, 129, 0.16);
    border-color: #10b981;
    color: #34d399;
}
.rate-btn.dislike-active {
    background: rgba(239, 68, 68, 0.16);
    border-color: #ef4444;
    color: #f87171;
}
.rate-btn.like:hover:not(:disabled) { color: #10b981; border-color: #10b981; }
.rate-btn.dislike:hover:not(:disabled) { color: #ef4444; border-color: #ef4444; }
.rate-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.prod-modal-foot { padding: 12px 22px 20px; }
.prod-modal-close-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700; font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 16px -4px rgba(249,115,22,0.45);
    letter-spacing: 0.02em;
}
.prod-modal-close-btn:hover { box-shadow: 0 10px 24px -4px rgba(249,115,22,0.6); transform: translateY(-1px); }
.prod-modal-close-btn:active { transform: scale(0.97); }

/* ================== ANİMASYONLAR ================== */
@keyframes pop-in {
    0%   { opacity: 0; transform: scale(0.85) translateY(8px); }
    60%  { transform: scale(1.02) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-out-cross {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-8px); }
}
@keyframes fade-in-cross {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes img-reveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes tab-bounce {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.14); }
    100% { transform: scale(1.02); }
}
@keyframes skeleton-shimmer {
    0%   { background-position: -260px 0; }
    100% { background-position: calc(260px + 100%) 0; }
}

/* Stagger animasyonları */
.cat-tile { animation: pop-in 0.45s cubic-bezier(0.34, 1.3, 0.64, 1) backwards; }
.cat-tile:nth-child(1)  { animation-delay: 0.02s; }
.cat-tile:nth-child(2)  { animation-delay: 0.05s; }
.cat-tile:nth-child(3)  { animation-delay: 0.08s; }
.cat-tile:nth-child(4)  { animation-delay: 0.11s; }
.cat-tile:nth-child(5)  { animation-delay: 0.14s; }
.cat-tile:nth-child(6)  { animation-delay: 0.17s; }
.cat-tile:nth-child(7)  { animation-delay: 0.20s; }
.cat-tile:nth-child(8)  { animation-delay: 0.23s; }
.cat-tile:nth-child(9)  { animation-delay: 0.26s; }
.cat-tile:nth-child(10) { animation-delay: 0.29s; }
.cat-tile:nth-child(11) { animation-delay: 0.32s; }
.cat-tile:nth-child(12) { animation-delay: 0.35s; }
.cat-tile:nth-child(n+13) { animation-delay: 0.38s; }

.prod-card { animation: fade-up 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) backwards; }
.prod-card:nth-child(1)  { animation-delay: 0.02s; }
.prod-card:nth-child(2)  { animation-delay: 0.05s; }
.prod-card:nth-child(3)  { animation-delay: 0.08s; }
.prod-card:nth-child(4)  { animation-delay: 0.11s; }
.prod-card:nth-child(5)  { animation-delay: 0.14s; }
.prod-card:nth-child(6)  { animation-delay: 0.17s; }
.prod-card:nth-child(7)  { animation-delay: 0.20s; }
.prod-card:nth-child(8)  { animation-delay: 0.23s; }
.prod-card:nth-child(n+9) { animation-delay: 0.26s; }

.desk-cat-btn { animation: fade-up 0.3s ease backwards; }
.desk-cat-list li:nth-child(1)  .desk-cat-btn { animation-delay: 0.05s; }
.desk-cat-list li:nth-child(2)  .desk-cat-btn { animation-delay: 0.08s; }
.desk-cat-list li:nth-child(3)  .desk-cat-btn { animation-delay: 0.11s; }
.desk-cat-list li:nth-child(4)  .desk-cat-btn { animation-delay: 0.14s; }
.desk-cat-list li:nth-child(5)  .desk-cat-btn { animation-delay: 0.17s; }
.desk-cat-list li:nth-child(6)  .desk-cat-btn { animation-delay: 0.20s; }
.desk-cat-list li:nth-child(n+7) .desk-cat-btn { animation-delay: 0.23s; }

.view-switching-out { animation: fade-out-cross 0.18s cubic-bezier(0.4,0,0.2,1) forwards; }
.view-switching-in  { animation: fade-in-cross  0.25s cubic-bezier(0.4,0,0.2,1) backwards; }

.mob-cat-tab.is-just-activated,
.desk-cat-btn.is-just-activated { animation: tab-bounce 0.4s cubic-bezier(0.34, 1.3, 0.64, 1) forwards; }

/* Image lazy reveal */
.prod-image img.is-loading,
.cat-tile-image img.is-loading,
.search-result-item .img img.is-loading,
.prod-modal-image img.is-loading { opacity: 0; }
.prod-image img.is-loaded,
.cat-tile-image img.is-loaded,
.search-result-item .img img.is-loaded,
.prod-modal-image img.is-loaded { animation: img-reveal 0.18s ease-out forwards; }

/* Topbar slide on scroll */
.topbar { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.mob-cat-tabs-wrap { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }

/* ================== MOBİL FIXED BAR FLICKER FIX ==================
   Mobil tarayıcılarda backdrop-filter + alttaki içerik animasyonu, fixed
   barların her frame'de yeniden boyanmasına ve "anlık yok olup geliyor"
   gibi flicker oluşturmasına yol açıyor. Mobilde blur'ı kaldırıp
   opaque'a yakın background ile değiştiriyoruz. Desktop'ta blur kalır. */
@media (max-width: 767px) {
    .topbar,
    .mob-cat-tabs-wrap,
    .bottom-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .topbar { background: rgba(12, 18, 30, 0.96); }
    .mob-cat-tabs-wrap { background: rgba(12, 18, 30, 0.96); }
    .bottom-nav { background: rgba(12, 18, 30, 0.96); }
    body.menu-body[data-menu-theme="light"] .topbar,
    body.menu-body[data-menu-theme="light"] .mob-cat-tabs-wrap,
    body.menu-body[data-menu-theme="light"] .bottom-nav { background: rgba(255, 255, 255, 0.98); }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Skeleton loader - kart placeholder'ları */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
    background-size: 260px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: 8px;
}

/* Restoran adı bağlantı stili */
.brand-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scrollbar genel görünümü (özel scroller dışı) */
body.menu-body::-webkit-scrollbar { width: 0; }
