﻿
/* =========================================
           3. ÜRÜN LİSTESİ ÖZEL CSS
           ========================================= */

/* Sayfa Başlığı (Yeni Görsel) */
.page-header {
    background-image: linear-gradient(rgba(15, 43, 70, 0.9), rgba(15, 43, 70, 0.8)), url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?q=80&w=2070');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

.breadcrumb {
    justify-content: center;
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

    .breadcrumb a {
        color: var(--accent-orange);
        font-weight: 600;
        text-decoration: none;
    }

    .breadcrumb span {
        margin: 0 10px;
        color: white;
    }

/* Filtreleme Alanı (Sidebar - GERİ GELDİ) */
.filter-sidebar {
    background: white;
    border-radius: var(--card-radius);
    padding: 25px;
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 100px;
}

.filter-header {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: block;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
}

.form-check-input:checked + .form-check-label {
    color: var(--accent-orange);
    font-weight: 600;
}

.form-check-input:checked {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Ürün Listesi Grid */
.product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
        border-color: var(--accent-orange);
    }

.product-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .product-info h5 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .product-info p {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 15px;
        flex: 1;
    }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* Ortak Butonlar */
.btn-hezsan {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-primary-hezsan {
    background-color: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

    .btn-primary-hezsan:hover {
        background-color: #d9641e;
        border-color: #d9641e;
        color: white;
        transform: translateY(-2px);
    }

.btn-outline-hezsan {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

    .btn-outline-hezsan:hover {
        background-color: var(--primary-blue);
        color: white;
    }

@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .page-header {
        padding: 60px 0;
    }

        .page-header h1 {
            font-size: 2rem;
        }
}
