
/* 产品列表 */

.x-product {
    padding: .5rem 0;
}

.x-product .c-list-box {}

.x-product .c-list-box .c-list-title {}

.x-product .c-list-box .c-list-title a {
    font-weight: 900;
    color: #000000;
}

.x-product .c-list-box .c-list-title span {
    color: rgba(0, 0, 0, .7);
}

.x-product .c-list-box .c-list-content {
    margin-top: .5rem;
    display: flex;
    flex-wrap: wrap;
}

.x-product .c-list-box .c-list-content .c-list-item {
    margin-right: .2rem;
    margin-bottom: .2rem;
}

.x-product .c-list-box .c-list-content .c-list-item a {
    display: block;
    transition: .4s;
    position: relative;
    /* line-height: 50px; */
}

.x-product .c-list-box .c-list-content .c-list-item a>div {
    position: absolute;
    border-style: solid;
    border-width: 0;
    width: 0em;
    height: 0em;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.x-product .c-list-box .c-list-content .c-list-item a .line_tl {
    left: -3px;
    top: -3px;
    border-top-width: 0px;
    border-left-width: 0px;
    border-color: #cb0631;
}

.x-product .c-list-box .c-list-content .c-list-item a .line_tr {
    right: -3px;
    top: -3px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-color: #cb0631;
}

.x-product .c-list-box .c-list-content .c-list-item a .line_bl {
    left: -3px;
    bottom: -3px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-color: #cb0631;
}

.x-product .c-list-box .c-list-content .c-list-item a .line_br {
    right: -3px;
    bottom: -3px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-color: #cb0631;
}

.x-product .c-list-box .c-list-content .c-list-item a span {
    display: block;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .6);
    color: #000;
    transition: .5s;
    text-align: center;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: .1rem .4rem;
}

.x-product .c-list-box .c-list-content .c-list-item a span:hover,
.x-product .c-list-box .c-list-content .c-list-item.active a span{
    transform: scale(.95);
    background: rgba(203, 6, 49, .8);
    border-color: #cb0631;
    color: #fff;
}

.x-product .c-list-box .c-list-content .c-list-item a:hover>div,
.x-product .c-list-box .c-list-content .c-list-item.active a>div{
    width: .1rem;
    height: .1rem;
}

.x-product .c-list-box .c-list-content .c-list-item a:hover .line_tl,
.x-product .c-list-box .c-list-content .c-list-item.active  .line_tl{
    border-top-width: 1px;
    border-left-width: 1px;
}

.x-product .c-list-box .c-list-content .c-list-item a:hover .line_tr,
.x-product .c-list-box .c-list-content .c-list-item.active .line_tr{
    border-top-width: 1px;
    border-right-width: 1px;
}

