/* YENİ TEMA - MODERN GRID */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #00A896;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --card-bg: #FFFFFF;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* iOS Safari 300ms tap delay fix */
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* MASA SEÇİM EKRANI */
#masa-secim-ekrani {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.giris-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

.logo-area {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.giris-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.giris-card p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.select-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.select-wrapper select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--dark);
    appearance: none;
    cursor: pointer;
    transition: border 0.3s;
}

.select-wrapper select:focus {
    border-color: var(--primary);
    outline: none;
}

.select-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* HEADER */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--primary);
    color: white;
}

header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

#siparis-durum-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* SEKMELER */
.tabs {
    display: flex;
    background: white;
    padding: 0 20px;
    border-bottom: 1px solid #E9ECEF;
    position: sticky;
    top: 80px;
    z-index: 99;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab i {
    font-size: 18px;
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* TAB İÇERİKLERİ */
.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* KATEGORİ EKRANI */
.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.page-header p {
    color: var(--gray);
    font-size: 16px;
}

/* KATEGORİ GRID */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 480px) {
    .kategori-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat-bubble {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}

.cat-bubble:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.cat-bubble.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cat-bubble-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cat-bubble span {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* ÜRÜN GRID */
.urun-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 480px) {
    .urun-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.item-content {
    padding: 20px;
}

.item-details {
    margin-bottom: 20px;
}

.item-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light);
    border-radius: 12px;
    padding: 10px;
}

.btn-minus,
.btn-plus {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: white;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-minus:hover,
.btn-plus:hover {
    transform: scale(1.1);
}

.btn-plus {
    background: var(--primary);
    color: white;
}

.adet-sayi {
    font-size: 18px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* HESAP EKRANI */
.bill-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.bill-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

#siparis-listesi {
    min-height: 200px;
}

.bill-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid var(--light);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* SEPET */
#sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

#sticky-cart.show {
    transform: translateX(-50%) translateY(0);
}

.cart-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #E9ECEF;
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.cart-text {
    font-size: 14px;
    color: var(--gray);
}

.cart-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.cart-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
}

.cart-header.active .cart-arrow {
    transform: rotate(180deg);
}

.cart-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E9ECEF;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.cart-item-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* SERVİS BUTONLARI - SOLA DOĞRU AÇILAN ANİMASYON */
.service-buttons {
    position: fixed;
    bottom: 100px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
    align-items: flex-end;
    /* Sağa hizalı */
}

.btn-service {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 25px;
    border: none;
    background: white;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
    overflow: hidden;
}

.btn-service i {
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-service:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-service:active i {
    transform: scale(0.9);
}

/* Metin varsayılan olarak gizli ve sıfır genişlikte */
.btn-service span {
    display: block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease 0.1s,
        margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0;
}

/* Genişletilmiş durum - Metin sola doğru açılır */
.btn-service.expanded {
    width: auto;
    min-width: 150px;
    padding: 12px 18px;
}

.btn-service.expanded span {
    max-width: 150px;
    opacity: 1;
    margin-right: 10px;
}

.btn-bill {
    background: var(--primary);
    color: white;
}

/* MODAL - TAM EKRAN ORTALAMA */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.hidden {
    display: none !important;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.close-btn {
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--danger);
}

/* ANİMASYONLAR */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* YARDIMCI SINIFLAR */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

/* LOADING */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: var(--gray);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE */
@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    .tabs {
        padding: 0 15px;
    }

    .tab-content {
        padding: 15px;
    }

    .page-header h2 {
        font-size: 24px;
    }

    .cat-bubble {
        padding: 20px 10px;
    }

    .cat-bubble-img {
        width: 60px;
        height: 60px;
    }

    .item-img {
        height: 150px;
    }
}

/* =========================================
   EKSİK CSS KISIMLARI - YENİ TEMA İÇİN
   ========================================= */

/* GERİ BUTONU STİLİ */
.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-3px);
}

