* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
   -ms-overflow-style: none;
}
*::-webkit-scrollbar {
    display: none;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease;
    --card-bg: #ffffff;
    /* Açık arkaplan renkleri */
    --body-bg: #f8fafc; /* Çok açık mavi-gri ton */
    --body-bg-light: #ffffff; /* Beyaz */
    --body-bg-lighter: #f1f5f9; /* Açık gri-mavi */
    --body-bg-warm: #fefce8; /* Çok açık sarı (sıcak ton) */
    --body-bg-cool: #f0f9ff; /* Çok açık mavi (serin ton) */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: #374151;
    background: var(--body-bg);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Alternatif açık arkaplan stilleri */
body.bg-light {
    background: var(--body-bg-light) !important;
}

body.bg-lighter {
    background: var(--body-bg-lighter) !important;
}

body.bg-warm {
    background: var(--body-bg-warm) !important;
}

body.bg-cool {
    background: var(--body-bg-cool) !important;
}

body.bg-gradient-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

body.bg-gradient-warm {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%) !important;
}

body.bg-gradient-cool {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
}

body.bg-pattern-dots {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

body.bg-pattern-grid {
    background-color: #ffffff;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px),
                      linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* === NAVBAR === */
.navbar {
    background: var(--card-bg);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-logo i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(248, 250, 252, 0.8);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

/* === MOBİL MENÜ === */
@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 48px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 12px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 10px;
    }
}


/* === ANA KONTEYNER === */
.main-container {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 0 8px;
    }
}

