/* ================================ GENEL AYARLAR VE RENK PALETİ ================================ */
:root {
    --primary-color: #1a1a1a;
    /* Ana renk (koyu siyah) */
    --secondary-color: #2d2d2d;
    /* İkincil renk (koyu gri) */
    --background-color: #ffffff;
    /* Arka plan (beyaz) */
    --text-color: #1a1a1a;
    /* Metin rengi (siyah) */
    --white-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --favorite-color: #d63031;
    /* Favori rengi (kırmızı) */
    --vip-font: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
    /* VIP/Premium font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    -webkit-tap-highlight-color: transparent;
    /* iOS tıklama vurgusunu kaldır */
}

/* ================================ SKELETON SCREEN (PERFORMANS) ================================ */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton-banner {
    width: 100%;
    height: 150px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px 8px 0 0;
}

.skeleton-content {
    padding: 15px;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-price {
    height: 24px;
    width: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

/* ================================ HEADER ================================ */
header {
    background-color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(15px + env(safe-area-inset-top)) 30px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 20px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--secondary-color);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.logo a {
    text-decoration: none;
}

/* ================================ ARAMA ÇUBUĞU ================================ */
.search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
    min-width: 250px;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    /* iPhone otomatik yakınlaştırma (zoom) engeli için min 16px */
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    /* iOS varsayılan input stilini sıfırla */
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.search-bar button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s;
    font-weight: 500;
}

.search-bar button:hover {
    background-color: var(--secondary-color);
}

.search-bar button:active {
    transform: scale(0.95);
}

/* ================================ DİL SEÇİCİ DROPDOWN ================================ */
.language-selector {
    position: relative;
    z-index: 1001;
    /* Mobil menü ve diğer elemanların üzerinde kalsın */
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    background: var(--white-color);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
}

.lang-toggle .fa-globe {
    font-size: 15px;
    color: var(--primary-color);
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    color: #888;
}

.language-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 2000;
    min-width: 80px;
    animation: dropdownSlide 0.2s ease;
}

@media (max-width: 480px) {
    .lang-dropdown {
        right: 0;
        min-width: 70px;
    }
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-selector.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
}

.lang-option:hover {
    background: var(--light-gray);
}

.lang-option.active {
    background: var(--light-gray);
    font-weight: 700;
    color: var(--primary-color);
}

/* ================================ KULLANICI İŞLEMLERİ ================================ */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-actions>button,
.user-actions .admin-btn {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    /* #cart-button artık FAB olduğu için ayrı stilize edildi */
}

/* YENİ: UÇAN SEPET BUTONU (Floating Action Button - FAB) */
#cart-button {
    position: fixed;
    bottom: calc(25px + env(safe-area-inset-bottom));
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%);
    /* Canlı Kırmızımsı Turuncu */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(238, 82, 83, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cart-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(238, 82, 83, 0.6);
}

#cart-button:active {
    transform: translateY(2px) scale(0.95);
}

#cart-button i {
    color: white;
    /* İkon rengini beyaza zorlar */
}

/* Mobilde sepet butonunu başparmağın rahat erişimine göre hizala */
@media (max-width: 576px) {
    #cart-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

.user-actions>button:hover,
.user-actions .admin-btn:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Sepet ve Favori Sayıları */
.cart-count,
.favorites-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--favorite-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
    /* Sayacın belirginliğini artırır */
}

.cart-count.show,
.favorites-count.show {
    opacity: 1;
    transform: scale(1);
}

/* ================================ CONTAINER VE LAYOUT ================================ */
.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    /* Boşluk giderildi */
    gap: 25px;
    padding: 12px 20px 0;
    /* Üst padding ile biraz nefes alan çerçeve */
    position: relative;
}

/* ================================ SIDEBAR MENU (GÜNCELLENMİŞ VE DAHA ŞIK) ================================ */
/* ================================ SIDEBAR MENU (MODERN VE ŞIK) ================================ */
.store-menu {
    width: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: fit-content;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.store-menu-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.store-menu h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-close {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
    color: #ffd700;
}

#store-list {
    list-style: none;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
}

#store-list li {
    margin: 0 10px 8px 10px;
}

#store-list a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Hover animasyonu için arka plan */
#store-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#store-list a:hover::before {
    left: 100%;
}

#store-list a i {
    margin-right: 14px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

#store-list a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left-color: #ffd700;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#store-list a:hover i {
    color: #ffd700;
    transform: scale(1.2);
}

#store-list a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-left-color: #ffd700;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#store-list a.active i {
    color: #ffd700;
}

/* ================================ KATEGORİ MENÜSÜ STİLLERİ ================================ */
#category-menu {
    padding: 0;
    background: #121212;
}

.category-item {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.category-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.category-header .chevron-icon {
    font-size: 12px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    color: #7A7A7A;
}

.category-header .category-logo-icon {
    font-size: 18px;
    margin-right: 12px;
    color: #F2F2F2;
    width: 24px;
    text-align: center;
}

.category-header span {
    color: #F2F2F2;
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--vip-font), serif;
}

.store-count {
    display: none;
}

.category-stores {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #121212;
}

