/**
 * QR Menü Sistemi Ana CSS Dosyası
 */

/* Genel Stil Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 65px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
}
.language-selector {
    position: relative;
    margin-right: 15px;
}

.current-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    
    /* Daha güçlü görünürlük */
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    color: #374151;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-weight: 500;
}

.current-language:hover {
    background: #f9fafb;
    border-color: #6b7280;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.current-language i {
    margin-left: 6px;
    font-size: 0.8rem;
    color: #6b7280;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #d1d5db;
    min-width: 140px;
    display: none;
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
}

.language-selector:hover .language-dropdown {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-option {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-weight: 400;
}

.language-option:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.language-option.active {
    font-weight: 600;
    background: #e0e7ff;
    color: #3730a3;
    position: relative;
}

.language-option.active::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #059669;
    font-weight: bold;
    font-size: 12px;
}

/* Alternatif: Daha koyu stil */
.language-selector.dark .current-language {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.language-selector.dark .current-language:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.language-selector.dark .current-language i {
    color: #d1d5db;
}

/* Alternatif: Renkli vurgu */
.language-selector.accent .current-language {
    background: #ffffff;
    border: 2px solid #3b82f6;
    color: #1e40af;
    font-weight: 600;
}

.language-selector.accent .current-language:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.language-selector.accent .current-language i {
    color: #3b82f6;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .current-language {
        padding: 6px 10px;
        font-size: 0.85rem;
        border-width: 1px;
    }

    .language-dropdown {
        min-width: 120px;
        right: -10px;
    }

    .language-option {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
/* Ana İçerik */
.site-content {
    padding: 20px 0;
    min-height: calc(100vh - 150px); /* Header ve footer dışında kalan kısım en az tam ekran olsun */
}

/* Arama Kutusu */
.search-container {
    margin: 20px 0;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-btn:hover {
    color: var(--primary-color);
}

/* Canlı Arama Sonuçları */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    margin-top: 5px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.live-search-items {
    display: flex;
    flex-direction: column;
}

.live-search-item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background-color: #f9f9f9;
}

.live-search-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}

.live-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.live-search-details h4 {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    color: #333;
}

.live-search-category {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 6px;
}

.live-search-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.show-all-results {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #f5f5f5;
}

.show-all-results a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #666;
}

@media (max-width: 767px) {
    .live-search-results {
        max-height: 300px;
    }
    
    .live-search-image {
        width: 50px;
        height: 50px;
    }
    
    .live-search-details h4 {
        font-size: 0.9rem;
    }
}

/* Kategoriler */
.categories-container {
    margin: 20px 0 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Ürünler - Grid Görünüm */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    height: 150px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 15px;
}

.product-card .product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.product-card .product-category {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 5px;
}

.discounted-price {
    color: var(--primary-color);
}

