/* G3M产品详情页样式 - 整合优化版 */

/* ========== 页面布局样式 ========== */
/* 页面包装器背景 */
.page-wrapper {
    /* 详情页共享骨架已经正确，这里把源规则也切回 V2 页面背景。 */
    background: linear-gradient(180deg, var(--v2-bg-content) 0%, var(--v2-bg-functional) 100%);
    min-height: 100vh;
}

/* 主内容区域 */

.atf_portfolio__details-area .container {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ========== 基础样式 ========== */
.g3m-product-details {
    font-family: var(--thm-font);
    color: var(--v2-text-body);
    line-height: 1.6;
    position: relative;
    background-color: transparent;
}

.g3m-product-details * {
    box-sizing: border-box;
}

/* ========== 悬浮导航样式 ========== */
.g3m-floating-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 导航切换按钮 */
.g3m-floating-nav .nav-toggle {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--v2-primary-600), var(--v2-primary-500));
    border: none;
    border-radius: 0 8px 8px 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.g3m-floating-nav .nav-toggle:hover {
    background: var(--v2-primary-600);
    padding-right: 20px;
}

.g3m-floating-nav .nav-toggle .nav-text {
    transition: all 0.3s ease;
}

.g3m-floating-nav.active .nav-toggle {
    animation: none;
}

.g3m-floating-nav.active .nav-toggle .nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* 导航内容区域 */
.g3m-floating-nav .nav-content {
    position: relative;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    padding-right: 40px;
    padding-bottom: 30px;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.g3m-floating-nav.active .nav-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 导航关闭按钮 */
.g3m-floating-nav .nav-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    background: var(--v2-bg-functional);
    border: none;
    border-radius: 50%;
    color: var(--v2-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.g3m-floating-nav .nav-close:hover {
    background: var(--v2-primary-600);
    color: #fff;
}

/* 导航标题 */
.g3m-floating-nav h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-text-heading);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--v2-bg-functional);
}

/* 导航列表 */
.g3m-floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g3m-floating-nav li {
    margin-bottom: 8px;
}

/* 导航链接 */
.g3m-floating-nav .nav-link {
    display: block;
    padding: 8px 12px;
    color: var(--v2-text-body);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.g3m-floating-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--v2-primary-600);
    transition: height 0.3s ease;
}

.g3m-floating-nav .nav-link:hover,
.g3m-floating-nav .nav-link.active {
    background: var(--v2-bg-functional);
    color: var(--v2-primary-600);
}

.g3m-floating-nav .nav-link.active::before {
    height: 60%;
}

/* 导航分隔线 */
.g3m-floating-nav .nav-divider {
    height: 1px;
    background: var(--v2-bg-divider);
    margin: 20px 0;
}

/* 产品手册链接 */
.g3m-floating-nav .nav-manual {
    padding: 10px 0;
}

.g3m-floating-nav .manual-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--v2-primary-600), var(--v2-primary-500));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.g3m-floating-nav .manual-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--v2-primary-500), var(--v2-primary-600));
}

.g3m-floating-nav .manual-link i:first-child {
    font-size: 18px;
    margin-right: 10px;
}

.g3m-floating-nav .manual-link i:last-child {
    font-size: 12px;
    margin-left: 8px;
    opacity: 0.8;
}

.g3m-floating-nav .manual-link span {
    flex: 1;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(85, 198, 239, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(85, 198, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(85, 198, 239, 0);
    }
}

/* ========== 产品区块样式 ========== */
.product-section {
    background-color: #ffffff;
    padding: 60px;
    border-radius: 16px;
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

/* 英雄区域 */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
}

.product-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--thm-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 20px;
    color: var(--thm-gray);
    /*max-width: 1000px;*/
    margin: 0 auto;
}

/* 主产品图片 */
.main-product-image {
    text-align: center;
    margin-bottom: 40px;
}

/* 图片样式 - 兼容 picture 标签和 img 标签 */
.main-product-image img,
.main-product-image picture {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: block;
}

/* picture 标签内的 img 继承样式 */
.main-product-image picture img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 区块标题 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--thm-black);
    margin-bottom: 40px;
    text-align: center;
}

.section-desc {
    font-size: 18px;
    color: var(--thm-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ========== 特性展示 ========== */
/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--thm-f6);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--thm-base);
    margin-bottom: 15px;
}

