/* 分类筛选区域 */
.filter-section {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 18px;
    color: #8B4513;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 分类展示区域 */
.category-display {
    margin-top: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .item-hover {
    opacity: 1;
}

.category-item:hover .item-image img {
    transform: scale(1.1);
}

.view-detail {
    padding: 10px 20px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-detail:hover {
    background-color: #704012;
}

.item-info {
    padding: 15px;
}

.item-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.item-info p {
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination a.active {
    background-color: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.pagination a.next {
    padding: 8px 15px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        gap: 10px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .item-image {
        height: 200px;
    }

    .pagination {
        flex-wrap: wrap;
    }
} 