/* === GELİŞMİŞ FİLTRELER === */
.advanced-filters {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 70px;
    height: fit-content;
    max-height: calc(200vh - 90px);
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.filter-section {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.filter-section h4 i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.search-bar {
    position: relative;
    margin-bottom: 4px;
}

.search-input {
    width: 100%;
    padding: 8px 10px;
    padding-left: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    transition: var(--transition);
    background: var(--card-bg);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.search-bar::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .advanced-filters {
        position: static;
        margin-bottom: 12px;
        max-height: none;
        overflow-y: visible;
        top: 0;
    }
    
    .filter-section h4 {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .advanced-filters {
        padding: 12px;
        border-radius: 6px;
    }
    
    .filter-section {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .search-input {
        padding: 6px 8px;
        padding-left: 28px;
        font-size: 0.8rem;
    }
    
    .search-bar::before {
        left: 8px;
        font-size: 0.8rem;
    }
}

/* SIRALAMA SEÇENEKLERİ */
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sort-btn {
    padding: 6px 10px;
    background: var(--body-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-size: 0.8rem;
}

.sort-btn:hover {
    background: rgba(0, 13, 26, 0.9);
}

.sort-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* KATEGORİ LİSTESİ */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-btn {
    padding: 6px 10px;
    background: var(--body-bg);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-size: 0.8rem;
}

.category-btn:hover {
    background: rgba(0, 9, 19, 0.9);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 0.7rem;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* ETİKET BULUTU */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag {
    padding: 3px 8px;
    background: var(--body-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.75rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tag:hover {
    background: rgba(248, 250, 252, 0.9);
}

/* FİYAT SLIDER */
.price-slider {
    padding: 12px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
}

/* FİLTRE BUTONLARI */
.apply-filters {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.btn-apply, .btn-reset {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-apply {
    background: var(--primary-color);
    color: white;
}

.btn-apply:hover {
    background: #1d4ed8;
}

.btn-reset {
    background: var(--body-bg);
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.btn-reset:hover {
    background: rgba(248, 250, 252, 0.9);
}

/* === ÜRÜN GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* === ARAMA BİLGİSİ === */
.search-info {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.search-info h3 {
    color: var(--dark-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.filter-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--body-bg);
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.filter-indicator i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.active-filter {
    font-weight: 600;
    color: var(--primary-color);
}

.results-count {
    margin-top: 8px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.results-count strong {
    color: var(--primary-color);
}

/* === ÜRÜN KARTI === */
.product-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.product-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.yeni {
    background: var(--success-color);
}

.product-badge.populer {
    background: var(--accent-color);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-quick-view:hover {
    background: var(--secondary-color);
    color: white;
}

.product-content {
    padding: 12px;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--dark-color);
    line-height: 1.3;
    font-weight: 600;
    text-transform: capitalize;
}

.product-description {
    color: var(--gray-color);
    font-size: 0.8rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-features {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--gray-color);
    font-size: 0.75rem;
}

.product-features i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.price-info {
    font-size: 0.75rem;
    color: var(--gray-color);
    margin-left: 3px;
}

.product-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-demo, .btn-buy {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 600;
}

.btn-demo {
    background: var(--body-bg);
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.btn-demo:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-buy {
    background: var(--primary-color);
    color: white;
}

.btn-buy:hover {
    background: var(--secondary-color);
}

/* === FAVORİ BUTONU === */
.btn-favorite {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.btn-favorite:hover {
    background: var(--accent-color);
    color: rgb(255, 5, 5);
    transform: scale(1.05);
}

.btn-favorite.active {
    background: var(--accent-color);
    color: rgb(255, 0, 0);
}

.btn-favorite i {
    font-size: 0.9rem;
}

.btn-favorite-login-required {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #d1d5db;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-favorite-login-required:hover::after {
    content: "Favorilere eklemek için giriş yapın";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 1000;
}

/* === ÜRÜN YOK === */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 16px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.no-products i {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 2rem;
}

.no-products h3 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.no-products p {
    color: var(--gray-color);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn:hover {
    background: var(--secondary-color);
}

/* === SAYFALAMA === */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 12px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    gap: 12px;
    border: 1px solid var(--border-color);
}

.pagination-info {
    color: var(--gray-color);
    font-size: 0.8rem;
}

.pagination-list {
    display: flex;
    gap: 3px;
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: black;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    background: var(--body-bg);
    color: var(--gray-color);
    cursor: not-allowed;
}

.page-jump {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jump-form {
    display: flex;
    gap: 3px;
}

.jump-input {
    width: 40px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    font-size: 0.8rem;
}

.btn-jump {
    padding: 5px 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-jump:hover {
    background: var(--secondary-color);
}

.total-pages {
    color: var(--gray-color);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 10px;
    }
    
    .pagination-list {
        order: 2;
    }
    
    .page-jump {
        order: 3;
    }
    
    .page-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* === DEMO MODAL === */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 2001;
    display: none;
    flex-direction: column;
}

.demo-modal.active {
    display: flex;
}

.demo-modal.fullscreen {
    z-index: 2002;
}

.demo-top-bar {
    background: var(--card-bg);
    color: var(--dark-color);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.demo-site-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.demo-current-site {
    font-weight: 600;
    color: var(--primary-color);
}

.demo-site-name {
    color: var(--secondary-color);
    font-weight: 500;
}

.demo-close-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.demo-close-btn:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.demo-frame-container {
    flex: 1;
    position: relative;
    overflow: auto;
    background: #f5f5f5;
}

.demo-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: white;
}

.demo-mobile-tools {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.demo-tool-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    font-size: 1rem;
}

.demo-tool-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.demo-tool-btn.fullscreen {
    background: var(--success-color);
}

.demo-tool-btn.refresh {
    background: var(--warning-color);
}

.demo-tool-btn.fullscreen:hover {
    background: #0da871;
}

.demo-tool-btn.refresh:hover {
    background: #e68a00;
}

.esc-hint {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 10;
    display: none;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

.demo-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    gap: 15px;
}

.demo-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.demo-loading p {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .demo-top-bar {
        padding: 10px 12px;
    }
    
    .demo-site-info {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .demo-close-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .demo-mobile-tools {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .demo-tool-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .esc-hint {
        right: 10px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .demo-loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    .demo-loading p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .demo-top-bar {
        padding: 8px 10px;
    }
    
    .demo-site-info {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .demo-close-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .demo-mobile-tools {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .demo-tool-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .esc-hint {
        display: none !important;
    }
    
    .demo-loading-spinner {
        width: 35px;
        height: 35px;
    }
}

.demo-modal.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.demo-modal.fullscreen .demo-frame {
    width: 100vw;
    height: calc(100vh - 60px);
}

.demo-modal.fullscreen .demo-mobile-tools {
    bottom: 25px;
    right: 25px;
}

.demo-modal {
    animation: demoFadeIn 0.3s ease;
}

@keyframes demoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.demo-frame-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.demo-frame-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.demo-frame-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.demo-frame-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.demo-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    gap: 15px;
    padding: 20px;
    text-align: center;
}

.demo-error i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.demo-error h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.demo-error p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.demo-error .btn-retry {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.demo-error .btn-retry:hover {
    background: var(--secondary-color);
}

.demo-frame.mobile {
    width: 375px;
    margin: 0 auto;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.demo-frame.tablet {
    width: 768px;
    margin: 0 auto;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .demo-frame {
        width: 100% !important;
        margin: 0 !important;
        border: none !important;
    }
}

/* === QUICK VIEW MODAL === */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 12px;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: var(--card-bg);
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.close-quick-view {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
}

.close-quick-view:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

/* === TOAST MESAJI === */
.toast-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(37, 99, 235, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease;
    font-size: 0.85rem;
    max-width: 280px;
}

@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

@media (max-width: 768px) {
    .toast-message {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* === LOADING SPINNER === */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 15px;
    background: rgba(248, 250, 252, 0.9);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* === ERROR MESSAGE === */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.error-message i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.error-message p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* === FOOTER === */
footer {
    background: var(--dark-color);
    color: white;
    margin-top: 30px;
    padding: 25px 12px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    background: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    footer {
        margin-top: 25px;
        padding: 20px 10px;
    }
    
    .footer-content {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* === FAVORİ SAYACI === */
.nav-favorite-link {
    position: relative;
}

.nav-unique-favoritecount {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* === NOUISLIDER STYLES === */
.noUi-target {
    background: var(--body-bg);
    border: 1px solid var(--border-color);
    box-shadow: none;
    height: 4px;
    margin-top: 12px;
    border-radius: 2px;
}

.noUi-connect {
    background: var(--primary-color);
    border-radius: 2px;
}

.noUi-handle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    top: -7px;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.noUi-handle:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.noUi-tooltip {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--dark-color);
    color: white;
}

/* === RESPONSIVE TASARIM === */
@media (max-width: 480px) {
    .main-container {
        padding: 0 6px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-content {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .btn-demo, .btn-buy {
        padding: 6px;
        font-size: 0.75rem;
    }
    
    .btn-favorite, .btn-favorite-login-required {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .btn-favorite i {
        font-size: 0.8rem;
    }
}

/* === PRINT STYLES === */
@media print {
    .navbar, 
    .advanced-filters, 
    .product-overlay, 
    .btn-favorite, 
    .btn-favorite-login-required,
    .demo-modal,
    .quick-view-modal,
    footer,
    .demo-mobile-tools,
    .btn-demo {
        display: none !important;
    }
    
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        background: #ffffff !important;
    }
    
    .main-container {
        display: block;
    }
    
    .products-grid {
        display: block;
    }
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #1f2937;
        --body-bg: #111827;
        --body-bg-light: #1f2937;
        --body-bg-lighter: #374151;
        --body-bg-warm: #292524;
        --body-bg-cool: #0c4a6e;
        --dark-color: #f9fafb;
        --light-color: #374151;
        --border-color: #4b5563;
        --gray-color: #9ca3af;
    }
    
    body {
        color: #e5e7eb;
    }
    
    body.bg-gradient-light {
        background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
    }
    
    body.bg-gradient-warm {
        background: linear-gradient(135deg, #292524 0%, #44403c 100%) !important;
    }
    
    body.bg-gradient-cool {
        background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%) !important;
    }
    
    .demo-modal {
        background: #1f2937;
    }
    
    .quick-view-modal {
        background: rgba(17, 24, 39, 0.95);
    }
    
    .toast-message {
        background: rgba(37, 99, 235, 0.9);
    }
    
    .search-input {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .sort-btn,
    .category-btn,
    .tag,
    .btn-reset {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body.bg-gradient-light,
    body.bg-gradient-warm,
    body.bg-gradient-cool {
        background: var(--body-bg) !important;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #0000ff;
        --accent-color: #ff0000;
        --border-color: #000000;
    }
    
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .card,
    .product-card,
    .advanced-filters,
    .search-info {
        background: #ffffff !important;
        border: 2px solid #000000 !important;
    }
    
    .btn-favorite {
        border-width: 2px;
    }
    
    .product-card {
        border-width: 2px;
    }
}

/* === TOUCH DEVICE OPTIMIZATION === */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .sort-btn:hover,
    .category-btn:hover,
    .tag:hover,
    .btn-apply:hover,
    .btn-reset:hover {
        transform: scale(0.98);
    }
    
    .btn-favorite:hover,
    .btn-favorite-login-required:hover {
        transform: scale(0.95);
    }
    
    .demo-tool-btn:hover,
    .demo-close-btn:hover,
    .close-quick-view:hover {
        transform: none;
    }
    
    .demo-tool-btn:active,
    .demo-close-btn:active,
    .close-quick-view:active {
        transform: scale(0.95);
    }
}

/* === PERFORMANCE OPTIMIZATION === */
@media (prefers-reduced-data: reduce) {
    * {
        background-image: none !important;
    }
    
    .product-image img {
        loading: lazy;
    }
}

/* === FORM ELEMENT STYLES === */
input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-gray {
    color: var(--gray-color);
}

.bg-primary {
    background: var(--primary-color);
}

.bg-secondary {
    background: var(--secondary-color);
}

.bg-accent {
    background: var(--accent-color);
}

.bg-light {
    background: var(--light-color);
}

.bg-dark {
    background: var(--dark-color);
}

/* === ANIMATION KEYFRAMES === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === LOADING STATES === */
.is-loading {
    position: relative;
    pointer-events: none;
}

.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === TOOLTIP STYLES === */
[title] {
    position: relative;
}

[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.45rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

[title]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-color);
    margin-bottom: -5px;
}

/* === BADGE STYLES === */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-secondary {
    background: var(--secondary-color);
    color: white;
}

.badge-accent {
    background: var(--accent-color);
    color: white;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

/* === CARD VARIATIONS === */
.card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.card-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.card-body {
    margin-bottom: 16px;
}

.card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* === GRID SYSTEM === */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.col {
    flex: 1;
    padding: 0 8px;
}

.col-1 { flex: 0 0 8.33%; }
.col-2 { flex: 0 0 16.66%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.33%; }
.col-5 { flex: 0 0 41.66%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.33%; }
.col-8 { flex: 0 0 66.66%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.33%; }
.col-11 { flex: 0 0 91.66%; }
.col-12 { flex: 0 0 100%; }

@media (max-width: 768px) {
    .row {
        margin: 0 -6px;
    }
    
    .col {
        padding: 0 6px;
    }
    
    .col-md-1, .col-md-2, .col-md-3, .col-md-4,
    .col-md-5, .col-md-6, .col-md-7, .col-md-8,
    .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        flex: 0 0 100%;
    }
}

/* === FLEX UTILITIES === */
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.align-start {
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

/* === SPACING UTILITIES === */
.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 20px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-3 { margin-left: 12px; }
.ml-4 { margin-left: 16px; }
.ml-5 { margin-left: 20px; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }
.mr-5 { margin-right: 20px; }

.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pt-3 { padding-top: 12px; }
.pt-4 { padding-top: 16px; }
.pt-5 { padding-top: 20px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 4px; }
.pb-2 { padding-bottom: 8px; }
.pb-3 { padding-bottom: 12px; }
.pb-4 { padding-bottom: 16px; }
.pb-5 { padding-bottom: 20px; }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 4px; }
.pl-2 { padding-left: 8px; }
.pl-3 { padding-left: 12px; }
.pl-4 { padding-left: 16px; }
.pl-5 { padding-left: 20px; }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 4px; }
.pr-2 { padding-right: 8px; }
.pr-3 { padding-right: 12px; }
.pr-4 { padding-right: 16px; }
.pr-5 { padding-right: 20px; }

/* === RESPONSIVE VISIBILITY === */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline-flex { display: inline-flex !important; }
}

@media (max-width: 480px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-inline { display: inline !important; }
    .d-sm-inline-block { display: inline-block !important; }
    .d-sm-flex { display: flex !important; }
    .d-sm-inline-flex { display: inline-flex !important; }
}

/* === BORDER UTILITIES === */
.border-0 { border: 0 !important; }
.border-1 { border: 1px solid var(--border-color); }
.border-2 { border: 2px solid var(--border-color); }

.border-top-0 { border-top: 0 !important; }
.border-top-1 { border-top: 1px solid var(--border-color); }
.border-top-2 { border-top: 2px solid var(--border-color); }

.border-bottom-0 { border-bottom: 0 !important; }
.border-bottom-1 { border-bottom: 1px solid var(--border-color); }
.border-bottom-2 { border-bottom: 2px solid var(--border-color); }

.border-left-0 { border-left: 0 !important; }
.border-left-1 { border-left: 1px solid var(--border-color); }
.border-left-2 { border-left: 2px solid var(--border-color); }

.border-right-0 { border-right: 0 !important; }
.border-right-1 { border-right: 1px solid var(--border-color); }
.border-right-2 { border-right: 2px solid var(--border-color); }

.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 4px; }
.rounded-2 { border-radius: 8px; }
.rounded-3 { border-radius: 12px; }
.rounded-circle { border-radius: 50%; }
.rounded-pill { border-radius: 50rem; }

/* === SHADOW UTILITIES === */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

/* === TEXT UTILITIES === */
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }

.font-weight-light { font-weight: 300; }
.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

.font-size-xs { font-size: 0.75rem; }
.font-size-sm { font-size: 0.85rem; }
.font-size-base { font-size: 1rem; }
.font-size-lg { font-size: 1.1rem; }
.font-size-xl { font-size: 1.25rem; }
.font-size-xxl { font-size: 1.5rem; }

.line-height-1 { line-height: 1; }
.line-height-2 { line-height: 1.25; }
.line-height-3 { line-height: 1.5; }
.line-height-4 { line-height: 1.75; }
.line-height-5 { line-height: 2; }

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === POSITION UTILITIES === */
.position-static { position: static; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

.top-0 { top: 0; }
.top-50 { top: 50%; }
.top-100 { top: 100%; }

.bottom-0 { bottom: 0; }
.bottom-50 { bottom: 50%; }
.bottom-100 { bottom: 100%; }

.start-0 { left: 0; }
.start-50 { left: 50%; }
.start-100 { left: 100%; }

.end-0 { right: 0; }
.end-50 { right: 50%; }
.end-100 { right: 100%; }

.translate-middle {
    transform: translate(-50%, -50%);
}

.translate-middle-x {
    transform: translateX(-50%);
}

.translate-middle-y {
    transform: translateY(-50%);
}

/* === OVERFLOW UTILITIES === */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }

.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-visible { overflow-x: visible; }
.overflow-x-scroll { overflow-x: scroll; }

.overflow-y-auto { overflow-y: auto; }
.overflow-y-hidden { overflow-y: hidden; }
.overflow-y-visible { overflow-y: visible; }
.overflow-y-scroll { overflow-y: scroll; }

/* === Z-INDEX UTILITIES === */
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.z-4 { z-index: 4; }
.z-5 { z-index: 5; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-auto { z-index: auto; }

/* === WIDTH & HEIGHT UTILITIES === */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }
.w-auto { width: auto; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }
.h-auto { height: auto; }

.mw-100 { max-width: 100%; }
.mh-100 { max-height: 100%; }

.min-vw-100 { min-width: 100vw; }
.min-vh-100 { min-height: 100vh; }

.vw-100 { width: 100vw; }
.vh-100 { height: 100vh; }

/* === CURSOR UTILITIES === */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-wait { cursor: wait; }
.cursor-text { cursor: text; }
.cursor-move { cursor: move; }

/* === OPACITY UTILITIES === */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* === TRANSITION UTILITIES === */
.transition-none { transition: none !important; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }

/* === ANIMATION UTILITIES === */
.animation-none { animation: none !important; }
.animation-spin { animation: spin 1s linear infinite; }
.animation-pulse { animation: pulse 2s infinite; }
.animation-bounce { animation: bounce 1s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* === FLEX ORDER UTILITIES === */
.order-first { order: -1; }
.order-last { order: 6; }
.order-0 { order: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }

/* === ALIGN SELF UTILITIES === */
.align-self-auto { align-self: auto; }
.align-self-start { align-self: flex-start; }
.align-self-end { align-self: flex-end; }
.align-self-center { align-self: center; }
.align-self-baseline { align-self: baseline; }
.align-self-stretch { align-self: stretch; }

/* === FLEX GROW & SHRINK UTILITIES === */
.flex-grow-0 { flex-grow: 0; }
.flex-grow-1 { flex-grow: 1; }

.flex-shrink-0 { flex-shrink: 0; }
.flex-shrink-1 { flex-shrink: 1; }

/* === FLEX BASIS UTILITIES === */
.flex-basis-auto { flex-basis: auto; }
.flex-basis-0 { flex-basis: 0; }

/* === CLEARFIX UTILITY === */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* === SCREEN READER ONLY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* === PRINT UTILITIES === */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
}
   /* Favori butonu - sadece giriş yapmış kullanıcılar için göster */
        .btn-favorite {
            background: transparent;
            border: 2px solid #ff4757;
            color: #ff4757;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 10px;
            flex-shrink: 0;
        }
        
        .btn-favorite:hover {
            background: #ff4757;
            color: white;
            transform: scale(1.1);
        }
        
        .btn-favorite.active {
            background: #ff4757;
            color: white;
        }
        
        .btn-favorite i {
            font-size: 1.1rem;
        }
        
        /* Giriş yapmamış kullanıcılar için login gerekli ikonu */
        .btn-favorite-login-required {
            background: transparent;
            border: 2px solid #ccc;
            color: #ccc;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            flex-shrink: 0;
            position: relative;
            cursor: pointer;
        }
        
        .btn-favorite-login-required:hover::after {
            content: "Favorilere eklemek için giriş yapın";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            white-space: nowrap;
            z-index: 1000;
        }
        
        /* Favori sayacı */
        .favorite-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff4757;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* Toast mesajı */
        .toast-message {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #2a2a72;
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            z-index: 10000;
            animation: slideIn 0.3s ease;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        /* Navbar'daki favorilerim linki */
        .nav-favorite-link {
            position: relative;
        }
        
        /* Arama kutusu için stil */
        .search-bar {
            position: relative;
            display: flex;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 40px 10px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #4a6cf7;
            box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
        }
        
        .search-submit {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 8px;
            transition: color 0.3s ease;
        }
        
        .search-submit:hover {
            color: #4a6cf7;
        }
        
        /* Loading spinner için stil */
        .search-loading {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
        }
        
        .search-loading.active {
            display: block;
        }
        
        .search-loading-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #4a6cf7;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

       .announcement-ticker {
    background: linear-gradient(90deg, #1a237e 0%, #283593 100%);
    border-bottom: 3px solid #3949ab;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ticker-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.ticker-label {
    flex-shrink: 0;
    background: #ff4081;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ticker-content {
    flex: 1;
    position: relative;
    height: 24px;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.ticker-badge {
    flex-shrink: 0;
    background: #ff4081;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ticker-badge.YENİ {
    background: #00c853;
}

.ticker-badge.HOT {
    background: #ff9100;
}

.ticker-badge.DEMO {
    background: #2962ff;
}

.ticker-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-close:hover {
    background: rgba(255, 64, 129, 0.2);
    color: white;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .announcement-ticker {
        padding: 10px 0;
    }
    
    .ticker-container {
        padding: 0 10px;
        flex-wrap: nowrap;
    }
    
    .ticker-label {
        font-size: 11px;
        padding: 4px 8px;
        margin-right: 10px;
    }
    
    .ticker-label i {
        font-size: 10px;
    }
    
    .ticker-label span {
        display: none; /* "DUYURU" yazısını gizle, sadece ikon göster */
    }
    
    .ticker-content {
        height: auto;
        min-height: 20px;
        overflow: visible;
    }
    
    .ticker-item {
        position: static;
        opacity: 1;
        transform: none;
        white-space: normal; /* Mobilde satır kaydırmaya izin ver */
        display: none;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .ticker-item.active {
        display: flex;
        animation: none;
        position: static;
    }
    
    .ticker-item.exit {
        display: none;
    }
    
    .ticker-badge {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .ticker-text {
        font-size: 12px;
        line-height: 1.3;
        white-space: normal; /* Mobilde metin kaydır */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Maksimum 2 satır göster */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0; /* Flexbox'ta text-overflow için gerekli */
    }
    
    .ticker-close {
        padding: 3px;
        margin-left: 8px;
        font-size: 12px;
    }
    
    /* Mobil için JavaScript'e alternatif CSS çözümü */
    @keyframes mobile-ticker {
        0% { opacity: 0; transform: translateY(10px); }
        10% { opacity: 1; transform: translateY(0); }
        90% { opacity: 1; transform: translateY(0); }
        100% { opacity: 0; transform: translateY(-10px); }
    }
    
    .ticker-item.active {
        animation: mobile-ticker 4s ease-in-out infinite;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (Telefonlar) */
@media (max-width: 480px) {
    .ticker-container {
        padding: 0 8px;
    }
    
    .ticker-label {
        padding: 3px 6px;
        margin-right: 8px;
    }
    
    .ticker-text {
        font-size: 11px;
        -webkit-line-clamp: 3; /* Küçük ekranlarda 3 satır göster */
    }
    
    .ticker-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .ticker-close {
        margin-left: 5px;
        font-size: 11px;
    }
}

/* YATAY MOD (Landscape) */
@media (max-width: 768px) and (orientation: landscape) {
    .ticker-text {
        -webkit-line-clamp: 1; /* Yatay modda 1 satır göster */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ticker-item {
        flex-wrap: nowrap;
    }
}

/* TABLET UYUMLULUK */
@media (min-width: 769px) and (max-width: 1024px) {
    .ticker-container {
        padding: 0 20px;
    }
    
    .ticker-text {
        font-size: 13px;
    }
}

/* Erişilebilirlik için */
.announcement-ticker:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.5);
}

.ticker-close:focus {
    outline: 2px solid #ff4081;
    outline-offset: 2px;
}

/* Yüksek kontrast modu */
@media (prefers-contrast: high) {
    .announcement-ticker {
        border-bottom: 3px solid #000;
    }
    
    .ticker-label {
        border: 1px solid #000;
    }
}

/* Karanlık mod */
@media (prefers-color-scheme: dark) {
    .announcement-ticker {
        background: linear-gradient(90deg, #0d1b2a 0%, #1b263b 100%);
        border-bottom: 3px solid #415a77;
    }
    
    .ticker-label {
        background: #ff6b9d;
    }
}
/* === MOBİL FİLTRE TOGGLE STİLLERİ === */
.filter-toggle-mobile {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 6px;
    width: calc(100% - 24px);
    max-width: 1200px;
    font-weight: 600;
    margin: 8px auto;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 99;
    position: relative;
}

.filter-toggle-mobile:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.filter-toggle-mobile i {
    transition: transform 0.3s ease;
}

.filter-toggle-mobile.active i {
    transform: rotate(180deg);
}

.filter-toggle-mobile.active .toggle-text {
    content: "Filtreleri Gizle";
}



/* === MOBİL FİLTRELER === */
@media (max-width: 768px) {
    .filter-toggle-mobile {
        display: flex;
    }
    
    .advanced-filters {
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        margin-bottom: 0;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    .advanced-filters.active {
        max-height: 1000px;
        padding: 12px;
        border: 1px solid var(--border-color);
        margin-bottom: 12px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .main-container {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 8px auto;
    }
    
    aside {
        order: 2;
    }
    
    main {
        order: 3;
    }
    
    .filter-section {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .filter-section h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .search-input {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .sort-options {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .sort-btn {
        flex: 1;
        min-width: calc(50% - 6px);
        padding: 8px;
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .category-list {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 5px;
    }
    
    .category-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .tags-cloud {
        max-height: 120px;
        overflow-y: auto;
        padding: 5px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .price-slider {
        padding: 15px 0;
    }
    
    .price-values {
        font-size: 0.85rem;
    }
    
    .apply-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-apply, .btn-reset {
        padding: 10px;
        font-size: 0.9rem;
        width: 100%;
    }
}

@media (min-width: 769px) {
    .filter-toggle-mobile {
        display: none !important;
    }
    
    .advanced-filters {
        display: block !important;
        max-height: none !important;
        padding: 16px !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* === MOBİL ARAMA BİLGİSİ === */
@media (max-width: 768px) {
    .search-info {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .search-info h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .filter-indicator {
        font-size: 0.75rem;
        padding: 4px 8px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    .results-count {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* === MOBİL ÜRÜN GRID === */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-content {
        padding: 10px 8px;
    }
    
    .product-title {
        font-size: 0.85rem;
        height: 38px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .product-description {
        font-size: 0.75rem;
        height: 36px;
        overflow: hidden;
        margin-bottom: 6px;
    }
    
    .product-features {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .product-features span {
        font-size: 0.7rem;
    }
    
    .product-price {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .product-actions {
        gap: 4px;
    }
    
    .btn-demo, .btn-buy {
        padding: 6px;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .btn-favorite, .btn-favorite-login-required {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-image {
        height: 140px;
    }
}

/* === MOBİL SAYFALAMA === */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 12px;
        padding: 12px 8px;
    }
    
    .pagination-info {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .pagination-list {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .page-jump {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .jump-form {
        width: auto;
    }
    
    .jump-input {
        width: 50px;
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .btn-jump {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .total-pages {
        font-size: 0.8rem;
    }
}

/* === MOBİL PERFORMANS OPTİMİZASYONU === */
@media (max-width: 768px) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .stat-card,
    .btn-demo,
    .btn-buy,
    .btn-favorite,
    .btn-favorite-login-required {
        min-height: 44px;
    }
}

/* === MOBİL YATAY MOD === */
@media (max-width: 768px) and (orientation: landscape) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        height: 32px;
        font-size: 0.8rem;
    }
    
    .product-description {
        height: 28px;
        font-size: 0.7rem;
    }
    
    .advanced-filters.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* === ÇOK KÜÇÜK EKRANLAR === */
@media (max-width: 320px) {  
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 140px;
    }
}
/* İSTATİSTİKLER BÖLÜMÜ - COMPACT */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    margin: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-light);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

.stat-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 3px 8px rgba(67, 97, 238, 0.2);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 0.25rem;
}

/* MOBİL UYUMLULUK - ÇOK COMPACT */
@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
        margin: 0.25rem;
        border-radius: 8px;
    }
    
    .stat-card {
        padding: 0.6rem 0.4rem;
        border-radius: 6px;
        min-height: auto;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        border-radius: 6px;
    }
    
    .stat-value {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
        padding-top: 0.1rem;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (iPhone SE gibi) */
@media (max-width: 375px) {
    .stats-overview {
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .stat-card {
        padding: 0.5rem 0.3rem;
    }
    
    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
}

/* TABLET İÇİN */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* MASAÜSTÜ - BİRAZ DAHA BÜYÜK */
@media (min-width: 1025px) {
    .stats-overview {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 1rem;
        margin: 1rem auto;
        max-width: 1200px;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* HOVER SADECE MASAÜSTÜNDE */
@media (hover: hover) and (pointer: fine) {
    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(67, 97, 238, 0.2);
    }
}

/* KARANLIK MOD */
@media (prefers-color-scheme: dark) {
    .stats-overview {
        background: rgba(30, 30, 40, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .stat-card {
        background: #2a2a3a;
        border-color: rgba(255, 255, 255, 0.05);
    }
    
    .stat-label {
        color: #a0a0b0;
    }
}

/* YATAY MOD (LANDSCAPE) */
@media (max-height: 500px) and (orientation: landscape) {
    .stats-overview {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .stat-card {
        padding: 0.5rem 0.3rem;
    }
    
    .stat-icon {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
}

/* TOUCH DEVİCES İÇİN */
@media (hover: none) and (pointer: coarse) {
    .stat-card:active {
        transform: scale(0.98);
        background: var(--gray-light);
    }
}

/* ANİMASYON (hafif) */
.stat-card {
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

/* COMPACT MOD (isteğe bağlı ekstra compact) */
.stats-overview.compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    padding: 0.4rem;
    margin: 0.2rem;
}

.stats-overview.compact .stat-card {
    padding: 0.4rem 0.2rem;
}

.stats-overview.compact .stat-icon {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
    margin-bottom: 0.3rem;
}

.stats-overview.compact .stat-value {
    font-size: 0.85rem;
}

.stats-overview.compact .stat-label {
    font-size: 0.45rem;
}
/* === ÜRÜN SLIDER STYLES === */

/* Mevcut product-image yapısını koruyoruz */
.product-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

/* Slider container - mevcut yapıya uyumlu */
.product-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Resimler contain modunda */
.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 5px;
    transition: transform 0.3s ease;
}

.product-card:hover .slide.active img {
    transform: scale(1.02);
}

/* Placeholder */
.slide.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    background: var(--body-bg);
}

.slide.placeholder i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    opacity: 0.6;
}

.slide.placeholder p {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Slider navigasyon butonları - hızlı görünümü bozmadan */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.slider-prev {
    left: 5px;
}

.slider-next {
    right: 5px;
}

.product-image-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.slider-nav i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Slider noktaları - hızlı görünüm butonuyla çakışmadan */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 3;
    padding: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-slider:hover .slider-dots {
    opacity: 1;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Badge'in slider üzerinde görünmesini sağla */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
}

/* Hızlı görünüm overlay'i slider'ın üstünde kalacak */
.product-overlay {
    z-index: 5;
}

/* Mobil için slider stilleri */
@media (max-width: 768px) {
    .slider-nav {
        width: 24px;
        height: 24px;
        opacity: 1;
        background: rgba(255, 255, 255, 0.8);
    }
    
    .slider-nav i {
        font-size: 0.7rem;
    }
    
    .slider-dots {
        opacity: 1;
        bottom: 8px;
    }
    
    .slider-dot {
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
    }
    
    .slider-dot.active {
        background: white;
    }
    
    .slide.placeholder i {
        font-size: 1.5rem;
    }
    
    .slide.placeholder p {
        font-size: 0.65rem;
    }
}

/* Karanlık mod */
@media (prefers-color-scheme: dark) {
    .slider-nav {
        background: rgba(30, 30, 40, 0.9);
    }
    
    .slider-nav i {
        color: white;
    }
    
    .slider-dot {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .slider-dot.active {
        background: var(--primary-color);
    }
    
    .slide.placeholder {
        background: #2a2a3a;
    }
}

/* Touch cihazlar için */
@media (hover: none) and (pointer: coarse) {
    .slider-nav,
    .slider-dots {
        opacity: 1 !important;
    }
    
    .slider-nav {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .slider-nav i {
        font-size: 0.9rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.6);
    }
}

/* Sadece 1 resim varsa butonları gizle */
.product-image-slider.single-slide .slider-nav,
.product-image-slider.single-slide .slider-dots {
    display: none;
}