/* Premium Dark Glassmorphism Design System for Restaurant POS */

:root {
    --bg-dark: #090a0f;
    --bg-darker: #050608;
    --panel-bg: rgba(22, 28, 36, 0.65);
    --panel-bg-solid: #161c24;
    --border-glow: rgba(255, 102, 0, 0.15);
    --border-light: rgba(255, 255, 255, 0.06);
    --primary-orange: #ff6600;
    --primary-red: #d32f2f;
    --text-white: #ffffff;
    --text-muted: #919eab;
    --text-orange: #ffab00;
    --success-green: #22c55e;
    --warning-yellow: #ffc107;
    --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-blur: blur(16px);
}

/* Core Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 15% 15%, rgba(255, 102, 0, 0.07) 0%, transparent 40%),
                      radial-gradient(circle at 85% 85%, rgba(211, 47, 47, 0.07) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 0, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 102, 0, 0.2);
    box-shadow: 0 12px 40px 0 rgba(255, 102, 0, 0.08);
}

/* Interactive Glowing Form Controls */
.form-glass {
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white) !important;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.25s ease;
}

.form-glass:focus {
    background: rgba(11, 12, 16, 0.85);
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
    outline: none;
}

/* Buttons */
.btn-glow-orange {
    background: linear-gradient(135deg, var(--primary-orange), #ff4500);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-glow-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.45);
    opacity: 0.95;
    color: white;
}

.btn-glow-orange:active {
    transform: translateY(0);
}

.btn-glow-red {
    background: linear-gradient(135deg, var(--primary-red), #b71c1c);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.25);
    transition: all 0.3s ease;
}

.btn-glow-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.45);
    opacity: 0.95;
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--bg-darker);
    border-right: 1px solid var(--border-light);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-decoration: none;
}

.sidebar-logo i {
    font-size: 1.75rem;
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-orange);
}

.sidebar-link i {
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

/* Admin Dashboard Layout Content Wrapper */
.main-wrapper {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
}

@media (max-width: 1199.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-wrapper {
        margin-left: 0;
        padding: 1rem;
    }
}

/* POS Interface Styling */
.pos-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    height: calc(100vh - 120px);
}

.pos-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.pos-cart {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .pos-container {
        grid-template-columns: 1fr 320px;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .pos-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .pos-cart {
        height: 550px;
    }
}

/* Touch Friendly Cards */
.product-card {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    height: 140px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(211, 47, 47, 0.85);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.product-calories {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Table Grid Interface */
.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.25rem;
}

.restaurant-table {
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.restaurant-table:hover {
    transform: translateY(-5px) scale(1.03);
}

.table-empty {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-green);
    border-color: rgba(34, 197, 94, 0.3);
}
.table-empty:hover {
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.2);
}

.table-occupied {
    background: rgba(211, 47, 47, 0.1);
    color: #ff5252;
    border-color: rgba(211, 47, 47, 0.3);
}
.table-occupied:hover {
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.table-reserved {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-yellow);
    border-color: rgba(255, 193, 7, 0.3);
}
.table-reserved:hover {
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.table-bill_pending {
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
    border-color: rgba(0, 188, 212, 0.3);
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0.75; }
}

/* Category Slider */
.category-item {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-item:hover, .category-item.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Toast Container Overlay */
.toast-container-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Custom Additions for Extended Modules */

/* Delayed Cooking Cards Glow */
.bg-danger-glow {
    background: rgba(211, 47, 47, 0.15) !important;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.4) !important;
}

/* Pulsing Delay Animation */
.animate-pulse-slow {
    animation: pulse-slow 2s infinite ease-in-out;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
    }
    50% {
        opacity: 0.85;
        box-shadow: 0 0 25px rgba(211, 47, 47, 0.7);
    }
}

/* Toast Glow alerts */
.border-orange-glow {
    border-color: rgba(255, 102, 0, 0.5) !important;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.3) !important;
}

