/* ========== 产品列表页专属样式 ========== */
/* 顶部Banner */
.products-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('products-banner-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 60px 0;
    position: relative;
}

.products-banner-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

/* 产品面包屑 */
.products-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.products-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.products-breadcrumb a:hover {
    color: #fff;
}

.products-breadcrumb span {
    color: #fff;
    font-weight: 500;
}

/* 产品列表主体区 */
.products-main {
    padding: 50px 0;
    background-color: #fff;
}

.products-container {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 30px;
}

/* 左侧筛选栏 */
.products-filter {
    background-color: #f8f9fa;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.filter-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #0052cc;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 10px;
}

.category-item a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.category-item.active a {
    color: #0052cc;
    font-weight: 600;
}

.category-item a:hover {
    color: #0052cc;
}

.category-item a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.category-item a:hover i {
    transform: translateX(3px);
}

/* 复选框筛选列表 */
.filter-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.checkbox-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #0052cc;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-item label:hover {
    color: #0052cc;
}

/* 范围筛选输入框 */
.range-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.range-input {
    width: calc(50% - 15px);
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 13px;
    color: #666;
    outline: none;
    transition: border-color 0.3s ease;
}

.range-input:focus {
    border-color: #0052cc;
}

.range-unit {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

/* 重置筛选按钮 */
.reset-filter-btn {
    width: 100%;
    padding: 10px 15px;
    background-color: #fff;
    color: #0052cc;
    border: 1px solid #0052cc;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.reset-filter-btn:hover {
    background-color: #0052cc;
    color: #fff;
}

/* 右侧产品列表 */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 列表顶部控制区 */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.products-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.sort-select {
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    color: #666;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    border-color: #0052cc;
}

.view-controls {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background-color: #0052cc;
    color: #fff;
    border-color: #0052cc;
}

.view-btn:hover:not(.active) {
    border-color: #0052cc;
    color: #0052cc;
}

/* 产品卡片网格 */
.products-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 网格布局 */
.grid-layout {
    grid-template-columns: repeat(3, 1fr);
}

/* 列表布局（备用） */
.list-layout {
    grid-template-columns: 1fr;
    gap: 20px;
}

.list-layout .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: center;
    border: 1px solid #eee;
    padding: 15px;
}

/* 产品卡片样式 */
.product-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.product-card-img {
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin-bottom: 15px;
}

.product-card-img img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.product-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #0052cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease, text-decoration 0.3s ease;
}

.product-card-link:hover {
    gap: 8px;
    text-decoration: underline;
}

/* 分页控件 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.pagination-btn.page-number.active {
    background-color: #0052cc;
    color: #fff;
    border-color: #0052cc;
}

.pagination-btn:hover:not(.active) {
    border-color: #0052cc;
    color: #0052cc;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #eee;
    color: #ccc;
}

.pagination-btn:disabled:hover {
    border-color: #eee;
    color: #ccc;
}

/* ========== 响应式适配（产品列表页专属） ========== */
@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: 30% 70%;
        gap: 20px;
    }
    .products-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .products-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .products-filter {
        position: static;
        margin-bottom: 20px;
    }
    .filter-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .products-controls {
        width: 100%;
        justify-content: space-between;
    }
    .banner-title {
        font-size: 32px;
    }
    .products-banner {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .products-cards {
        grid-template-columns: 1fr;
    }
    .grid-layout {
        grid-template-columns: 1fr;
    }
    .list-layout .product-card {
        grid-template-columns: 150px 1fr;
    }
    .banner-title {
        font-size: 28px;
    }
    .banner-subtitle {
        font-size: 16px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-filter {
        padding: 15px;
    }
    .product-card-img {
        /* height: 150px; */
        padding: 10px;
    }
    .list-layout .product-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .products-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .sort-control {
        width: 100%;
    }
    .sort-select {
        flex: 1;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}



/* ===== 产品底部优势区块样式（匹配原图深蓝色背景4列布局） ===== */
.product-benefits {
    background-color: #0052cc;
    color: #ffffff;
    padding: 50px 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.benefit-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.3px;
}
.benefit-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .product-benefits {
        padding: 40px 0;
    }
}