/* Ürünler - Liste Görünüm */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.product-item {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-item .product-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item .product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-item .product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.product-item .product-category {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.product-item .product-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-item .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

/* Kategori Sayfası */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.back-button {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #555;
    transition: background-color 0.3s, color 0.3s;
}

.back-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

.category-description {
    margin-bottom: 25px;
    color: #666;
    max-width: 800px;
}

/* Ürün Detay Sayfası */
.navigation-header {
    margin-bottom: 20px;
}

.navigation-header .back-button {
    display: inline-flex;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: #555;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.navigation-header .back-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.navigation-header .back-button i {
    margin-right: 5px;
}

.product-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.product-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

.product-description {
    color: #555;
    line-height: 1.6;
}

.product-ingredients {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.product-ingredients h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}

.feature i {
    margin-right: 8px;
}

.feature.vegetarian {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.feature.vegan {
    background-color: #e0f2f1;
    color: #00695c;
}

.feature.gluten-free {
    background-color: #fff8e1;
    color: #ff8f00;
}

.product-allergens {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.product-allergens h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.product-variations {
    margin: 20px 0;
}

.product-variations h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.variations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variation-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.variation-item:hover {
    background-color: #f0f0f0;
}

.variation-item.default {
    background-color: #e0f7fa;
    border-left: 3px solid var(--primary-color);
}

.variation-name {
    font-weight: 600;
}

.variation-price {
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-price-container .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-container .original-price {
    font-size: 1.2rem;
}

.product-price-container .discounted-price,
.product-price-container .current-price {
    font-size: 1.6rem;
}

/* Arama Sayfası */
.search-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.search-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

.results-info {
    margin: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.no-results p {
    margin-bottom: 15px;
}

.no-results .button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.no-results .button:hover {
    background-color: #0056b3;
}

/* Uyarı Mesajları */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #333;
}

.alert-success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

/* Buton */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
    text-align: center;
}

.button:hover {
    background-color: #0056b3;
}

/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    color: #777;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
}

.scroll-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    background-color: #0056b3;
}

/* Yardımcı Sınıflar */
.no-items {
    text-align: center;
    padding: 30px 0;
    color: #666;
}

/* Renk Değişkenleri */
:root {
    --primary-color: #ff4757;
    --primary-color-rgb: 255, 71, 87;
}
/* Kararsız Kaldım Butonu */
/* Kararsız Kaldım Butonu */
.random-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 15px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    min-width: 160px !important;
    height: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.random-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    color: white !important;
}

.random-btn small {
    font-size: 0.7rem !important;
    opacity: 0.9 !important;
    font-weight: 400 !important;
    margin-top: 2px !important;
}

.search-and-random-wrapper {
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.search-form-wrapper {
    flex: 1 !important;
    min-width: 300px !important;
}
/* Ürün İsmi - Zarif Typography */
.product-title {
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #2c3e50 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    font-family: 'Georgia', serif !important;
    letter-spacing: 0.5px !important;
}

/* Fiyat - Kompakt ve Şık */
.product-price-container {
    display: inline-block !important;
    background: #2c3e50 !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    margin: 10px 0 20px 0 !important;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2) !important;
    width: auto !important;
    max-width: fit-content !important;
}

.current-price, .discounted-price {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin: 0 !important;
}

.original-price {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
}

/* Genel Aralıkları Daraltma */
.product-description {
    margin: 12px 0 !important;
    padding: 12px !important;
}

.product-ingredients {
    margin: 12px 0 !important;
    padding: 12px !important;
}

.product-features {
    margin: 12px 0 !important;
}

.product-allergens {
    margin: 12px 0 !important;
    padding: 10px !important;
}

.product-variations {
    margin: 12px 0 !important;
    padding: 12px !important;
}

/* İçerikler arası boşlukları azalt */
.product-info-container > * {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
/* Modern Estetik Ürün Detay - Kompakt Versiyon */

/* Ürün İsmi - Elegant Typography */
/* Ürün Detay - Ürün Adı ve Fiyat Typography */
.product-title {
    font-size: 2rem !important;
    font-weight: 800 !important; /* Daha kalın */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; /* Fiyat ile aynı font */
    color: #2d3748 !important;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
}

/* Fiyat container da aynı font kulansın */
.current-price, 
.discounted-price {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800 !important; /* Aynı kalınlık */
    font-size: 1.8rem !important;
    color: #2d3748 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

/* Fiyat - Estetik ve Minimal */
.product-price-container {
    display: inline-flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 2px solid #e9ecef !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    margin: 5px 0 15px 0 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
    width: auto !important;
    max-width: fit-content !important;
    position: relative !important;
}
.product-price-container::before {
    display: none !important;
}

.product-price-container::before {
    content: '₺';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c3e50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.current-price, .discounted-price {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.02em !important;
}



.original-price {
    font-size: 1.1rem !important;
    color: #95a5a6 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
    font-weight: 400 !important;
}

/* Açıklama - Kompakt */
.product-description {
    background: rgba(52, 73, 94, 0.03) !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border-left: 3px solid #3498db !important;
    margin: 8px 0 !important;
}

.product-description p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #34495e !important;
    font-style: italic !important;
    margin: 0 !important;
}

/* İçindekiler - Kompakt */
.product-ingredients {
    background: white !important;
    padding: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04) !important;
    margin: 8px 0 !important;
}

.product-ingredients h3 {
    font-size: 1rem !important;
    color: #2c3e50 !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
}

.ingredient-chip {
    background: #f1f3f4 !important;
    color: #5f6368 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    display: inline-block !important;
    margin: 1px 2px !important;
    border: 1px solid #e8eaed !important;
    transition: all 0.2s ease !important;
}

.ingredient-chip:hover {
    background: #e8f0fe !important;
    border-color: #4285f4 !important;
    color: #1967d2 !important;
}

/* Özellikler - Kompakt */
.product-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 8px 0 !important;
}

.feature {
    background: white !important;
    padding: 6px 10px !important;
    border-radius: 15px !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 0.8rem !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: transform 0.2s ease !important;
}

.feature:hover {
    transform: translateY(-1px) !important;
}

.feature.vegetarian {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%) !important;
    border-color: #28a745 !important;
    color: #155724 !important;
}

.feature.vegan {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 100%) !important;
    border-color: #17a2b8 !important;
    color: #0c5460 !important;
}

