/* ================= 页面主框架 ================= */
.products_info_main {
    position: relative;
    width: 100%;
    padding-top: 18vh;
    padding-bottom: 3.7vw;
    background-color: #F8F9FB;
    overflow: hidden;
}

.prod_width_limit {
    position: relative;
    width: 82%;
    margin: 0 auto;
}

/* ================= 1. 顶部翻页导航栏 ================= */
.prod_page_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.6vw;
}

.prod_page_nav .nav_btn {
    display: inline-flex;
    align-items: center;
    color: #8C8C8C;
    text-decoration: none;
    font-size: 0.88vw;
    transition: color 0.25s ease;
    user-select: none;
}

.prod_page_nav .nav_btn:hover {
    color: #103783;
}

.prod_page_nav .btn_arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.87vw;
    height: 1.87vw;
    border-radius: 50%;
    border: 1px solid #D0D4DC;
    color: #8C8C8C;
    font-size: 0.73vw;
    transition: all 0.25s ease;
}

.prod_page_nav .nav_btn:hover .btn_arrow {
    border-color: #103783;
    color: #103783;
    background-color: #FFFFFF;
}

.prod_page_nav .back_btn .btn_arrow {
    transform: rotate(180deg);
    margin-right: 0.65vw;
}

.prod_page_nav .next_btn .btn_arrow {
    margin-left: 0.65vw;
}

/* ================= 2. Hero 巨幅展示大图与电商悬浮入口 ================= */
.prod_hero_banner {
    position: relative;
    width: 100%;
    margin-bottom: 3.6vw;
}

.banner_img_box {
    position: relative;
    width: 100%;
    height: 38vw;
    border-radius: 1.25vw;
    overflow: hidden;
    background-color: #E6E9EE;
    box-shadow: 0 0.5vw 2.5vw rgba(0, 0, 0, 0.04);
}

.hero_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner_img_box:hover .hero_img {
    transform: scale(1.02);
}

/* 电商悬浮入口 (电脑端保持右下角垂直悬浮) */
.ecommerce_float_box {
    position: absolute;
    right: 2.2vw;
    bottom: 2.2vw;
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
    z-index: 10;
}

.ecom_item {
    display: inline-flex;
    align-items: center;
    padding: 1.563vw 1.3vw;
    border-radius: 0.6vw;
    background: rgba(245, 178, 116, 0.9);
    /* backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); */
    color: #5C320A;
    text-decoration: none;
    font-size: 0.83vw;
    box-shadow: 0 0.4vw 1.5vw rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.ecom_item:hover {
    transform: translateY(-2px);
    background: rgba(255, 192, 138, 0.98);
    box-shadow: 0 0.6vw 1.8vw rgba(0, 0, 0, 0.14);
}

.ecom_icon_wrap {
    display: flex;
    align-items: center;
    margin-right: 0.55vw;
}

.ecom_icon_wrap .iconfont {
    font-size: 2.2vw;
}

.ali_item .ecom_icon_wrap .iconfont {
    color: #FF7300;
}

.ecom_name {
    color: #1A1A1A;
    font-size: 0.94vw;
    line-height: 1;
    margin-right: 0.8vw;
}

.ecom_arrow {
    font-size: 0.7vw;
    line-height: 1;
    font-weight: bold;
    opacity: 0.5;
    transition: transform 0.25s;
}

.ecom_item:hover .ecom_arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* ================= 3. 产品规格与多色画廊选型板块 ================= */
.prod_spec_section {
    position: relative;
    width: 100%;
    margin-bottom: 6vw;
}

.spec_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4vw;
}

/* 左侧：画廊展示卡片 */
.spec_gallery_card {
    position: relative;
    width: 50%;
    flex: 1.15;
    background-color: #E8EAEC;
    border-radius: 1.35vw;
    padding: 2.8vw 1.6vw 1.8vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.spec_gallery_card .prod_main_swiper {
    position: relative;
    width: 100%;
    height: 25.5vw;
    overflow: hidden;
}

.main_img_box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_img_box img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    transition: transform 0.45s ease;
}

.spec_gallery_card:hover .main_img_box img {
    transform: scale(1.02);
}

.gallery_nav_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.3vw;
    height: 2.3vw;
    border-radius: 50%;
    background-color: rgba(142, 146, 154, 0.78);
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    user-select: none;
}

