/* DEĞİŞKENLER */
:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f4e8c1;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --radius: 12px;
}
/* ========== MOBİL MENÜ SİSTEMİ ========== */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Masaüstü Navigasyon */
.desktop-nav {
    display: block;
}

.tabs {
    display: flex;
    gap: 0;
}

.tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
}

.tab:hover {
    background: #f7fafc;
    color: #2d3748;
}

.tab.active {
    background: #fffbf0;
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.cart-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: left 0.3s ease;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
}

.mobile-menu-items a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-menu-items a:hover {
    background: #f8fafc;
    color: #d4af37;
}

.mobile-menu-items a i {
    width: 20px;
    text-align: center;
}

/* Kategori Filtre Butonu */
.category-filter-btn {
    position: sticky;
    top: 80px;
    z-index: 90;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: none;
}

.category-filter-btn button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Kategori Menüsü */
.category-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.category-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.category-menu-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.category-menu-overlay.active .category-menu-content {
    transform: scale(1);
}

.category-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    font-weight: 600;
}

.category-menu-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.category-menu-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.category-menu-item {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-menu-item:hover,
.category-menu-item.active {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border-color: #d4af37;
}

/* Kategori Bar (Masaüstü) */
#catBar {
    position: sticky;
    top: 80px;
    z-index: 90;
    background: white;
    padding: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .category-filter-btn {
        display: block;
    }
    
    /* Masaüstü kategori bar'ı mobilde gizle */
    #catBar {
        display: none;
    }
    
    /* Mobilde tab içeriği padding'ini azalt */
    #view {
        padding: 1rem;
    }
    
    /* Ürün grid'i mobilde tek sütun */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

@media (min-width: 769px) {
    .category-filter-btn {
        display: none !important;
    }
    
    .category-menu-overlay {
        display: none !important;
    }
}

/* Mevcut stilleriniz burada devam ediyor... */
/* GENEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--text-light);
    min-height: 100vh;
    box-shadow: var(--shadow);
}


/* YENİ TAB MENÜ */
.tabs-modern {
    background: var(--text-light);
    border-bottom: 2px solid var(--light-gold);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
}

.tab-modern {
    padding: 1.2rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    color: var(--text-dark);
}

.tab-modern:hover {
    background: var(--light-gold);
    color: var(--dark-gold);
}

.tab-modern.active {
    background: var(--light-gold);
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.tab-modern i {
    font-size: 1.2rem;
}

.cart-count {
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}


/* YENİ FOOTER */
.footer-modern {
    background: var(--dark-bg);
    color: var(--text-light);
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}



/* burdan sonra en son eklenenler*/
/* ========== MODERN TASARIM GÜNCELLEMELERİ ========== */

/* Genel Stil İyileştirmeleri */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    color: #2d3748;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* Header Tasarımı */
header {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .badge {
    background: white;
    color: #d4af37;
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

#userBox {
    background: rgba(255,255,255,0.2);
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

/* Tab Menü Tasarımı */
.tabs {
    /*background: white;
    border-bottom: 2px solid #f0f0f0;*/
    display: flex;
    justify-content: center;
}

.tab {
    padding: 1.2rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 3px solid #4a5568;
    border-radius: 5px 5px 0px 0px;
    font-weight: 500;
    color: #4a5568;
    margin:3px;
}

.tab:hover {
    background: #f7fafc;
    border-bottom: 3px solid #d4af37;
    color: #2d3748;
}

.tab.active {
    background: #fffbf0;
    color: #d4af37;
    border-bottom-color: #d4af37;
}

/* Ana İçerik Alanı */
#view {
    padding: 2rem;
    min-height: 60vh;
}

/* Kategori Bar Tasarımı */
#catBar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-chip {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.btn-chip:hover {
    border-color: #d4af37;
    background: #fefce8;
    transform: translateY(-1px);
}

.btn-chip.active {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Ürün Kartları Tasarımı */
.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #d4af37;
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f7fafc;
}

.product-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0.5rem 0;
    color: #1a202c;
    line-height: 1.4;
}

.product-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: #d4af37;
    margin: 0.5rem 0;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-icon {
    padding: 10px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.btn-icon:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: scale(1.05);
}

.btn-icon[data-action="add"] {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border: none;
}

.btn-icon[data-action="add"]:hover {
    background: linear-gradient(135deg, #b8941f, #a3821a);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-icon[data-action="add"] svg {
    fill: white;
}

.btn-icon svg {
    fill: #4b5563;
}

/* Grid Düzeni */
[style*="grid-template-columns:repeat(auto-fill,minmax(180px,1fr))"] {
    gap: 1.5rem !important;
    margin: 1rem 0;
}

/* Kart Stilleri */
.card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 0;
    padding: 0.5rem 0;
}