.feature-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--thm-gray);
}

/* 技术特性高亮 */
.tech-highlight {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.tech-highlight h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.tech-highlight p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 技术特性详情 */
.tech-feature {
    margin-bottom: 60px;
}

.tech-feature h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 20px;
}

.tech-feature p {
    font-size: 18px;
    color: var(--thm-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 图片样式 - 兼容 picture 标签和 img 标签。
 * 这里只作用于 tech-feature 的直接媒体子节点，避免把 picture 内部的 img 也当作独立图片再加一次外边距。 */
.tech-feature > img,
.tech-feature > picture {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* picture 标签内的 img 继承样式。
 * 这里显式清零外边距，防止切分机械图在 picture 内部再被公共图片间距撑开。 */
.tech-feature > picture img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
}

/* 背景特性区块 */
.feature-with-bg {
    background: var(--thm-fb);
    border-radius: 20px;
    padding: 60px;
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 20px;
}

.text-content p {
    font-size: 18px;
    color: var(--thm-gray);
    line-height: 1.8;
}

/* ========== 兼容性和选项 ========== */
.compatibility-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.option-card {
    background: var(--thm-f6);
    padding: 30px;
    border-radius: 12px;
}

.option-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 15px;
}

.option-card p {
    font-size: 16px;
    color: var(--thm-gray);
    line-height: 1.6;
}

.compatibility-note {
    text-align: center;
    font-size: 16px;
    color: var(--thm-gray);
    margin-bottom: 30px;
}

/* ========== 模式性能 ========== */
.mode-performance {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.mode-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 10px;
}

.mode-settings {
    font-size: 16px;
    color: var(--thm-gray);
    margin-bottom: 20px;
}

/* ========== 图片展示 ========== */
.dimensions-gallery,
.package-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 图片样式 - 兼容 picture 标签和 img 标签 */
.dimensions-gallery picture,
.package-images picture {
    width: 100%;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.package-images picture {
    min-height: clamp(160px, 42vw, 520px);
}

.dimensions-gallery img,
.package-images img,
.dimensions-gallery picture img,
.package-images picture img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

body.product-detail-v2 .banner-center-btn .btn-banner-center {
    border-radius: var(--v2-radius-button-pill, 22px);
}

/* ========== 表格样式 ========== */
/* 规格表格 */
.specs-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.specs-table th,
.specs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--thm-f3);
}

.specs-table th {
    background: var(--thm-f6);
    font-weight: 600;
    color: var(--thm-black);
    width: 30%;
}

.specs-table td {
    color: var(--thm-gray);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

/* 规格表格分组 */
.specs-group {
    margin-bottom: 40px;
}

.specs-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
}

.specs-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--thm-base);
    border-radius: 2px;
}

/* 性能表格 */
.performance-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
}

.performance-table thead {
    background: var(--thm-line);
    color: #ffffff;
}

.performance-table thead tr:first-child th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.performance-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.performance-table th[rowspan] {
    vertical-align: middle;
}

.performance-table th[colspan] {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.performance-table th[colspan]:first-child {
    border-left: none;
}

.performance-table tbody {
    background: #ffffff;
}

.performance-table td {
    padding: 16px 12px;
    text-align: center;
    border: 1px solid var(--thm-f3);
    font-size: 15px;
    color: var(--thm-p);
    font-weight: 500;
}

.performance-table tbody tr {
    transition: all 0.3s ease;
}

.performance-table tbody tr:hover {
    background-color: var(--thm-f6);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.performance-table tbody tr:first-child td {
    border-top: none;
}

.performance-table tbody td:first-child {
    font-weight: 600;
    color: var(--thm-black);
    background-color: rgba(245, 248, 250, 0.5);
}

.performance-table tbody td:not(:first-child) {
    font-family: 'Roboto Mono', monospace;
    color: var(--thm-base);
}

/* ========== 功能描述区域 ========== */
.function-description {
    background: linear-gradient(135deg, var(--thm-f6) 0%, #ffffff 100%);
    padding: 60px;
    border-radius: 20px;
    margin-top: 60px;
}

.function-description h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--thm-black);
    margin-bottom: 25px;
}

.function-description > p {
    font-size: 18px;
    color: var(--thm-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 特性列表 */
.feature-list {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-list h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 25px;
}

.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--thm-p);
    padding: 10px 0;
}

.feature-list li i {
    color: var(--thm-base);
    margin-right: 12px;
    font-size: 18px;
}

/* ========== 包装清单 ========== */
.package-list {
    background: var(--thm-f6);
    padding: 40px;
    border-radius: 16px;
    margin-top: 30px;
}

.package-list h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.package-list h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--thm-base);
    margin-right: 12px;
    border-radius: 2px;
}

