/* =========================================
   【产品详情页】专属 CSS (PDP Specific)
   维护记录：已彻底剥离所有全局冗余代码，消灭负边距黑客语法，深度适配移动端
========================================= */

/* --- 1. 面包屑导航 --- */
.pdp-breadcrumb-wrap { background: linear-gradient(180deg, #f8fbff 0%, #eef4f9 100%); padding: 18px 0; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.pdp-breadcrumb-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.breadcrumb-label { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 6px; background: var(--white, #ffffff); border: 1px solid var(--border-color, #e2e8f0); color: var(--auth-blue, #1e3a8a); font-size: 0.86rem; font-weight: 900; white-space: nowrap; }
.breadcrumb-label i { color: var(--warn-yellow, #f59e0b); }
.pdp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; font-size: 0.9rem; color: var(--text-light, #64748b); }
.pdp-breadcrumb a { display: inline-flex; align-items: center; color: var(--text-main, #1e293b); font-weight: 700; transition: var(--transition, all 0.3s ease); text-decoration: none; }
.pdp-breadcrumb a:hover { color: var(--auth-blue, #1e3a8a); }
.pdp-breadcrumb a i.fa-house { margin-right: 6px; font-size: 0.95rem; color: var(--auth-blue, #1e3a8a); transition: color 0.3s; }
.pdp-breadcrumb a:hover i.fa-house { color: var(--warn-yellow, #f59e0b); }
.pdp-breadcrumb .divider { color: #94a3b8; font-size: 0.68rem; margin: 0 10px; opacity: 0.9; }
.pdp-breadcrumb span.current-page { min-width: 0; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 900; color: var(--auth-blue, #1e3a8a); }
.breadcrumb-wechat { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border-radius: 6px; background: #16a34a; color: var(--white, #ffffff); font-size: 0.9rem; font-weight: 900; text-decoration: none; white-space: nowrap; transition: var(--transition, all 0.3s ease); box-shadow: 0 10px 20px rgba(22, 163, 74, 0.15); }
.breadcrumb-wechat:hover { background: #15803d; color: var(--white, #ffffff); transform: translateY(-2px); }

/* --- 2. 产品首屏区 (Hero Section) --- */
.pdp-hero { padding: 46px 0 56px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.pdp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 46px; align-items: start; padding: 34px; background: var(--white, #ffffff); border: 1px solid rgba(30,58,138,0.10); border-radius: 8px; box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06); }

/* 左侧画廊 */
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.gallery-main-img { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color, #e2e8f0); height: 450px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05); }
.gallery-main-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s ease; }
.gallery-image-label { position: absolute; left: 16px; bottom: 16px; min-height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 6px; background: rgba(23, 37, 84, 0.86); color: var(--white, #ffffff); font-size: 0.86rem; font-weight: 900; box-shadow: 0 8px 18px rgba(15,23,42,0.18); pointer-events: none; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.thumb-item { height: 90px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: var(--transition, all 0.3s ease); background-color: var(--bg-gray, #f1f5f9); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: var(--transition, all 0.3s ease); }
.thumb-item:hover img, .thumb-item.active img { opacity: 1; }
.thumb-item.active { border-color: var(--warn-yellow, #f59e0b); box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2); }
.gallery-note { display: flex; align-items: center; gap: 8px; color: var(--text-light, #64748b); font-size: 0.88rem; line-height: 1.5; }
.gallery-note i { color: var(--warn-yellow, #f59e0b); }

/* =========================================
   右侧核心信息区 (高转化升级版完整 CSS)
========================================= */

.pdp-info { min-width: 0; }
.pdp-info-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color, #e2e8f0); color: var(--text-light, #64748b); font-size: 0.9rem; font-weight: 800; }
.pdp-info-topline span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--eco-green, #059669); font-weight: 900; }
.pdp-info-topline i { color: var(--eco-green, #059669); }

/* --- 1. 资质标签 --- */
.pdp-badges { 
    display: flex; 
    gap: 10px;
    margin-bottom: 18px; 
    flex-wrap: wrap; 
}

.badge { 
    display: inline-flex; 
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.85rem; 
    font-weight: 800; 
    letter-spacing: 0;
}

.badge i {
    margin-right: 6px;
    font-size: 0.95rem;
}

.badge-green { 
    background-color: rgba(5, 150, 105, 0.06); 
    color: var(--eco-green, #059669); 
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.badge-blue { 
    background-color: rgba(30, 58, 138, 0.04); 
    color: var(--auth-blue, #1e3a8a); 
    border: 1px solid rgba(30, 58, 138, 0.15);
}

/* --- 2. 标题与简介 (大厂白皮书级质感优化) --- */

.pdp-title { 
    font-size: 2.12rem; 
    color: var(--auth-blue, #1e3a8a); 
    font-weight: 900; 
    margin-top: 0; 
    margin-bottom: 16px;
    line-height: 1.35; 
    letter-spacing: 0;
}

.pdp-short-desc { 
    font-size: 1rem; 
    color: var(--text-light, #64748b); 
    line-height: 1.75; 
    margin-bottom: 18px; 
    padding: 10px 15px; 
    border-left: 4px solid var(--warn-yellow, #f59e0b); 
    background: linear-gradient(to right, rgba(245, 158, 11, 0.05), transparent); 
    border-radius: 0 4px 4px 0;
}

.pdp-decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pdp-decision-grid div { min-height: 74px; padding: 14px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--border-color, #e2e8f0); }
.pdp-decision-grid span { display: block; color: var(--text-light, #64748b); font-size: 0.8rem; font-weight: 800; margin-bottom: 6px; }
.pdp-decision-grid strong { display: block; color: var(--auth-blue-dark, #172554); font-size: 0.94rem; line-height: 1.45; font-weight: 900; }

/* --- 3. 核心参数卡 (大厂像素级精修版) --- */
.pdp-quick-specs { 
    background-color: #f8fafc; 
    padding: 20px 22px; 
    border-radius: 8px; 
    border: 1px solid var(--border-color, #e2e8f0); 
    border-left: 4px solid var(--auth-blue, #1e3a8a); 
    margin-bottom: 20px; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.015); 
}
.quick-specs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.quick-specs-head strong { display: inline-flex; align-items: center; gap: 8px; color: var(--auth-blue, #1e3a8a); font-size: 1rem; font-weight: 900; }
.quick-specs-head strong i { color: var(--warn-yellow, #f59e0b); }
.quick-specs-head span { color: var(--text-light, #64748b); font-size: 0.84rem; font-weight: 800; }

.q-spec-item { 
    margin-bottom: 12px;
    font-size: 0.95rem; 
    display: flex; 
    align-items: flex-start;
    line-height: 1.6;
}
.q-spec-item:last-child { margin-bottom: 0; }

.q-spec-item span { 
    color: var(--text-light, #64748b); 
    width: 112px;
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    gap: 8px;
}

.q-spec-item span i { 
    font-size: 0.65rem; 
    color: rgba(30, 58, 138, 0.45); 
    margin-top: 1px;
} 

.q-spec-item strong { 
    color: var(--text-main, #1e293b); 
    font-weight: 700; 
}
/* --- 4. 转化动作区 --- */
.pdp-actions { display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(30, 58, 138, 0.12); border-radius: 8px; background: var(--white, #ffffff); box-shadow: 0 14px 32px rgba(30, 58, 138, 0.06); }

/* 信任提示语 (源头大厂直供) */
.action-price-hint { 
    font-size: 0.9rem; 
    color: var(--warn-yellow-hover, #d97706); 
    font-weight: 900; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 15px; 
}
.action-price-hint::before { content: ''; display: inline-block; width: 6px; height: 6px; background-color: var(--warn-yellow-hover, #d97706); border-radius: 50%; }

/* 核心大按钮组 */
.btn-group { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; margin-bottom: 12px; }
.action-btn { flex: 1; display: flex; justify-content: center; } /* 确保两个按钮等宽并列 */

/* PC端电话展示，不做拨号按钮 */
.action-phone-display { 
    color: var(--auth-blue, #1e3a8a); 
    border: 1px solid rgba(30, 58, 138, 0.2); 
    background-color: rgba(30, 58, 138, 0.03);
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;     
    cursor: default;
    user-select: text;
}
.action-phone-display:hover { 
    color: var(--auth-blue, #1e3a8a);
    background-color: rgba(30, 58, 138, 0.03);
    border-color: rgba(30, 58, 138, 0.2);
    box-shadow: none;
}

/* 消除顾虑的服务承诺提示 (绿底条：增加呼吸感) */
.action-sub-hint { 
    font-size: 0.85rem; 
    color: var(--eco-green, #059669); 
    font-weight: 800; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    margin-bottom: 20px;
    background: rgba(5, 150, 105, 0.06); 
    padding: 12px 15px;
    border-radius: 6px;
}
.action-sub-hint i { font-size: 1rem; }

/* 底部辅助小链接 (参数、图纸、微信：不再“飘”着) */
.pdp-small-links { 
    display: flex; 
    align-items: center; 
    gap: 14px;
    font-size: 0.85rem; 
    color: var(--text-light, #64748b); 
    flex-wrap: wrap; 
    border-top: 1px dashed var(--border-color, #e2e8f0); 
    padding-top: 15px; 
}
.pdp-small-links a { 
    color: var(--text-light, #64748b); 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    transition: color 0.3s ease; 
}
.pdp-small-links a:hover { color: var(--auth-blue, #1e3a8a); font-weight: 600; }
.pdp-small-links a i { font-size: 0.95rem; color: #94a3b8; transition: color 0.3s ease; }
.pdp-small-links a:hover i { color: var(--warn-yellow, #f59e0b); }
.pdp-small-links .divider { color: #e2e8f0; font-size: 0.8rem; }

/* --- 3. 吸顶导航 (极致平滑与品牌色融合版) --- */
.pdp-sticky-nav { 
    background-color: var(--white, #ffffff); 
    border-bottom: 1px solid var(--border-color, #e2e8f0); 
    /* 去掉了顶部的边框，让它和上方内容过渡更自然 */
    position: sticky; 
    top: 85px; /* 确保这里和你的主导航高度一致 */
    z-index: 990; 
    /* 增加更柔和、更扩散的悬浮阴影，让吸顶效果更立体 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
    transition: all 0.3s ease; 
}

.pdp-sticky-nav .sticky-nav-inner { 
    display: flex; 
    gap: 40px; 
    align-items: center; 
    overflow-x: auto; 
    white-space: nowrap; 
    padding: 0 24px; 
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch; 
}
.pdp-sticky-nav .sticky-nav-inner::-webkit-scrollbar { display: none; }

/* 导航链接基础样式 */
.pdp-sticky-nav a:not(.btn) { 
    position: relative; /* 【核心准备】：为底部动画线条定位 */
    color: var(--text-main, #1e293b); 
    font-weight: 700; 
    font-size: 1.05rem; 
    padding: 20px 0; 
    text-decoration: none; 
    transition: color 0.3s ease; 
    border-bottom: none; /* 废弃原来生硬的物理边框 */
}

/* 悬停与选中时的文字颜色 */
.pdp-sticky-nav a:not(.btn).active, 
.pdp-sticky-nav a:not(.btn):hover { 
    color: var(--auth-blue, #1e3a8a); 
}

/* 平滑伸缩的底部指示线 */
.pdp-sticky-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--warn-yellow, #f59e0b);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停和选中时，线条从中间向两边展开 */
.pdp-sticky-nav a:not(.btn).active::after, 
.pdp-sticky-nav a:not(.btn):hover::after {
    width: 100%;
}

/* 优化右侧的一键询价按钮 */
.float-right { margin-left: auto; }
.pdp-sticky-nav .btn-warning {
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}
.pdp-sticky-nav .btn-warning:hover {
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

/* --- 4. 详情区块通用设置 --- */
.pdp-content-area { background-color: var(--white, #ffffff); padding-bottom: 0; }
.pdp-section { padding: 80px 0; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.pdp-section:last-child { border-bottom: none; }
.pdp-section-title { font-size: 2rem; color: var(--auth-blue, #1e3a8a); font-weight: 900; margin-top: 0; margin-bottom: 50px; text-align: center; position: relative; }
.pdp-section-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--eco-green, #059669); border-radius: 2px; }
.pdp-section-desc { max-width: 760px; margin: -25px auto 35px; text-align: center; color: var(--text-light, #64748b); line-height: 1.7; }

/* 背景色辅助类 */
.bg-light { background-color: var(--bg-gray, #f1f5f9); }
.bg-dark-blue { background-color: var(--auth-blue-dark, #172554); color: var(--white, #ffffff); border-bottom: none; }
.bg-dark-blue .pdp-section-title { color: var(--white, #ffffff); }

/* --- 5. 各个子模块样式 --- */

/* 缺失内容提示 */
.empty-content-tips { text-align: center; padding: 60px; color: #94a3b8; background: var(--bg-gray, #f1f5f9); border: 1px dashed var(--border-color, #e2e8f0); border-radius: 8px; font-weight: bold; font-size: 1.1rem; }
.related-empty-tips { grid-column: 1 / -1; }

/* 详情后选型咨询 */
.pdp-consult-strip {
    padding: 38px 0;
    background: linear-gradient(135deg, #102a66 0%, #1e3a8a 52%, #0f766e 100%);
    color: var(--white, #ffffff);
}
.consult-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.8fr) auto;
    gap: 30px;
    align-items: center;
}
.consult-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fcd34d;
    font-weight: 800;
    margin-bottom: 10px;
}
.consult-copy h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.35;
    font-weight: 900;
}
.consult-copy p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}
.consult-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.consult-points span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    font-weight: 700;
}
.consult-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.consult-actions .btn {
    white-space: nowrap;
}
.consult-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    color: var(--white, #ffffff);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 6px;
    font-weight: 800;
    background: rgba(255,255,255,0.08);
}
.consult-phone:hover {
    background: rgba(255,255,255,0.16);
}

/* =========================================
   富文本编辑器内容 (图文排版深度优化版)
========================================= */
.editor-content { 
    font-size: 1.05rem; 
    line-height: 1.8; 
    color: var(--text-main, #1e293b); 
}

/* 1. 解决段落间距过大的问题（强制收缩富文本编辑器自带的冗余高度） */
.editor-content p { 
    margin-top: 0; 
    margin-bottom: 16px; 
}
.editor-content p:last-child { margin-bottom: 0; }

/* 2. 增强 H2 大标题的高级感 (带微弱渐变背景条) */
.editor-content h2 { 
    font-size: 1.4rem; 
    color: var(--auth-blue, #1e3a8a); 
    font-weight: 900; 
    margin: 45px 0 20px; 
    padding: 8px 15px; 
    border-left: 5px solid var(--warn-yellow, #f59e0b); 
    background: linear-gradient(to right, rgba(245, 158, 11, 0.08), transparent); 
    border-radius: 0 4px 4px 0;
}

/* 3. 增强 H3 小标题的稳重感 */
.editor-content h3 { 
    font-size: 1.15rem; 
    font-weight: 800; 
    color: var(--auth-blue, #1e3a8a); 
    margin: 30px 0 15px; 
}

/* 4. 彻底重构无序/有序列表 (定制大厂质感符号) */
.editor-content ul { 
    list-style: none !important;
    margin-top: 15px; 
    margin-bottom: 25px; 
    padding-left: 0; /* 清除系统默认的巨大缩进 */
}

.editor-content ul li { 
    position: relative;
    padding-left: 24px; /* 给我们自己画的符号留出精准的空间 */
    margin-bottom: 12px; 
    line-height: 1.7;
}

/* =========================================
   补充修复：有序列表（数字 1. 2. 3.）专属排版
========================================= */
.editor-content ol {
    list-style-type: decimal !important; /* 强制使用标准数字 */
    list-style-position: outside !important;
    margin-top: 15px;
    margin-bottom: 25px;
    padding-left: 28px !important; /* 【核心修复】：给左侧重新撑开 28px 的安全距离，把数字装进来 */
}

.editor-content ol li {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 4px; /* 让文字和数字之间拉开一点呼吸间距，不那么拥挤 */
}

/* 确保数字列表绝对不会被小方块特效干扰 */
.editor-content ol li::before {
    display: none !important; 
}
/* 第二步：用 CSS 画一个极具工业高级感的“重工黄”小方块 */
.editor-content ul li::before {
    content: ''; 
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--warn-yellow, #f59e0b); /* 采用醒目的品牌黄 */
    border-radius: 1px; /* 极其微小的圆角，工业感拉满 */
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3); /* 自带一点高级的发光阴影 */
}

/* 兜底：处理编辑器乱加 P 标签的间距问题 */
.editor-content li > p { 
    margin-bottom: 0; 
    display: inline;
}

/* 5. 图片处理保持大厂规范 */
.editor-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    margin: 30px auto; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    display: block; 
}

/* =========================================
   6. 富文本表格终极美化 (工业白皮书级排版)
========================================= */
.editor-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 30px 0 40px 0; /* 上下留出充足的呼吸空间 */
    font-size: 0.95rem; /* 字号微收，显得更精致紧凑 */
    background-color: var(--white, #ffffff);
}

.editor-content th, 
.editor-content td {
    padding: 14px 20px;
    border: 1px solid var(--border-color, #e2e8f0);
    text-align: center; /* 默认数据对比居中对齐，更整齐 */
    line-height: 1.6;
    color: var(--text-main, #1e293b);
    transition: background-color 0.3s ease;
}

/* 【核心 1】：智能表头处理（无论后台用 th 还是 td，自动抓取第一行强化） */
.editor-content th,
.editor-content tr:first-child td {
    background-color: #f8fafc !important; /* 极简高级的政务灰底色 */
    color: var(--auth-blue, #1e3a8a) !important; /* 文字变政务蓝 */
    font-weight: 800 !important;
    font-size: 1.05rem;
    /* 表头下方加一道两像素的蓝色重线，压住整个表格的阵脚 */
    border-bottom: 2px solid var(--auth-blue, #1e3a8a) !important; 
}

/* 【核心 2】：第一列（对比项目名称）专属处理 */
.editor-content tr td:first-child {
    text-align: left; /* 第一列必须左对齐，符合阅读习惯 */
    font-weight: 700;
    background-color: #fafbfc; /* 第一列极其微弱的灰底，和右侧纯白数据拉开层次 */
    width: 25%; /* 稍微限制一下第一列的宽度 */
}

/* 【核心 3】：大厂标配——鼠标悬浮整行变色（阅读辅助线） */
.editor-content tr:not(:first-child):hover td {
    background-color: rgba(30, 58, 138, 0.04) !important; /* 鼠标悬浮整行亮起 4% 的政务蓝 */
    cursor: default;
}

/* 视频模块 */
.video-header { text-align: center; margin-bottom: 40px; }
.video-subtitle { color: #cbd5e1; font-size: 1.05rem; margin-top: -20px; margin-bottom: 0; }
.video-wrapper { max-width: 900px; margin: 0 auto; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border: 4px solid rgba(255,255,255,0.1); background: #000; aspect-ratio: 16/9; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-features { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.v-feat { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; color: var(--warn-yellow, #f59e0b); }

/* 参数表格 */
.table-responsive { overflow-x: auto; margin-top: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.b2b-specs-table { width: 100%; min-width: 600px; border-collapse: collapse; background-color: var(--white, #ffffff); overflow: hidden; }
.b2b-specs-table th, .b2b-specs-table td { padding: 16px 20px; border: 1px solid var(--border-color, #e2e8f0); text-align: left; }
.b2b-specs-table td:first-child { width: 35%; background-color: #f8fafc; font-weight: 700; color: var(--auth-blue, #1e3a8a); }
.table-group-header { background-color: var(--auth-blue, #1e3a8a) !important; color: var(--white, #ffffff) !important; font-size: 1.1rem; padding: 12px 20px !important; border: none !important; }
.specs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}
.specs-layout .table-responsive {
    margin-top: 0;
}
.specs-side-card {
    position: sticky;
    top: 170px;
    padding: 28px;
    border: 1px solid rgba(30, 58, 138, 0.14);
    border-radius: 8px;
    background: var(--white, #ffffff);
    box-shadow: 0 18px 40px rgba(30, 58, 138, 0.08);
}
.side-card-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--warn-yellow-hover, #d97706);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.specs-side-card h3 {
    margin: 0 0 12px;
    color: var(--auth-blue, #1e3a8a);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.35;
}
.specs-side-card p {
    margin: 0 0 18px;
    color: var(--text-light, #64748b);
    line-height: 1.7;
}
.specs-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.specs-side-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-main, #1e293b);
    font-weight: 700;
}
.specs-side-card li i {
    color: var(--eco-green, #059669);
}
.specs-side-card .btn {
    width: 100%;
    justify-content: center;
}

/* 居中动作区 */
.action-center-box { text-align: center; margin-top: 35px; }

/* 相关推荐网格 */
.related-header { margin-bottom: 40px; }
.related-subtitle { text-align: center; color: var(--text-light, #64748b); margin-top: -20px; margin-bottom: 0; }
.model-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}
.guide-card {
    padding: 22px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    background: #f8fafc;
}
.guide-card-primary {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.35);
}
.guide-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--eco-green, #059669);
    font-size: 0.85rem;
    font-weight: 900;
}
.guide-card-primary span {
    color: var(--warn-yellow-hover, #d97706);
}
.guide-card h3 {
    margin: 0 0 10px;
    color: var(--auth-blue, #1e3a8a);
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 900;
}
.guide-card p {
    margin: 0;
    color: var(--text-light, #64748b);
    line-height: 1.65;
    font-size: 0.94rem;
}
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.list-card { background: var(--white, #ffffff); border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; overflow: hidden; transition: var(--transition, all 0.3s ease); display: flex; flex-direction: column; }
.list-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(30, 58, 138, 0.08); border-color: var(--auth-blue, #1e3a8a); }
.list-card-img { height: 220px; position: relative; background-color: #f1f5f9; overflow: hidden; display: block; }
.list-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.list-card:hover .list-card-img img { transform: scale(1.05); }
.tag-hot { position: absolute; top: 15px; left: 15px; background-color: #ef4444; color: var(--white, #ffffff); padding: 4px 10px; font-size: 0.8rem; font-weight: 700; border-radius: 4px; z-index: 2; }
.list-card-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.list-card-info h3 { font-size: 1.15rem; color: var(--auth-blue, #1e3a8a); font-weight: 800; margin-top: 0; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.list-card-info h3 a { color: var(--auth-blue, #1e3a8a); text-decoration: none; }
.list-card-info h3 a:hover { color: var(--warn-yellow, #f59e0b); }
.list-card-info .card-desc { font-size: 0.9rem; color: var(--text-light, #64748b); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; flex-grow: 1; }
.list-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.list-actions .btn { width: 100%; display: flex; justify-content: center; }
.related-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 36px;
    padding: 24px 28px;
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-left: 4px solid var(--auth-blue, #1e3a8a);
    border-radius: 8px;
    background: #f8fafc;
}
.related-bottom-cta strong {
    display: block;
    color: var(--auth-blue, #1e3a8a);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 6px;
}
.related-bottom-cta span {
    color: var(--text-light, #64748b);
    line-height: 1.6;
}
.related-bottom-cta .btn {
    flex-shrink: 0;
}

/* 产品详情页移动端吸底转化栏 */
.pdp-mobile-actionbar {
    display: none;
}

/* =========================================
   6. 移动端/平板响应式适配
========================================= */
@media (max-width: 1250px) {
    .pdp-hero-inner { gap: 40px; }
    .gallery-main-img { height: 380px; }
}

@media (max-width: 1024px) {
    .pdp-breadcrumb-inner { grid-template-columns: 1fr; align-items: flex-start; }
    .breadcrumb-wechat { justify-self: flex-start; }
    .pdp-hero-inner { grid-template-columns: 1fr; padding: 26px; }
    .pdp-gallery { position: static; }
    .gallery-main-img { height: 500px; }
    .consult-strip-inner { grid-template-columns: 1fr; }
    .consult-actions { flex-direction: row; align-items: center; }
    .specs-layout { grid-template-columns: 1fr; }
    .specs-side-card { position: static; }
    .model-guide { grid-template-columns: 1fr; }
    .list-grid { grid-template-columns: repeat(2, 1fr); }
    .pdp-sticky-nav .float-right { display: none; }
}

@media (max-width: 768px) {
    body { padding-bottom: 72px; }
    .pdp-breadcrumb-wrap { padding: 14px 0; }
    .breadcrumb-label { display: none; }
    .pdp-breadcrumb { font-size: 0.84rem; }
    .pdp-breadcrumb span.current-page { max-width: 100%; white-space: normal; }
    .breadcrumb-wechat { width: 100%; }
    .pdp-hero { padding: 28px 0; }
    .pdp-hero-inner { padding: 18px; gap: 24px; }
    .gallery-main-img { height: 300px; }
    .gallery-image-label { left: 12px; bottom: 12px; font-size: 0.78rem; min-height: 30px; padding: 0 10px; }
    .thumb-item { height: 70px; }
    .pdp-info-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pdp-decision-grid { grid-template-columns: 1fr; }
    .quick-specs-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .btn-group { grid-template-columns: 1fr; }
    .list-grid { grid-template-columns: 1fr; }
    .video-features { flex-direction: column; gap: 15px; align-items: center; }
    
    .pdp-section { padding: 50px 0; }
    .pdp-section-title { font-size: 1.6rem; margin-bottom: 30px; }
    .pdp-section-desc { margin: -10px auto 25px; font-size: 0.95rem; }
    .pdp-title { font-size: 1.8rem; }
    .q-spec-item { display: block; }
    .q-spec-item span { width: auto; margin-bottom: 4px; }
    
    .pdp-sticky-nav .sticky-nav-inner { padding: 0 20px; gap: 25px; }
    .pdp-sticky-nav a:not(.btn) { padding: 15px 0; font-size: 1rem; }
    .pdp-sticky-nav { top: 70px; }

    .pdp-consult-strip { padding: 30px 0; }
    .consult-copy h2 { font-size: 1.35rem; }
    .consult-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .consult-actions { flex-direction: column; align-items: stretch; }
    .consult-actions .btn,
    .consult-phone { width: 100%; }

    .table-responsive { border-radius: 6px; }
    .b2b-specs-table { min-width: 560px; font-size: 0.9rem; }
    .b2b-specs-table th,
    .b2b-specs-table td { padding: 13px 14px; }
    .specs-side-card { padding: 22px; }

    .model-guide { gap: 12px; }
    .guide-card { padding: 18px; }
    .related-bottom-cta { flex-direction: column; align-items: stretch; padding: 20px; }
    .related-bottom-cta .btn { justify-content: center; }
    
    /* 手机端画廊缩略图调整为滑动或均分 */
    .gallery-thumbnails { gap: 10px; }

    .pdp-mobile-actionbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10020;
        display: grid;
        grid-template-columns: 1fr 1.35fr 1fr;
        min-height: 64px;
        background: var(--white, #ffffff);
        border-top: 1px solid var(--border-color, #e2e8f0);
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
    }
    .mobile-action-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--auth-blue, #1e3a8a);
        text-decoration: none;
        font-weight: 800;
        font-size: 0.82rem;
    }
    .mobile-action-item i {
        font-size: 1.15rem;
    }
    .mobile-action-primary {
        color: var(--white, #ffffff);
        background: var(--warn-yellow, #f59e0b);
        font-size: 0.9rem;
    }
}