.back-btn.hidden {
    display: none !important;
}

/* SİPARİŞ İŞLEMLERİ BUTONLARI */
.btn-small-edit,
.btn-small-cancel {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.btn-small-edit {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.btn-small-edit:hover {
    background: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.2);
}

.btn-small-cancel {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.btn-small-cancel:hover {
    background: #ffcdd2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.2);
}

/* SEPETTEKİ +/- DÜĞMELERİ */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #e9ecef;
}

.cart-item-actions button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: white;
    color: var(--dark);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-actions button:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.cart-item-actions button:first-child {
    background: #f8f9fa;
    color: var(--gray);
}

.cart-item-actions button:last-child {
    background: var(--primary);
    color: white;
}

.cart-item-count {
    font-weight: 700;
    font-size: 16px;
    min-width: 25px;
    text-align: center;
    color: var(--dark);
}

/* SEPET İÇİ NOT ALANI */
.cart-note {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #dee2e6;
}

.cart-note label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-note textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: none;
    background: white;
    transition: all 0.3s;
}

.cart-note textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* SİPARİŞ ÖĞESİ STİLLERİ */
.order-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f5;
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f3f5;
}

.order-time {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.order-items {
    margin-bottom: 15px;
}

.order-items div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
}

.order-items b {
    color: var(--primary);
    margin-right: 8px;
    min-width: 25px;
}

.opt-text {
    font-size: 12px;
    color: var(--gray);
    font-style: italic;
    margin-left: 5px;
}

.order-note-display {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    border: 1px solid #ffeeba;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.order-note-display i {
    margin-top: 2px;
    color: #ffc107;
}

/* KAMPANYA İNDİRİMİ STİLİ */
.kampanya-indirimi {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #86efac;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.kampanya-indirimi i {
    color: #16a34a;
    font-size: 16px;
}

/* BOŞ MESAJLAR */
.empty-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    font-style: italic;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

/* SEPET İÇERİK ALANI */
.cart-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
    background: white;
}

.cart-content.hidden {
    display: none;
}

/* CART ITEM DÜZENLEMELERİ */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f5;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    padding-right: 15px;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}

/* MODAL DÜZENLEMELERİ */
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f5;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.close-btn {
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: var(--danger);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.rate-star {
    font-size: 32px;
    cursor: pointer;
    transition: all 0.2s;
    color: #ddd;
}

.rate-star:hover {
    transform: scale(1.2);
}

#review-comment {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: none;
    background: #f8f9fa;
    transition: all 0.3s;
}

#review-comment:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}

.btn-submit {
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* HESAP KARTI GÜNCELLEMESİ */
.bill-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.bill-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* DEĞERLENDİRME BUTONU */
.btn-review {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.4);
}

/* SİPARİŞ VER BUTONU */
.btn-order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    margin-top: 20px;
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* SCROLLBAR DÜZENLEMESİ */
.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* MASA SEÇİM EKRANI GÜNCELLEMESİ */
#masa-secim-ekrani .giris-card {
    text-align: center;
    padding: 40px;
}

#masa-secim-ekrani .logo-area {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.giris-aciklama {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 14px;
}

/* HEADER ORTALAMA VE BADGE */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.header-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}

.badge.hidden {
    display: none;
}

/* HEADER DÜZENLEMESİ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.header-right {
    margin-left: auto;
}

/* LOGO ORTALAMA */
.app-dynamic-logo {
    display: block !important;
    margin: 5px auto !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* HEADER ORTALAMA VE BADGE */
.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Orta hizalama */
    flex: 1;
}

.header-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Orta hizalama */
    text-align: center;
}

.badge {
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}



.badge.hidden {
    display: none;
}

/* HEADER DÜZENLEMESİ */
/* Header düzenlemesi */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}



.header-right {
    margin-left: auto;
}