/* ============================================================
   Public Site Navbar & Footer (theme-consistent)
   ============================================================ */
.site-navbar {
    background: rgba(9, 10, 15, 0.78);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.site-navbar .navbar-brand {
    color: var(--text-white);
    font-size: 1.25rem;
    letter-spacing: 0.3px;
}
.site-navbar .navbar-brand .text-orange,
.text-orange { color: var(--primary-orange) !important; }

.site-navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.site-navbar .nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}
.site-navbar .nav-link.active {
    color: var(--primary-orange);
}
.site-navbar .navbar-toggler {
    border: 1px solid var(--border-light);
    padding: 0.35rem 0.6rem;
}
.site-navbar .navbar-toggler:focus { box-shadow: none; }

/* Footer */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}
.site-footer h6 {
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--primary-orange); }
.site-footer .footer-bottom {
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* ============================================================================
   PUBLIC THEME — "Közde dans eden alev"
   Aydınlık beyaz zemin + kan kırmızısı dominant + kor kıvılcımı aksanı.
   SCOPE: yalnızca body.theme-public altında. Admin paneli (admin.php)
   bu sınıfı ALMAZ — görünümü hiç değişmez. Hiçbir mevcut kural silinmedi;
   bu blok yalnızca public tarafı override eder.
   ============================================================================ */
body.theme-public {
    --pub-bg:        #fdfbf9;   /* sıcak beyaz / krem zemin */
    --pub-surface:   #ffffff;   /* kart yüzeyi */
    --pub-ink:       #1c1411;   /* antrasit-kahve metin */
    --pub-muted:     #7a6f69;   /* ikincil metin */
    --pub-line:      rgba(28, 20, 17, 0.10);
    --pub-red:       #d32029;   /* kan kırmızısı (dominant) */
    --pub-red-deep:  #9c1118;   /* köz kırmızısı (derin) */
    --pub-ember:     #ff7a18;   /* kor kıvılcımı (aksan, dozajlı) */
    --pub-glow:      rgba(211, 32, 41, 0.28);

    background-color: var(--pub-bg);
    background-image:
        radial-gradient(circle at 12% -5%, rgba(255, 122, 24, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 95% 8%, rgba(211, 32, 41, 0.08) 0%, transparent 42%);
    background-attachment: fixed;
    color: var(--pub-ink);
    font-family: 'Outfit', sans-serif;
}

/* Tipografi — display font (Bebas Neue) ekstrem ölçek kontrastı için */
body.theme-public h1,
body.theme-public .display-3,
body.theme-public .display-5 {
    font-family: 'Bebas Neue', 'Outfit', sans-serif;
    letter-spacing: 1px;
    line-height: 0.95;
}
body.theme-public h2,
body.theme-public h3,
body.theme-public h4,
body.theme-public h5,
body.theme-public h6 { color: var(--pub-ink); font-weight: 700; }

/* Bootstrap koyu-tema yardımcılarını public scope'ta aydınlığa çevir */
body.theme-public .text-white { color: var(--pub-ink) !important; }
body.theme-public .text-secondary,
body.theme-public .text-muted { color: var(--pub-muted) !important; }
body.theme-public .bg-dark,
body.theme-public .bg-darker { background: transparent !important; color: var(--pub-ink) !important; }
body.theme-public .border-secondary { border-color: var(--pub-line) !important; }
body.theme-public .text-orange,
body.theme-public [style*="--primary-orange"] { color: var(--pub-red) !important; }

/* Scrollbar — public taraf kırmızı */
body.theme-public ::-webkit-scrollbar-track { background: var(--pub-bg); }
body.theme-public ::-webkit-scrollbar-thumb { background: rgba(211, 32, 41, 0.35); }
body.theme-public ::-webkit-scrollbar-thumb:hover { background: var(--pub-red); }

/* Kartlar — glass yerine ışıklı beyaz yüzey + 3D yükselme */
body.theme-public .glass-panel {
    background: var(--pub-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--pub-line);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(28,20,17,0.04), 0 18px 40px -24px rgba(28,20,17,0.25);
    transform-style: preserve-3d;
}
body.theme-public .glass-panel:hover {
    border-color: rgba(211, 32, 41, 0.30);
    box-shadow: 0 20px 50px -20px var(--pub-glow);
    transform: translateY(-4px);
}

/* Form kontrolleri — aydınlık */
body.theme-public .form-glass,
body.theme-public .form-control,
body.theme-public .form-select {
    background: #fff;
    border: 1px solid var(--pub-line);
    color: var(--pub-ink) !important;
    border-radius: 12px;
}
body.theme-public .form-glass:focus,
body.theme-public .form-control:focus,
body.theme-public .form-select:focus {
    background: #fff;
    border-color: var(--pub-red);
    box-shadow: 0 0 0 4px rgba(211, 32, 41, 0.12);
}
body.theme-public .form-glass::placeholder { color: #b3a8a2; }
body.theme-public .input-group-text {
    background: #fff !important;
    border-color: var(--pub-line) !important;
    color: var(--pub-red) !important;
}

/* Butonlar — turuncu glow yerine köz kırmızısı glow */
body.theme-public .btn-glow-orange {
    background: linear-gradient(135deg, var(--pub-red), var(--pub-red-deep));
    box-shadow: 0 8px 22px -6px var(--pub-glow);
    position: relative;
    overflow: hidden;
}
body.theme-public .btn-glow-orange::after {
    /* shine sweep */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}
body.theme-public .btn-glow-orange:hover::after { transform: translateX(120%); }
body.theme-public .btn-glow-orange:hover {
    box-shadow: 0 12px 30px -6px var(--pub-glow);
    transform: translateY(-2px);
}
body.theme-public .btn-glass {
    background: #fff;
    border: 1px solid var(--pub-line);
    color: var(--pub-ink);
    border-radius: 12px;
}
body.theme-public .btn-glass:hover {
    background: #fff;
    border-color: var(--pub-red);
    color: var(--pub-red);
    transform: translateY(-2px);
}
body.theme-public .btn-outline-warning {
    color: var(--pub-red); border-color: var(--pub-red);
}
body.theme-public .btn-outline-warning:hover {
    background: var(--pub-red); border-color: var(--pub-red); color: #fff;
}

/* Kategori çipleri */
body.theme-public .category-item {
    background: #fff;
    border: 1px solid var(--pub-line);
    color: var(--pub-muted);
}
body.theme-public .category-item:hover,
body.theme-public .category-item.active {
    background: var(--pub-red);
    color: #fff;
    border-color: var(--pub-red);
    box-shadow: 0 6px 16px -4px var(--pub-glow);
}

/* Public navbar — aydınlık cam */
body.theme-public .site-navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pub-line);
    box-shadow: 0 6px 24px -16px rgba(28,20,17,0.4);
}
body.theme-public .site-navbar .navbar-brand,
body.theme-public .site-navbar .navbar-toggler i { color: var(--pub-ink) !important; }
body.theme-public .site-navbar .nav-link { color: var(--pub-muted); }
body.theme-public .site-navbar .nav-link:hover { color: var(--pub-ink); background: rgba(211,32,41,0.06); }
body.theme-public .site-navbar .nav-link.active { color: var(--pub-red); }

/* Footer — derin köz zemini (kontrast nefes) */
body.theme-public .site-footer {
    background: #18100e;
    border-top: 3px solid var(--pub-red);
    color: rgba(255,255,255,0.7);
}
body.theme-public .site-footer h6 { color: #fff; }
body.theme-public .site-footer a { color: rgba(255,255,255,0.7); }
body.theme-public .site-footer a:hover { color: var(--pub-ember); }
body.theme-public .site-footer .footer-bottom { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); }

/* Modal — aydınlık */
body.theme-public .modal-content.bg-dark {
    background: var(--pub-surface) !important;
    color: var(--pub-ink) !important;
    border: 1px solid var(--pub-line) !important;
    border-radius: 18px;
}
body.theme-public .modal-content.bg-dark .btn-close-white { filter: invert(1) grayscale(1); }

/* Login: hover-orange ve koyu input-group span'leri public'te kırmızı/aydınlık */
body.theme-public .hover-orange:hover { color: var(--pub-red) !important; }
body.theme-public .input-group-text.bg-dark {
    background: #fff !important;
    border-color: var(--pub-line) !important;
    color: var(--pub-red) !important;
}

/* İkon rozet kutuları (bg-orange bg-opacity-10) — kırmızıya */
body.theme-public .bg-orange { background-color: var(--pub-red) !important; }
body.theme-public .bg-orange.bg-opacity-10 { background-color: rgba(211, 32, 41, 0.10) !important; }

/* Vurgu çizgisi (başlık altı 60px bar) — kırmızı→kor degrade */
body.theme-public [style*="background-color: var(--primary-orange)"] {
    background: linear-gradient(90deg, var(--pub-red), var(--pub-ember)) !important;
}

/* ----- HERO: köz sahnesi ----- */
body.theme-public .ember-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 120%, #3a0d0a 0%, #1a0807 55%, #120505 100%) !important;
    color: #fff;
    isolation: isolate;
}
body.theme-public .ember-hero canvas.ember-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
body.theme-public .ember-hero > .container { position: relative; z-index: 2; }
body.theme-public .ember-hero h1,
body.theme-public .ember-hero .display-3,
body.theme-public .ember-hero .display-5 {
    color: #fff !important;
    text-shadow: 0 0 30px rgba(255, 122, 24, 0.55), 0 4px 18px rgba(0,0,0,0.6);
}
body.theme-public .ember-hero .text-white,
body.theme-public .ember-hero .text-secondary { color: rgba(255,255,255,0.82) !important; }
body.theme-public .ember-hero .text-orange { color: var(--pub-ember) !important; }
/* alttan közlü geçiş, içeri kayar */
body.theme-public .ember-hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(to top, var(--pub-bg), transparent);
    z-index: 1;
    pointer-events: none;
}

