/* =====================================================================
   NFC GO QR MENÜ - Mobile First Soft UI Theme
   ===================================================================== */

:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 15px -1px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 10px 25px -3px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --accent: #2563eb;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body.menu-body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 90px; /* Room for floating waiter bar */
    line-height: 1.5;
}

.menu-app-container {
    width: 100%;
    max-width: 680px; /* Base mobile width */
    margin: 0 auto;
    position: relative;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.03);
    transition: max-width 0.25s ease;
}

/* 1. Header */
.biz-header {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.biz-cover {
    height: 155px;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
    position: relative;
}

/* Lüks Gurme Restoran Ambiyansı Deseni (Kapak Görseli Yoksa) */
.biz-cover.default-cover {
    background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.24) 0%, transparent 50%),
                radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, #090d16 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.biz-cover.default-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: 0.7;
    pointer-events: none;
}

.biz-profile {
    padding: 0 1.25rem 1.35rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.biz-logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    object-fit: cover;
    margin-top: -41px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.biz-logo-placeholder {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    margin-top: -41px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    position: relative;
    z-index: 10;
}

.biz-meta {
    margin-top: 0.85rem;
}

.biz-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.biz-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.biz-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

.table-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.08);
}

.table-badge.neutral {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.contact-pill {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: #f8fafc;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

/* 2. Banner / Gurme Promosyon Kartı (Sıcak Kehribar Degrade) */
.banner-section {
    padding: 1rem 1.25rem 0.5rem;
}

.promo-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 60%, #fed7aa 100%);
    border: 1px solid #fde68a;
    color: #78350f;
    border-radius: 20px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.promo-card:hover {
    transform: translateY(-2px);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #d97706;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.promo-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #78350f;
    line-height: 1.3;
}

.promo-subtitle {
    font-size: 0.88rem;
    color: #92400e;
    margin-top: 0.35rem;
    line-height: 1.45;
    font-weight: 500;
}

/* 3. Search & View controls */
.menu-controls {
    padding: 0.75rem 1.25rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 2.25rem 0.8rem 2.6rem;
    border-radius: 16px;
    font-size: 0.94rem;
    color: #0f172a;
    outline: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.search-box input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.clear-btn {
    position: absolute;
    right: 0.85rem;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.view-switcher {
    display: flex;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 0.25rem;
    gap: 0.25rem;
    border: 1px solid #e2e8f0;
}

.switch-btn {
    background: none;
    border: none;
    padding: 0.55rem;
    border-radius: 10px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.switch-btn:hover {
    color: #0f172a;
}

.switch-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* 4. Dietary Quick Filter Chips */
.dietary-filter-bar {
    display: flex;
    gap: 0.55rem;
    padding: 0 1.25rem 0.85rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dietary-filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.filter-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.filter-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* 5. Categories Horizontal Nav */
.categories-nav {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.75rem 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 30;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.categories-nav::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.6rem 1.15rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cat-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.cat-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transform: scale(1.02);
}

/* 6. Products Section */
.products-wrapper {
    padding: 1.25rem;
}

.category-block {
    margin-bottom: 2.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cat-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 0.2rem;
}

/* GRID VIEW */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}

/* PRODUCT CARD WITH IMAGE */
.product-card.has-image .prod-img-wrap {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-featured {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* PRODUCT CARD WITHOUT IMAGE (OPTIMIZED BOX) */
.product-card.no-image {
    padding: 1.25rem 1.35rem;
    border-left: 4px solid var(--biz-theme, #2563eb);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
}

.product-card.no-image .prod-details {
    padding: 0;
}

.product-card.no-image .prod-header {
    margin-bottom: 0.5rem;
}

.product-card.no-image .prod-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-card.no-image .prod-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--biz-theme, #0f172a);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
}

.badge-featured-inline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    margin-top: 0.2rem;
}

.prod-details {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.prod-title-group {
    display: flex;
    flex-direction: column;
}

.prod-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.prod-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--biz-theme, #0f172a);
    white-space: nowrap;
}

.prod-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.prod-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-bottom: 0.5rem;
}

.badge-diet {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-diet.green { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-diet.blue { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-diet.yellow { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }

/* Kompakt ve Şık Besin Bilgisi Butonu */
.btn-info-modal {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

.btn-info-modal:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

/* LIST & GRID VIEW MODE OPTIMIZASYONLARI */
.products-wrapper.list-view .products-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-wrapper.list-view .product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
    overflow: hidden;
}

.products-wrapper.list-view .product-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

/* Görseli olan ürün kartı */
.products-wrapper.list-view .product-card.has-image {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.products-wrapper.list-view .product-card.has-image .prod-img-wrap {
    width: 125px;
    min-height: 125px;
    position: relative;
    flex-shrink: 0;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-wrapper.list-view .product-card.has-image .prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products-wrapper.list-view .product-card.has-image:hover .prod-img {
    transform: scale(1.05);
}

/* Görseli olmayan ürün kartı (SOL ALAN TAMAMEN GİZLENİR, KUTU OPTİMİZE EDİLİR) */
.product-card.no-image {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border-left: 4px solid var(--accent, #2563eb) !important;
    padding: 1.25rem 1.4rem !important;
    background: #ffffff !important;
}

.product-card.no-image .prod-img-wrap {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.product-card.no-image .prod-details {
    padding: 0 !important;
    width: 100% !important;
}

.product-card.no-image .prod-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.product-card.no-image .prod-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

/* =====================================================================
   7. STICKY BOTTOM DOCK (Sabit Alt Bar - Arama Yap & Garson Çağır)
   ===================================================================== */
body.menu-body {
    padding-bottom: 95px !important;
}

.menu-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 -6px 25px rgba(15, 23, 42, 0.08);
}

.dock-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

/* Arama Yap Butonu */
.dock-btn-search {
    flex: 1;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dock-btn-search:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

.dock-btn-search .search-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Garson Çağır Butonu */
.dock-btn-waiter {
    flex: 1;
    max-width: 250px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 0.75rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-btn-waiter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}

.dock-btn-waiter:active {
    transform: scale(0.98);
}

.dock-table-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bell-pulse {
    display: inline-block;
    animation: bellSwing 2s infinite ease-in-out;
}

@keyframes bellSwing {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-14deg); }
    50% { transform: rotate(0); }
}

.bell-ring {
    font-size: 1.4rem;
    animation: bellShake 2.5s infinite ease-in-out;
}

.waiter-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: ripple 2s infinite ease-out;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-14deg); }
    50% { transform: rotate(0); }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.waiter-btn-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.btn-main-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.btn-sub-title {
    font-size: 0.72rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 0.15rem;
}

.waiter-table-pill {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 100;
}

.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 22px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-float);
    animation: popIn 0.2s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-modal-cancel {
    flex: 1;
    background: #f1f5f9;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

.btn-modal-confirm {
    flex: 1;
    background: #ef4444;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

/* Premium Nutrition & Allergen Modal Styling */
.nutrition-card {
    text-align: left;
    max-width: 480px;
    width: 92%;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 1px 1px rgba(15, 23, 42, 0.05);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    animation: modalScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.nut-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.nut-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.btn-close-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-close-circle:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.portion-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.portion-pill strong {
    color: #0f172a;
    font-weight: 800;
}

.nut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.nut-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.85rem 0.6rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nut-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nut-icon {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.nut-val {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.nut-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Renk Aksanları */
.nut-item.calorie { background: #fff7ed; border-color: #ffedd5; }
.nut-item.calorie .nut-val { color: #ea580c; }
.nut-item.calorie .nut-label { color: #9a3412; }

.nut-item.protein { background: #eff6ff; border-color: #dbeafe; }
.nut-item.protein .nut-val { color: #2563eb; }
.nut-item.protein .nut-label { color: #1e40af; }

.nut-item.fat { background: #fefce8; border-color: #fef9c3; }
.nut-item.fat .nut-val { color: #ca8a04; }
.nut-item.fat .nut-label { color: #854d0e; }

.nut-item.carbs { background: #faf5ff; border-color: #f3e8ff; }
.nut-item.carbs .nut-val { color: #9333ea; }
.nut-item.carbs .nut-label { color: #6b21a8; }

.nut-item.sugar { background: #fdf2f8; border-color: #fce7f3; }
.nut-item.sugar .nut-val { color: #db2777; }
.nut-item.sugar .nut-label { color: #9d174d; }

.nut-item.sodium { background: #ecfeff; border-color: #cffafe; }
.nut-item.sodium .nut-val { color: #0891b2; }
.nut-item.sodium .nut-label { color: #155e75; }

/* Alerjen Kutusu */
.allergen-box {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.allergen-box-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.allergen-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.allergen-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid #fecdd3;
    color: #be123c;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(225, 29, 72, 0.04);
}

.allergen-safe {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 1.25rem;
}

.btn-nut-close {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 0.85rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-nut-close:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.no-results {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--text-secondary);
}

/* =====================================================================
   DEVICE SPECIFIC RESPONSIVE OPTIMIZATIONS (Mobil, Tablet, PC / Geniş Ekran)
   ===================================================================== */

/* 1. TABLET OPTIMIZATION (768px - 1023px) */
@media (min-width: 768px) {
    body.menu-body {
        padding-bottom: 110px;
        background-color: #f1f5f9;
    }

    .menu-app-container {
        max-width: 820px;
        border-radius: 24px;
        margin: 20px auto;
        box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .biz-cover {
        height: 200px;
    }

    .biz-profile {
        padding: 0 2rem 1.75rem;
    }

    .biz-logo,
    .biz-logo-placeholder {
        width: 90px;
        height: 90px;
        margin-top: -45px;
        border-radius: 20px;
        border-width: 4px;
    }

    .biz-name {
        font-size: 1.75rem;
    }

    .banner-section {
        padding: 1.25rem 2rem 0.5rem;
    }

    .menu-controls {
        padding: 1rem 2rem;
    }

    .dietary-filter-bar {
        padding: 0.25rem 2rem 0.75rem;
    }

    .categories-nav {
        padding: 0.85rem 2rem;
    }

    .products-wrapper {
        padding: 1.75rem 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Bottom Dock Tablet Alignment */
    .menu-bottom-dock {
        border-radius: 24px 24px 0 0;
        max-width: 820px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-bottom: none;
    }
}

/* 2. PC / DESKTOP OPTIMIZATION (1024px - 1399px) */
@media (min-width: 1024px) {
    body.menu-body {
        padding-bottom: 100px;
        background-color: #e2e8f0;
    }

    .menu-app-container {
        max-width: 1140px;
        border-radius: 28px;
        margin: 32px auto;
        box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.12);
    }

    .biz-cover {
        height: 250px;
    }

    .biz-profile {
        padding: 0 2.5rem 2rem;
        flex-direction: row;
        align-items: flex-end;
        gap: 1.75rem;
    }

    .biz-logo,
    .biz-logo-placeholder {
        width: 110px;
        height: 110px;
        margin-top: -55px;
        border-radius: 24px;
        flex-shrink: 0;
    }

    .biz-meta {
        margin-top: 0;
        flex: 1;
    }

    .biz-name {
        font-size: 2.1rem;
    }

    .banner-section {
        padding: 1.5rem 2.5rem 0.5rem;
    }

    .promo-card {
        padding: 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .menu-controls {
        padding: 1.25rem 2.5rem;
    }

    .dietary-filter-bar {
        padding: 0.25rem 2.5rem 1rem;
        flex-wrap: wrap;
    }

    .categories-nav {
        padding: 1rem 2.5rem;
        flex-wrap: wrap;
    }

    .products-wrapper {
        padding: 2rem 2.5rem;
    }

    /* 3-Column Grid on Desktop */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-card.has-image .prod-img-wrap {
        height: 200px;
    }

    .product-card.no-image {
        min-height: 170px;
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.4rem;
    }

    /* Bottom Dock Desktop Alignment */
    .menu-bottom-dock {
        max-width: 1140px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 24px 24px 0 0;
    }
}

/* 3. WIDE DESKTOP & 4K OPTIMIZATION (1400px+) */
@media (min-width: 1400px) {
    .menu-app-container {
        max-width: 1320px;
        margin: 40px auto;
    }

    .biz-cover {
        height: 280px;
    }

    /* 4-Column Grid on Large Screens */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .waiter-float-bar {
        right: calc(50% - 660px + 2rem);
    }
}

/* 4. MOBILE SPECIFIC (max-width: 767px) */
@media (max-width: 767px) {
    .menu-app-container {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .waiter-float-bar {
        width: calc(100% - 2rem);
        bottom: 1rem;
    }

    .biz-cover {
        height: 150px;
    }
}

