/* 产品列表页样式 */
.category-nav {
    margin-top: 80px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 40px 0;
}

.category-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.category-nav h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
}

.filter-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.filter-list a {
    font-size: 16px;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-list a:hover,
.filter-list a.active {
    color: #fff;
    background: #c41230;
}

/* 产品展示区布局 */
.products-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* 侧边栏过滤器 */
.filter-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.filter-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    cursor: pointer;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    padding: 10px;
    transition: bottom 0.3s;
}

.product-card:hover .quick-view {
    bottom: 0;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-info .desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-info .price {
    color: #c41230;
    font-size: 20px;
    font-weight: bold;
}

/* 分页 */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #666;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #c41230;
    color: #fff;
    border-color: #c41230;
} 