.package-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.package-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--thm-p);
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.package-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.package-list li::before {
    content: '✓';
    color: var(--thm-base);
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

.package-note {
    font-size: 14px;
    color: var(--thm-gray);
    font-style: italic;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--thm-base);
}

/* ========== 图表说明 ========== */
.chart-description {
    font-size: 15px;
    color: var(--thm-gray);
    line-height: 1.7;
    margin: 15px 0 20px 0;
    padding: 15px;
    background: var(--thm-f6);
    border-radius: 8px;
    border-left: 3px solid var(--thm-base);
}


/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .g3m-floating-nav {
        display: none;
    }

    .product-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* 容器调整 */
    .atf_portfolio__details-area .container {
        padding: 20px;
        border-radius: 16px;
    }

    body.product-detail-v2 .banner-center-btn .btn-banner-center {
        border-radius: 21px;
    }

    .product-section {
        padding: 40px 20px;
        margin-bottom: 20px;
    }

    /* 英雄区域 */
    .hero-section {
        margin-bottom: 40px;
    }

    .product-title {
        font-size: 28px;
    }

    .product-subtitle {
        font-size: 16px;
    }

    /* 区块标题 */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* 特性网格 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-value {
        font-size: 36px;
    }

    /* 功能描述区域 */
    .function-description {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .function-description h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .function-description > p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* 特性列表容器 */
    .feature-list {
        padding: 25px 20px;
    }

    .feature-list h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* 特性列表 - 单列显示 */
    .feature-list ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-list li {
        font-size: 15px;
        padding: 8px 0;
        line-height: 1.5;
    }

    .feature-list li i {
        font-size: 16px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    /* 技术特性 */
    .tech-highlight {
        padding: 40px 20px;
    }

    .tech-highlight h3 {
        font-size: 24px;
    }

    .tech-highlight p {
        font-size: 16px;
    }

    /* 背景特性 */
    .feature-with-bg {
        padding: 40px 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    /* 兼容性选项 */
    .compatibility-options {
        grid-template-columns: 1fr;
    }

    /* 表格 */
    .specs-table {
        font-size: 14px;
    }

    .specs-table th,
    .specs-table td {
        padding: 15px;
    }

    .frame-rate-table {
        padding: 20px;
        overflow-x: auto;
    }

    .performance-table {
        min-width: 500px;
        font-size: 14px;
    }

    .performance-table th,
    .performance-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    /* 包装清单 */
    .package-list {
        padding: 30px 20px;
    }

    .package-list ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .package-list li {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* 导航手册链接 */
    .g3m-floating-nav .manual-link {
        padding: 10px 14px;
        font-size: 14px;
    }

    .g3m-floating-nav .manual-link i:first-child {
        font-size: 16px;
        margin-right: 8px;
    }

    /* 图表说明 */
    .chart-description {
        font-size: 14px;
        padding: 12px;
        margin: 12px 0 16px 0;
    }
}

@media (max-width: 480px) {
    /* 基础元素 */
    .product-title {
        font-size: 24px;
    }

    .product-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    /* 特性卡片 */
    .feature-value {
        font-size: 28px;
    }

    .feature-label {
        font-size: 16px;
    }

    /* 技术特性 */
    .tech-feature h3 {
        font-size: 20px;
    }

    .tech-feature p {
        font-size: 14px;
    }

    /* 功能描述区域 */
    .function-description {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .function-description h2 {
        font-size: 22px;
    }

    .function-description > p {
        font-size: 15px;
        line-height: 1.6;
    }

    .feature-list {
        padding: 20px 15px;
    }

    .feature-list h3 {
        font-size: 18px;
    }

    .feature-list li {
        font-size: 14px;
        padding: 6px 0;
    }

    .feature-list li i {
        font-size: 14px;
        margin-right: 8px;
    }
}


.atf-section-padding {
    padding: 40px 0;
}


/* 制冷系统网格布局 */
.cooling-system-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 40px 0;
}

.cooling-feature {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cooling-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/**
 * 制冷模块媒体区统一按“全宽展示图片”处理。
 *
 * 说明：
 * - 上一轮虽然解决了图片裁切，但通过 `padding + min-height + max-height` 把图片缩在了卡片中间；
 * - TEC、Anti-dew 这类横向技术图本身就是按整张横幅设计，正确语义应是直接铺满媒体区宽度；
 * - 这里让 picture 回到普通块级媒体容器，不再承担“承托盒子”的角色；
 * - 图片只保留 `width: 100% + height: auto`，按原比例自适应，确保不同页面宽度下都能占满卡片宽度。
 */
.cooling-feature picture {
    width: 100%;
    display: block;
}

/**
 * 兼容极少数直接使用 img、未包裹 picture 的情况。
 *
 * 说明：
 * - `width: 100%` 让图片横向铺满整个 `cooling-feature`；
 * - `height: auto` 按原比例计算高度，避免任何拉伸；
 * - 不再使用 `max-height` 和 `object-fit`，防止图片再次被限制成中间小图。
 */
.cooling-feature > img,
.cooling-feature picture img {
    width: 100%;
    height: auto;
    display: block;
}

.cooling-content {
    padding: 30px;
}

.cooling-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-black);
    margin-bottom: 15px;
}

.cooling-content p {
    font-size: 16px;
    color: var(--thm-gray);
    line-height: 1.7;
}

/* 包装清单网格布局 */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.package-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.package-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ffffff, var(--thm-f6));
}

