/* 产品导航 */
.product {
    padding-top: 30px;
    padding-bottom: 30px;
}
.product-left .ce {
    margin-right: 30px;
    width: 320px;
    background-color: #fff;
    box-shadow: 0px 0px 10px 5px rgba(236, 236, 236, 0.9);
}
.product-left .ce li a {
    padding: 16px 10px 16px 20px;
    color: #000;
    display: block;
    cursor: pointer;
    font-size: 14px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.product-left .ce li a:hover,
.product-left .ce li a.active {
    color: #fff;
    background-color: var(--color);
}
.product-left .ce li a.active i {
    color: #FFFFFF;
}
.ce li a {
    position: relative;
}
.ce li a i {
    position: absolute;
    right: 20px;
    top: 20px;
}

/* 产品列表 */
.product-right {
    width: 100%;
}
.product-content {
    padding: 20px;
    background-color: #FFFFFF;
}
.m-wiper {
    display: none;
}
.products-grid {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 25px;
    background-color: #FFFFFF;
}
.products-grid .product-card {
    width: calc(33.33% - 14px);
    margin-right: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 1px solid #eeeeee;
}
.products-grid .product-card:nth-child(3n) {
    margin-right: 0;
}
.products-grid .product-card:hover {
    border-color: var(--color);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .1);
}
.product-image {
    margin-bottom: 10px;
}
.product-image a {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
}
.product-image img:hover {
    transform: scale(1.1);
    transition: transform .5s ease-out;
}
.product-info {
    padding: 0 15px;
    width: 100%;
}
.product-info h3 {
    font-size: var(--fontsize18);
    color: var(--fontcolor);
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.product-info p {
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 50px;
    color: var(--introcolor);
    line-height: 24px;
    font-size: var(--fontsize14);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
}

/* 产品详情 */
#spec-n5 {
    width: 340px;
    height: 56px;
    padding-top: 6px;
}
.m-swiper {
    display: none;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}
.m-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
}
.preview-swiper {
    position: relative;
    padding: 0 30px;
    width: 340px;
    height: 52px;
    overflow: hidden;
}
.preview-swiper .swiper-wrapper .swiper-slide {
    margin-right: 4px;
    width: 50px;
    height: 50px;
}
.preview-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}
.swiper-button-bg {
    position: absolute;
    top:0;
    width: 30px;
    height: 52px;
    z-index: 2;
    background-color: #FFFFFF;
}
.preview-swiper .swiper-button-prev {
    left: 0;
}
.preview-swiper .swiper-button-next {
    right: 0;
}

.preview-swiper .swiper-button-next,
.preview-swiper .swiper-button-prev {
    transform: scale(0.5);
}