.feature.gluten-free {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%) !important;
    border-color: #ffc107 !important;
    color: #856404 !important;
}

/* Alerjenler - Kompakt */
.product-allergens {
    background: #fff9f9 !important;
    border: 1px solid #f8cecc !important;
    border-left: 3px solid #e74c3c !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    margin: 8px 0 !important;
}

.product-allergens h3 {
    color: #c0392b !important;
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.product-allergens h3::before {
    content: '' !important;
    font-size: 0.8rem !important;
}

.product-allergens p {
    color: #8b2635 !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* Varyasyonlar - Kompakt */
.product-variations {
    background: white !important;
    padding: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04) !important;
    margin: 8px 0 !important;
}

.product-variations h3 {
    color: #2c3e50 !important;
    font-size: 1rem !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
}

.variations-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.variation-item {
    background: #f8f9fa !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.2s ease !important;
}

.variation-item:hover {
    background: #e9ecef !important;
    transform: translateX(2px) !important;
}

.variation-item.default {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border-color: #2196f3 !important;
    position: relative !important;
}

.variation-item.default::after {
    content: '✓' !important;
    position: absolute !important;
    right: -6px !important;
    top: -6px !important;
    background: #2196f3 !important;
    color: white !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    font-size: 0.6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.variation-name {
    font-weight: 500 !important;
    color: #2c3e50 !important;
    font-size: 0.85rem !important;
}

.variation-price {
    font-weight: 600 !important;
    color: #e74c3c !important;
    font-size: 0.9rem !important;
}

/* Genel Container Ayarı */
.product-info-container > * {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem !important;
    }
    
    .current-price, .discounted-price {
        font-size: 1.5rem !important;
    }
    
    .product-price-container {
        padding: 6px 14px !important;
    }
    
    .product-features {
        gap: 4px !important;
    }
    
    .feature {
        font-size: 0.75rem !important;
        padding: 5px 8px !important;
    }
    
}
/* Animasyonlu İkonlar - Minimal ve Subtle */

/* İçindekiler - Tuz Serpme Animasyonu */
.product-ingredients {
    position: relative !important;
}

.product-ingredients::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    right: 10px !important;
    font-size: 16px !important;
    animation: saltSprinkle 3s ease-in-out infinite !important;
    opacity: 0.7 !important;
}

@keyframes saltSprinkle {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-2px) rotate(-5deg); opacity: 1; }
    50% { transform: translateY(-1px) rotate(5deg); opacity: 0.8; }
    75% { transform: translateY(-3px) rotate(-2deg); opacity: 1; }
}

/* Kalori - Alev Titreşimi */
.feature:has(i.fa-fire)::after,
.feature i.fa-fire::after {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    font-size: 12px !important;
    animation: flameFlicker 2s ease-in-out infinite !important;
    opacity: 0.6 !important;
}

