
/* =====================================================
   产品详情整体
===================================================== */
.productxiangqingye{background-color: #fff; padding: 25px;margin: 50px auto;border-radius: 8px;}
.product-detail {

    margin: 50px auto;

    display: flex;

    gap: 50px;

    position: relative;
}
 .spec-table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;
        border: 1px solid #ddd;    max-width: 1000px;
    }

    .spec-table thead tr {
        background-color: #265ea7;
        color: #ffffff;
        font-weight: bold;
    }

    .spec-table th {
        padding: 15px;
        border: 1px solid #ffffff;
    }

    .spec-table td {
        padding: 12px;
        border: 1px solid #ddd;
        color: #333333;
    }

    /* 表格斑马纹（交替行颜色） */
    .spec-table tbody tr:nth-child(odd) {
        background-color: #f2f2f2;
    }

    .spec-table tbody tr:nth-child(even) {
        background-color: #ffffff;
    }
.productxiangqingbk h5{font-size: 20px;
    font-weight: 400;
    background-color: #265ea7;
    width: 200px;
    color: #fff;
    line-height: 45px;
    text-align: center;}
.newstext{border-top: 1px solid #ccc;padding-top: 25px;}
.newstext hr{}

/* =====================================================
   左侧图片区域
===================================================== */

.product-gallery {
    width: 650px;

    flex-shrink: 0;

    position: relative;
}

.category {
    color: #265ea7;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* =====================================================
   大图区域
===================================================== */

.main-image-box {

    width: 650px;
    height: 520px;

    border: 1px solid #ddd;

    background: #fff;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: visible;

    cursor: crosshair;

    z-index: 10;
}


/* 主图片 */

.main-image {

    width: 100%;
    height: 100%!important;

    object-fit: contain;

    display: block;

    user-select: none;

    -webkit-user-drag: none;
}


/* =====================================================
   放大镜区域
===================================================== */

.zoom-preview {

    position: absolute;

    left: calc(100% + 15px);

    top: 0;

    width: 520px;
    height: 520px;

    background: #fff;


    overflow: hidden;

    z-index: 100;

    display: none;

  
    pointer-events: none;
}


/* 放大图片 */

.zoom-preview img {

    position: absolute;

    max-width: none;
    max-height: none;

    display: block;

    user-select: none;

    -webkit-user-drag: none;
}


/* 鼠标进入以后显示 */

.main-image-box.show-zoom
.zoom-preview {

    display: block;
}


/* =====================================================
   左下角放大图标
===================================================== */

.zoom-button {

    position: absolute;

    right: 0;
    bottom: 0;

    width: 32px;
    height: 32px;

    background:
        rgba(0, 0, 0, 0.18);

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 17px;

    z-index: 20;

    pointer-events: none;
}


/* =====================================================
   缩略图区域
===================================================== */

.thumbnail-area {

    width: 650px;

    margin-top: 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* 缩略图列表 */

.thumbnail-list {

    flex: 1;

    display: flex;

    align-items: center;

    gap: 10px;

    overflow: hidden;

    padding: 0 5px;
}


/* 缩略图 */

.thumbnail {

    width: 60px;
    height: 60px;

    flex-shrink: 0;

    padding: 4px;

    border: 1px solid transparent;

    background: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: border-color 0.2s ease;
}


/* 当前缩略图 */

.thumbnail.active {

    border: 1px solid #ddd;
}


/* 缩略图图片 */

.thumbnail img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =====================================================
   缩略图左右按钮
===================================================== */

.thumb-arrow {

    width: 35px;
    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #222;

    font-size: 28px;

    cursor: pointer;

    user-select: none;
}

.thumb-arrow:hover {

    color: #005494;
}


/* =====================================================
   右侧产品信息
===================================================== */

.product-info {

    flex: 1;

    padding-top: 3px;

    min-width: 0;
}


/* 产品标题 */

.product-title {

    font-size: 30px;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 12px;

    color: #222;border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.smalltext{color: #666;font-size: 14px;line-height: 1.9; margin-bottom:15px;border-bottom: 1px solid #eee; padding-bottom:15px;}

.info{ margin-bottom:30px;}
.info div{
    display:flex;
    padding:9px 0;
    font-size:14px;
}

.info span:first-child{
    width:175px;
    color:#666;
}

.info span:last-child{
    flex:1;
}


/* 产品特点标题 */

.product-subtitle {

    font-size: 24px;

    line-height: 1.4;

    font-weight: bold;

    color: #005494;

    margin-bottom: 17px;
}


/* 产品特点 */

.product-features {

    list-style: none;

    margin: 0 0 30px 0;

    padding: 0;

    font-size: 16px;

    line-height: 2;
}


/* 特点 */

.product-features li {

    position: relative;

    padding-left: 28px;
}


/* 前面的 ※ */

.product-features li::before {

    content: "※";

    position: absolute;

    left: 0;

    top: 0;

    color: #333;
}


/* =====================================================
   产品按钮
===================================================== */

.product-buttons {

    display: flex;

    gap: 20px;
}


/* 按钮 */

.product-btn {

    width: 280px;
    height: 52px;

    background: #265ea7;

    color: #fff;

    text-decoration: none;

    font-size: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 3px;

    transition:
        background 0.3s ease,
        transform 0.2s ease;
}


/* 鼠标悬停 */

.product-btn:hover {

    background: #1a1a1a;color: #fff;

    transform: translateY(-1px);
}


/* =====================================================
   全屏图片查看
===================================================== */

.image-lightbox {

    position: fixed;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0, 0, 0, 0.88);

    z-index: 99999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    cursor: zoom-out;
}


/* 显示 */

.image-lightbox.show {

    display: flex;
}


/* 全屏图片 */

.lightbox-image {

    max-width: 95%;
    max-height: 90%;

    object-fit: contain;

    display: block;

    cursor: default;

    animation:
        lightboxShow 0.3s ease;
}


/* 动画 */

@keyframes lightboxShow {

    from {

        opacity: 0;

        transform:
            scale(0.85);
    }

    to {

        opacity: 1;

        transform:
            scale(1);
    }
}


/* =====================================================
   全屏关闭按钮
===================================================== */

.lightbox-close {

    position: absolute;

    right: 30px;
    top: 15px;

    width: 50px;
    height: 50px;

    color: #fff;

    font-size: 42px;

    font-weight: 300;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 100000;
}

.lightbox-close:hover {

    opacity: 0.7;
}


/* =====================================================
   PC 宽度调整
===================================================== */

@media screen and (max-width: 1450px) {

    .product-detail {

        width: 1180px;

        gap: 40px;
    }

    .product-gallery {

        width: 600px;
    }

    .main-image-box {

        width: 600px;
        height: 500px;
    }

    .thumbnail-area {

        width: 600px;
    }

    .zoom-preview {

        width: 500px;
        height: 500px;
    }
}


/* =====================================================
   平板
===================================================== */

@media screen and (max-width: 1100px) {

    .product-detail {

        width: 100%;

        max-width:
            calc(100% - 40px);

        gap: 30px;
    }

    .product-gallery {

        width: 52%;
    }

    .main-image-box {

        width: 100%;

        height: auto;

        aspect-ratio: 1 / 0.8;
    }

    .thumbnail-area {

        width: 100%;
    }

    .zoom-preview {

        width: 420px;
        height: 420px;

        left: calc(100% + 10px);
    }

    .product-title {

        font-size: 25px;
    }

    .product-subtitle {

        font-size: 21px;
    }

}


/* =====================================================
   手机
===================================================== */

@media screen and (max-width: 900px) {

    .product-detail {

        width: 100%;

        max-width: none;

        margin: 20px auto;

        padding:
            0 15px;

        display: block;
    }


    .product-gallery {

        width: 100%;
    }


    .main-image-box {

        width: 100%;

        height: auto;

        aspect-ratio: 1 / 1;

        overflow: hidden;

        cursor: pointer;
    }


    .thumbnail-area {

        width: 100%;
    }


    /*
       手机不显示右侧放大镜
    */

    .zoom-preview {

        display: none !important;
    }


    .product-info {

        padding-top: 30px;
    }


    .product-title {

        font-size: 24px;
    }


    .product-subtitle {

        font-size: 21px;
    }


    .product-features {

        font-size: 15px;

        line-height: 1.9;
    }


    .product-buttons {

        gap: 12px;
    }


    .product-btn {

        flex: 1;

        width: auto;

        height: 48px;
    }

}


/* =====================================================
   小屏手机
===================================================== */

@media screen and (max-width: 480px) {

    .product-detail {

        padding:
            0 12px;
    }


    .product-title {

        font-size: 22px;
    }


    .product-subtitle {

        font-size: 19px;
    }


    .product-features {

        font-size: 14px;
    }


    .thumbnail {

        width: 55px;
        height: 55px;
    }


.productxiangqingbk h5{ font-size:14px;width: 130px; line-height:35px;}
.productxiangqingye{ padding:15px;}

    .product-btn {

        width: 100%;
    }


    .image-lightbox {

        padding: 15px;
    }


    .lightbox-image {

        max-width: 100%;

        max-height: 85%;
    }


    .lightbox-close {

        right: 10px;
        top: 5px;
    }

}
