﻿.furniture-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
}

/* Sol Sidebar */
.furniture-sidebar {
    width: 240px;
    padding: 20px;
    border-right: 1px solid #e5e5e5;
    height: auto;
    flex-shrink: 0;
}

    .furniture-sidebar h3 {
        font-size: 14px;
        font-weight: 400;
        color: #666;
        margin-bottom: 15px;
    }

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

    .filter-section:last-child {
        border-bottom: none;
    }

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
}

    .filter-item input[type="checkbox"] {
        margin-right: 8px;
    }

.search-box {
    position: relative;
    margin-bottom: 15px;
}

    .search-box input {
        width: 100%;
        padding: 8px 30px 8px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

    .search-box::after {
        content: "🔍";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: #999;
    }

.collapse-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    float: right;
}

/* Ana İçerik */
.furniture-main-content {
    flex: 1;
    padding: 20px;
    max-width: 100%;
}

.furniture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .furniture-header h1 {
        font-size: 32px;
        font-weight: 400;
    }

.sort-dropdown {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* Ürün Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sabit sütun */
    gap: 12px; /* Boşluk azaltıldı */
    margin-bottom: 50px;
}

a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    height: auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.product-card {
    width: 100%;
}

.product-image {
    width: 130px;
    height: 130px;
    background: #f5f5f5;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

    .product-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.product-card h4 {
    font-size: 15px;
    font-weight: 600;

    margin: 12px 12px 4px 12px;
    color: #333;
}

.product-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0 12px 12px 12px;
}

/* Sayfalama */
.furniture-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

    .furniture-pagination button {
        width: 32px;
        height: 32px;
        border: 1px solid #ddd;
        background: #fff;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
    }

        .furniture-pagination button.active {
            background: #ff6b6b;
            color: #fff;
            border-color: #ff6b6b;
        }

    .furniture-pagination .dots {
        color: #999;
    }

/* Filtre etiketleri */
.filter-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
}

    .filter-tag span {
        margin-left: 8px;
        cursor: pointer;
    }

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .furniture-container {
        flex-direction: column;
    }

    .furniture-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