/* ----- Marka ismi: harf harf közden doğma + közlü parlama ----- */
body.theme-public .ember-title {
    position: relative;
    z-index: 2;
    display: inline-block;
    letter-spacing: 1px;
}
body.theme-public .ember-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px) scale(0.86);
    animation: emberBirth 0.7s cubic-bezier(.2,.7,.2,1) forwards;
    will-change: opacity, transform, filter;
    /* közden doğma anında sıcak parıltı, sonra beyaza oturur */
    color: #fff;
    text-shadow:
        0 0 18px rgba(255, 140, 40, 0.85),
        0 0 36px rgba(211, 32, 41, 0.55),
        0 4px 18px rgba(0,0,0,0.6);
}
@keyframes emberBirth {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(0.8);
        filter: blur(4px) brightness(2.4);
        text-shadow: 0 0 30px rgba(255,170,60,1), 0 0 60px rgba(255,90,20,0.9);
    }
    55% {
        opacity: 1;
        filter: blur(0) brightness(1.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) brightness(1);
    }
}
/* isim oturduktan sonra hafif nabız atan köz sıcaklığı */
body.theme-public .ember-title::after { content: none; }

@media (prefers-reduced-motion: reduce) {
    body.theme-public .ember-letter {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
}

body.theme-public .ember-hero .ember-canvas { z-index: 1; }
body.theme-public .ember-hero > .container { position: relative; z-index: 3; }

/* Köz bandı (menü başlığı) — statik köz zemini + kıvılcım dokusu */
body.theme-public .scene-band {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 120%, rgba(255,122,24,0.30), transparent 45%),
        radial-gradient(circle at 82% -20%, rgba(211,32,41,0.30), transparent 45%),
        radial-gradient(ellipse at 50% 50%, #2a0a08 0%, #16100e 60%, #120b09 100%);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.6), 0 24px 60px -30px var(--pub-glow);
    margin: 1rem 0;
}
/* yükselen kıvılcım dokusu (saf CSS, dekoratif) */
body.theme-public .ember-band::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 80%, rgba(255,180,80,0.9), transparent),
        radial-gradient(2px 2px at 40% 60%, rgba(255,122,24,0.8), transparent),
        radial-gradient(1.5px 1.5px at 65% 75%, rgba(255,210,120,0.9), transparent),
        radial-gradient(2px 2px at 80% 55%, rgba(255,122,24,0.7), transparent),
        radial-gradient(1.5px 1.5px at 55% 85%, rgba(255,180,80,0.8), transparent);
    opacity: 0.7;
    animation: emberRise 6s linear infinite;
    pointer-events: none;
}
@keyframes emberRise {
    from { transform: translateY(10px); opacity: 0.3; }
    50%  { opacity: 0.8; }
    to   { transform: translateY(-30px); opacity: 0; }
}
body.theme-public .scene-band .scene-band-content { position: relative; z-index: 3; }

