/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Footer en alta */
footer {
    margin-top: auto !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.restaurant-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Popüler Ürünler Slider */
.popular-section {
    padding: 30px 0;
    background: white;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.popular-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 10px 0 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    -webkit-overflow-scrolling: touch;
}

.popular-slider::-webkit-scrollbar {
    height: 6px;
}

.popular-slider::-webkit-scrollbar-track {
    background: transparent;
}

.popular-slider::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.popular-slider::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.popular-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

.popular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.popular-image-wrapper {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.popular-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-card:hover .popular-image {
    transform: scale(1.05);
}

.popular-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.popular-info {
    padding: 15px;
}

.popular-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-price {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

/* Kategori Grid */
.categories-section {
    padding: 30px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-bg-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.category-name {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0 15px;
}

/* Geri Dön Bölümü */
.back-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-bottom: 15px;
}

.back-btn:hover {
    background: #5568d3;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 10px;
}

/* Ürün Listesi */
.products-list-section {
    padding: 30px 0;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-list-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-list-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.product-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-list-price {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 100;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
}

.modal-image-wrapper {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 20px;
}

.modal-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.3;
}

.modal-category {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* Desktop */
@media (min-width: 769px) {
    .modal-content {
        max-width: 450px;
    }
    
    .modal-image-wrapper {
        height: 280px;
    }
    
    .modal-info h2 {
        font-size: 24px;
    }
    
    .modal-price {
        font-size: 28px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .popular-card {
        width: 180px;
        min-width: 180px;
    }

    .category-card {
        height: 150px;
    }

    .category-name {
        font-size: 18px;
    }

    .product-list-image {
        width: 80px;
        height: 80px;
    }

    .product-list-name {
        font-size: 16px;
    }

    .product-list-price {
        font-size: 18px;
    }
}

/* Scrollbar Stilleri */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* ==================== INSTAGRAM STORY STYLE - POPÜLER ÜRÜNLER ==================== */

section.popular-section {
    padding: 25px 0 !important;
    background: white !important;
}

section.popular-section .section-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #262626 !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    padding-left: 5px !important;
}

section.popular-section .popular-slider {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 18px !important;
    padding: 10px 5px 15px 5px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
}

section.popular-section .popular-slider::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

section.popular-section .popular-card {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: 80px !important;
    min-width: 80px !important;
    padding: 0 !important;
}

section.popular-section .popular-card:hover {
    transform: scale(1.05) !important;
    box-shadow: none !important;
}

section.popular-section .popular-image-wrapper {
    width: 72px !important;
    height: 72px !important;
    padding-top: 0 !important;
    position: relative !important;
    overflow: visible !important;
    border-radius: 50% !important;
    padding: 3px !important;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

section.popular-section .popular-image-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    background: white !important;
    border-radius: 50% !important;
    z-index: 1 !important;
}

section.popular-section .popular-image {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    z-index: 2 !important;
    transition: none !important;
}

section.popular-section .popular-card:hover .popular-image {
    transform: none !important;
}

section.popular-section .popular-image-placeholder {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    z-index: 2 !important;
}

section.popular-section .popular-info {
    padding: 8px 0 0 0 !important;
    text-align: center !important;
    width: 100% !important;
}

section.popular-section .popular-name {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #262626 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 80px !important;
}

/* Fiyat ve alerjen bilgilerini gizle */
section.popular-section .popular-card .popular-price,
section.popular-section .popular-card .allergen-icons {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    section.popular-section .popular-card {
        width: 72px !important;
        min-width: 72px !important;
    }
    
    section.popular-section .popular-image-wrapper {
        width: 66px !important;
        height: 66px !important;
    }
    
    section.popular-section .popular-name {
        font-size: 11px !important;
        max-width: 72px !important;
    }
    
    section.popular-section .popular-slider {
        gap: 14px !important;
    }
}


/* ==================== FAVORİLER SİSTEMİ ==================== */

/* Favori Butonu - Ürün Kartlarında */
.favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.favorite-btn.active {
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Header Favori Butonu */
.favorites-header-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.favorites-header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

#favoritesCount {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Modal Favori Butonu */
.modal-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    margin-top: 15px;
}

.modal-favorite-btn:hover {
    background: #fff0f0;
    border-color: #ffcdd2;
    color: #e74c3c;
}

.modal-favorite-btn.active {
    background: #fff0f0;
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Modal WhatsApp Butonu */
.modal-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    margin-top: 15px;
    margin-left: 10px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
}

.modal-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4);
}

.modal-whatsapp-btn:active {
    transform: translateY(0);
}

/* Modal Telefon Butonu */
.modal-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
    margin-left: 10px;
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.3);
}

.modal-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Günün Menüsü */
.daily-menu-section {
    padding: 20px 0;
}