.package-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--thm-base);
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.package-desc {
    flex: 1;
    font-size: 16px;
    color: var(--thm-p);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .package-item {
        padding: 12px 15px;
    }

    .package-label {
        width: 30px;
        height: 30px;
        font-size: 16px;
        margin-right: 12px;
    }

    .package-desc {
        font-size: 14px;
    }

    .cooling-content {
        padding: 20px;
    }

    .cooling-content h3 {
        font-size: 20px;
    }

    .cooling-content p {
        font-size: 15px;
    }
}

/* 优化技术特性图片显示。
 * 单张技术图与标题/正文之间保留正常间距，但只应用于直接子节点，避免连续切图之间重复叠加外边距。
 * 这里保留默认的圆角和阴影；如果同一个 tech-feature 中有连续切图，下面会把连续项改为无阴影、无圆角拼接。 */
.tech-feature > img,
.tech-feature > picture {
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.tech-feature.feature-with-bg > img,
.tech-feature.feature-with-bg > picture {
    margin-top: 0;
    box-shadow: none;
}

/* 同一个 tech-feature 内被切分展示的机械图需要无缝衔接。
 * 第二张及之后的直接媒体子节点不再保留顶部间距，并且去掉圆角和阴影，
 * 避免切图之间因为阴影外扩或圆角露底色而出现“白缝”。 */
.tech-feature > img + img,
.tech-feature > img + picture,
.tech-feature > picture + img,
.tech-feature > picture + picture {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

/* 连续切图中的第一张也不能保留底部圆角或阴影，否则两张图贴合时仍会露出底色。
 * 这里使用 :has() 只命中“后面仍有直接媒体兄弟节点”的首张切图，不影响单张技术图。 */
.tech-feature > img:has(+ img),
.tech-feature > img:has(+ picture),
.tech-feature > picture:has(+ img),
.tech-feature > picture:has(+ picture) {
    border-radius: 0;
    box-shadow: none;
}

/* 表层样式会为技术图片统一添加边框，但连续切图必须共用同一画布边缘。
 * 仅当 tech-feature 存在相邻的直接媒体子节点时移除整组边框，
 * 并通过详情页作用域提高优先级，避免影响普通单张技术图。 */
body.product-detail-v2 .g3m-product-details .tech-feature:has(> :is(img, picture) + :is(img, picture)) > :is(img, picture) {
    border: 0;
}

.feature-media {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.feature-media__text {
    flex: 1 1 260px;
}

.feature-media__image {
    flex: 0 0 auto;
    min-width: 260px;
}

/* 图片样式 - 兼容 picture 标签和 img 标签 */
.feature-media__image img,
.feature-media__image picture {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: block;
}

/* picture 标签内的 img 继承样式 */
.feature-media__image picture img {
    width: 100%;
    height: auto;
    display: block;
}

.img-gps-adaptive {
    height: auto !important;
}

@media (max-width: 768px) {
    .feature-media {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ========================================
   V2 Shared Alignment
   说明：保留 DSO 专属内容结构，仅将公共详情骨架重新映射到共享 V2 规范。
   ======================================== */

body.product-detail-v2 .page-wrapper {
    /* 详情页外层背景统一回到视觉规范内容底色，避免家族样式再次叠加品牌渐变。 */
    background: var(--v2-bg-content);
}

body.product-detail-v2 .atf_portfolio__details-area .container {
    border: 1px solid rgba(var(--v2-primary-500-rgb), 0.06);
    border-radius: 8px;
    box-shadow: var(--v2-shadow-card);
}

body.product-detail-v2 .g3m-product-details {
    color: var(--v2-text-body);
}

body.product-detail-v2 .g3m-floating-nav .nav-toggle {
    animation: none;
}

body.product-detail-v2 .g3m-floating-nav .nav-content {
    border-radius: 0 8px 8px 0;
}

body.product-detail-v2 .product-section {
    border: 1px solid rgba(var(--v2-primary-500-rgb), 0.06);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
    scroll-margin-top: var(--detail-scroll-offset);
}

body.product-detail-v2 .product-title {
    color: var(--v2-text-heading);
}

body.product-detail-v2 .product-subtitle {
    color: var(--v2-text-secondary);
}

body.product-detail-v2 .g3m-product-details {
    font-size: var(--v2-body-font-size);
    line-height: var(--v2-body-line-height);
}

body.product-detail-v2 .product-title {
    font-size: var(--v2-h0-font-size);
    line-height: var(--v2-h0-line-height);
    font-weight: 500;
}

body.product-detail-v2 .product-subtitle,
body.product-detail-v2 .section-desc,
body.product-detail-v2 .function-description p,
body.product-detail-v2 .tech-feature p,
body.product-detail-v2 .tech-highlight p,
body.product-detail-v2 .text-content p,
body.product-detail-v2 .cooling-content p {
    font-size: var(--v2-body-font-size);
    line-height: var(--v2-body-line-height);
}

body.product-detail-v2 .section-title,
body.product-detail-v2 .function-description h2 {
    font-size: var(--v2-h2-font-size);
    line-height: var(--v2-h2-line-height);
    font-weight: 500;
}

body.product-detail-v2 .tech-feature h3,
body.product-detail-v2 .tech-highlight h3,
body.product-detail-v2 .text-content h3,
body.product-detail-v2 .mode-item h3,
body.product-detail-v2 .feature-list h3,
body.product-detail-v2 .package-list h3,
body.product-detail-v2 .frame-rate-table h4 {
    font-size: var(--v2-h3-font-size);
    line-height: var(--v2-h3-line-height);
    font-weight: 500;
}

body.product-detail-v2 .cooling-content h3,
body.product-detail-v2 .option-card h4,
body.product-detail-v2 .specs-subtitle {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

body.product-detail-v2 .main-product-image img,
body.product-detail-v2 .main-product-image picture,
body.product-detail-v2 .main-product-image .img-fluid {
    border-radius: 8px;
    box-shadow: var(--v2-shadow-card);
}

body.product-detail-v2 .main-product-image img:hover,
body.product-detail-v2 .main-product-image picture:hover,
body.product-detail-v2 .main-product-image .img-fluid:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-card-hover);
}

.g3m-product-details .atr-parameter-cards {
    margin: 36px 0 0;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--v2-radius-lg);
    background: linear-gradient(180deg, var(--v2-primary-300) 0%, var(--v2-primary-700) 100%);
    box-shadow: var(--v2-shadow-card);
}

.g3m-product-details .atr-parameter-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 26px);
}

.g3m-product-details .atr-parameter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    color: var(--v2-text-inverse);
    text-align: center;
}

