/* Kategori Sayfası Stilleri */

/* Kategori Başlık Alanı */
.category-header {
    padding: 15px 0;
    margin-bottom: 15px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* Kategori İçerik Düzeni */
.category-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

/* Sol Filtreleme Alanı */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

/* Filtreleme Başlık Alanı */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.filter-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 5px;
    display: none;
}

.filter-close-btn:hover {
    color: var(--red-color);
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.filter-sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filter-close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
    display: none;
}

.filter-close-btn:hover {
    color: var(--red-color);
}

.filter-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.clear-filters {
    font-size: 14px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-filters:hover {
    color: var(--red-color);
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Fiyat Filtresi */
.price-filter {
    margin-bottom: 20px;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.price-input-group {
    position: relative;
    width: 48%;
}

.price-input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.input-with-currency {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-group input {
    width: 100%;
    padding: 10px 30px 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: transparent;
    /* Yukarı aşağı okları göster */
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-input-group input:focus {
    border-color: var(--red-color);
    box-shadow: 0 0 0 2px rgba(194, 0, 45, 0.1);
}

.price-input-group .currency {
    position: absolute;
    right: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    pointer-events: none;
}

/* Filtreleme Butonu */
.filter-price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 15px;
    background-color: transparent;
    color: var(--red-color);
    border: 1px solid var(--red-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-price-btn i {
    margin-right: 8px;
    font-size: 14px;
}

.filter-price-btn:hover {
    background-color: var(--red-color);
    color: white;
}

.filter-price-btn:active {
    transform: translateY(1px);
}

/* Filtreleme Seçenekleri */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Standart Checkbox Stilleri */
.filter-option {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

/* Çerçeve Filtreleme Stilleri */
.frame-filter {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.frame-filter:hover {
    background-color: #f5f5f5;
    color: var(--red-color);
}

.frame-filter.active {
    background-color: var(--red-color);
    color: white;
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.filter-option:hover .checkmark {
    background-color: #eee;
}

.filter-option input:checked ~ .checkmark {
    background-color: var(--red-color);
    border-color: var(--red-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-option input:checked ~ .checkmark:after {
    display: block;
}

.filter-option .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.show-more {
    background: none;
    border: none;
    color: var(--red-color);
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
    padding: 0;
}

/* Renk Seçenekleri */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    transition: all 0.2s ease;
}

.color-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.color-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.color-option input:checked ~ .color-checkmark {
    box-shadow: 0 0 0 2px var(--red-color);
}

/* Sağ Ürün Listesi Alanı */
.products-container {
    flex: 1;
}

/* Ürün Grid Düzeni */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.products-count {
    font-weight: 500;
}

.products-count-old {
    font-size: 14px;
    color: #666;
}

.products-sort {
    display: flex;
    align-items: center;
}

.products-sort label {
    margin-right: 12px;
    font-size: 14px;
    font-weight: 500;
}

.sort-select-wrapper {
    position: relative;
    min-width: 200px;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.sort-select:hover {
    color: var(--primary-color);
}

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

.sort-select-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sort-select-wrapper:hover i {
    color: var(--primary-color);
}

/* Mobil Görünüm Stilleri */
@media (max-width: 991px) {
    .category-layout {
        flex-direction: column;
    }
    
    .filter-sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        padding-bottom: 50px;
    }
    
    .filter-sidebar.active {
        transform: translateX(0);
    }
    
    .filter-close-btn {
        display: block;
        font-size: 20px;
    }
    
    .filter-toggle {
        display: flex;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .product-grid {
        width: 100%;
    }
    
    .product-card {
        width: calc(50% - 10px);
    }
    
    .product-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-count {
        margin-bottom: 10px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-select-wrapper {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-card {
        width: 100%;
    }
    
    .category-title {
        font-size: 24px;
    }
}

/* Breadcrumb */
.breadcrumb-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0;
    height: 350px;
    margin-bottom: 30px;
    background-image: url('../images/breadcrumb-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.breadcrumb-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.breadcrumb-title {
    font-size: 70px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 16px;
    position: relative;
    z-index: 2;
    justify-content: center;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red-color);
    transition: width 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--red-color);
}

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb .separator {
    margin: 0 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.breadcrumb .current {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #eee;
}

.pagination .current-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
}

/* Mobil Filtreleme Butonu */
.filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    background-color: var(--red-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.filter-toggle:hover {
    background-color: #333;
}

.filter-toggle i {
    margin-right: 8px;
}

/* Responsive Tasarım - Tüm ekran boyutları için tutarlı */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .category-layout {
        flex-direction: column;
    }
    
    .filter-sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding: 20px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .filter-close-btn {
        display: block;
    }
    
    .filter-sidebar.active {
        left: 0;
    }
    
    .filter-toggle {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Ürün butonları stilleri kaldırıldı */
}

@media (max-width: 768px) {
    .category-layout {
        margin-bottom: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .breadcrumb-container {
        height: 180px;
    }
    
    .breadcrumb-title {
        font-size: 36px;
    }.product-item:hover .product-badges {
        opacity: 0;
    }
    

    
    /* Filtre butonu */
    .filter-toggle {
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 6px;
    }
    
    /* Sayfalama */
    .pagination {
        margin-top: 30px;
        gap: 3px;
    }
    
    .pagination a {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .products-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .products-count {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .products-sort {
        flex: 1;
    }
    
    /* Ürün görseli stilleri kaldırıldı */
    
    /* Tablet ürün stilleri kaldırıldı */
}

@media (max-width: 576px) {
    .category-header {
        padding: 15px 0;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Mobil ürün stilleri kaldırıldı */
    
    .breadcrumb-container {
        height: 150px;
        margin-bottom: 20px;
    }
    
    .breadcrumb-title {
        font-size: 28px;
    }
    
    .filter-toggle {
        margin-bottom: 15px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .products-header {
        margin-bottom: 15px;
    }
    
    .products-count {
        font-size: 14px;
        font-weight: 600;
    }
    
    .pagination a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
