

.category{
    margin-top: 2rem;
}
.category li {
    float: left;
    margin-right: 2%;
    margin-bottom: 1rem;
}
.category li a{
    height: 3rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 0.5rem;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}
.category li.act a{
    background: var(--comcolor);
    color:#fff;
}


.products {
    margin-top: 2rem;
}
.products li {
    display: block;
    float: left;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 2px 2px 10px #909090;
}

.products li * {
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
}
.products li .pic {
    width: 100%;
    overflow: hidden;
}
.products li .pic img {
    width: 100%;
    vertical-align: middle;
}
.products .item {
    width: 90%;
    margin:1rem auto;
}
.products li .tit {
    font-size: 1rem;
    height: 3.5rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.products li .line {
    width: 0;
    height: 4px;
    background: var(--comcolor);
    position: relative;
    left: 0;
    bottom: 0;
    transition: all 0.6s ease;
}
.products li:hover .line {
    width:100%;
}
.products li .btn{
    overflow: hidden;
    width: 100%;
    height:2.5rem;
    border: 1px solid #eee;
    margin: 0 auto;
    margin-top: 1.5rem;
    border-radius: 0.5rem;
}
.products li .btn a {
    display: block;
    width: 50%;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    float: left;
    font-size: 0.9rem;
    color: #777777;
    text-decoration: none;
}
.products li .btn a:first-child {
    border-right: 1px solid #eaeaea;
}
.products li .btn a:hover {
    color: var(--comcolor);
}


@media  screen and (min-width: 1000px){
    .products li {
        width: 23.5%;
        margin-right: 2%;
    }
    .products li:nth-child(4n){
        margin-right:0;
    }
}

@media  screen and (max-width: 1000px){
    .products li {
        width: 49%;
        margin-right: 2%;
    }
    .products li:nth-child(2n){
        margin-right:0;
    }
    .products li .btn { display: none;}
}




/** 产品内页 **/
.banner {
    width: 100%;
    position: relative;
    height:50vh;overflow: hidden;
}
.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;
}

.products_box {margin-top: 2rem;}
.pro_detail {display: flex;justify-content: space-between;padding-bottom:1rem;border-bottom: 1px dashed #cbcbcb;}
.pro_detail .picture {padding-top:0;max-width:600px;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: #0081cb;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;}



@media screen and (max-width: 1000px) {


    .banner{display: none}

    .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;
    }
}