.g3m-product-details .atr-parameter-card picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 132px);
    aspect-ratio: 1.35;
    margin: 0 auto 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.g3m-product-details .atr-parameter-card img {
    display: block;
    width: 76%;
    height: 76%;
    object-fit: contain;
}

.g3m-product-details .atr-parameter-card__label {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 500;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
}

.g3m-product-details .atr-parameter-card__value {
    display: block;
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--v2-text-inverse);
    overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
    .g3m-product-details .atr-parameter-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(28px, 3vw, 44px) clamp(22px, 3vw, 36px);
    }
}

@media (max-width: 991px) {
    .g3m-product-details .atr-parameter-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .g3m-product-details .atr-parameter-cards {
        padding: 24px 16px;
    }

    .g3m-product-details .atr-parameter-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .g3m-product-details .atr-parameter-card picture {
        width: min(100%, 112px);
        margin-bottom: 10px;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    body.product-detail-v2 .product-title {
        font-size: var(--v2-mobile-h1-font-size);
        line-height: var(--v2-mobile-h1-line-height);
        font-weight: 500;
    }

    body.product-detail-v2 .product-subtitle,
    body.product-detail-v2 .section-desc,
    body.product-detail-v2 .function-description p,
    body.product-detail-v2 .tech-feature p,
    body.product-detail-v2 .tech-highlight p,
    body.product-detail-v2 .text-content p,
    body.product-detail-v2 .cooling-content p {
        font-size: var(--v2-body-font-size);
        line-height: var(--v2-body-line-height);
    }

    body.product-detail-v2 .section-title,
    body.product-detail-v2 .function-description h2 {
        font-size: var(--v2-mobile-h2-font-size);
        line-height: var(--v2-mobile-h2-line-height);
        font-weight: 500;
    }

    body.product-detail-v2 .tech-feature h3,
    body.product-detail-v2 .tech-highlight h3,
    body.product-detail-v2 .text-content h3,
    body.product-detail-v2 .mode-item h3,
    body.product-detail-v2 .feature-list h3,
    body.product-detail-v2 .package-list h3,
    body.product-detail-v2 .frame-rate-table h4 {
        font-size: var(--v2-mobile-h3-font-size);
        line-height: var(--v2-mobile-h3-line-height);
        font-weight: 500;
    }

    body.product-detail-v2 .cooling-content h3,
    body.product-detail-v2 .option-card h4,
    body.product-detail-v2 .specs-subtitle {
        font-size: 18px;
        line-height: 26px;
        font-weight: 500;
    }
}

/* ========================================
   V2 DSO Final Alignment
   说明：
   - DSO 页共享骨架已对齐，但 CTA、参数标签和表格仍可能回落到旧色。
   - 这里统一按钮、表格、说明块和功能区背景层。
   ======================================== */

body.product-detail-v2 .atf_portfolio__details-area.bg-f6 {
    background: transparent !important;
    background-color: transparent !important;
}

body.product-detail-v2 .product-section,
body.product-detail-v2 .spec-item,
body.product-detail-v2 .feature-item,
body.product-detail-v2 .performance-card,
body.product-detail-v2 .usage-card,
body.product-detail-v2 .faq-item {
    background: var(--v2-bg-primary);
    border-color: var(--v2-bg-divider);
}

body.product-detail-v2 .spec-label,
body.product-detail-v2 .feature-tag,
body.product-detail-v2 .buffer-tag {
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-pill);
    color: var(--v2-text-body);
}

