/* st.css - Modern Kategori Sayfası Tasarımı */
:root {
    --primary-blue: #1e3a8a;
    /* Hasret Giyim Mavisi */
    --text-color: #333;
    --light-grey: #f4f6f8;
    --border-light: #e0e0e0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
}

/* --- HEADER (Modernleştirilmiş) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 100px;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* Hafif gölge */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Sol: Marka */
.header-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-brand span {
    color: var(--primary-blue);
}

/* Sağ: İletişim Bilgileri */
.header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.info-row i {
    color: var(--primary-blue);
    margin-right: 8px;
    font-size: 1rem;
}

/* --- ANA İÇERİK --- */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
    /* Sidebar ile ürünler arası boşluk */
}

/* --- SOL SIDEBAR (FİLTRE) --- */
.sidebar-filter {
    width: 280px;
    flex-shrink: 0;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.sidebar-filter h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-grey);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    transition: color 0.3s;
}

.filter-group label:hover {
    color: var(--primary-blue);
}

.filter-group input {
    margin-right: 10px;
    accent-color: var(--primary-blue);
    transform: scale(1.1);
}

/* --- SAĞ ÜRÜN ALANI --- */
.products-area {
    flex: 1;
}

.products-header {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Ürün Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

/* Ürün Kartı (Modern) */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-grey);
}

.card-img-wrapper {
    width: 100%;
    height: 280px;
    background-color: var(--light-grey);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-info {
    padding: 20px;
    text-align: center;
}

.card-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.card-info p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

/* Responsive (Mobil) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .header-info {
        align-items: center;
    }

    .main-container {
        flex-direction: column;
        margin: 20px auto;
        gap: 20px;
    }

    .sidebar-filter {
        width: 100%;
    }

    .product-grid {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .card-img-wrapper {
        height: 200px;
    }

    .header-brand {
        font-size: 1.5rem;
    }
}