/* LOGO ORTALAMA */
.app-dynamic-logo {
    display: block !important;
    margin: 5px auto !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

.back-btn {
    position: absolute;
    left: 20px;
}

/* KATEGORİ GRID - FOTOĞRAF ALTINA YAZI */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 480px) {
    .kategori-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat-bubble {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.cat-bubble:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.cat-bubble.active {
    border-color: var(--primary);
    border-width: 2px;
}

.cat-bubble-img {
    width: 100%;
    height: 140px;
    /* Sabit yükseklik */
    object-fit: cover;
    border-radius: 0;
    /* Yuvarlak değil kare */
    margin-bottom: 0;
    transition: transform 0.3s;
}

.cat-bubble:hover .cat-bubble-img {
    transform: scale(1.05);
}

.cat-bubble span {
    padding: 15px 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
    background: var(--card-bg);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    min-height: 60px;
}

/* Aktif kategori için */
.cat-bubble.active span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-top-color: transparent;
}

/* KATEGORİ GRID - FOTOĞRAF ÜSTÜNE SADE YAZI */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 480px) {
    .kategori-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat-bubble {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cat-bubble:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cat-bubble.active {
    border-color: var(--primary);
    border-width: 2px;
}

.cat-bubble-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.cat-bubble:hover .cat-bubble-img {
    transform: scale(1.08);
}

/* SADECE METİN - ARKADA HİÇBİR ŞEY YOK */
.cat-bubble span {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    color: white;
    padding: 10px 15px;
    width: 100%;

    /* ARKA PLAN YOK - SADECE METİN */
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* GÜÇLÜ METİN GÖLGESİ (ÇOK KATMANLI) */
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.9),
        0 4px 10px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(0, 0, 0, 0.3);

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    letter-spacing: 0.5px;
    word-break: break-word;
}

/* Aktif kategori için */
.cat-bubble.active span {
    color: white;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 1),
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 107, 53, 0.6),
        0 0 8px rgba(255, 107, 53, 0.4);
}

/* Hover durumunda */
.cat-bubble:hover span {
    text-shadow:
        0 2px 7px rgba(0, 0, 0, 1),
        0 5px 15px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(255, 107, 53, 0.7),
        0 0 10px rgba(255, 107, 53, 0.5);
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Koyu arka planlı fotoğraflar için ek gölge */
.cat-bubble span.dark-text-shadow {
    text-shadow:
        0 1px 3px rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.05);
}

/* MOBİL İÇİN OPTİMİZASYON */
@media (max-width: 480px) {
    .kategori-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-bubble {
        height: 150px;
    }

    .cat-bubble span {
        font-size: 16px;
        padding: 8px 10px;
        text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.8),
            0 3px 8px rgba(0, 0, 0, 0.6),
            0 0 20px rgba(0, 0, 0, 0.4);
    }

    .cat-bubble.active span {
        text-shadow:
            0 1px 5px rgba(0, 0, 0, 1),
            0 3px 10px rgba(0, 0, 0, 0.8),
            0 0 30px rgba(255, 107, 53, 0.5);
    }
}

/* KARANLIK TEMA İÇİN EK AYARLAR */
[data-theme="dark"] .cat-bubble span {
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.95),
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .cat-bubble.active span {
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 1),
        0 5px 15px rgba(0, 0, 0, 0.9),
        0 0 45px rgba(255, 107, 53, 0.7);
}

/* GENİŞ EKRANLAR İÇİN */
@media (min-width: 768px) {
    .kategori-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .cat-bubble {
        height: 200px;
    }

    .cat-bubble span {
        font-size: 20px;
    }
}

/* YATAY (LANDSCAPE) MOD İÇİN */
@media (orientation: landscape) and (max-height: 500px) {
    .kategori-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .cat-bubble {
        height: 120px;
    }

    .cat-bubble span {
        font-size: 14px;
        padding: 5px 8px;
    }
}

/* ÜRÜN KARTLARI - FOTOĞRAF ÜSTÜNE YAZI */
.urun-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

