@charset "utf-8";
/* CSS Document */

@import url("swiper-bundle.min.css");

/*banner大图*/
.pro-banner {
    /*    background:url(../images/pro-tit-bg.png) no-repeat left center;
        padding: 40px 24px;
        width: 580px;
        text-align: center;*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*产品轮播*/
.swiper-parent {
    position: relative;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px;
}

.product-picscroll .swiper-slide {
    text-align: center;
}

.product-picscroll .swiper-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/*放大镜*/
.swiper-fd-img {
    position: relative;
}

.swiper-big-img {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
}

/*产品简介*/
.pro-profile .title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pro-profile .des {
    max-height: 324px;
    overflow: hidden;
}

.pro-profile .des a {
    font-weight: bold;
}

.pro-profile .pro-btn a {
    display: inline-block;
    line-height: 38px;
    padding: 0 6px;
    background: #ececec;
    border: 1px solid #dfdfdf;
}

.pro-profile .pro-btn a:hover {
    color: #fff;
    background: #1D65B9;
}

@media (min-width: 576px) {
    .pro-profile .pro-btn a {
        padding: 0 36px;
    }
}


/*产品详情*/
.pro-details {
    border: 2px solid #DDE2E9;
}

.pro-details .top-list {
    position: relative;
}

.pro-details .top-list span.p-tit-item {
    display: inline-block;
    line-height: 70px;
    padding: 0 20px;
    cursor: pointer;
}

.pro-details .top-list span.p-tit-item.active {
    border-bottom: 4px solid #9BCB3B;
}

.pro-details-conts {
    display: none;
}

.pro-details-conts a {
    font-weight: bold;
}

.pro-details-conts.active {
    display: block;
}

.pro-details-conts img {
    max-width: 100% !important;
    height: auto !important;
}

/*上下篇*/
.nextpage {
    width: 100%;
    overflow: hidden;
}

.nextpage ul li {
    float: left;
    width: 100%;
}

.nextpage ul li.last {
    float: left;
    width: 100%;
}

@media (min-width: 768px) {
    .nextpage ul li {
        width: 48%;
        text-align: left;
        margin-right: 4%;
    }

    .nextpage ul li.last {
        width: 48%;
        text-align: right;
        margin-right: 0px;
    }
}

/*相关产品*/
.related-pro-con {
    position: relative;
    overflow: hidden;
}

.swiper-related-pro .swiper-slide {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-related-pro .swiper-slide a {
    display: block;
    width: 100%;
}

.swiper-related-pro .swiper-slide .related-pro-img {
    display: block;
    background: #ffffff;
    width: 100%;
    _height: 310px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #DDE2E9;
    overflow: hidden;
}

.swiper-related-pro .swiper-slide .related-pro-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: all 0.3s linear;
}

.swiper-related-pro .swiper-slide .related-pro-img:hover img {
    transform: scale(1.1);
}

.swiper-related-pro .swiper-slide p {
    font-weight: bolder;
    line-height: 44px;
    height: 44px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper-related-pro .swiper-pagination-progressbar {
    top: auto;
    bottom: 0;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #ef3334;
}

.swiper-related-pro-prev {
    width: 40px;
    height: 40px;
    background: #9BCB3B;
    background-size: auto 100%;
    position: absolute;
    left: 0px;
    top: 28%;
    border: none;
    outline: none;
    text-align: center;
    z-index: 99;
}

.swiper-related-pro-prev i {
    color: #ffffff;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
}

.swiper-related-pro-next {
    width: 40px;
    height: 40px;
    background: #9BCB3B;
    background-size: auto 100%;
    position: absolute;
    right: 0px;
    top: 28%;
    border: none;
    outline: none;
    text-align: center;
    z-index: 99;
}

.swiper-related-pro-next i {
    color: #ffffff;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
}

@media (min-width: 768px) {
    .swiper-related-pro-prev {
        top: 32%;
    }

    .swiper-related-pro-next {
        top: 32%;
    }
}

@media (min-width: 1200px) {
    .swiper-related-pro-prev {
        top: 39%;
    }

    .swiper-related-pro-next {
        top: 39%;
    }
}