.feature:has(i.fa-fire) {
    position: relative !important;
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    25% { transform: scale(1.1) rotate(2deg); opacity: 0.8; }
    50% { transform: scale(0.95) rotate(-1deg); opacity: 0.7; }
    75% { transform: scale(1.05) rotate(1deg); opacity: 0.9; }
}

/* Vejetaryen - Yaprak Sallanması */
.feature.vegetarian::after {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    font-size: 12px !important;
    animation: leafSway 4s ease-in-out infinite !important;
    opacity: 0.7 !important;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(-3deg) translateY(0px); opacity: 0.7; }
    25% { transform: rotate(3deg) translateY(-1px); opacity: 0.9; }
    50% { transform: rotate(-2deg) translateY(1px); opacity: 0.8; }
    75% { transform: rotate(4deg) translateY(-0.5px); opacity: 0.9; }
}

/* Glutensiz - Buğday Çarpısı */
.feature.gluten-free::after {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    font-size: 10px !important;
    animation: noGluten 3s ease-in-out infinite !important;
    opacity: 0.6 !important;
}

@keyframes noGluten {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Alerjenler - Uyarı Pulse */
.product-allergens::before {
    content: '' !important;
    position: absolute !important;
    top: -6px !important;
    right: 8px !important;
    font-size: 14px !important;
    animation: warningPulse 2.5s ease-in-out infinite !important;
    background: white !important;
    padding: 2px !important;
    border-radius: 50% !important;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Varyasyonlar - Seçenek Değişimi */
.product-variations::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    right: 10px !important;
    font-size: 14px !important;
    animation: optionSwitch 3s linear infinite !important;
    opacity: 0.6 !important;
}

@keyframes optionSwitch {
    0%, 100% { transform: rotate(0deg); opacity: 0.6; }
    25% { transform: rotate(90deg); opacity: 0.8; }
    50% { transform: rotate(180deg); opacity: 1; }
    75% { transform: rotate(270deg); opacity: 0.8; }
}

/* Açıklama - Konuşma Balonu */
.product-description::before {
    content: '' !important;
    position: absolute !important;
    top: -6px !important;
    right: 8px !important;
    font-size: 12px !important;
    animation: thoughtBubble 4s ease-in-out infinite !important;
    opacity: 0.5 !important;
}

@keyframes thoughtBubble {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
    50% { transform: translateY(-3px) scale(1.1); opacity: 0.8; }
}

/* İçindekiler Tablosu - Geliştirilmiş Tasarım */
.product-ingredients {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    border: 1px solid #e9ecef !important;
    margin: 8px 0 !important;
}

.product-ingredients h3 {
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.product-ingredients h3::before {
    content: '' !important;
    font-size: 1rem !important;
}

.product-ingredients p {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
}

.ingredient-chip {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    color: #495057 !important;
    padding: 6px 12px !important;
    border-radius: 18px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.ingredient-chip:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border-color: #2196f3 !important;
    color: #1976d2 !important;
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 3px 8px rgba(33, 150, 243, 0.2) !important;
}

/* Her chip'e farklı renk teması (opsiyonel) */
.ingredient-chip:nth-child(3n+1):hover {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%) !important;
    border-color: #ff9800 !important;
    color: #f57c00 !important;
}

.ingredient-chip:nth-child(3n+2):hover {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%) !important;
    border-color: #9c27b0 !important;
    color: #7b1fa2 !important;
}

