/* Ürünler Sayfası Filtre Stilleri */

.filter-sidebar {
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.filter-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.filter-header a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.filter-header a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.filter-section {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.filter-item:hover {
    background-color: #f9fafb;
}

.filter-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    margin: 0;
    font-size: 15px;
    color: #374151;
}

.filter-item input[type="radio"],
.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #dc2626;
    flex-shrink: 0;
}

.filter-item input[type="radio"]:checked,
.filter-item input[type="checkbox"]:checked {
    accent-color: #dc2626;
}

.filter-item .count {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Fiyat Aralığı */
.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.price-range input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: white;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.price-range input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.price-range span {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 10px;
}

.price-range-display {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
    padding-top: 4px;
}

/* Değerlendirme Yıldızları */
.rating-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.rating-filter-item:hover {
    background-color: #f9fafb;
}

.rating-filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #dc2626;
    flex-shrink: 0;
}

.rating-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.rating-stars .bi-star-fill {
    color: #fbbf24;
    font-size: 16px;
}

.rating-stars .bi-star {
    color: #d1d5db;
    font-size: 16px;
}

.rating-text {
    font-size: 13px;
    color: #6b7280;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-sidebar {
        margin-bottom: 20px;
    }
    
    .filter-header {
        padding: 15px;
    }
    
    .filter-section {
        padding: 15px;
    }
}