.daily-menu-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
    border: 2px solid #f39c12;
    position: relative;
}

.daily-menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.25);
}

.daily-menu-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.daily-menu-image {
    width: 140px;
    min-width: 140px;
    height: 140px;
    overflow: hidden;
}

.daily-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.daily-menu-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #ffe8cc;
}

.daily-menu-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.daily-menu-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.daily-menu-desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.daily-menu-price {
    font-size: 20px;
    font-weight: 800;
    color: #e67e22;
}

@media (max-width: 480px) {
    .daily-menu-image {
        width: 110px;
        min-width: 110px;
        height: 110px;
    }
    
    .daily-menu-info h3 {
        font-size: 16px;
    }
    
    .daily-menu-price {
        font-size: 18px;
    }
    
    .daily-menu-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* Toast Bildirimi */
.favorites-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.favorites-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Favoriler Modal */
#favoritesModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: flex-end;
    justify-content: center;
}

.favorites-modal-content {
    background: white;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease;
}

.favorites-modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.favorites-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.favorites-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.favorites-modal-close:hover {
    background: #eee;
}

.favorites-modal-body {
    padding: 15px;
}

/* Favoriler Listesi */
.favorites-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.favorites-empty p:first-child {
    font-size: 48px;
    margin-bottom: 15px;
}

.favorites-empty p:nth-child(2) {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.favorites-empty small {
    font-size: 14px;
    color: #999;
}

.favorites-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.favorites-item:hover {
    background: #f0f0f0;
}

.favorites-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

.favorites-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorites-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #aaa;
}

.favorites-item-info {
    flex: 1;
    min-width: 0;
}

.favorites-item-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorites-item-category {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.favorites-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #667eea);
}

.favorites-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.favorites-item-remove:hover {
    background: #fee;
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Desktop Favoriler Modal */
@media (min-width: 769px) {
    #favoritesModal {
        align-items: center;
        padding: 20px;
    }
    
    .favorites-modal-content {
        max-width: 500px;
        border-radius: 24px;
        max-height: 70vh;
    }
}

/* Mobil Uyum */
@media (max-width: 480px) {
    .favorites-header-btn {
        padding: 6px 10px;
        font-size: 18px;
    }
    
    .favorite-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}


/* Favori Silme Butonu */
.fav-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.fav-remove-btn:hover {
    background: #fee;
    border-color: #e74c3c;
}

/* ==================== MOBİL HAMBURGER MENÜ ==================== */

/* Hamburger Butonu */
.hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 101;
    position: relative;
}

.hamburger-btn:hover,
.hamburger-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-menu-overlay.show {
    display: block;
    opacity: 1;
}

/* Mobil Menü Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    padding: 60px 24px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-menu-close:active {
    background: #e8e8e8;
    transform: scale(0.95);
}

.mobile-menu-content {
    padding: 24px;
}

.mobile-menu-section {
    margin-bottom: 8px;
}

.mobile-menu-section-title {
    display: none;
}

/* Mobil Menü - Favoriler Butonu */
.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #1a1a1a;
    border: none;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.mobile-menu-item:active {
    background: #f0f0f0;
    transform: scale(0.98);
}

.mobile-menu-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mobile-menu-item-icon.favorites {
    background: linear-gradient(145deg, #ff6b6b, #ff5252);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

.mobile-menu-item-icon.lang-icon {
    /* Renk index.php'den dinamik olarak gelecek */
}

.mobile-menu-item-badge {
    margin-left: auto;
    background: #ff5252;
    color: white;
    font-size: 13px;
    font-weight: 600;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

/* Mobil Menü - Dil Listesi */
.mobile-lang-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 14px;
    margin-top: 8px;
}

/* Mobil Menü - Accordion */
.mobile-menu-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 16px;
    cursor: pointer;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.2px;
    transition: all 0.2s;
}

.mobile-menu-accordion:active {
    background: #f0f0f0;
    transform: scale(0.98);
}

.mobile-menu-accordion .mobile-menu-item-icon {
    /* Renk index.php'den dinamik olarak gelecek */
}

.accordion-arrow {
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-lang-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #1a1a1a;
}

.mobile-lang-item:active {
    transform: scale(0.98);
}

.mobile-lang-item.active {
    background: linear-gradient(145deg, var(--primary-color, #667eea), var(--secondary-color, #764ba2));
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mobile-lang-item .lang-flag {
    font-size: 26px;
}

.mobile-lang-item .lang-name {
    font-size: 16px;
    font-weight: 500;
}

.mobile-lang-item .lang-check {
    margin-left: auto;
}

/* Desktop Header Butonları */
.desktop-header-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    .desktop-header-btns {
        display: none !important;
    }
    
    .language-selector .lang-dropdown,
    .language-selector .favorites-header-btn:not(.mobile-visible) {
        display: none !important;
    }
}