.pro-info {
    width: 100%;
    position: relative;
    margin-left: 30px;
}
.pro-info p {
    color: var(--introcolor);
    font-size: var(--fontsize15);
}
.p-title {
    font-size: var(--fontsize22);
    border-bottom: #ececec 1px solid;
}
.pro-detail-title {
    width: 100%;
    background-color: #f5f5f5;
    border: 1px solid #f6f6f6;
}
.pro-detail-title h3 {
    padding: 8px 25px;
    display: inline-block;
    color: var(--color);
    font-size: var(--fontsize20);
    font-weight: var(--fontbold4);
    border-top: 2px solid var(--color);
    background-color: #FFFFFF;
}
.pro-content {
    min-height: 100px;
    overflow-wrap: break-word;
    font-size: var(--fontsize16);
    line-height: 35px;
}
.pro-content p {
    font-size: var(--fontsize16);
}
.pro-content p img {
    width: 100%;
}
.product-button {
    position: absolute;
    bottom: 0;
    left: 0;
}
.product-button a {
    color: #FFFFFF;
    border-radius: 0;
    font-weight: initial;
}
.product-button a:first-child {
    margin-right: 15px;
    background-color: var(--color);
}
.product-button a:last-child {
    background-color: var(--introcolor);
}
.product-button a i {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.product-button .icon {
    display: block;
    width: 100%;
    height: 100%;
}
.jqZoomPup {
    z-index: 10;
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    border: 1px solid #aaa;
    background: #FEDE4F 50% top no-repeat;
    opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    filter: alpha(Opacity=50);
    cursor: move;
}
.zoomdiv {
    z-index: 100;
    position: absolute;
    top: 1px;
    left: 0px;
    width: 400px;
    height: 400px;
    border: 1px solid #e4e4e4;
    display: none;
    text-align: center;
    overflow: hidden;
    background-color: #ffffff;
}
.jqzoom {
    width: 340px;
    height: 340px;
    position: relative;
}
.jqzoom img {
    max-width: 100%;
    height: 100%;
    border: 1px solid #f1f4f5;
}
.bigimg {
    width: 800px;
    height: 800px;
}

/* 相关产品 */
.related-box {
    padding: 20px;
    background-color: #FFFFFF;
}
.related-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: var(--fontbold5);
}
.related {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.related li {
    margin-right: 13px;
    width: calc(25% - 10px);
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #EEEEEE;
}
.related li:last-child {
    margin-right: 0;
}
.related li:hover h3 {
    color: #FFFFFF;
    background-color: var(--color2);
}
.related li a h3 {
    height: 60px;
    line-height: 60px;
    text-indent: 20px;
    color: #333333;
    font-weight: var(--fontbold4);
    background-color: #f5f5f5;
}
.related .related-img {
    aspect-ratio: 1 / 1;
}
.related li img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

table {
    width: 100%;
    margin: 20px auto;
    color: #333;
    font-size: 14px;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #666666;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table td {
    border-bottom: 1px solid #666666;
    border-right: 1px solid #666666;
}

table td:last-child {
    border-right: none;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tbody tr:hover {
    background-color: #f1f7ff;
    transition: background-color 0.2s ease;
}

table td:empty {
    min-height: 24px;
}

.pro-content table {
    margin: 0;
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pro-content table td,
.pro-content table th {
    width: auto !important;
    white-space: normal !important;
    word-break: break-word;
    word-wrap: break-word;
    padding: 8px 5px !important;
    font-size: 13px;
    line-height: 1.4;
    vertical-align: middle;
    box-sizing: border-box;
}
.pro-content table tr td:nth-child(2),
.pro-content table tr td:nth-child(4) {
    max-width: 45%;
}
.pro-content table img,
.pro-content table span {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .product-left {
        display: none;
    }
}
@media (max-width: 768px) {
    .m-swiper {
        display: block;
        width: 100%;
    }
    .product {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .preview {
        display: none;
    }
    .product-right .d-flex:first-child {
        flex-direction: column;
    }
    .products-grid {
        padding: 12px;
    }
    .products-grid .product-card {
        margin-right: 12px;
        width: 48%;
    }
    .products-grid .product-card:last-child {
        margin-bottom: 0;
    }
    .products-grid .product-card:nth-child(2n) {
        margin-right: 0;
    }
    .products-grid .product-card:nth-child(3n) {
        margin-right: auto;
    }
    .pro-info {
        margin-left: 0;
    }
    .pro-info .p-title {
        font-size: 22px;
    }
    .product-button {
        display: flex;
        justify-content: space-between;
        position: initial;
        margin-top: 30px;
    }
    .product-button a:first-child {
        margin-right: 0;
    }
    .product-content,
    .related-box {
        padding: 20px;
    }
    .related li {
        width: calc(50% - 8px);
        margin-bottom: 15px;
    }
    .related li:nth-child(2) {
        margin-right: 0;
    }
    .related li a {
        font-size: var(--fontsize13);
    }
}

@media (max-width: 375px) {
    .product-content, .related-box {
        padding: 18px;
    }
}