/* 全局重置 + 首页/About Us/Contact Us 基础样式（保留所有原有样式） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 首页/About Us/Contact Us 原有样式（顶部信息栏、导航、移动端导航、页脚等）全部保留，以下仅新增 Products 专属样式 */

/* Products Banner 区域 */
.products-banner {
    position: relative;
    color: #fff;
    background-color: #0f2942;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.products-banner .container {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.products-banner .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
}

.products-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.products-banner .breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.products-banner h1 {
    font-size: 48px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.products-banner p {
    font-size: 16px;
    max-width: 800px;
    opacity: 0.9;
}

/* 产品列表主区域 */
.products-main {
    padding: 60px 0;
    background-color: #fff;
}

.products-main .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* 左侧筛选栏 */
.products-sidebar {
    background-color: #f9f9f9;
    padding: 25px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 18px;
    text-transform: uppercase;
    color: #0f2942;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* 分类列表 */
.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 10px;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.category-item.active a {
    color: #0066cc;
    font-weight: 600;
}

.category-item a:hover {
    color: #0066cc;
}

.category-item a i {
    font-size: 10px;
}

/* 筛选组样式 */
.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 14px;
    color: #0f2942;
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-options {
    list-style: none;
}

.filter-options li {
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-options input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #0066cc;
}

.filter-options label {
    color: #666;
    cursor: pointer;
}

.reset-filters-btn {
    width: 100%;
    background-color: #fff;
    color: #0066cc;
    border: 1px solid #0066cc;
    padding: 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filters-btn:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 右侧产品内容区 */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-by {
    font-size: 14px;
}

.sort-by label {
    color: #666;
    margin-right: 8px;
}

.sort-by select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    color: #333;
    background-color: #fff;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle button.active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.view-toggle button:hover {
    border-color: #0066cc;
    color: #0066cc;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-title {
    font-size: 16px;
    color: #0f2942;
    margin: 15px 20px 10px;
    font-weight: 600;
}



.product-title a {

    text-decoration: none;

    font-size: 16px;
    color: #0f2942;
    /* margin: 15px 20px 10px; */
    font-weight: 600;
}





.product-desc {
    font-size: 14px;
    color: #666;
    margin: 0 20px 15px; 
    line-height: 1.5;
}



.product-desc a {

    text-decoration: none;


    font-size: 14px;
    color: #666;
   /*  margin: 0 20px 15px; */
    line-height: 1.5;
}




.view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    margin: 0 20px 20px;
    transition: color 0.3s ease;
}

.view-details-btn:hover {
    color: #004c99;
}

.view-details-btn i {
    font-size: 10px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.page-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-item.active a {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-item a:hover:not(.active) {
    border-color: #0066cc;
    color: #0066cc;
}

.page-item.ellipsis {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    color: #666;
    font-size: 14px;
}

.next-page a {
    width: 36px;
    height: 36px;
}

/* 产品优势栏 */
.product-benefits {
    padding: 40px 0;
    background-color: #f0f5fc;
}

.product-benefits .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.benefit-item i {
    font-size: 32px;
    color: #0066cc;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 16px;
    text-transform: uppercase;
    color: #0f2942;
    margin-bottom: 10px;
    font-weight: bold;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
}

/* 订阅栏 */
.subscribe-section {
    padding: 60px 0;
    background-color: #0f2942;
    color: #fff;
    text-align: center;
}

.subscribe-section h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: bold;
}

.subscribe-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    color: #333;
    outline: none;
}

.subscribe-btn {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #004c99;
}

/* 列表视图样式（切换用） */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    padding: 15px;
}

.products-grid.list-view .product-img {
    height: 150px;
}

.products-grid.list-view .product-title {
    margin: 0 0 10px 0;
}

.products-grid.list-view .product-desc {
    margin: 0 0 15px 0;
}

.products-grid.list-view .view-details-btn {
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .products-banner h1 {
        font-size: 36px;
    }
    .products-main .container {
        grid-template-columns: 250px 1fr;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-benefits .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .products-banner h1 {
        font-size: 28px;
    }
    .products-main .container {
        grid-template-columns: 1fr;
    }
    .products-sidebar {
        margin-bottom: 30px;
    }
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .products-controls {
        width: 100%;
        justify-content: space-between;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }
    .subscribe-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-banner h1 {
        font-size: 22px;
    }
    .products-banner .container {
        padding: 40px 0;
    }
    .product-benefits .container {
        grid-template-columns: 1fr;
    }
    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }
    .products-grid.list-view .product-img {
        height: 200px;
        margin-bottom: 15px;
    }
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 首页/About Us/Contact Us 原有响应式样式（768px/480px 适配）全部保留 */