.x-product .c-list-box .c-list-content .c-list-item a:hover .line_bl,
.x-product .c-list-box .c-list-content .c-list-item.active .line_bl{
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.x-product .c-list-box .c-list-content .c-list-item a:hover .line_br,
.x-product .c-list-box .c-list-content .c-list-item.active .line_br{
    border-bottom-width: 1px;
    border-right-width: 1px;
}

.x-product .c-list-pr-box {
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: .35rem;
    row-gap: .35rem;
    margin-top: .5rem;
}

.x-product .c-list-pr-box .c-list-box-item {
    padding: .4rem;
    background-color: #ffffff;
    position: relative;
    transition: all .3s ease;
    display: block;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .3rem;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-title h3 {
    font-weight: 900;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content {
    display: flex;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-le {
    width: 40%;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-le img {
    width: 100%;
    object-fit: cover;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri {
    flex: 1;
    padding: 0 0 0 .3rem;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri>p {
    font-weight: 700;
    margin-bottom: .12rem;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri>div {
    line-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #888888;
}

.x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri>span {
    display: block;
    position: absolute;
    right: .2rem;
    bottom: .2rem;
    background-color: #cb0631;
    color: #ffffff;
    padding: .05rem .1rem;
    letter-spacing: 1px;
    transition: all .3s ease;
    border: 1px solid #cb0631;
}

.x-product .c-list-pr-box .c-list-box-item:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.x-product .c-list-pr-box .c-list-box-item:hover h3 {
    color: #cb0631;
}

@media (max-width: 1400px) {
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri>div {
        line-height: 28px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #888888;
    }
}

@media (max-width: 991px) {
    .x-product .c-list-pr-box {
        grid-template-columns: repeat(1, 1fr);
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri {
        padding: 0 0 0 .5rem;
    }
}

@media (max-width: 767px) {
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri>div {
        line-height: 24px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #888888;
    }
    .x-product .c-list-box .c-list-content {
        justify-content: space-around;
    }
    .x-product .c-list-box .c-list-content {
        justify-content: space-around;
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content {
        display: block;
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-le {
        width: 100%;
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri {
        padding: 0;
        margin-top: .2rem;
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri p {
        display: none;
    }
    .x-product .c-list-pr-box .c-list-box-item .c-list-content .c-list-content-ri span {
        display: none;
    }
}


/*产品详情*/

.x-product-de-top{
    padding: 1rem 0;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}
.x-product-de-top-b{
    display: flex;
    justify-content: space-between;
}
.x-product-de-top-b-le{
    width: 55%;
}
.x-product-de-top-b-le span{
    background-color: #cb0631;
    color: #ffffff;
    margin-bottom: .2rem;
    display: block;
    width: max-content;
    padding: .05rem .2rem;
    border-radius: 50px;
}

.x-product-de-top-b-le h1{
    font-weight: 800;
    margin-bottom: .2rem;
    border-left: 5px solid #cb0631;
    padding-left: .3rem;
}
.x-product-de-top-b-le .x-product-de-top-b-le-des{
    text-indent: 32px;
    line-height: 32px;
    color: #888888;
    margin-bottom: .2rem;
}
.x-product-de-top-b-le .x-product-de-top-b-le-inf{
    margin-bottom: .6rem;
    
}
.x-product-de-top-b-le .x-product-de-top-b-le-inf p{
    font-weight: 800;
    margin-bottom: .2rem;
}
.x-product-de-top-b-le .x-product-de-top-b-le-inf div{
    display: flex;
}
.x-product-de-top-b-le .x-product-de-top-b-le-inf div a{
    display: block;
    margin-right: .2rem;
    background-color: #888888;
    color: #ffffff;
    padding: .08rem .2rem;
    letter-spacing: 1px;
}
.x-product-de-top-b-le .x-product-de-top-b-le-btn{
    display: flex;
    /*justify-content: center;*/
}
.x-product-de-top-b-le .x-product-de-top-b-le-btn a{
    display: block;
    margin-right: .4rem;
    padding: .15rem .4rem;
    background: #cb0631;
    color: #ffffff;
    letter-spacing: 2px;
    transition: all .3s;
    display: flex;
    align-items: center;
    border-radius: 50px;
}
.x-product-de-top-b-le .x-product-de-top-b-le-btn a svg{
    margin-right: .2rem;
    transition: all .3s;
}
.x-product-de-top-b-le .x-product-de-top-b-le-btn a:hover{
    border-radius: 0.2rem 0;
    cursor: pointer;
}

.x-product-de-top-b-le .x-product-de-top-b-le-btn a:hover svg{
    transform: translateX(3px);
}

.x-product-de-top-b-ri{
    width: 40%;
    text-align: center;
}
.x-product-de-top-b-ri img{
    max-height: 3.5rem;
}

.x-product-de-menu{
    background: #ffffff;
    box-shadow: 0 9px 15px 6px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0.9rem;
    z-index: 5;
    margin-bottom: .5rem;
}
.x-product-de-menu-box a{
    display: inline-block;
    padding: .25rem .3rem;
    position: relative;
    transition: all .3s;
}
.x-product-de-menu-box a:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 15px;
    display: block;
    background: #ccc;
    top: 50%;
    margin-top: -7px;
    right: 0px;
}
.x-product-de-menu-box a:before {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0px;
    width: 0%;
    height: 3px;
    background-color: none;
    transition: all .3s;
}

.x-product-de-menu-box a:hover{
    cursor: pointer;
    color: #cb0631;
}
.x-product-de-menu-box a:hover:before, .x-product-de-menu-box a.active:before {
    width: 80%;
    left: 10%;
    background-color: #cb0631;
}
.x-product-de-cont{
    /*background-color: rgba(240, 240, 240, 1);*/
    /*padding: .5rem 0;*/
}
.x-product-de-cont-box{
    display: flex;
    justify-content: space-between;
}
.x-product-de-cont-box-le{
    width: 20%;
    background-color: #ffffff;
    margin-right: .3rem;
    height: max-content;
    position: sticky;
    top: 1.9rem;
    z-index: 4;
}
.x-product-de-cont-box-ri{
    flex: 1;
}

.x-product-de-cont-box-ri-item{
    background-color: #fff;
    margin-bottom: .3rem;
    padding: .3rem;
}
.x-product-de-cont-box-ri-item:last-child{
    margin-bottom: 0;
}
.x-product-de-cont-box-ri-item h2{
    font-weight: 800;
    display: flex;
    align-items: center;
    position: relative;
    width: max-content;
    padding-bottom: .2rem;
}
.x-product-de-cont-box-ri-item h2:before {
    position: absolute;
    content: '';
    left: 0%;
    bottom: 0px;
    width: 100%;
    height: 3px;
    background-color: #cb0631;
    transition: all .3s;
}
.x-product-de-nr{
    margin-top: .3rem;
}

.x-product-de-qd{
    background-color: #ffffff;
    padding: .5rem 0;
}

.x-product-de-qd-box{
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 35px;
    row-gap: 35px;
    margin-top: .5rem;
}
.x-product-de-qd-box-item{
    background: #f9f9f9;
    transition: all .3s;
}
.x-product-de-qd-box-item div{
    
}
.x-product-de-qd-box-item div img{
    width: 100%;
    object-fit: cover;
    transition: all .3s;
}

.x-product-de-qd-box-item h4{
    font-weight: 800;
    color: #000000;
    text-align: center;
    padding: .2rem;
}
.x-product-de-qd-box-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,0,0,.1);
}
.x-product-de-qd-box-item:hover h4{
    color: #cb0631;
}


@media (max-width: 991px) {
    .x-product-de-qd-box {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .x-product-de-top-b,
    .x-product-de-cont-box{
        display: unset;   
    }
    .x-product-de-top-b-le,
    .x-product-de-top-b-ri,
    .x-product-de-cont-box-le{
        width: 100%;
    }
    .x-product-de-top-b-ri{
        margin-top: .5rem;
    }
    .x-product-de-top-b-ri img{
        max-height: unset;
    }
    .x-product-de-menu{
        top: 1.2rem;
    }
    .x-product-de-qd-box {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*产品内容表格*/
.x-product-de-nr table{
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: .2rem 0;
}

  .x-product-de-nr  table{
      width: 100%!important;
  }
.x-product-de-nr tr:nth-child(odd) td {
    border: 1px solid #888!important; 
    padding: 10px 0!important;
  }
 .x-product-de-nr  tr:nth-child(even) td {
    border: 1px solid #888!important; 
    padding: 10px 0!important;
  }

.x-product-de-nr tr:nth-child(odd) {
    background-color: #ffffff!important;
  }
 .x-product-de-nr  tr:nth-child(even) {
   background-color: #f5f5f5!important;
  }


.x-product-de-nr tr:nth-child(1) td{
    /*border-color:#000000!important;*/
    /*font-weight: 800!important;*/
    /*letter-spacing: 1px!important;*/
}

.x-product-de-nr tr:hover{
    /*background-color: rgba(203, 6, 49,1)!important;*/
    /*color: #fff!important;*/
}


/*.x-product-de-nr tr:nth-child(1),*/
/*.x-product-de-nr tr:nth-child(1):hover{*/
/*    background-color: #df0024!important;*/
/*    border-color:#df0024!important;*/
/*    color: #fff!important;*/
/*}*/

.x-product-de-nr tr,
.x-product-de-nr td,
.x-product-de-nr table p,
.x-product-de-nr table span{
    text-align: center!important;
}





.x-product-de-nr li{
    list-style: auto;
    margin-left: .2rem;
    line-height: 32px;
}