body.product-detail-v2 .buy-btn,
body.product-detail-v2 .manual-link,
body.product-detail-v2 .btn-primary {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

body.product-detail-v2 .buy-btn:hover,
body.product-detail-v2 .manual-link:hover,
body.product-detail-v2 .btn-primary:hover {
    background: var(--v2-primary-400);
    border-color: var(--v2-primary-400);
}

body.product-detail-v2 .specs-table th,
body.product-detail-v2 .performance-table th {
    background: var(--v2-bg-functional);
    color: var(--v2-text-heading);
}

body.product-detail-v2 .specs-table td,
body.product-detail-v2 .performance-table td {
    color: var(--v2-text-body);
    border-color: var(--v2-bg-divider);
}

body.product-detail-v2 .g3m-product-details .product-subtitle,
body.product-detail-v2 .g3m-product-details .section-desc,
body.product-detail-v2 .g3m-product-details .function-description p,
body.product-detail-v2 .g3m-product-details .tech-feature p,
body.product-detail-v2 .g3m-product-details .tech-highlight p,
body.product-detail-v2 .g3m-product-details .text-content p,
body.product-detail-v2 .g3m-product-details .cooling-content p {
    font-size: 16px;
    line-height: 24px;
}

body.product-detail-v2 .g3m-product-details .product-title {
    font-size: var(--v2-h0-font-size);
    line-height: var(--v2-h0-line-height);
    font-weight: 500;
}

body.product-detail-v2 .g3m-product-details .section-title,
body.product-detail-v2 .g3m-product-details .function-description h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
}