/* ----- Orta boşluk dolgusu: dekoratif glow blob'lar ----- */
body.theme-public .ember-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
body.theme-public .ember-decor.red   { background: radial-gradient(circle, rgba(211,32,41,0.45), transparent 70%); }
body.theme-public .ember-decor.ember { background: radial-gradient(circle, rgba(255,122,24,0.40), transparent 70%); }
body.theme-public section { position: relative; }

/* ----- Section ayraçları: köz çizgisi + kıvılcım ----- */
body.theme-public .ember-divider {
    height: 2px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--pub-red) 30%, var(--pub-ember) 50%, var(--pub-red) 70%, transparent);
    box-shadow: 0 0 18px rgba(255,122,24,0.55);
    border-radius: 2px;
    position: relative;
}
body.theme-public .ember-divider::before {
    content: "\f7e4"; /* fire-flame-curved */
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: var(--pub-ember);
    background: var(--pub-bg);
    padding: 0 14px;
    font-size: 1rem;
    text-shadow: 0 0 14px rgba(255,122,24,0.8);
}

/* ----- İstatistik / değer şeridi (orta boşluk dolgusu) ----- */
body.theme-public .stat-strip {
    background: linear-gradient(135deg, #1a0c0a, #2a0e0b);
    border-radius: 22px;
    border: 1px solid rgba(255,122,24,0.18);
    box-shadow: 0 24px 60px -34px var(--pub-glow);
    color: #fff;
    position: relative;
    overflow: hidden;
}
body.theme-public .stat-strip::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255,122,24,0.18), transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(211,32,41,0.20), transparent 45%);
    pointer-events: none;
}
body.theme-public .stat-strip .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1;
    background: linear-gradient(180deg, #fff, var(--pub-ember));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-public .stat-strip .stat-label { color: rgba(255,255,255,0.72); letter-spacing: 0.5px; }

/* Bölüm başlığı süslemesi */
body.theme-public .section-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--pub-red); font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; font-size: .8rem;
}
body.theme-public .section-eyebrow::before,
body.theme-public .section-eyebrow::after {
    content: ""; width: 26px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--pub-ember));
}
body.theme-public .section-eyebrow::after { transform: scaleX(-1); }