@media (min-width: 480px) {
    .urun-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* FOTOĞRAF KONTEYNERİ */
.item-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.menu-item:hover .item-img {
    transform: scale(1.05);
}

/* ÜRÜN İSMİ - FOTOĞRAF ÜSTÜNDE (HAFİF BLUR ARKA PLAN) */
.item-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ÜRÜN İÇERİK ALANI (ALT KISIM) */
.item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FİYAT VE SEÇENEK ALANI */
.item-price-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.item-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SEÇENEK DROPDOWN */
.item-option {
    margin-top: 10px;
    width: 100%;
}

.item-option select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s;
}

.item-option select:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--card-bg);
}

/* SEPET EKLEME BUTONLARI */
.item-actions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.btn-minus,
.btn-plus {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-minus:hover,
.btn-plus:hover {
    transform: scale(1.1);
}

.btn-plus {
    background: var(--primary);
    color: white;
}

.adet-sayi {
    font-size: 16px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    color: var(--text-color);
}

/* TÜKENEN ÜRÜNLER İÇİN */
.menu-item.tukendi .item-img {
    filter: grayscale(100%) brightness(0.7);
}

.menu-item.tukendi .item-name-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.menu-item.tukendi .item-name {
    color: #999;
}

/* MOBİL UYUMLU */
@media (max-width: 480px) {
    .urun-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }

    .item-img-container {
        height: 180px;
    }

    .item-name-overlay {
        padding: 12px 15px;
    }

    .item-name {
        font-size: 16px;
    }

    .item-content {
        padding: 15px;
    }

    .item-price {
        font-size: 20px;
    }
}


/* TARAYICI DESTEĞİ İÇİN YEDEK (backdrop-filter desteklemezse) */
@supports not (backdrop-filter: blur(10px)) {
    .item-name-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* SEPET AÇIKKEN MENÜ ALTINA BOŞLUK EKLE */
#sticky-cart.show~#tab-menu {
    padding-bottom: 120px;
}

/* SEPET KAPALIYSA BOŞLUĞU KALDIR */
#sticky-cart:not(.show)~#tab-menu {
    padding-bottom: 20px;
}

/* Ürün grid'ine de ek boşluk */
.urun-grid {
    margin-bottom: 100px;
}

/* Ürün grid'ine de ek boşluk */
.kategori-grid {
    margin-bottom: 100px;
}

/* 1. Yazıların olduğu kutunun arka planını beyazımsı yap */
.item-name-overlay {
    background: rgba(255, 255, 255, 0.85) !important;
    /* %85 opak beyaz */
    backdrop-filter: blur(5px);
    /* Buzlu cam efekti */
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* İnce bir çizgi detayı */
}

/* 2. Ürün İsimlerini Koyu Yap */
.item-name {
    color: #1e293b !important;
    /* Modern koyu gri/siyah */
    font-weight: 600;
    text-shadow: none !important;
}

/* 3. Fiyat Rengini (varsa o alanda) Vurgula */
.item-price {
    color: #d97706 !important;
    /* Turuncu/Altın tonu (Theme rengine göre değişebilir) */
    text-shadow: none !important;
    font-weight: 700;
}

/* TERCIH DROPDOWN SALLANMA DÜZELTMESİ */
.item-option select {
    transition: border-color 0.3s ease, background-color 0.3s ease !important;
}

.item-option select:focus {
    border-color: var(--primary) !important;
    outline: none !important;
    background: var(--card-bg) !important;
    transform: none !important;
}