body.product-detail-v2 .g3m-product-details .tech-feature h3,
body.product-detail-v2 .g3m-product-details .tech-highlight h3,
body.product-detail-v2 .g3m-product-details .text-content h3,
body.product-detail-v2 .g3m-product-details .mode-item h3,
body.product-detail-v2 .g3m-product-details .feature-list h3,
body.product-detail-v2 .g3m-product-details .package-list h3,
body.product-detail-v2 .g3m-product-details .frame-rate-table h4 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

body.product-detail-v2 .g3m-product-details .cooling-content h3,
body.product-detail-v2 .g3m-product-details .option-card h4,
body.product-detail-v2 .g3m-product-details .specs-subtitle {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

body.product-detail-v2 .g3m-product-details .product-section,
body.product-detail-v2 .g3m-product-details .feature-card,
body.product-detail-v2 .g3m-product-details .tech-highlight,
body.product-detail-v2 .g3m-product-details .feature-with-bg,
body.product-detail-v2 .g3m-product-details .cooling-feature,
body.product-detail-v2 .g3m-product-details .package-list,
body.product-detail-v2 .g3m-product-details .package-item {
    border-radius: 8px;
}

body.product-detail-v2 .g3m-product-details .specs-table-wrapper,
body.product-detail-v2 .g3m-product-details .specs-table {
    border-radius: 8px;
}

@media (max-width: 768px) {
    body.product-detail-v2 .g3m-product-details .product-title {
        font-size: var(--v2-h0-font-size);
        line-height: var(--v2-h0-line-height);
        font-weight: 500;
    }

    body.product-detail-v2 .g3m-product-details .product-subtitle,
    body.product-detail-v2 .g3m-product-details .section-desc,
    body.product-detail-v2 .g3m-product-details .function-description p,
    body.product-detail-v2 .g3m-product-details .tech-feature p,
    body.product-detail-v2 .g3m-product-details .tech-highlight p,
    body.product-detail-v2 .g3m-product-details .text-content p,
    body.product-detail-v2 .g3m-product-details .cooling-content p {
        font-size: 16px;
        line-height: 24px;
    }

    body.product-detail-v2 .g3m-product-details .section-title,
    body.product-detail-v2 .g3m-product-details .function-description h2 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 500;
    }

    body.product-detail-v2 .g3m-product-details .tech-feature h3,
    body.product-detail-v2 .g3m-product-details .tech-highlight h3,
    body.product-detail-v2 .g3m-product-details .text-content h3,
    body.product-detail-v2 .g3m-product-details .mode-item h3,
    body.product-detail-v2 .g3m-product-details .feature-list h3,
    body.product-detail-v2 .g3m-product-details .package-list h3,
    body.product-detail-v2 .g3m-product-details .frame-rate-table h4 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
    }

    body.product-detail-v2 .g3m-product-details .cooling-content h3,
    body.product-detail-v2 .g3m-product-details .option-card h4,
    body.product-detail-v2 .g3m-product-details .specs-subtitle {
        font-size: 18px;
        line-height: 26px;
        font-weight: 500;
    }
}

/* Use the available phone width more efficiently for the summary features. */
@media (max-width: 767px) {
    body.product-detail-v2 .g3m-product-details .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 16px;
    }

    body.product-detail-v2 .g3m-product-details .feature-card {
        min-width: 0;
        padding: 20px 12px;
    }

    body.product-detail-v2 .g3m-product-details .feature-value {
        margin-bottom: 10px;
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    body.product-detail-v2 .g3m-product-details .feature-label {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    body.product-detail-v2 .g3m-product-details .feature-desc {
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
}