.category-stores li {
    margin: 0;
}

.category-stores a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #B5B5B5;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: var(--vip-font), serif;
}

.category-stores a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #F2F2F2;
}

.category-stores a i {
    display: none;
}

/* Alt kategori stilleri */
.subcategory-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.subcategory-header {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.subcategory-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.subcategory-header .chevron-icon {
    font-size: 12px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    color: #7A7A7A;
}

.subcategory-name {
    color: #B5B5B5;
    font-weight: 500;
    font-size: 15px;
    font-family: var(--vip-font), serif;
}

.subcategory-stores {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #121212;
}

.subcategory-stores li {
    margin: 0;
}

.subcategory-stores a {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 56px;
    text-decoration: none;
    color: #7A7A7A;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: var(--vip-font), serif;
}

.subcategory-stores a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #B5B5B5;
}

/* Scroll bar stilini güzelleştir */

/* Overlay (Mobil menü açıkken arka plan karartma) */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1005;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Scroll bar stilini güzelleştir */
.store-menu::-webkit-scrollbar {
    width: 6px;
}

.store-menu::-webkit-scrollbar-track {
    background: #121212;
}

.store-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.store-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ================================ İÇERİK ALANI ================================ */
.content {
    flex: 1;
    min-width: 0;
    /* overflow: hidden bu satır sticky'yi bozar, clip kullan */
    overflow-x: clip;
    /* Yatay taşmayı engeller ama sticky çalışır */
}

/* ================================ STORE BANNER ================================ */
.store-banner {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
    max-width: 100%;
    /* Konteyner dışına taşmayı engeller */
    box-sizing: border-box;
}

.store-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.store-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-info h2 {
    font-size: 32px;
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-family: var(--vip-font), serif;
}

.store-banner p {
    color: #666;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ================================ SOCIAL MEDIA BUTTONS ================================ */
.store-social-buttons {
    display: flex;
    gap: 12px;
}

.store-social-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    color: #000000;
}

.tiktok-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.instagram-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.phone-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.location-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .store-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .store-info {
        text-align: center;
        width: 100%;
    }

    .store-social-buttons {
        justify-content: center;
        gap: 15px;
    }

    .social-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .store-social-buttons-container {
        margin-top: 15px;
    }
}

/* --- YENİ: MAĞAZA ZİYARET SAYACI (GÖZ İKONU) --- */
.store-views-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(26, 26, 26, 0.05);
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.store-views-badge i {
    color: var(--primary-color);
    font-size: 12px;
}

.store-views-badge:hover {
    background: rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .store-views-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        margin: 0;
        z-index: 10;
    }
}

