
.container {

}

.products_main {
    display:flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1rem 0;
}


.category_box {
    width: 25%;
    margin-top: 0;
}
.category_box .category_list {

}
.category_box .category_list::-webkit-scrollbar {
    width: 5px; /* 设置滚动条的宽度 */
}
.category_box .category_list::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
}

.category_box .category_top {
    height:6.25rem;width: 100%;
    margin-bottom: 0.3rem;display: flex;justify-content: space-between;align-items: center;
    color: var(--comcolor);
    border-bottom: 1px solid #d9d9d9;
}
.category_box .category_top .tit {font-size: 2rem;font-weight: 600;}
.category_box .category_top .iconfont {font-size: 2rem;}

.category_box .category_list .item {
    font-size:1rem;display: flex;align-items: center;position: relative;
    color:var(--comcolor);
    height: 4rem;padding:0 3rem 0 0.3rem;
    cursor:pointer;
    border-bottom: 1px solid #d9d9d9;
}
.category_box .category_list .item.act {border:1px solid var(--comcolor);}
.category_box .category_list .item:hover {color:var(--comcolor);}
.category_box .category_list .item_icon {
    position: absolute;
    right: 3%;
    top:50%;
    transform: translateY(-50%);
    cursor:pointer;
    width: 2rem;
    height: 2rem;
    background: #e9e9e9;
    color: #898989;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category_box .category_list .sub_item {
    width:100%;
    position: relative;
}
.category_box .category_list .sub_item a{
    display: block;
    position: relative;
    border-bottom: 1px solid #dfdfdf;
}
.category_box .category_list .sub_item .name {
    padding: 0.8rem 2.5%;
    color:#333;
    font-size: 0.9rem;
    display: flex;
    justify-content:space-between;
    align-items: center;
    cursor: pointer;
}
.category_box .category_list .sub_item a.act .name {
    border:1px solid var(--comcolor);
}
.category_box .category_list .sub_item .name:hover,
.category_box .category_list .sub_item .name.act
{
    color:var(--subcolor);
}



.products_box {
    width: 72%;
    position: relative;
    margin-top: 1rem;
}

.pro_list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #eee;
}

.pro_list .pic {
    width: 50%;
    max-width: 500px;
}
.pro_list .item {
    padding: 1rem;
    flex:1;
}
.pro_list .item .tit {
    font-size: 1.5rem;
    width: 100%;
    font-weight: 500;
    color: #333;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.pro_list .item .intro {
    max-height: 300px;
    overflow-y: auto;
}



/** 产品内页 **/
.banner {
    width: 100%;
    position: relative;
    min-height: 50vh;
    background: #1a1a1a;
}
.banner img {
    width: 100%;
}
.banner  .tit{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}
.banner  .tit .name{
    font-size: 2.5rem;
    color:#fff;
    margin-bottom: 1rem;
}
.banner  .tit .line{
    width:12.5rem;
    height:2px;
    background-color: #fff;
}