.gallery_nav_btn:hover {
    background-color: rgba(30, 40, 60, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.gallery_nav_btn.prev_btn {
    left: 0.6vw;
}

.gallery_nav_btn.prev_btn .iconfont {
    transform: rotate(180deg);
}

.gallery_nav_btn.next_btn {
    right: 0.6vw;
}

.gallery_nav_btn .iconfont {
    font-size: 0.85vw;
    line-height: 1;
}

.thumbs_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.4vw;
}

.prod_thumbs_swiper {
    width: 16vw;
    height: 3.6vw;
    overflow: hidden;
}

.thumb_slide {
    width: 3.4vw;
    height: 3.4vw;
    border-radius: 0.4vw;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    background-color: #FFFFFF;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.thumb_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb_slide:hover {
    opacity: 0.9;
}

.thumb_slide.swiper-slide-thumb-active {
    opacity: 1;
    border-color: #103783;
    transform: translateY(-2px);
    box-shadow: 0 0.3vw 0.8vw rgba(16, 55, 131, 0.25);
}

/* 右侧：参数明细表格 */
.spec_info_card {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec_title {
    font-size: 1.8vw;
    font-weight: 800;
    color: #16181D;
    line-height: 1.25;
    margin: 0 0 2vw 0;
    letter-spacing: -0.02em;
}

.spec_table {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.spec_tr {
    display: flex;
    align-items: center;
    padding: 0.8vw 0;
    border-bottom: 1px solid #E2E5EA;
    font-size: 0.88vw;
    line-height: 1.4;
}

.spec_td_label {
    width: 7.2vw;
    flex-shrink: 0;
    color: #16181D;
    font-weight: 700;
}

.spec_td_val {
    color: #555860;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.size_space {
    margin-left: 3vw;
}

/* ================= 4. 产品核心卖点交错特色展示 (电脑端保持原版自上而下布局) ================= */
.prod_features_section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4.8vw;
    margin-bottom: 6.5vw;
}

.feature_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.feature_media {
    flex: 1.35;
    height: 21.5vw;
    border-radius: 1.2vw;
    overflow: hidden; /* 保证视差不溢出圆角边框 */
    background: #E8EBF0;
    box-shadow: 0 0.6vw 2vw rgba(0, 0, 0, 0.04);
}

.feature_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feature_media:hover img {
    transform: scale(1.03);
}

/* 电脑端恢复原版垂直单列流：数字 -> 标题 -> 描述 */
.feature_content {
    padding-left: 4.5vw;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature_num {
    font-size: 5.5vw;
    line-height: 0.95;
    color: #1A1A1A;
    margin-bottom: 1.6vw;
    letter-spacing: -0.04em;
}

.feature_title {
    font-size: 1.25vw;
    font-weight: bold;
    color: #1A1A1A;
    margin: 0 0 1vw 0;
    line-height: 1.25;
}

.feature_desc {
    font-size: 0.94vw;
    color: #4D4D4D;
    line-height: 1.7;
    margin: 0;
}

/* ================= 5. 底部引流：定制专属笔记本 Banner ================= */
.prod_cta_banner {
    position: relative;
    width: 100%;
    height: 43vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0.8vw 3vw rgba(0, 0, 0, 0.06);
}

.cta_bg_wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.cta_bg_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prod_cta_banner:hover .cta_bg_img {
    transform: scale(1.02);
}

.cta_content_box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
}

.cta_title {
    font-size: 2.65vw;
    font-weight: bold;
    color: #1A1A1A;
    line-height: 1;
    margin: 0 0 1.8vw 0;
}

.cta_sub_title {
    font-size: 1.25vw;
    color: #382B1B;
    margin: 0 0 3.4vw 0;
    line-height: 1;
}

.btn_go_custom {
    display: inline-block;
    padding: 1vw 3.38vw;
    border-radius: 999px;
    background-color: #133984;
    color: #FFFFFF !important;
    font-size: 0.94vw;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0.6vw 1.6vw rgba(16, 55, 131, 0.28);
    transition: all 0.3s ease;
}

.btn_go_custom:hover {
    background-color: #0b2862;
    transform: translateY(-2px);
    box-shadow: 0 0.8vw 2vw rgba(16, 55, 131, 0.38);
}

.btn_go_custom:active {
    transform: translateY(0);
}

/* ================= 📱 移动端响应式适配 (<= 768px) ================= */
@media screen and (max-width: 768px) {
    .products_info_main {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .prod_width_limit {
        width: 92%;
    }

    /* 顶部翻页导航 */
    .prod_page_nav {
        margin-bottom: 16px;
    }

    .prod_page_nav .nav_btn {
        font-size: 13px;
    }

    .prod_page_nav .btn_arrow {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* Hero 大图容器 */
    .prod_hero_banner {
        margin-bottom: 24px;
    }

    /* Hero 大图 */
    .banner_img_box {
        height: 52vw;
        min-height: 200px;
        overflow: hidden; /* 移动端大图同样保持视差遮罩 */
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .hero_img {
        width: 100%;
        height: 100%;
    }

    /* 电商盒子在主图下方 */
    .ecommerce_float_box {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 14px;
        flex-direction: row;
        width: 100%;
        gap: 10px;
        z-index: 1;
    }

    .ecom_item {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
        border-radius: 8px;
        box-sizing: border-box;
        background-color: #F0F0F0;
    }

    .ecom_icon_wrap {
        margin-right: 6px;
    }

    .ecom_icon_wrap .iconfont {
        font-size: 18px;
    }

    .ecom_name {
        font-size: 12px;
        margin-right: 4px;
    }

    .ecom_arrow {
        font-size: 10px;
    }

    /* 产品规格与相册 */
    .prod_spec_section {
        margin-bottom: 15vw;
    }

    .spec_container {
        flex-direction: column;
        gap: 10vw;
    }

    .spec_gallery_card {
        width: 100%;
        border-radius: 14px;
        padding: 24px 14px 14px;
    }

    .spec_gallery_card .prod_main_swiper {
        height: 52vw;
        min-height: 200px;
    }

    .gallery_nav_btn {
        width: 32px;
        height: 32px;
    }

    .gallery_nav_btn .iconfont {
        font-size: 12px;
    }

    .thumbs_wrap {
        margin-top: 12px;
    }

    .prod_thumbs_swiper {
        width: 200px;
        height: 48px;
    }

    .thumb_slide {
        width: 44px;
        height: 44px;
        border-radius: 6px;
    }

    .spec_info_card {
        width: 100%;
    }

    .spec_title {
        font-size: 21px;
        margin-bottom: 5vw;
    }

    .spec_tr {
        padding: 10px 0;
        font-size: 13px;
    }

    .spec_td_label {
        width: 75px;
    }

    .size_space {
        margin-left: 12px;
    }

    /* 📱 卖点模块：移动端垂直排布，图片统一置顶 */
    .prod_features_section {
        gap: 20vw;
        margin-bottom: 40px;
    }

    .feature_item,
    .feature_item.item_layout_right {
        flex-direction: column;
        gap: 9.487vw;
    }

    .feature_item.item_layout_right .feature_media {
        order: 1;
    }

    .feature_item.item_layout_right .feature_content {
        order: 2;
    }

    .feature_media {
        width: 100%;
        height: 48vw;
        min-height: 180px;
        border-radius: 12px;
        flex: auto;
    }

    /* 🌟 仅移动端生效：左数字，右标题+描述上下分布 */
    .feature_content {
        width: 100%;
        padding-left: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 4px;
        align-items: center;
    }

    .feature_num {
        grid-row: 1 / 3;
        grid-column: 1;
        font-size: 19.5vw;
        line-height: 0.88;
        margin-bottom: 0;
    }

    .feature_title {
        grid-row: 1;
        grid-column: 2;
        font-size: 16px;
        margin: 0;
        line-height: 1.3;
    }

    .feature_desc {
        grid-row: 2;
        grid-column: 2;
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    /* 底部 CTA 引流横幅 */
    .prod_cta_banner {
        height: 90vw;
        min-height: 260px;
    }

    .cta_bg_wrap {
        width: 92%;
        margin: 0 auto;
        border-radius: 3vw;
        overflow: hidden;
    }

    .cta_title {
        font-size: 22px;
        margin-bottom: 4.6vw;
    }

    .cta_sub_title {
        width: 80%;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 7.6vw;
    }

    .btn_go_custom {
        padding: 10px 32px;
        font-size: 14px;
    }
}