img {
    width: 100%;
}
.swiper-slide .item .text{
    font-weight: 300;
}
li {
    list-style-type: none;
}

.location-menu {
    padding: 10rem 20rem 0rem;
    height: 7rem;
    line-height: 7rem;
    font-size: 1.4rem;
    color: #333333;
    background-color: #f8f8f8;
}

.location-menu span {
    display: inline;
    margin-right: 2rem;
}

.location-menu .menu {
    position: relative;
}

.location-menu .menu::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 43%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #999999;
    border-right: 1px solid #999999;
    transform: rotate(45deg);
}

.product-detail {
    width: 100%;
    padding: 0px 20rem 2rem;
    box-sizing: border-box;
    display: flex;
    background-color: #f8f8f8;
}

.product-detail .detail-right,
.product-detail .detail-left {
    width: 50%;
    flex-shrink: 0;
    padding-right: 16rem;
    box-sizing: border-box;
}

.product-detail .detail-right .poster {
    padding-top: 8rem;
    text-align: center;
    line-height: 0;
    background-color: #fff;
}

.detail-right .switchover-box .switchover {
    padding: 2rem 0rem;
    white-space: nowrap;
    cursor: pointer;
}

.switchover-box .switchover .tab-img {
    border: 2px solid #f8f8f8;
    display: inline-block;
}

.switchover-box .switchover .tab-img-color {
    border: 2px solid #df1c28;
}

.product-detail .detail-left {
    padding: 0;
}

.detail-left h1 {
    font-size: 3.2rem;
}

.detail-left p {
    font-size: 1.4rem;
    color: #666666;
    padding: 3rem 0rem 4rem;
}

.detail-message {
    padding: 1rem 3rem;
    width: 85%;
    box-sizing: border-box;
    background-color: #fff;
}

.detail-message li {
    padding: 2rem 0rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
}
.detail-message li:last-child{
    border-bottom: none;
}

.detail-message li span {
    display: inline-block;
    font-size: 1.4rem;
}

.detail-message li span:nth-child(2) {
    text-align: right;
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.detail-message li span:nth-child(1) {
    max-width: 28%;
}

.detail-left .consult {
    width: 85%;
    padding-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-left .consult .btn {
    width: 18rem;
    height: 6rem;
    line-height: 6rem;
    font-size: 1.6rem;
    color: #fff;
    background-color: #df1c28;
    text-align: center;
    cursor: pointer;
}

.detail-left .consult .masg {
    font-size: 1.8rem;
}

.detail-left .consult .masg span {
    color: #df1c28;
}

.product-classification {
    box-sizing: border-box;
    width: 100%;
    padding: 0rem 20rem 10rem;
}

.classification-menu {
    display: flex;
}

.product-classification h1 {
    padding: 5rem 0;
    display: block;
    font-size: 2.8rem;
}

.classification-menu .classification-menu-left {
    width: 30rem;
}

.menu-left {
    height: 10rem;
    background-color: #f4f4f4;
    margin-bottom: 2rem;
    border: 1px solid #f4f4f4;

}

.menu-left-color {
    color: #df1c28;
    border: 1px solid #df1c28;
    background-color: #fff;
}

.menu-left-color a span {
    color: #df1c28;
}

.menu-left a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
}

.menu-left img {
    max-width: 60px;
    max-height: 60px;
}

.menu-left span {
    display: inline-block;
    margin-left: 20px;
    font-size: 2rem;
}

.classification-menu .classification-menu-right {
    flex: 1;
    padding: 0rem 0rem 0rem 18rem;
    box-sizing: border-box;
}

@media screen and (max-width:1200px) {
    .product-detail {
        padding: 0px 2rem 2rem;
    }

    .product-detail .detail-right,
    .product-detail .detail-left {
        padding-right: 6rem;
    }

    .product-detail .detail-left {
        padding: 0;
    }

    .detail-message,
    .detail-left .consult {
        width: 100%;
    }

    .swiper-wrapper {
        height: auto;
    }

    .centerpage .swiper-container {
        height: auto;
    }

    .product-classification {
        padding: 0rem 2rem 5rem;
    }

    .product-classification h1 {
        padding: 2rem 0;
    }

    .classification-menu .classification-menu-right {
        padding: 0 2rem;
    }
}

@media screen and (max-width:750px) {
    .product-detail {
        flex-direction: column;
        padding: 0;
    }

    .location-menu {
        padding: 8rem 2rem 0rem;
    }

    .product-detail .detail-right {
        padding: 0;
        width: 100%;
    }

    .product-detail .detail-right .poster {
        padding-top: 4rem;
    }

    .detail-right .switchover-box .switchover {
        padding: 2rem;
    }

    .centerpage .swiper-container {
        padding-top: 0rem;
    }

    .product-detail .detail-left {
        padding: 0rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .product-classification{
        padding: 0rem 1rem 5rem;
    }

    .detail-left h1 {
        font-size: 2rem;
    }

    .detail-left p {
        padding: 1.2rem;
    }

    .detail-message {
        padding: 1rem 1rem;
    }

    .detail-message li {
        padding: 1rem 0rem;
    }

    .detail-message li span:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .detail-left .consult {
        padding: 0rem 0rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-left .consult .btn{
        height: 4rem;
        line-height: 4rem;
        width: 9rem;
        margin: 1rem 0rem;
    }
    .detail-left .consult .masg{
        font-size: 1.4rem;
    }
    .product-classification h1{
        font-size: 2.2rem;
    }
    .classification-menu{
        flex-direction: column;
    }

    .classification-menu .classification-menu-left{
        width: 100%;
    }
    .menu-left{
        height: 5rem;
    }
    .menu-left img{
        width: 30px;
        height: 30px;
    }
}