/* Tüm sallanma efektlerini kaldır */
.item-option select,
.item-option select:focus,
.item-option select:active {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

/* İLETİŞİM BUTONLARI */
.contact-buttons {
    position: fixed;
    top: 90px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.contact-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 18px;
}

.contact-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* KÜÇÜK MODAL */
.small-modal {
    max-width: 350px !important;
}

/* BİLGİ GÖSTERME ALANI */
.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.info-value {
    flex: 1;
    text-align: right;
    padding: 0 10px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
}

.btn-copy {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.info-note {
    margin-top: 15px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* İLETİŞİM GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: white;
}

.contact-icon.phone {
    background: #10b981;
}

.contact-icon.address {
    background: #f59e0b;
}

.contact-icon.whatsapp {
    background: #25d366;
}

.contact-icon.email {
    background: #8b5cf6;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

/* HEADER'DA YER AÇMAK İÇİN */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .contact-buttons {
        top: 80px;
        right: 10px;
    }

    .contact-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* TÜM ÜRÜNLER EKRANI İÇİN KATEGORİ BAŞLIĞI */
.kategori-baslik-separator {
    grid-column: 1 / -1;
    /* Grid yapısında satırı boydan boya kaplar */
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    /* Tema rengini alır */
    margin: 25px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f3f5;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kategori-baslik-separator i {
    font-size: 14px;
    opacity: 0.7;
}

/* İlk başlığın üst boşluğunu alalım */
.kategori-baslik-separator:first-child {
    margin-top: 5px;
}

/* HEADER İKONLARI */
.header-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* Tam yuvarlak */
    background: white;
    border: 1px solid #eee;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.header-icon-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.header-icon-btn:active {
    transform: scale(0.95);
}

/* BİLGİ SATIRLARI (MODAL İÇİ) */
.info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    margin-right: 15px;
}

.info-content h4 {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.info-content p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* HEADER İKONLARI - YENİ */
.header-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    color: var(--primary);
    /* Temanın ana rengini alır */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.header-icon-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.header-icon-btn:active {
    transform: scale(0.95);
}

/* --- HEADER ORTALAMA DÜZELTME --- */
.app-header,
header {
    position: relative !important;
}

/* Logo ve Restoran İsminin Olduğu Kapsayıcı */
/* Senin projende class ismi muhtemelen bunlardan biridir, hepsini yazdım ki garanti olsun */
.header-logo,
.logo-area,
.header-center,
.brand-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    /* İçeriğin hizası */
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0 !important;
    z-index: 10;
    /* Yazı butonların altında kalmasın */
}

/* --- YAPIŞKAN MENÜ DÜZELTMESİ --- */

/* 1. Yeni oluşturduğumuz kapsayıcıya yapışma özelliği veriyoruz */
#sabit-ust-blok {
    position: sticky;
    position: -webkit-sticky;
    /* iPhone/Safari için */
    top: 0;
    z-index: 999;
    background: white;
    /* Arkadaki yazılar karışmasın diye beyaz zemin */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Gölgeyi bütüne veriyoruz */
}

/* 2. Header'ın kendi yapışkanlığını iptal ediyoruz */
header {
    position: static !important;
    /* Artık yapışkan değil */
    box-shadow: none !important;
    /* Gölgeyi kaldırdık, üstteki kutuya verdik */
    top: auto !important;
}

/* 3. Tabs (Sekmeler) kısmının kendi yapışkanlığını iptal ediyoruz */
.tabs {
    position: static !important;
    /* Artık yapışkan değil */
    top: auto !important;
    /* O 80px ayarını siliyoruz */
    border-bottom: 1px solid #eee;
    /* İnce çizgi kalsın */
}

/* YÜZEN GERİ BUTONU STİLİ */
#back-to-categories {
    position: fixed;
    /* Ekrana sabitler, scroll ile hareket eder */
    top: 20px;
    /* Ekranın tepesinden boşluk */
    left: 20px;
    /* Ekranın solundan boşluk */
    z-index: 10000;
    /* Her şeyin (resimlerin, menülerin) üstünde durur */

    /* Görsellik */
    width: 45px;
    height: 45px;
    background-color: white;
    /* Arka planı beyaz olsun */
    color: var(--primary);
    /* Ok rengi tema rengin olsun */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Havada duruyor hissi için gölge */
    border: 1px solid rgba(0, 0, 0, 0.05);

    /* Butonun içini ortalamak için */
    display: flex;
    /* Flexbox kullan */
    align-items: center;
    justify-content: center;

    /* Animasyonlu geçiş */
    transition: all 0.3s ease;
}