.pro_detail {display: flex;padding-bottom:10px;border-bottom: 1px dashed #cbcbcb;}
.pro_detail .picture {padding-top:0;max-width:500px;width:50%;height:100%;position: relative;overflow-x: hidden;border: 2px solid #f5f5f5;}
.pro_detail .picture .pro_swiper {width:100%;}
.pro_detail .introduce {width: 50%;padding-left:2rem;position: relative;}
.pro_detail .introduce .name {font-size: 2rem;margin-bottom: 1rem;font-weight: 600;}
.pro_detail .introduce .intro {line-height: 2rem;overflow-y:auto;}


.products_box .contact {border-bottom:1px solid #f1f1f1;padding: 1rem 0;}
.products_box .contact .tit {font-size: 1rem;line-height: 2rem;margin-bottom: 1rem;}
.products_box .contact .box {display: flex;}
.products_box .contact .phone {width:16rem;margin-bottom: 5px;background: var(--comcolor);padding:0.6rem;margin-right:1rem;border-radius: 0.5rem;font-size: 1rem;display: flex;align-items: center}
.products_box .contact .phone i {color:#fff;font-size: 1.5rem;}
.products_box .contact .phone .number{padding-left:0.5rem;color:#fff;font-size: 1.2rem;}

.products_box .tedian { margin: 3rem 0; line-height: 2rem;}
.products_box .canshu h3 { background: var(--comcolor);padding:1rem 0; color:#fff;padding-left: 1rem;margin: 3rem 0 1rem}

table {
    width:100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
table tbody tr {
    height: 3rem;
}
td {
    border: solid 1px #ddd;
    vertical-align: middle;
    text-align: center;
    font-size: 1rem;
    line-height: 2;
    color: #212529;
    padding:0 0.5rem;
}

.canshu {
    margin-top: 2rem;
}
.canshu p {
    font-size: 1rem;
    line-height: 2rem;
}


.hot_product {
    padding: 1.8rem 0;
}
.hot_product .tit {
    height:2.8rem;
    line-height: 2.8rem;
    border-bottom: 2px solid #dfdfdf;
    margin-bottom: 2rem;
    padding-top: 1.6rem;
    text-align: left;
    box-sizing: content-box;
}

.hot_product .tit b {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: normal;
    color: #464646;
    border-bottom: 2px solid #4c4c4c;
    box-sizing: content-box;
}

.hot_product .tit span {
    margin-left: 0.8rem;
    font-size: 1.2rem;
    color: #c2c2c1;
    text-transform: uppercase;
}

.hot_product .cont dl {
    float: left;
    width: 23.5%;
    border: 1px solid #dfdfdf;
    margin-right: 2%;
}

.hot_product .cont dl:last-child {
    margin-right: 0;
}

.hot_product .cont dl img {
    display: block;
    width: 100%;
}

.hot_product .cont dd {
    padding: 0.6rem;
    position: relative;
    background: #fff;
}

.hot_product .cont h3 {
    text-align: center;
    font-size: 1rem;
    line-height: 2rem;
    height:4rem;
    color: #3d3d3d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot_product .cont h3 a {
    color: #191919;
}


.hot_product .cont dl:hover {
    border-color: var(--comcolor);
}

.hot_product .cont dl:hover h3 a {
    color: var(--comcolor);
}




.mobile_category_box {display: none;}




@media screen and (max-width: 1000px) {
    .products_main {display: block;}
    .mobile_category_box {display: block;margin-bottom: 1rem;}
    .mobile_category_box li{
        width:49%;
        margin-right: 2%;
        position:relative;
        background: #f4f4f4;
        float: left;
        margin-bottom: 5px;
    }
    .mobile_category_box li:nth-child(2n){
        margin-right: 0;
    }
    .mobile_category_box li:after{
        content:"";
        position:absolute;
        width:0;
        top:0;
        left:0;
        height:100%;
        background: linear-gradient(to right, var(--comcolor), #7b95b1);
        transition:all .5s;
    }
    .mobile_category_box li.active:after{
        width:100%;
    }
    .mobile_category_box li.active .cate{
        color:#fff;
    }
    .mobile_category_box li .cate{
        position:relative;
        z-index:2;
        height:3rem;
        padding:0 0.5rem;
        color:#333;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
    .mobile_category_box li .cate span{
        font-size:1rem;
    }
    .mobile_category_box li i {
        font-size:1rem;
    }



    .banner,.breadcrumb .pro_nav, .category_box {display: none}


    .banner .tit .name {
        font-size: 1.5rem;
    }

    .products_main {

    }
    .products_box {
        width:100%;
        padding-left: 0;
    }
    .pro_detail {
        display: block;
    }
    .pro_detail .picture {
        width:100%;
    }

    .products_box .contact .box {
        display: block;
    }
    .products_box .contact .phone {
        margin-top: 1rem;
    }
    .pro_detail .introduce {
        width:100%;
        padding-left: 0;
    }
    .pro_detail .introduce .name{
        font-size: 1.8rem;
        margin-top: 1rem;
        text-align: center;
    }


    .hot_product .cont dl {
        float: left;
        width: 48%;
        margin-right: 4%;
        margin-bottom: 0.5rem;
    }

    .hot_product .cont dl:nth-child(2n) {
        margin-right: 0;
    }
}


@media screen and (max-width: 500px) {
    .pro_list a {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        background: #fff;
        border: 1px solid #eee;
    }
    .pro_list .pic {
        width: 100%;
    }
}