.ingredient-chip:nth-child(3n+3):hover {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%) !important;
    border-color: #4caf50 !important;
    color: #388e3c !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .product-ingredients p {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
        gap: 4px !important;
    }
    
    .ingredient-chip {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }
    
    /* Animasyonlu ikonları mobilde küçült */
    .product-ingredients::before,
    .product-allergens::before,
    .product-variations::before,
    .product-description::before {
        font-size: 12px !important;
        top: -3px !important;
        right: 5px !important;
    }
    
    .feature.vegetarian::after,
    .feature.gluten-free::after {
        font-size: 10px !important;
        top: -5px !important;
        right: -5px !important;
    }
}
/* Ürün Açıklaması - Sade ve Temiz */
.product-description {
    background: #ffffff !important;
    padding: 24px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin: 20px 0 !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

/* Tüm dekoratif elementleri kaldır */
.product-description::before,
.product-description::after {
    display: none !important;
}

.product-description p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #374151 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
}

/* Sadece subtle hover efekti */
.product-description:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e0 !important;
}
/* Kategori Sayfası - Ürün Liste Açıklamalarını Gizle */
.product-item .product-description,
.live-search-details p:not(:first-child) {
    display: none !important;
}

/* Veya sadece kategori sayfası için */
.category-page .product-item .product-description {
    display: none !important;
}
/* Kategori Sayfası - Ürün İsimlerini Büyüt */
.product-item .product-name {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

/* Liste görünümündeki ürün isimleri için */
.products-list .product-item .product-name {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}
/* Kategori Sayfası - Ürün İsimleri Düzeltme */
.product-item .product-name {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #2d3748 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}
/* Kategori Sayfası - İsim ve Fiyat Dengeleme */
.product-item .product-name {
    font-size: 1.1rem !important;
    font-weight: 600 !important; /* hafif kalınlaştırıldı */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #2d3748 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

.product-item .product-price {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    background: #f1f5f9 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-block !important;
    margin-top: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
/* Kategori Header - Modern Tasarım */
.category-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: #f8fafc;
    color: #4a5568;
    border-radius: 12px;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.back-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.back-button i {
    margin-right: 8px;
    font-size: 0.875rem;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    letter-spacing: -0.025em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Ürün Resmi Container - Fiyat Genişliğinde */
.product-item .product-image {
    width: 120px !important; /* Sabit genişlik - fiyat kutusu kadar */
    min-width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    flex-shrink: 0 !important;
}

.product-item .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
/* Kategoriler - Her Zaman 2'li Dizilim */
.image-categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important; /* Her zaman 2 sütun */
    gap: 16px;
    margin-bottom: 40px;
}

.image-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 160px; /* Mobil için daha küçük */
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Responsive ayarları kaldır - hep 2'li kalacak */
@media (max-width: 768px) {
    .image-categories-grid {
        grid-template-columns: 1fr 1fr !important; /* Mobilde de 2'li */
        gap: 12px;
    }
    
    .image-category-card {
        height: 140px;
    }
}
/* Geri Butonu - Önceki CSS'leri Ezmek İçin */
.navigation-header .back-button,
.category-header .back-button {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    background: #f8fafc !important;
    color: #4a5568 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 20px !important;
    margin-right: 0 !important;
    width: auto !important;
    height: auto !important;
}

.navigation-header .back-button:hover,
.category-header .back-button:hover {
    background: #667eea !important;
    color: white !important;
    border-color: #667eea !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.navigation-header .back-button i,
.category-header .back-button i {
    margin-right: 8px !important;
    font-size: 0.875rem !important;
}
/* Geri Butonu - Sağ tarafına boşluk ekle */
.navigation-header .back-button,
.category-header .back-button {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    background: #f8fafc !important;
    color: #4a5568 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
    margin-right: 20px !important; /* Sağ tarafına boşluk */
    width: auto !important;
    height: auto !important;
}

/* Header container'ın alignment'i */
.category-header {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important; /* gap kaldır, margin ile hallediyoruz */
}
/* iPhone Swipe Navigation Engelleme */
body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* Touch hareketlerini sınırla */
html, body {
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Öne çıkan ürünler slider için touch izin ver */
.featured-slider {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

/* Kategori listesi için sadece dikey scroll */
.categories-container,
.products-list {
    touch-action: pan-y;
}

/* Viewport ayarları */
@viewport {
    width: device-width;
    zoom: 1.0;
}