/* Sadece 'hidden' class'ı varsa gizle (display: none ezilmesin diye !important ekledik) */
#back-to-categories.hidden {
    display: none !important;
}

/* Üzerine gelince efekt */
#back-to-categories:active {
    transform: scale(0.95);
}

/* --- KURŞUN GEÇİRMEZ HEADER BAŞLANGIÇ --- */

/* 1. Header Kutusu */
#main-header {
    position: relative !important;
    /* Referans noktası burası */
    width: 100% !important;
    height: 70px !important;
    /* Sabit yükseklik, yoksa içindekiler görünmez */
    background: white !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 15px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 900 !important;
}

/* 2. Ortadaki Logo/İsim Alanı */
.header-center-absolute {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    /* Tam Merkezleme Sihri */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    /* Yazı üstte kalsın */
    width: max-content !important;
}

/* İsim Stili - Görünür olması için renk zorlaması */
.header-center-absolute h1 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A2E !important;
    /* Koyu Lacivert/Siyah (Görünmeme ihtimaline karşı) */
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

/* Masa Bilgisi Rozeti */
.header-center-absolute .badge {
    margin-top: 2px !important;
    font-size: 10px !important;
}

/* 3. Sağdaki İkon Alanı */
.header-right-absolute {
    position: absolute !important;
    right: 15px !important;
    /* Sağdan boşluk */
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* Dikey ortalama */
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 20 !important;
    /* Logodan daha üstte olsun ki tıklanabilsin */
}

/* JavaScript ile gelen butonların stili */
#header-actions button {
    background: white;
    border: 1px solid #eee;
    color: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* --- KURŞUN GEÇİRMEZ HEADER BİTİŞ --- */

/* --- GENİŞ VE FERAH HEADER AYARLARI --- */

/* 1. Header'ı Genişletiyoruz (Yükseklik Artışı) */
#main-header {
    height: 180px !important;
    /* 70px'ten 110px'e çıkardık, artık dar değil */
    position: relative !important;
    width: 100% !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    z-index: 900 !important;
}

/* 2. Ortadaki Alanı Dikeyde Dengeliyoruz */
.header-center-absolute {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    flex-direction: column !important;
    /* Alt alta dizilim */
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 70% !important;
    gap: 5px !important;
    /* Logo ile yazı arasına biraz boşluk */
}

/* 3. Logoyu Büyütüyoruz (Artık yerimiz var) */
img.app-dynamic-logo {
    max-height: 100px !important;
    /* Logoyu 35px'ten 60px'e çıkardık, rahatladı */
    width: auto !important;
    margin: 0 !important;
    display: block !important;
    object-fit: contain !important;
}

/* 4. Restoran İsmini Belirginleştiriyoruz */
.header-center-absolute h1 {
    display: block !important;
    font-size: 18px !important;
    /* Yazı boyutunu da ideali getirdik */
    font-weight: 700 !important;
    color: #1A1A2E !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* 5. Sağdaki İkonları Ortada Tutmaya Devam Ediyoruz */
.header-right-absolute {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 20 !important;
}

/* MASA SEÇİM EKRANI DÜZELTMESİ */
#masa-secim-ekrani .logo-area {
    position: static !important;
    /* Akışı normale döndür */
    transform: none !important;
    /* Ortalama transformunu iptal et */
    display: block !important;
    margin-bottom: 20px !important;
    /* Yazı ile arasına boşluk koy */
    height: auto !important;
    width: auto !important;
}

/* --- GÖRÜNÜM DEĞİŞTİRME BUTONLARI --- */
.layout-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px 10px 5px;
    margin-bottom: 5px;
}

.layout-btn-group {
    display: flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 8px;
    gap: 2px;
}