.muted {
    color: #718096 !important;
    font-size: 14px;
}

/* Buton Stilleri */
.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.ghost {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ghost:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f7fafc;
    padding: 0.5rem;
    border-radius: 10px;
}

.qty div {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* Toast Mesajı */
.toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: #1a202c;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    z-index: 1000;
    opacity: 0.95;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.toast.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 14px;
}

/* Form Elementleri */
input, textarea, select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        margin: 0;
    }
    
    header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 1rem;
    }
    
    #view {
        padding: 1rem;
    }
    
    #catBar {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .btn-chip {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .product-card {
        padding: 1rem;
    }
}

/* Loading Animasyonu */
.loading {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Başlık Stilleri */
h1, h2, h3, h4, h5, h6 {
    color: #1a202c;
    /*margin-bottom: 1rem;*/
}

h2 {
/*
    font-size: 1.5rem;
    border-bottom: 0px solid #d4af37;
    padding-bottom: 0.5rem;
*/
}

/* Bölüm Ayırıcı */
hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 1.5rem 0;
}

/* ========== SİPARİŞ SAYFASI STİLLERİ ========== */

.orders-container {
    max-width: 800px;
    margin: 0 auto;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.orders-header h2 {
    margin: 0;
    color: #1a202c;
    font-size: 1.8rem;
}

.orders-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #718096;
    background: #f7fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Sipariş Grupları */
.order-group {
    margin-bottom: 2rem;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #d4af37;
}

.group-header h3 {
    margin: 0;
    color: #1a202c;
    font-size: 1.3rem;
}

.group-count {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.group-orders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sipariş Kartları */
.order-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #d4af37;
}

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

.order-info {
    flex: 1;
}

.order-id {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.order-date {
    font-size: 14px;
    color: #718096;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 14px;
}

.status-icon {
    font-size: 16px;
}

.order-details {
    margin-bottom: 1rem;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: #718096;
    background: #f7fafc;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.order-address, .order-notes {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.order-address i, .order-notes i {
    color: #d4af37;
    margin-top: 0.2rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.order-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #d4af37;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #718096;
}

.btn-ghost:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: scale(1.05);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .orders-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .orders-stats {
        justify-content: center;
    }
    
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-meta {
        gap: 0.5rem;
    }
    
    .meta-item {
        font-size: 12px;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .order-actions {
        justify-content: center;
    }
}

/* Boş Sipariş Stili */
.orders-container .card {
    text-align: center;
    padding: 3rem 2rem;
}

.orders-container .card i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.orders-container .card h3 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.orders-container .card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* ========== HESAP SAYFASI STİLLERİ ========== */

.account-container {
    max-width: 800px;
    margin: 0 auto;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
}

.user-avatar i {
    font-size: 4rem;
    opacity: 0.9;
}

.user-info h2 {
    margin: 0;
    color: white;
    font-size: 1.8rem;
}

.user-info p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.account-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.account-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.account-section h3 {
    margin: 0 0 1rem 0;
    color: #1a202c;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-section h3 i {
    color: #d4af37;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: #d4af37;
}

.input-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* İstatistik Kartları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.total-orders {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.stat-icon.active-orders {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.stat-icon.total-spent {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

/* Tercihler */
.preferences {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
}

.preference-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preference-info i {
    font-size: 1.2rem;
    color: #d4af37;
}

.preference-title {
    font-weight: 600;
    color: #374151;
}

.preference-desc {
    font-size: 14px;
    color: #6b7280;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #d4af37;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Select Custom */
.select-custom {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 14px;
    min-width: 120px;
}

/* Hızlı İşlemler */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
}

.quick-action-btn:hover {
    background: white;
    border-color: #d4af37;
    transform: translateY(-2px);
    color: #d4af37;
}

.quick-action-btn i {
    font-size: 1.5rem;
}

.quick-action-btn span {
    font-weight: 600;
    font-size: 14px;
}

/* Destek Bölümü */
.support-section {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
}

.support-section h3 {
    color: white;
}

.support-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.support-item i {
    font-size: 1.2rem;
    color: #d4af37;
    width: 20px;
}

.support-detail {
    font-weight: 600;
    color: #d4af37;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .account-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .account-status {
        position: static;
        margin-top: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Input Hata Stili */
.input-error {
    color: #ef4444 !important;
    font-size: 14px;
    margin-top: 0.5rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* besinci eklenenler*/
/* ========== SEPET SAYFASI STİLLERİ ========== */

.cart-container {
    max-width: 800px;
    margin: 0 auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.cart-header h2 {
    margin: 0;
    color: #1a202c;
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-count {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
}

.cart-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Sepet Öğeleri */
.cart-items-section h3,
.customer-info-section h3,
.delivery-info-section h3,
.payment-info-section h3,
.order-notes-section h3,
.order-summary-section h3 {
    margin: 0 0 1rem 0;
    color: #1a202c;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-items-section h3 i {
    color: #d4af37;
}

.cart-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cart-item-content {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.item-extras,
.item-note {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.item-price {
    font-weight: 600;
    color: #d4af37;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7fafc;
    padding: 0.5rem;
    border-radius: 10px;
}

.qty-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.item-total {
    font-weight: 700;
    color: #1a202c;
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #dc2626;
    color: white;
}

/* Form Grid */
.form-grid {
/*
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
*/
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: #d4af37;
}

/* Teslimat Seçenekleri */
.delivery-type-selector,
.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-option,
.payment-option {
    cursor: pointer;
    width:200px;
    font-size: 12px;
}

.delivery-option input,
.payment-option input {
    display: none;
}

.option-content {
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.delivery-option input:checked + .option-content,
.payment-option input:checked + .option-content {
    border-color: #d4af37;
    background: #fffbf0;
}

.option-content i {
    font-size: 1.5rem;
    color: #d4af37;
}

.option-title {
    font-weight: 600;
    color: #1a202c;
}

.option-desc {
    font-size: 14px;
    color: #6b7280;
}

/* Paket Servis Bilgisi */
.pickup-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
}

.pickup-info i {
    font-size: 1.5rem;
    color: #0369a1;
    margin-top: 0.25rem;
}

.pickup-address {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.pickup-hours {
    font-size: 14px;
    color: #6b7280;
}

/* Sipariş Özeti */
.summary-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #d4af37;
}

.order-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    flex: 1;
    min-width: 200px;
}

/* Boş Sepet */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.cart-empty h3 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.cart-empty p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .cart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-item-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .item-controls {
        justify-content: space-between;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-type-selector,
    .payment-method-selector {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .btn-large {
        min-width: auto;
    }
}

/* Textarea Stili */
textarea {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
    resize: vertical;
    min-height: 80px;
}

textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
/* ========== ÜRÜN DETAY MODAL STİLLERİ ========== */

.product-detail-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-content.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
}

.modal-header h2 {
    margin: 0;
    color: white;
}

.close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Ürün Galerisi */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-gallery img:hover {
    transform: scale(1.05);
}

/* Bölüm Stilleri */
.modal-body h3 {
    color: #1a202c;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body h3 i {
    color: #d4af37;
}

/* İçindekiler Listesi */
.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ingredient-tag {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #bae6fd;
}

/* Besin Değerleri */
.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.nutrition-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.nutrition-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 0.25rem;
}

.nutrition-label {
    font-size: 14px;
    color: #6b7280;
}

/* Alerjen Tablosu */
.allergens-table {
    overflow-x: auto;
}

.allergens-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.allergens-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
}

.allergens-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.allergen-code {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.allergen-name {
    font-weight: 600;
    color: #1a202c;
}

.allergen-desc {
    color: #6b7280;
    font-size: 14px;
}

/* Meta Bilgiler */
.product-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.meta-item i {
    color: #d4af37;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-spinner {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: #1a202c;
}

.loading-spinner i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

/* Ürün Kartı İyileştirmeleri */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: white;
    font-size: 2rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95vh;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: 70vh;
    }
    
    .product-gallery {
        grid-template-columns: 1fr;
    }
    
    .allergens-table {
        font-size: 14px;
    }
    
    .allergens-table th,
    .allergens-table td {
        padding: 0.5rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* Basit Ürün Detay Stilleri */
.product-image-large {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-image-large img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.product-price-large {
    text-align: center;
    margin: 1.5rem 0;
}

.product-price-large .price {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    background: #fffbf0;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
}

.nutrition-simple {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.nutri-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: #0369a1;
}

.nutri-item i {
    color: #d4af37;
}

.allergen-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.allergen-warning i {
    color: #dc2626;
}
/* ========== Z-INDEX DÜZENLEMESİ ========== */

/* Header ve Tab Menü için yüksek z-index */
header {
    position: relative;
    z-index: 1000;
}

.tabs {
    position: relative;
    z-index: 999;
}

/* Kategori bar için z-index */
#catBar {
    position: sticky;
    top: 0;
    z-index: 990;
    background: white;
}

/* Ürün kartları için düşük z-index */
.product-card {
    position: relative;
    z-index: 1;
}

/* Modal için en yüksek z-index */
.product-detail-modal-container {
    z-index: 2000;
}

/* Loading overlay için */
.loading-overlay {
    z-index: 3000;
}

/* Toast mesajları için */
.toast {
    z-index: 4000;
}
/* Basit Modal Stilleri */
.product-detail-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-content.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
}

.modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.3);
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.product-image-large {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-image-large img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.product-price-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 1rem;
}
/* Ürün Kartı Stilleri */
.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #d4af37;
}

.product-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

/* BÜYÜTEÇ OVERLAY KALDIRILDI - sadece normal resim */

.product-info {
    flex: 1;
}

.product-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0.5rem 0;
    color: #1a202c;
    line-height: 1.4;
}

.product-description {
    color: #6b7280;
    font-size: 14px;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.product-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: #d4af37;
    margin: 0.5rem 0;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-icon {
    padding: 10px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.btn-icon:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.btn-icon[data-action="add"] {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border: none;
}

.btn-icon[data-action="add"]:hover {
    background: linear-gradient(135deg, #b8941f, #a3821a);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-icon[data-action="add"] svg {
    fill: white;
}

.btn-icon[data-action="info"] {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}

.btn-icon[data-action="info"]:hover {
    background: #e0f2fe;
    color: #075985;
}

.btn-icon[data-action="extras"] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.btn-icon[data-action="extras"]:hover {
    background: #dcfce7;
    color: #15803d;
}
/* ========== SİPARİŞ DETAY MODAL STİLLERİ ========== */

.order-detail-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: block;
}

.order-detail-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.order-detail-modal .modal-content.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.order-detail-modal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Sipariş Özeti */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-item label {
    font-weight: 600;
    color: #6b7280;
    font-size: 14px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* Adres ve Not Kutuları */
.address-box, .note-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.address-box i, .note-box i {
    color: #d4af37;
    margin-top: 0.2rem;
}

/* Sipariş Kalemleri */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.order-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 600;
    color: #1a202c;
}

.item-quantity {
    color: #6b7280;
    font-size: 14px;
}

.item-extras {
    margin: 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid #d4af37;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.item-note {
    background: #f0f9ff;
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0.5rem 0;
    font-size: 14px;
    color: #0369a1;
}

.item-total {
    text-align: right;
    font-weight: 600;
    color: #d4af37;
    margin-top: 0.5rem;
}

/* Timeline */
.timeline {
    margin-top: 1rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-marker i {
    color: white;
    font-size: 12px;
}

.timeline-content {
    flex: 1;
    padding-bottom: 0.5rem;
}

.timeline-time {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.timeline-status {
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 0.25rem;
}

.timeline-description {
    color: #6b7280;
    font-size: 14px;
}

/* Toplam Bölümü */
.total-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.total-price {
    color: #d4af37;
    font-size: 1.5rem;
}

/* Footer Butonları */
.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .order-detail-modal .modal-content {
        width: 98%;
        height: 95vh;
    }
    
    .order-detail-modal .modal-body {
        padding: 1rem;
        max-height: 75vh;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 12px;
    }
}
/* Warenkorb toplam alanı hizalama */
.ko-cart-summary {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.ko-cart-summary > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  font-size: 14px;
}

.ko-cart-summary span {
  color: #64748b;
  font-weight: 700;
}

.ko-cart-summary b {
  color: #111827;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.ko-cart-summary .total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed #d1d5db;
}

.ko-cart-summary .total span,
.ko-cart-summary .total b {
  color: #e30613;
  font-size: 17px;
}

#btnSubmitOrder {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
}
/* Warenkorb Ürün Kartı */
.ko-cart-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.ko-cart-item{
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:18px;
    padding:14px 16px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);

    display:grid;
    grid-template-columns:1fr auto;
    grid-template-areas:
        "info qty"
        "price qty"
        "remove remove";

    gap:10px;
}

.ko-cart-item > div:first-child{
    grid-area:info;
}

.ko-cart-item h3{
    margin:0;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
    color:#111827;
}

.ko-cart-item strong{
    grid-area:price;
    display:block;
    margin-top:4px;
    font-size:20px;
    font-weight:800;
    color:#e30613;
}

/* Adet alanı */
.ko-qty{
    grid-area:qty;

    display:flex;
    align-items:center;
    gap:8px;

    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:12px;

    padding:6px 10px;

    height:fit-content;
}

.ko-qty button{
    width:28px;
    height:28px;

    border:none;
    border-radius:8px;

    background:#eef2f7;
    cursor:pointer;

    font-weight:700;
}

.ko-qty span{
    min-width:20px;
    text-align:center;
    font-weight:700;
}

/* Sil Butonu */
.ko-remove{
    grid-area:remove;

    border:none;
    background:none;

    color:#dc2626;
    font-size:14px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    padding-top:6px;

    cursor:pointer;
}

.ko-remove:hover{
    color:#b91c1c;
}

/* Mobil */
@media (max-width:768px){

    .ko-cart-item{
        padding:12px;
    }

    .ko-cart-item h3{
        font-size:14px;
    }

    .ko-cart-item strong{
        font-size:18px;
    }
}

