/* 大图banner样式 */
.page-banner {
    position: relative;
    height: 300px;
    background: url('../images/products-banner.png') no-repeat center;
    background-size: cover;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.banner-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 面包屑导航 */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #fff;
}

.breadcrumb-item.active {
    color: #FF0000;
}

/* 内容区域样式 */
.products-content {
    padding: 60px 0;
    background: #f5f5f5;
}

/* 左侧分类导航 */
.category-nav {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.category-header {
    background: #FF0000;
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px 4px 0 0;
}

.category-header h2 {
    font-size: 20px;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list li.active > a,
.category-list li a:hover {
    color: #FF0000;
    background: #f9f9f9;
}

.sub-category {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
}

.sub-category li a {
    padding: 10px 20px 10px 35px;
    font-size: 14px;
    color: #666;
}

/* 搜索框 */
.search-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.btn-search {
    background: #FF0000;
    color: #fff;
    border: none;
}

.btn-search:hover {
    background: #CC0000;
}

/* 联系方式 */
.contact-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF0000;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box ul li {
    margin-bottom: 10px;
    color: #666;
}

.contact-box ul li i {
    color: #FF0000;
    width: 20px;
}

/* 产品筛选栏 */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-item {
    display: flex;
    align-items: center;
}

.filter-item label {
    margin-right: 10px;
    color: #666;
}

.view-mode a {
    color: #666;
    margin-left: 15px;
    font-size: 18px;
}

.view-mode a.active {
    color: #FF0000;
}

/* 产品列表 */
.product-item {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #FF0000;
}

.product-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
}

.btn-detail {
    display: inline-block;
    padding: 8px 20px;
    background: #FF0000;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: #CC0000;
    color: #fff;
}

/* 分页 */
.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: #666;
    border: none;
    margin: 0 5px;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background: #FF0000;
    color: #fff;
}

.pagination .page-link:hover {
    background: #f5f5f5;
    color: #FF0000;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .category-nav,
    .search-box,
    .contact-box {
        margin-bottom: 20px;
    }
    
    .product-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .view-mode {
        display: none;
    }
} 