.layout-btn {
    border: none;
    background: transparent;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.layout-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* --- LİSTE GÖRÜNÜMÜ (LIST VIEW) STİLLERİ --- */

/* 1. Izgarayı Tek Sütuna Düşür */
.urun-grid.list-view {
    grid-template-columns: 1fr !important;
    /* Tek sütun yap */
    gap: 12px;
}

/* 2. Kartın İç Yapısını Yatay Yap */
.urun-grid.list-view .menu-item {
    display: flex;
    flex-direction: row;
    /* Yan yana diz */
    align-items: center;
    height: auto;
    /* Yüksekliği serbest bırak */
    min-height: 110px;
    padding: 10px;
    gap: 15px;
}

/* 3. Resmi Küçült ve Sola Al */
.urun-grid.list-view .menu-item .item-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    /* Sıkışmayı önle */
    border-radius: 12px;
    margin-bottom: 0;
    /* Alttaki boşluğu kaldır */
    object-fit: cover;
}

/* 4. İçerik Alanını Düzenle */
.urun-grid.list-view .item-content {
    padding: 0;
    flex: 1;
    /* Kalan alanı kapla */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

/* 5. Yazı Alanlarını Hizala */
.urun-grid.list-view .item-details {
    width: 100%;
    margin-bottom: 0;
}

.urun-grid.list-view .item-name {
    font-size: 15px;
    margin-bottom: 4px;
}

.urun-grid.list-view .item-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 2 satırla sınırla */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
    font-size: 11px;
}

/* 6. Butonları Sağa Yasla */
.urun-grid.list-view .item-actions {
    position: static;
    /* Absolute'dan kurtar */
    margin-top: 8px;
    width: 100%;
    justify-content: flex-end;
    /* Sağa yasla */
}

/* 7. Fiyatı Vurgula */
.urun-grid.list-view .item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

/* --- HEADER SAĞ TARAFI DÜZENLEMESİ (Alt Alta Dizilim) --- */
.header-right-absolute {
    position: absolute !important;
    right: 15px !important;
    /* Sağdan boşluk */
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* Dikey ortalama */

    display: flex !important;
    flex-direction: column !important;
    /* YAN YANA DEĞİL, ALT ALTA */
    align-items: flex-end !important;
    /* Her şeyi sağa yasla */
    justify-content: center !important;

    gap: 6px !important;
    /* İkon grubu ile Sepet Tutarı arasındaki boşluk */
    z-index: 20 !important;
}

/* Sepet Tutarı Rozetinin Genişliğini ve Hizalamasını Kontrol Et */
#siparis-durum-badge {
    margin: 0 !important;
    /* Eğer çok uzunsa sağa yaslansın */
    align-self: flex-end !important;
    /* Biraz daha kompakt görünüm için padding ayarı */
    padding: 6px 12px !important;
    white-space: nowrap;
    /* Yazının alt satıra kaymasını engelle */
}

/* =========================================
   GARSON DROPDOWN (HEADER SOL TARAF)
   ========================================= */
.header-left-absolute {
    position: absolute;
    left: 55px;
    top: 12px;
    z-index: 110;
}

#garson-dropdown-container {
    position: relative;
}

.garson-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.garson-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.garson-toggle-btn:active {
    transform: scale(0.95);
}

.garson-dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    min-width: 180px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.garson-dropdown.show {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
}

.garson-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.garson-dropdown button:first-child {
    border-bottom: 1px solid #f0f0f0;
}

.garson-dropdown button:hover {
    background: #fff5eb;
    color: var(--primary);
}

.garson-dropdown button i {
    font-size: 16px;
    color: var(--primary);
}

/* GARSON TOOLTIP */
.garson-tooltip {
    position: absolute;
    top: 55px;
    left: -15px;
    /* Sola kaydırıldı */
    background: white;
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    white-space: nowrap;
    animation: bounceIn 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tooltip-arrow {
    position: absolute;
    top: -6px;
    left: 28px;
    /* Ok konumu ayarlandı */
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}