/* ============================================================
   POPÜLER ÜRÜNLER — büyük görselli köz kartları
   ============================================================ */
body.theme-public .ember-section {
    position: relative;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,122,24,0.10), transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(211,32,41,0.10), transparent 42%),
        linear-gradient(180deg, #fff6f0, #fdeee6);
    overflow: hidden;
}
/* köz doku katmanı (zeminde sönen kıvılcımlar) */
body.theme-public .ember-section::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 30%, rgba(255,122,24,0.35), transparent),
        radial-gradient(2px 2px at 70% 20%, rgba(211,32,41,0.30), transparent),
        radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,150,40,0.30), transparent),
        radial-gradient(2px 2px at 35% 80%, rgba(255,122,24,0.25), transparent);
    opacity: 0.7;
    pointer-events: none;
}
body.theme-public .ember-section > * { position: relative; z-index: 1; }

/* Büyük görselli köz kartı */
body.theme-public .ember-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    box-shadow: 0 24px 50px -26px rgba(28,20,17,0.5);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
    cursor: pointer;
}
body.theme-public .ember-card .ember-card-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
    z-index: 0;
}
body.theme-public .ember-card::after {
    /* köz overlay — alttan koyu, üstte iştah açan ısı */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,8,6,0) 25%, rgba(20,8,6,0.55) 60%, rgba(16,6,5,0.92) 100%);
    z-index: 1;
    transition: background 0.35s ease;
}
body.theme-public .ember-card:hover { box-shadow: 0 30px 60px -22px var(--pub-glow); }
body.theme-public .ember-card:hover .ember-card-img { transform: scale(1.08); }
body.theme-public .ember-card:hover::after {
    background: linear-gradient(180deg, rgba(211,32,41,0.10) 0%, rgba(20,8,6,0.5) 55%, rgba(16,6,5,0.95) 100%);
}
body.theme-public .ember-card .ember-card-body {
    position: relative; z-index: 2;
    padding: 1.4rem;
}
body.theme-public .ember-card .ember-card-body h5 {
    color: #fff; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
body.theme-public .ember-card .ember-card-body p { color: rgba(255,255,255,0.82); }
/* fiyat rozeti — köz */
body.theme-public .ember-price {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    background: linear-gradient(135deg, var(--pub-red), var(--pub-red-deep));
    color: #fff; font-weight: 700;
    padding: 0.45rem 0.9rem; border-radius: 999px;
    box-shadow: 0 8px 20px -6px var(--pub-glow), 0 0 0 3px rgba(255,255,255,0.12) inset;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}
body.theme-public .ember-badge {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.72rem; font-weight: 700;
    backdrop-filter: blur(4px);
}
body.theme-public .ember-badge.ok { background: rgba(34,197,94,0.9); color:#fff; }
body.theme-public .ember-badge.out { background: rgba(211,32,41,0.92); color:#fff; }
body.theme-public .ember-card .product-calories { color: rgba(255,255,255,0.75); }

/* ============================================================
   MENÜ — kategori başlığı köz-bant
   ============================================================ */
body.theme-public .cat-band {
    background: linear-gradient(135deg, #1a0c0a, #2a0e0b);
    border: 1px solid rgba(255,122,24,0.20);
    border-left: 4px solid var(--pub-red);
    border-radius: 14px;
    padding: 0.85rem 1.4rem;
    color: #fff !important;
    box-shadow: 0 16px 40px -28px var(--pub-glow);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; gap: .6rem;
}
body.theme-public .cat-band::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 100% 50%, rgba(255,122,24,0.20), transparent 55%);
    pointer-events: none;
}
body.theme-public .cat-band i { color: var(--pub-ember); }

/* ----- Scroll reveal & hareket ----- */
body.theme-public [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
body.theme-public [data-reveal].is-in { opacity: 1; transform: none; }

/* magnetic / tilt kartlar için yumuşak geçiş zaten .glass-panel'de */

/* Erişilebilirlik: hareket azaltma */
@media (prefers-reduced-motion: reduce) {
    body.theme-public [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
    body.theme-public .ember-hero canvas.ember-canvas { display: none; }
    body.theme-public .btn-glow-orange::after { display: none; }
    body.theme-public .ember-band::before { animation: none; }
}

/* JS kapalıyken içerik gizli kalmasın */
body.theme-public noscript ~ * [data-reveal],
.no-js body.theme-public [data-reveal] { opacity: 1 !important; transform: none !important; }
