/* ============================================
   产品中心页面样式
   ============================================ */

/* ============================================
   页面头部样式
   ============================================ */

/* 产品中心页面的头部 - 始终显示背景 */
.products-page .header {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.products-page .header .nav-list a {
    color: #333;
}

.products-page .header .nav-list a.active {
    color: #3364FF;
}

/* ============================================
   面包屑导航样式
   ============================================ */
.breadcrumb {
    padding: 20px 0 20px;
    background: #f9f9f9;
    margin-top: 80px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #3364FF;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}
/* ============================================
   产品中心页面横幅样式
   ============================================ */
.about-banner {
    position: relative;
    width: 100%;
    height: 600px;
    color: white;
    overflow: hidden;
}
.about-banner-img{
    width: 100%;
    height: 100%;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(rgba(51, 100, 255, 0.6), rgba(51, 100, 255, 0.6));*/
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
     
}

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 24px;
    opacity: 0.9;
}
/* ============================================
   产品中心区域样式
   ============================================ */
.products-section {
    padding: 60px 0;
    background: #fff;
}

.products-section .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.products-section .section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.products-section .section-subtitle {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   产品分类标签页样式
   ============================================ */
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /*margin-bottom: 40px;*/
    padding: 0 20px;
}

.tab-item {
    padding: 10px 25px;
    background: #f5f5f5;
    color: #666;
    /* border-radius: 4px; */
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.tab-item:hover {
    background: #e0e0e0;
    color: #333;
}

.tab-item.active {
    background: #3364FF;
    color: white;
}

/* ============================================
   产品内容区域样式
   ============================================ */
.products-content {
    padding: 0px 0 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 8px;
    /* overflow: hidden; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-card.highlighted {
    border-color: #3364FF;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 20px 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.product-card p {
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0 0 15px 0;
}


.product-card .btn-view:hover {
    background: #063df3;
}

.product-card .btn-view:hover {
    background: #063df3;
}

/* ============================================
   分页组件样式
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination .active{
    background: #3364FF;
    color: white;
     padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pagination >ul{
    display: flex;
}
.pagination >ul >li{
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
}
.pagination >ul >li >a{
   padding: 8px 20px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.pagination .disabled{
    background: #e0e0e0;
    color: #333;
     padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
     opacity: 0.5;
    cursor: not-allowed;
}
.pagination-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
}

.pagination-btn:hover:not(:disabled) {
    background: #e0e0e0;
    color: #333;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination-number {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-number:hover {
    background: #e0e0e0;
    color: #333;
}

.pagination-number.active {
    background: #3364FF;
    color: white;
    border-color: #3364FF;
}

.pagination-ellipsis {
    padding: 0 5px;
    color: #999;
}



/* ============================================
   响应式设计 - 平板设备（最大宽度1024px）
   ============================================ */
@media (max-width: 1024px) {
    .about-banner {
    
    height: 400px;
}
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   响应式设计 - 移动设备（最大宽度768px）
   ============================================ */
@media (max-width: 768px) {
    .about-banner {
    
    height: 300px;
}
    .breadcrumb {
        padding: 15px 0 15px;
        margin-top: 60px;
    }

    .products-section {
        padding: 40px 0;
    }

    .products-section .section-title {
        font-size: 28px;
    }

    .product-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        padding: 0 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        scroll-behavior: smooth;
        
    }

    .product-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .tab-item {
        padding: 8px 15px;
        font-size: 12px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-btn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .btn-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}