/* ================================ ÜRÜN İZGARASI (MODERN GÖRÜNÜM) ================================ */
.products-grid {
    display: grid;
    /* Masaüstünde 4 sütun, tablette 2 sütun, mobilde 1 sütun için auto-fit kullanıldı */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.product-card {
    background-color: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    width: 100%;
    /* Sabit aspect ratio ile daha net ve düzenli resimler */
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
    /* Yumuşak büyüme */
}

/* --- İNDİRİM BANDI --- */
.discount-badge {
    position: absolute;
    top: 15px;
    left: -30px;
    transform: rotate(-45deg);
    background-color: var(--favorite-color);
    color: white;
    padding: 6px 35px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #a0a0a0;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-favorite:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    color: var(--favorite-color);
}

.btn-favorite.active {
    color: var(--favorite-color);
    animation: heartBeat 0.5s ease;
}

.product-info {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.price-display-wrapper {
    margin-bottom: 15px;
    flex: 1;
}

.product-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 16px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-weight: 800;
    color: var(--favorite-color);
    font-size: 16px;
}

.original-price {
    font-weight: 500;
    color: #a0a0a0;
    font-size: 13px;
    text-decoration: line-through;
}

.discount-percentage-badge {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--favorite-color);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.product-actions {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 44px;
    /* Buton yüksekliğini sabitliyoruz */
}

/* ================================ SEPETE EKLE BUTONU VE ADET SEÇİCİ ================================ */
.btn-cart {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: var(--primary-color);
    color: var(--white-color);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-cart:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-cart:active {
    transform: scale(0.97) translateY(0);
}

.btn-cart i {
    font-size: 16px;
}

/* Sepete Eklendikten Sonra Çıkan Adet Arttır/Azalt Menüsü */
.quantity-control-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.quantity-control-container.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.btn-cart.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.qty-btn:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.qty-btn:active {
    background-color: rgba(0, 0, 0, 0.08);
    transform: scale(0.9);
}

.qty-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
    user-select: none;
}

/* --- YENİ: ANİMASYON UÇAN ÜRÜN (THUMBNAIL) --- */
.flying-thumbnail {
    position: fixed;
    z-index: 9999;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    /* Tıklanmasın */
    /* Animasyon JS (GSAP) üzerinden tetiklenecek */
}

/* ================================ KATEGORİ KAYDIRILABİLİR YAPIŞKAN MENÜ ================================ */
.category-filters-section {
    position: sticky;
    top: 70px;
    /* Header yüksekliğine göre ayarlanabilir */
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0 -20px 25px -20px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.category-filters-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 5px;
    /* Scrollbar ezilmesin diye */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* iOS Native Feel */
}

/* Kategori scrollbarını gizle (şık dursun) */
.category-filters-container::-webkit-scrollbar {
    height: 0px;
    width: 0px;
    background: transparent;
}

.category-filters-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-filter-btn {
    background: var(--light-gray);
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter-btn:hover {
    background: #ebebeb;
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ================================ SIRALAMA VE FİLTRELEME ALANI ================================ */
.main-filters-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.sort-dropdown {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    /* Custom ok simgesi */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23444%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

.sort-dropdown:focus {
    border-color: var(--primary-color);
}

.filter-badge {
    background: rgba(231, 76, 60, 0.1);
    color: var(--favorite-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.filter-badge:hover,
.filter-badge.active {
    background: var(--favorite-color);
    color: white;
}

/* JS Filtreleme esnasında ürün kartlarının "Sıralanıyor" geçiş animasyonu için class'ı */
/* iOS Webkit (Safari) Çökme Döngüsü Hatası olmaması için transition ve transform silindi! */
.products-filtering {
    opacity: 0.5;
    pointer-events: none;
}

/* Reklam Kısmı vb. Responsive Düzenlemeler için Medya Sorguları vs. buralarda kalabilir. */

.btn-cart:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    /* Üzerine gelince hafifçe yükselsin */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cart:active {
    transform: translateY(0px);
    /* Tıklayınca yerine dönsün */
}

/* ================================ HERO SECTION ================================ */
.hero-section {
    background-color: var(--white-color);
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border-top: 5px solid var(--primary-color);
}

.hero-section h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-section p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 26, 26, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

/* ================================ INFO SECTION ================================ */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.info-block {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.info-block h2 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.info-block p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 50%;
    min-width: 54px;
    text-align: center;
}

.feature-item h3 {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

/* ================================ ARAMA SONUÇLARI ================================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #636e72;
}

.no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.no-results p {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ================================ MODAL ================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white-color);
    margin: 5vh auto;
    padding: 30px;
    border-radius: 8px;
    width: 85%;
    max-width: 800px;
    display: flex;
    gap: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    z-index: 10001;
    max-height: 90vh;
    /* Ekranın dışına taşmayı önler */
    overflow-y: auto;
    /* İçerik uzunsa kaydırma çubuğu çıkar */
}

.order-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.order-form-modal {
    background-color: var(--white-color);
    margin: 20px;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.order-form-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-form-header h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.order-form-header p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.order-form-modal .form-group {
    margin-bottom: 15px;
}

.order-form-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.order-form-modal .form-group input,
.order-form-modal .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    /* iPhone zoom engeli */
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.order-form-modal .form-group input:focus,
.order-form-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.order-form-modal .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.order-form-modal .btn-primary,
.order-form-modal .btn-secondary {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-form-modal .btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.order-form-modal .btn-primary:hover {
    background-color: var(--secondary-color);
}

.order-form-modal .btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.order-form-modal .btn-secondary:hover {
    background-color: var(--border-color);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-color);
}

.product-detail-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    max-width: 420px;
    max-height: 55vh;
    border-radius: 8px;
    object-fit: contain;
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--text-color);
}

.product-detail-price {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.product-detail-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-variants {
    margin: 20px 0;
}

.variant-option {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    vertical-align: middle;
    transition: all 0.3s;
}

.variant-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-add-cart {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    /* Mobilde tıklama kolaylığı */
    white-space: normal;
    /* Uzun yazılar sığmazsa alt satıra geçsin */
    text-align: center;
}

.btn-add-cart:hover {
    background-color: var(--secondary-color);
}

.btn-add-cart:active {
    transform: scale(0.98);
}

/* ================================ SEPET MODALI ================================ */
.cart-content {
    max-width: 650px;
    display: flex;
    flex-direction: column;
}

.order-items-preview {
    background-color: var(--light-gray);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.order-items-preview strong {
    color: var(--text-color);
}

.cart-header h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cart-items {
    flex-grow: 1;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.empty-cart-message {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.cart-store-section {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cart-store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.cart-store-header h4 {
    font-size: 16px;
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.cart-store-total {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    object-fit: cover;
    border-radius: 4px;
}

.favorite-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 14px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 13px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    background-color: var(--light-gray);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
}

.quantity-btn:hover {
    background-color: var(--border-color);
}

.cart-item-remove {
    color: var(--favorite-color);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #c0392b;
    transform: scale(1.2);
}

.cart-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total h3 {
    text-align: right;
    margin-bottom: 15px;
    color: var(--text-color);
}

.delivery-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.delivery-notice:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.delivery-icon {
    color: var(--primary-color);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.delivery-notice:hover .delivery-icon {
    transform: scale(1.2);
}

.checkout-button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-button:hover {
    background-color: var(--secondary-color);
}

.checkout-button:active {
    transform: scale(0.98);
}

/* ================================ HALANLARIM MODALI ================================ */
.favorites-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.favorites-header h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.favorites-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px 0;
}

.empty-favorites-message {
    text-align: center;
    color: #999;
    padding: 40px 0;
    grid-column: 1 / -1;
}

.favorite-item {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.favorite-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.favorite-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.favorite-item-info {
    padding: 12px;
}

.favorite-item-title {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.favorite-item-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
}

.favorite-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-remove-favorite {
    background-color: var(--favorite-color);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    flex: 1;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-remove-favorite:hover {
    background-color: #c0392b;
}

.btn-add-cart-from-fav {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    flex: 1;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-add-cart-from-fav:hover {
    background-color: var(--secondary-color);
}

/* ================================ BİLDİRİM ================================ */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 350px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
}

.notification-content i {
    font-size: 20px;
    color: #4CAF50;
    flex-shrink: 0;
}

.notification-content span {
    font-size: 14px;
    font-weight: 500;
}

/* ================================ ANİMASYONLAR ================================ */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.cart-bounce {
    animation: cartBounce 0.5s ease;
}

/* ================================ RESPONSIVE (TABLET) ================================ */
@media (max-width: 1024px) {
    .container {
        gap: 15px;
    }

    .store-menu {
        width: 220px;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 12px;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .logo h1 {
        font-size: 22px;
    }

    .search-bar {
        flex-basis: 100%;
        max-width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0 auto;
    }

    /* Mobil menü */
    .store-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 75vw;
        max-width: 280px;
        height: 100vh;
        z-index: 1010;
        margin: 0;
        padding-top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
    }

    .store-menu.active {
        transform: translateX(0);
    }

    .store-menu-header {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .store-menu h2 {
        font-size: 18px;
    }

    .menu-close {
        display: block;
    }

    #store-list a {
        padding: 10px 20px;
    }

    #store-list a:hover {
        padding-left: 23px;
    }

    .content {
        padding: 15px;
        width: 100%;
    }

    .delivery-notice {
        flex-direction: column;
        text-align: center;
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .delivery-icon {
        font-size: 18px;
    }

    .hero-section {
        padding: 40px 20px;
        border-radius: 0;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .store-banner {
        border-radius: 0;
        padding: 20px;
        margin-bottom: 15px;
    }

    .store-banner h2 {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }

    .modal-content {
        flex-direction: column;
        width: 95%;
        padding: 20px;
        gap: 20px;
        margin: 20px auto;
        /* Mobilde içerik uzarsa sayfa genelinde scroll olsun (modal içi scroll değil) */
        max-height: none !important;
        overflow-y: visible !important;
        height: auto;
    }

    .product-detail-image img {
        max-height: 40vh;
    }

    .product-detail-info h2 {
        font-size: 20px;
    }

    .product-detail-price {
        font-size: 22px;
    }

    .favorites-items {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .cart-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 10px;
        gap: 8px;
    }

    .header-left {
        gap: 10px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .search-bar {
        flex-basis: 100%;
    }

    .search-bar input {
        font-size: 13px;
        padding: 10px 12px;
    }

    .search-bar button {
        padding: 10px 15px;
    }

    .user-actions {
        gap: 8px;
    }

    .user-actions button,
    .user-actions .admin-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .content {
        padding: 12px;
    }

    .delivery-notice {
        padding: 8px 10px;
        font-size: 11px;
        gap: 5px;
    }

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

    .hero-section {
        padding: 30px 15px;
    }

    .hero-section h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 15px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .info-block {
        padding: 20px;
    }

    .info-block h2 {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .product-image-container {
        height: 160px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 13px;
        min-height: 30px;
    }

    .product-price {
        font-size: 15px;
    }

    .btn-cart {
        font-size: 13px;
        padding: 10px;
        white-space: normal;
        /* Yazı sığmazsa alt satıra geçsin */
        line-height: 1.2;
        min-height: 40px;
    }

    .modal-content {
        width: 98%;
        padding: 15px;
        gap: 15px;
        margin: 10px auto;
    }

    .product-detail-image img {
        max-height: 34vh;
    }

    .product-detail-image,
    .product-detail-info {
        flex: 1;
    }

    .product-detail-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-add-cart {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cart-item {
        padding: 10px;
        gap: 10px;
    }

    .cart-item img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }

    .favorites-items {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .favorite-item img {
        height: 120px;
    }

    .favorite-item-info {
        padding: 10px;
    }

    .notification {
        max-width: 90vw;
        width: 90vw;
    }

    .close-modal {
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
}

/* stores.html özel */
.stores-hero {
    background: #fff;
    text-align: center;
    padding: 60px 20px 40px;
}

.stores-hero h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.stores-hero p {
    color: #666;
    font-size: 18px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.store-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .25s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.store-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.store-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f5f5f5;
}

.store-info {
    padding: 16px;
}

.store-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.store-count {
    font-size: 14px;
    color: #777;
}

/* ================================ KATEGORİ FİLTRELEME ================================ */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--text-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--secondary-color);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* ================================ KATEGORİ FİLTRELEME (AYRILMIŞ HALİ) ================================ */
.category-filters-section {
    margin-bottom: 15px;
    /* Kategoriler ile diğer filtreler arasına boşluk */
}

.category-buttons-container {
    display: inline-flex;
    flex-wrap: wrap;
    background-color: #f0f0f0;
    padding: 4px;
    border-radius: 25px;
    gap: 0;
    border: 1px solid var(--border-color);
}

.category-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    color: #555;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.category-btn:hover {
    color: #000;
    background-color: #e0e0e0;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-count {
    background-color: rgba(0, 0, 0, 0.1);
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    margin-left: 8px;
}

.category-btn.active .category-count {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
}

/* ================================ GENEL FİLTRELEME ALANI (MODERN) ================================ */
.main-filters-section {
    margin-bottom: 25px;
}

.filter-toggle-btn {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 40px;
}

.filter-toggle-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
}

.main-filters-container {
    padding: 25px;
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.price-filter-group {
    margin-bottom: 25px;
    /* Gruplar arası boşluğu artırdık */
}

.price-filter-group:last-child {
    margin-bottom: 0;
}

.price-filter-group-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

/* --- HIZLI FİLTRE BUTONLARI (YENİ) --- */
.main-filters-container .category-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Butonlar arası boşluk */
}

.filter-option-btn {
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--text-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
}

.filter-option-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    /* Üzerine gelince hafifçe yukarı kalksın */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.filter-option-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.filter-option-btn i {
    font-size: 16px;
}

/* --- FİYAT ARALIĞI GİRDİLERİ (YENİ) --- */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- KATEGORİ DROPDOWN (YENİ) --- */
.category-dropdown-btn {
    width: 100%;
    padding: 18px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 56px;
}

.category-dropdown-btn:hover {
    background: #ebebeb;
    border-color: #d0d0d0;
}

.category-dropdown-btn:active {
    background: #e0e0e0;
    transform: scale(0.98);
}

.category-dropdown-text {
    flex: 1;
    text-align: left;
}

.category-dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.category-dropdown-content {
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    -webkit-overflow-scrolling: touch;
}

.category-dropdown-item {
    width: 100%;
    padding: 16px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 52px;
}

.category-dropdown-item:last-child {
    border-bottom: none;
}

.category-dropdown-item:hover {
    background: #f5f5f5;
}

.category-dropdown-item.active {
    background: #6c5ce7;
    color: white;
}

.category-dropdown-item:active {
    background: #5b4cdb;
    transform: scale(0.98);
}

.category-count {
    background: #e0e0e0;
    color: #333;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-dropdown-item.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-dropdown-btn:hover {
    background: #ebebeb;
    border-color: #d0d0d0;
}

.category-dropdown-btn:active {
    background: #e0e0e0;
    transform: scale(0.98);
}

.category-dropdown-text {
    flex: 1;
    text-align: left;
}

.category-dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.category-dropdown-content {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.category-dropdown-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.category-dropdown-item:last-child {
    border-bottom: none;
}

.category-dropdown-item:hover {
    background: #f5f5f5;
}

.category-dropdown-item.active {
    background: #6c5ce7;
    color: white;
}

.category-dropdown-item:active {
    background: #5b4cdb;
    transform: scale(0.98);
}

.category-count {
    background: #e0e0e0;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-dropdown-item.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.price-range-inputs input {
    width: 130px;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.price-range-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.price-range-inputs span {
    color: #888;
    font-weight: 500;
}

/* ================================ İNDİRİM ROZETİ VE FİYAT GÖSTERİMİ ================================ */
.product-card .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--favorite-color);
    color: white;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-card .price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Eski ve yeni fiyat arasına küçük bir boşluk */
}

.product-card .price-container {
    display: flex;
    justify-content: space-between;
    /* Fiyatı ve rozeti iki uca yasla */
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.product-card .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card .current-price {
    font-weight: bold;
    color: var(--favorite-color);
    /* İndirimli fiyatı vurgula */
    font-size: 18px;
}

.product-card .product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

/* ================================ FİYATA GÖRE FİLTRELEME ================================ */
.price-filters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* ✅ YENİ: Rezervasyon Butonu Stili (Görünürlüğü garantiye al) */
.reservation-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background-color: #ffeaa7 !important;
    color: #d35400 !important;
    border: 1px solid #fdcb6e !important;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(253, 203, 110, 0.3);
    transition: all 0.3s ease;
}

.reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(253, 203, 110, 0.4);
    background-color: #fce38a !important;
}

.price-filters-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    width: 100%;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-range-inputs input {
    width: 100px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.discount-percentage-badge {
    background-color: #28a745;
    /* Yeşil bir renk, tasarrufu simge eder */
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Metnin alt satıra inmesini engelle */
}

.price-range-inputs span {
    color: #666;
    font-size: 14px;
}

/* ================================ YENİ FİLTRE ALANI STİLİ ================================ */
.category-buttons-container {
    display: flex;
    flex-wrap: nowrap;
    /* 🔥 GÜNCELLENDİ: Sağa kaydırmalı olması için wrap iptal edildi */
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
    /* Sağa kaydırmayı aç */
    scrollbar-width: none;
    /* Firefox için barı gizle */
    -ms-overflow-style: none;
    /* IE için barı gizle */
    padding-bottom: 4px;
    /* Scroll için alt boşluk */
}

.category-buttons-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari için barı gizle */
}

.filter-toggle-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.filter-toggle-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
}

.price-filters-container {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.price-filter-group {
    margin-bottom: 15px;
}

.price-filter-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-range-inputs input {
    width: 100px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

/* ================================ ÜRÜN KATEGORİ ETİKETİ ================================ */
.product-category-label {
    display: block;
    font-size: 13px;
    /* Ürün adından (16px) küçük */
    color: #888;
    /* Gri renk */
    margin-bottom: 8px;
    /* Fiyatla arasına boşluk */
    text-transform: uppercase;
    /* Harfleri büyüt */
    letter-spacing: 0.5px;
    /* Harfler arası boşluk */
    font-weight: 500;
}

/* ================================ LOGO VE MARKA ADI (GÜNCELLENMİŞ) ================================ */

/* Ana Sayfa Başlığı */
.logo {
    display: flex;
    /* Elemanları yan yana dizer */
    align-items: center;
    /* Dikey olarak ortalar */
    gap: 10px;
    /* Logo ve metin arasına boşluk */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Linkin alt çizgisini kaldır */
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    /* h1 etiketinin varsayılan margin'ini sıfırla */
}

/* Admin Paneli Başlığı */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Yatay olarak ortalar */
    gap: 12px;
    /* Logo ve metin arasına boşluk */
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

/* Logoların ortak boyutları (isteğe bağlı) */
.header-logo,
.admin-header-logo {
    height: 40px;
    /* Ana sayfa için */
    vertical-align: middle;
}

.admin-header-logo {
    height: 35px;
    /* Admin paneli için biraz daha küçük */
    display: block;
    /* Blok elementi yap */
    margin: 0 auto;
    /* Tek başına ortalaması için (eğer flex kullanılmasaydı) */
}

/* ================================ ANA SAYFA CTA RESİMİ ================================ */
.hero-cta-link {
    display: block;
    /* Linkin blok element olmasını sağlar */
    max-width: 800px;
    /* Resmin maksimum genişliği */
    margin: 30px auto 0;
    /* Üstten 30px boşluk ve yatayda ortala */
    text-align: center;
    /* İçeriği ortalar */
    border-radius: 12px;
    /* Köşeleri yuvarlat */
    overflow: hidden;
    /* Resmin köşelerin dışa taşmasını engeller */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    /* Hover efekti için yumuşak geçiş */
}

.hero-cta-image {
    width: 100%;
    /* Resmin genişliği linkin genişliğine uyumlu olsun */
    height: auto;
    /* En-boy oranını koru */
    display: block;
    /* Altta oluşabilecek boşluğu engeller */
    transition: transform 0.3s ease;
    /* Hover'da zoom efekti için geçiş */
}

/* Üzerine gelince resmi hafifçe büyüt */
.hero-cta-link:hover {
    transform: translateY(-5px);
    /* Üzerine gelince hafifçe yukarı kalksın */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    /* Gölgesini güçlendir */
}

.hero-cta-link:hover .hero-cta-image {
    transform: scale(1.03);
    /* Resmin kendisini çok az büyüt */
}

.order-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.order-form-modal {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.order-form-header {
    margin-bottom: 20px;
}

.order-form-header h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    color: var(--dark-color);
}

.order-form-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.order-form-modal .form-group {
    margin-bottom: 20px;
}

.order-form-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.order-form-modal input,
.order-form-modal textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.order-form-modal input:focus,
.order-form-modal textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.order-form-modal .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b2bec3;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #5f4dd8;
}

/* Modern ve şık yükleme animasyonu */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: pulse 1.5s infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* ================================ YENİLEME BUTONU ================================ */
#reload-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#reload-page-btn:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

#reload-page-btn i {
    animation: none;
}

#reload-page-btn:hover i {
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* ================================ HATA SAYFASI DÜZENLEMELERİ ================================ */
#not-found h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

#not-found h2 {
    color: var(--dark-color);
    font-weight: 600;
}

#not-found p {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

#not-found .cta-button {
    margin: 0;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ✅ SPINNER ANİMASYONU */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* ✅ BUTON TRANSITION */
.btn-login {
    transition: all 0.3s ease;
}

/* ================================ ALT KATEGORİ STİLLERİ ===================== */
.subcategory-item {
    margin-top: 5px;
}

.subcategory-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 20px;
}

.subcategory-header:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.subcategory-header .chevron-icon {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    min-width: 14px;
}

.subcategory-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    flex: 1;
}

.subcategory-stores {
    list-style: none;
    padding: 0 0 0 20px;
}

.subcategory-stores li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.subcategory-stores li a:hover {
    background-color: rgba(102, 126, 234, 0.15);
    color: #fff;
    border-left-color: rgba(102, 126, 234, 0.8);
    padding-left: 28px;
}

/* ================================ KATEGORİ GİZLEME (VARSAYILAN: GİZLİ) ================================ */
#store-menu,
#menu-toggle {
    display: none !important;
}

#category-filters-section {
    display: none;
    /* Varsayılan gizli, router açacak */
}

/* Kategori ayarı yüklendiğinde bu class eklenecek */
.categories-visible #store-menu {
    display: flex !important;
}

.categories-visible #menu-toggle {
    display: flex !important;
}

@media (max-width: 768px) {
    .subcategory-header {
        padding: 6px 15px;
    }

    .subcategory-header .chevron-icon {
        font-size: 10px;
        min-width: 12px;
    }

    .subcategory-name {
        font-size: 14px;
    }

    .subcategory-stores {
        padding: 0 0 0 15px;
    }

    .subcategory-stores li a {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* ================================ iOS SAFARI FİXES ================================ */
/* iOS Safari için touch button sorunlarını çöz */

.btn-cart,
.btn-favorite,
.quantity-btn,
.cart-item-remove,
#modal-add-cart {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Ürün kartları için touch action */
.product-card {
    touch-action: pan-y;
}

/* Cart item'lar için touch action */
.cart-item {
    touch-action: pan-y;
}

/* iOS Safari'de hover efektini engelle */
@media (hover: none) and (pointer: coarse) {

    .btn-cart:hover,
    .btn-favorite:hover,
    .quantity-btn:hover,
    .cart-item-remove:hover {
        transform: none;
        box-shadow: none;
        background-color: var(--primary-color);
    }

    .btn-cart:active,
    .btn-favorite:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* iOS Safari için buton boyutunu artır */
@media (hover: none) and (pointer: coarse) {

    .btn-cart,
    .btn-favorite {
        min-height: 44px;
        min-width: 44px;
    }

    .quantity-btn,
    .cart-item-remove {
        min-height: 36px;
        min-width: 36px;
        padding: 8px;
    }
}

/* iOS Safari'de fast click için */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Form elemanları için */
input,
textarea,
select {
    -webkit-user-select: text;
    user-select: text;
    -webkit-tap-highlight-color: rgba(108, 92, 231, 0.2);
}

/* ================================ REDIRECT MODAL (TikTok/Instagram) ================================ */
.redirect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.redirect-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: slideUp 0.3s ease;
}

.redirect-modal-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.redirect-modal-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.redirect-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-sms,
.btn-close {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-sms {
    background: var(--primary-color);
    color: white;
}

.btn-sms:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
}

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

.btn-close {
    background: #f5f5f5;
    color: #666;
}

.btn-close:hover {
    background: #e5e5e5;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================================================
   KATEGORİ CHIP BAR - Yatay Kaydırmalı, Sabit (Sticky)
   =================================================== */

.category-filters-section {
    position: sticky;
    top: 75px;
    z-index: 90;
    background-color: rgba(255, 255, 255, 0.98) !important;
    /* Blur olmadığı için opacity artırıldı (%98) */
    padding: 10px 12px !important;
    /* Üst-alt ve sağ-sol boşlukları optimize edildi */
    transition: all 0.3s ease;
    margin: 8px 10px !important;
    /* Dış boşluklar daraltılarak genişlik artırıldı */
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    /* Gölgelenmeleri ve Kararmaları Kapat */
    -webkit-mask-image: none !important;
    mask-image: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    /* iOS Safari CRASH (Website can't be reached) Hatasını Önlemek İçin Blur Kapatıldı */
}

.category-filters-section::before,
.category-filters-section::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Mobilde logo ve arama çubuğu alt alta geçtiği için (flex-wrap) header yüksekliği artar */
@media (max-width: 768px) {
    .category-filters-section {
        top: 130px;
        /* Arama çubuğu kırıldığında tam flush olması için inceltildi */
    }
}

@media (max-width: 480px) {
    .category-filters-section {
        top: 125px;
        /* Daha dar ekranlarda paddinglerden dolayı biraz daha ufalır */
    }
}

.category-buttons-container {
    display: flex;
    gap: 6px;
    /* Butonlar arası boşluk orijinaline göre hafif kısıldı ki çok buton sığsın */
    overflow-x: auto;
    flex-wrap: nowrap;
    /* Wrap iptal */
    padding-bottom: 0;
    /* Boşluk dengelenmesi için sıfırlandı */
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    /* iOS Safari akıcı kaydırma */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.category-buttons-container::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex-shrink: 0;
    padding: 7px 14px;
    /* Yukarı-aşağı ve sağ-sol pad daraltılarak daha kompakt olması sağlandı */
    border-radius: 999px;
    border: 1.5px solid var(--border-color, #e0e0e0);
    background-color: var(--background-color, #fff);
    color: var(--text-color, #1a1a1a);
    font-size: 14px;
    /* Font boyutu biraz büyütüldü ki küçük durmasın */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.category-chip:hover {
    background-color: var(--light-gray, #f5f5f5);
    border-color: #aaa;
}

.category-chip.active {
    background-color: var(--primary-color, #1a1a1a);
    color: #fff;
    border-color: var(--primary-color, #1a1a1a);
    font-weight: 600;
}

/* ================================ MOBİL & PC UYUMLULUK (RESPONSIVE) ================================ */

/* --- Tablet ve Küçük PC Ekranları --- */
@media (max-width: 1024px) {
    .products-grid {
        gap: 20px;
    }
}

/* --- Mobil Ekranlar (Telefonlar) --- */
@media (max-width: 576px) {

    /* Header yüksekliği ve arama çubuğu */
    header {
        padding: 10px 15px;
    }

    /* Mobil için 2 Sütunlu Ürün Grid'i (Kullanıcı Deneyimi İçin Çok Önemli) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        padding: 5px 0;
    }

    /* Ürün Kartı İçi Boşluklar */
    .product-info {
        padding: 12px 10px;
    }

    /* Yazı boyutlarını mobil için küçültme */
    .product-title {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .product-category-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .product-price,
    .current-price {
        font-size: 14px;
    }

    .original-price {
        font-size: 11px;
    }

    .discount-percentage-badge {
        font-size: 9px;
        padding: 2px 5px;
    }

    /* Sepete Ekle Butonu ve Miktar Kontrolü Mobilde Küçültme */
    .product-actions {
        height: 36px;
    }

    .btn-cart {
        padding: 8px 10px;
        font-size: 12px;
    }

    .btn-cart i {
        font-size: 13px;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .qty-value {
        font-size: 14px;
        min-width: 24px;
    }

    /* Hızlı Favori Butonu */
    .btn-favorite {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }

    /* İndirim Bandı (Sol Üst) */
    .discount-badge {
        font-size: 9px;
        padding: 4px 25px;
        left: -25px;
        top: 10px;
    }

    /* Mağaza Banner'ı */
    .store-banner {
        padding: 15px;
        margin-bottom: 15px;
    }

    .store-banner-content h2 {
        font-size: 20px;
    }

    .store-social-buttons {
        gap: 8px;
    }

    .social-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* --- Geniş Masaüstü Ekranlar (PC) --- */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        /* Çok geniş ekranlarda 5 sütun */
        gap: 30px;
    }

    .store-banner {
        padding: 40px;
    }

    .store-banner-content h2 {
        font-size: 32px;
    }
}

/* ================================ KATEGORİ BÖLÜM BAŞLIKLARI (Scroll-Spy) ================================ */
.category-section-header {
    grid-column: 1 / -1;
    padding: 18px 5px 8px;
    margin-top: 10px;
}

.category-section-header:first-child {
    margin-top: 0;
    padding-top: 8px;
}

.category-section-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color, #6c5ce7);
    display: inline-block;
}

/* ================================ BANQUET PLANNING (ZİYAFET) MODAL ================================ */
.banquet-modal {
    z-index: 10001 !important;
    display: none;
    overflow-y: auto !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(5px);
}

.banquet-modal .modal-content {
    max-width: 700px !important;
    width: 95% !important;
    margin: 0 auto;
    border-radius: 30px !important;
    min-height: auto;
    background: #fff !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .banquet-modal .modal-content {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .event-types-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .packages-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 20px !important;
        overflow-x: visible !important;
    }
}

.banquet-container {
    padding-bottom: 40px;
}

.banquet-header {
    background: linear-gradient(135deg, #1a1a1a, #444);
    color: white;
    padding: 50px 20px 70px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    position: relative;
}

.banquet-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.15);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    margin: 0 auto 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.banquet-hero {
    margin: -40px 30px 0;
    background: white;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 5;
    border: 1px solid #f0f0f0;
}

.banquet-hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #1a1a1a, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banquet-section {
    padding: 35px 30px 0;
}

.banquet-section h3 {
    font-size: 19px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    font-weight: 800;
}

.event-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.event-type-card .card-content {
    border: 2px solid #f0f0f0;
    padding: 18px 15px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #fff;
}

.event-type-card input {
    display: none;
}

.event-type-card input:checked+.card-content {
    border-color: var(--primary-color);
    background: #fff7f7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.date-availability-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

#banquet-date {
    flex: 1;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 18px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

#banquet-date:focus {
    border-color: var(--primary-color);
}

.availability-status {
    font-size: 14px;
    font-weight: 700;
    color: #2ecc71;
    padding: 10px 18px;
    background: #effaf3;
    border-radius: 20px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* Packages */
.packages-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 5px 20px;
    scrollbar-width: none;
}

.packages-grid::-webkit-scrollbar {
    display: none;
}

.package-item-card {
    min-width: 280px;
    flex: 0 0 280px;
}

.package-card-content {
    border: 2px solid #f0f0f0;
    padding: 24px;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.4s;
    background: #fff;
}

.package-item-card input {
    display: none;
}

.package-item-card input:checked+.package-card-content {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Contact Inputs */
.input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.input-group:focus-within {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-group i {
    color: #888;
    font-size: 18px;
}

.input-group input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 16px;
    font-weight: 500;
}

/* Summary */
.banquet-summary-card {
    background: #1a1a1a;
    color: white;
    margin: 40px 30px 0;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.summary-item.total {
    font-size: 24px;
    font-weight: 800;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    margin-top: 20px;
    opacity: 1;
}

.admin-notice {
    font-size: 12px;
    color: #aaa;
    margin-top: 15px;
    text-align: center;
    font-style: italic;
}

.banquet-submit-btn {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    border: none;
    background: #fff;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 17px;
    margin-top: 25px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banquet-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
