﻿
.product-page{
    padding:80px 0 150px;
    background:#fff;
}

.product-page .container{
    width:1400px;
    margin:auto;
}

.product-wrap{
    display:flex;
    gap:50px;
    align-items:flex-start;
}

/* 左侧 */

.product-side{
    width:260px;
    background:#f3f3f3;
    border-radius:10px;
    padding:20px 20px 80px;
}

.side-title{
    font-size:24px;
    color:#333;
    margin-bottom:20px;
    position:relative;
    font-weight:bold;
    
}
.side-title::before{
content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: -20px;
    left:0;  
      display: block;
    background: linear-gradient(90deg, #00338d 0%, #5bcdb6 100%);         
           
}
.product-menu{
    margin:0;
    padding:0;
    list-style:none;
}

.product-menu li{   
    height:60px;
    border-bottom:1px solid #d7e3f8;
    display:flex;
    align-items:center;
    cursor:pointer;
    color:#333;
    transition:.3s;
    position:relative;
    font-size:18px;
  
     font-weight:500;
}

.product-menu li:last-child{
    /*border-bottom:1px solid #d7e3f8;*/
}

.product-menu li.active{
    color:#003894;
   
}

.product-menu li.active::after{
    content:'';
    position:absolute;
    right:10px;
    width:34px;
    height:8px;
    background:url("../images/r-jt1-2.png") no-repeat center;
}


/* 右侧 */

.product-content{
    flex:1;
}

.product-group{
    display:none;
}

.product-group.active{
    display:block;
}

.product-card{
    background:#f0f0f0;
    border-radius:10px;
    height:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:30px 50px 40px;
    margin-bottom:35px;
    text-decoration:none;
    transition:.35s;
    overflow:hidden;
}

.product-card:hover{
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.product-info{
    width:600px;
}
.sjh{
    width:550px;
}

.product-group .sjh h3 {
    font-family:"Arial Black";
    font-size:26px;    
    margin-bottom:25px;
}
.product-group .font1 {
    padding-top: 25px;
}
.product-info h3{
    font-size:26px;
    color:#333;
    margin-bottom:20px;   
    font-family:"Arial Black";
}

.product-info h4{
    font-size:18px;
    color:#444;
    margin-bottom:25px;
    font-weight:400;
    letter-spacing:1px;
}

.product-info p{
    color:#555;
    line-height:1.5;
    font-size:16px;
    margin-bottom:50px;
}

.product-info>.view-btn{  
     display: inline-flex;
    align-items: center;
    justify-content: center; 
    gap: 25px;        
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom:0px;
    padding-bottom:5px;
    border-bottom: 1px #000 solid;
}
.btn-text1 {
            font-size: 16px;
            color: #000;
            font-weight: bold;
          
        }

        /* --- PNG 图片样式 (重点) --- */
        .arrow-icon {      
            height: auto;  
            display: block;         
        }
.product-info:hover .btn-text1{
    color:#003894;
}
.product-info:hover .view-btn{
    border-bottom: 1px #003894 solid;
}
.product-img1{
       width: 284px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.product-img img{
       
    width: 100%;
    height: 100%;
    display: block;
    object-position: center;
    object-fit: cover;
    transition:.4s;
}

.product-card:hover img{
    transform:scale(1.05);
}   


.chip-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.chip-card{
    background:#f0f0f0;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    transition:.35s;
}

.chip-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.chip-info{
    text-align:center;
    padding:15px 20px 10px;
}

.chip-info h3{
    font-size:24px;
    color:#333;
    font-weight:600;
    font-family:"Arial Black";
    
}

.chip-info p{
    color:#555;
    font-size:18px;
    font-weight:600;
}

.chip-img{
    height:220px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.chip-img img{
    width:136px;
    transition:.4s;
}

.chip-card:hover img{
    transform:scale(1.05);
}

.chip-btn{
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:600;
    color:#222;
    background:#e5e5e5;
    transition:.35s;
}

/* 当前选中效果 */

.chip-card.active .chip-btn{
    background:#003894;
    color:#fff;
}

.chip-card:hover .chip-btn{
    background:#003894;
    color:#fff;
}
   
@media screen and (max-width: 1440px) {
        .product-page {
        padding:80px 0px;
    }
}

@media screen and (max-width: 1280px) {
    .product-page {
        padding:80px 0px;
    }



}


 /* --- 移动端适配 (Product Center) --- */
@media screen and (max-width: 768px) {

    /* 1. 全局容器与间距调整 */
    .product-page {
        padding: 0px 0 30px;
        margin-top: 20px;
    }

    .product-page .container {
        width: auto;
        padding: 0 15px; /* 增加左右内边距防止贴边 */
    }

    .product-wrap {
        flex-direction: column; /* 【关键】由左右布局改为上下布局 */
        gap: 20px;
    }

    /* 2. 左侧分类导航改造为顶部横向滚动条 */
    .product-side {
        width: 100%;
        background: transparent; /* 去除背景色，融入页面 */
        padding: 0;
        border-radius: 0;
        margin-bottom: 10px;
        overflow-x: auto; /* 允许横向滚动 */
        white-space: nowrap; /* 强制不换行 */
        -webkit-overflow-scrolling: touch; /* iOS顺滑滚动 */
        
        /* 隐藏滚动条样式 (可选) */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .product-side::-webkit-scrollbar {
        display: none;
    }

    .side-title {
        display: none; /* 移动端通常不需要显示“产品中心”大标题，节省空间 */
    }

    .product-menu {
        display: flex; /* 让菜单项横向排列 */
        border-bottom: 1px solid #eee;
    }

    .product-menu li {
        height: 44px; /* 减小高度 */
        border-top: none;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        padding: 0 20px; /* 增加左右内边距 */
        font-size: 15px;
        justify-content: center;
        flex-shrink: 0; /* 防止被压缩 */
    }

    .product-menu li:last-child {
 
    }

    .product-menu li.active::after {
        /* 将右侧箭头改为底部下划线指示器，更符合移动端习惯 */
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: -1px;
        top: auto;       
        height: 3px;
        background-color: #004db5;
        border-radius: 2px;
    }

    /* 3. 右侧内容区域调整 */
    .product-content {
        width: 100%;
    }

    /* 4. 产品卡片重构 */
    .product-card {
        flex-direction: column-reverse; /* 【关键】图片在上，文字在下 (或者用 column 保持原序) */
        height: auto; /* 取消固定高度 */
        padding: 20px;
        margin-bottom: 20px;
        align-items: flex-start; /* 左对齐 */
    }

    /* 图片区域调整 */
    .product-img {
        width: 100%;
        height: 200px; /* 设定一个合理的移动端图片高度 */
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .product-img img {
        max-height: 100%;
        width: auto; /* 保持比例 */
        object-fit: contain; /* 确保仪器全貌显示 */
    }

    /* 文字信息区域调整 */
    .product-info, 
    .product-info.sjh {
        width: 100%; /* 占满宽度 */
    }


    .product-info h3 {
        font-size: 20px!important;
        margin-bottom: 5px;
    }

    .product-info h4 {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
    }

    .product-info p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        /* 限制描述文字行数，避免过长 */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 按钮微调 */
    .view-btn {
        gap: 10px !important; /* 减小间距 */
    }
    
    .btn-text1 {
        font-size: 14px;
    }
    .chip-grid {
        display: block;
    }
    .chip-img {
        height: auto;
    }
.chip-img img {
   
   
}
.chip-info {
    text-align: center;
    padding: 15px 20px 30px;
}

    .product-info > .view-btn {
        display:none;
    }
    .product-info p {
      -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    }

    .product-menu li.active::after {
     bottom: -2px;
     background: linear-gradient(90deg, #00338d 0%, #5bcdb6 100%);
    }
    .product-menu li {
        border-right:0;
    }

    .product-menu {
   
   
}
    .product-page .container {
    
    padding: 0;
}

    .product-content {
    width: auto;
    padding: 0px 15px;
}
        .product-menu li {

            border-bottom: 2px solid #d7e3f8;
        }
    .product-card {
padding: 40px 20px 20px;
margin-bottom:30px;
    }

    .chip-grid {
   width:414px;
   max-width:385px;
}
.chip-info {
    text-align: center;
    padding: 30px 20px;
}
    .chip-card {
margin-bottom: 30px;
display: block;
    width: 100%;
    }
    .m-disp {
        display: flex!important;
    }
}