/* ============================================================
 *  产品详情页（/product/{id}）
 *  命名规范：pd-*（与旧版 .pdetail 不冲突，旧样式保留但不再使用）
 * ============================================================ */

.pd-hero { padding: 34px 0 46px; background: linear-gradient(180deg, var(--bg-tint), var(--bg) 62%); }
.pd-hero__inner { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 44px; align-items: start; }
/* grid/flex 子项默认 min-width:auto，长文本会把列撑破导致移动端横向溢出 */
.pd-hero__inner > * { min-width: 0; }

/* ---- 左图 ---- */
.pd-figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.pd-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.pd-figure picture { display: block; }
.pd-figure .disc { display: block; width: 100%; aspect-ratio: 1 / 1; }
.pd-figure__cap { padding-top: 12px; font-size: 13px; color: var(--ink-4); text-align: center; }

.pd-medialist { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.pd-medialist li { display: flex; gap: 12px; padding: 11px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.pd-medialist li:last-child { border-bottom: 0; }
.pd-medialist span { flex: 0 0 84px; color: var(--ink-4); }
.pd-medialist em { flex: 1 1 auto; min-width: 0; font-style: normal; color: var(--ink-2); line-height: 1.6; word-break: break-word; }

/* ---- 右信息 ---- */
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-tag {
    display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
    border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark);
    font-size: 12.5px; letter-spacing: .2px; border: 1px solid var(--brand-line);
}
.pd-tag:hover { background: #dceafb; }
.pd-tag--type { background: #fff; border-color: var(--line); color: var(--ink-2); }
.pd-tag--type:hover { border-color: var(--brand-line); color: var(--brand-dark); }
.pd-badge {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px;
    border-radius: 999px; background: #e9f7ef; color: #0f7a44; font-size: 12.5px; font-weight: 600;
}
.pd-badge i { width: 6px; height: 6px; border-radius: 50%; background: #12a05a; }

/* 标题：产品「名称」为主行（大号深色），型号降为副行小字 + 徽标 */
.pd-h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.28; letter-spacing: -.4px; }
.pd-h1__name { display: block; color: var(--ink); letter-spacing: -.4px; }
.pd-h1__model {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 8px; font-size: 14px; font-weight: 500;
    color: var(--ink-3); letter-spacing: .2px;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.pd-h1__mtag {
    display: inline-block; padding: 2px 7px; border-radius: 5px;
    background: var(--brand-soft); color: var(--brand-dark);
    font: 500 11.5px/1.5 var(--font, inherit); font-style: normal; letter-spacing: .3px;
}
.pd-hero__desc { margin: 0 0 20px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }

/* ---- 核心参数速览 ---- */
/* 蓝色收敛：速览卡改中性细线框，蓝色只留给「可定制项」标记 */
.pd-keys { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 16px 18px 6px; }
/* 右栏自然流：速览卡 → 操作条紧挨着。
   高度对齐交给左栏：图卡上对齐、信息卡下对齐（margin-top:auto），
   让信息卡底边与操作条底边齐平，中间不出现「某一栏空一截」。 */
.pd-hero__info { display: flex; flex-direction: column; }
.pd-keys__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-keys__title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pd-keys__hint { font-size: 12px; color: var(--ink-4); }
.pd-keys__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 18px; margin-top: 12px; }
.pd-keys__grid li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f2f5f9; min-width: 0; }
.pd-keys__k { flex: 0 1 auto; min-width: 0; font-size: 12.5px; color: var(--ink-4); }
.pd-keys__v { flex: 0 0 auto; min-width: 0; font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- 波长标尺（首屏，H1 正下方）----
   按 CWL / FWHM 真实比例落位，可见光谱按波长→RGB 真实映射着色，
   紫外与红外段褪灰（物理上不可见）。这是数据可视化，不是装饰图。 */
.pd-ruler { margin: 0 0 18px; }
.pd-ruler__pc, .pd-ruler__mb { display: block; }
.pd-ruler__mb { display: none; }
.pd-ruler__svg { display: block; width: 100%; height: auto; }
.pd-ruler__cap { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-4); }
/* 窄屏换窄 viewBox：等比缩放会把 12px 的标注压到 6px，换成窄版才看得清 */
@media (max-width: 720px) {
    .pd-ruler__pc { display: none; }
    .pd-ruler__mb { display: block; }
}

/* ---- 「可定制」标记：蓝色的唯一语义之一（2026-11-17 起是纯标记，不带链接） ---- */
.pd-cus {
    display: inline-block; margin-left: 6px; padding: 0 5px;
    font-size: 10.5px; font-style: normal; line-height: 16px; vertical-align: baseline;
    color: var(--brand-dark); background: var(--brand-soft);
    border: 1px solid var(--brand-line); border-radius: 3px;
    white-space: nowrap;
}

/* ---- 价格 / 按钮 ----
   2026-10-17：去掉 135° 浅蓝渐变（AI 生成 UI 的签名动作、零信息量）；
   价格数字改墨色 + 等宽数字，像报价单而不是促销卡。 */
.pd-price { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.pd-price__main { display: flex; align-items: baseline; gap: 4px; }
.pd-price__cur { font-size: 18px; font-weight: 600; color: var(--ink); }
.pd-price__num { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.pd-price__unit { margin-left: 4px; font-size: 13px; color: var(--ink-3); }
.pd-price__tags, .pd-price__asklist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; list-style: none; }
.pd-price__tags li, .pd-price__asklist li { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pd-actions .btn { min-width: 132px; justify-content: center; }

/* ---- 通用区块标题 ----
   2026-10-17：去掉 AI 味的「左侧 4px 蓝竖条」，改用技术文档式章节编号。
   蓝色从此只用于「可定制项」与「当前选中值」，不再做纯装饰。 */
.pd-sec { padding: 44px 0; border-top: 1px solid var(--line); counter-increment: pdsec; }
.pd-sec:first-of-type { border-top: 0; }
.pd-sec__h2 { font-size: 24px; margin: 0 0 22px; letter-spacing: -.2px; display: flex; align-items: baseline; gap: 10px; }
.pd-sec__h2::before {
    content: counter(pdsec, decimal-leading-zero);
    flex: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px; font-weight: 600; color: var(--ink-4); letter-spacing: .5px;
    font-variant-numeric: tabular-nums;
}

/* ---- 概述与卖点 ---- */
.pd-overview__lead { font-size: 16px; line-height: 1.95; color: var(--ink-2); max-width: 900px; }
.pd-highs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
/* hover 不再「卡片上浮」——那是没有信息量的通用动效，只留边框加深 */
.pd-high { position: relative; padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.pd-high:hover { border-color: var(--ink-4); }
.pd-high__idx { font-size: 12px; font-weight: 600; color: var(--ink-4); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.pd-high__title { margin: 6px 0 8px; font-size: 16px; color: var(--ink); }
.pd-high__desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }

/* ---- 参数四分组：2×2 等高网格 ----
   2026-10-18 明哥要求重排：masonry 三列改 2 行 2 列均等网格，
   四张卡统一宽度、统一最小高度、边线对齐；去掉标题右上角的条数计数。
   卡片内是「参数名右对齐 | 参数值左对齐」的两栏，中间形成一条干净的竖向对齐轴。 */
.pd-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.pd-spec-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px 14px;
}
.pd-spec-card__h {
    margin: 0 0 2px; padding-bottom: 10px;
    font-size: 14.5px; font-weight: 600; color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.pd-spec-card__table { width: 100%; border-collapse: collapse; }
.pd-spec-card__table tr { border-bottom: 1px solid #eef1f5; }
.pd-spec-card__table tr:last-child { border-bottom: 0; }
.pd-spec-card__table th,
.pd-spec-card__table td {
    padding: 7px 0; font-size: 13px;
    vertical-align: baseline; line-height: 1.7;
}
/* 参数名统一右对齐，参数值统一左对齐 —— 四张卡共用 42% 宽度，对齐轴上下贯通 */
.pd-spec-card__table th {
    width: 42%; padding-right: 18px;
    font-weight: 400; color: var(--ink-3); text-align: right;
}
.pd-spec-card__table td {
    color: var(--ink); font-weight: 500; text-align: left;
    padding-left: 18px; word-break: break-word;
}

/* 「其余参数不适用」：浅灰小字压在卡片最底部，无箭头、无数字 */
.pd-na-more {
    margin: auto 0 0;      /* 吸底：内容多的卡与内容少的卡，这行都落在同一水平线上 */
    padding-top: 12px;
}
.pd-na-more > summary {
    cursor: pointer; list-style: none;
    font-size: 12px; line-height: 1.6; color: var(--ink-4);
}
.pd-na-more > summary::-webkit-details-marker { display: none; }
.pd-na-more > summary::marker { content: ''; }
.pd-na-more > summary:hover { color: var(--ink-2); }
.pd-na-list {
    margin: 8px 0 0; padding: 8px 10px;
    list-style: none; border-radius: 5px; background: #fff;
    font-size: 12px; line-height: 1.85; color: var(--ink-4);
}

/* 底部备注：四张卡整体下方通栏一条 */
.pd-specs__tip { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-4); line-height: 1.75; }
/* 参数区上下留白比其它区块小一档：内容已经是密集表格，再多留白就显得松 */
.pd-specs { padding-top: 34px; padding-bottom: 34px; }
.pd-specs .pd-sec__h2 { margin-bottom: 18px; }

/* ---- 光谱曲线 ---- */
.pd-curve__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); }
.pd-seg__btn { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 13px; color: var(--ink-3); cursor: pointer; font-family: inherit; }
/* 选中态保留蓝色：这是「当前选中值」，属于蓝色唯一的两个语义之一 */
.pd-seg__btn.is-on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }

/* ---- 曲线：去掉卡片外壳，但宽度与正文列严格对齐 ----
   这一页最有说服力的内容是光谱曲线，不跟「文档下载」关在同一个白盒子里；
   但也不宜比上面的标题/下面的解读框更宽 —— 2026-10-21 明哥反馈「曲线有点宽了」，
   原先 max-width:1560 + clamp() 内边距让它比内容列左右各多出 46px（1440 下 1328 vs 1236），
   现在直接复用 .container 的宽度与 22px 内边距，曲线左边缘＝标题左边缘＝解读框左边缘。 */
.pd-curve__stage { margin-top: 4px; padding: 0; }
.pd-curve__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.pd-curve__wrap { position: relative; background: transparent; }
.pd-curve__chart { width: 100%; height: 420px; }
.pd-curve__chart .u-wrap { overflow: visible; }
.pd-curve__fallback { margin: 0; }
.pd-curve__svg { width: 100%; height: auto; display: block; margin: 0 auto; }
.pd-curve__meta { margin-top: 12px; font-size: 12.5px; color: var(--ink-4); line-height: 1.9; }
/* 蓝色收敛：解读框的左边条与图标底都褪成中性 */
.pd-curve__note { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--ink-4); background: var(--bg-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.pd-curve__note span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.pd-curve__empty { text-align: center; padding: 52px 20px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: #fff; }
.pd-curve__empty-ico { display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-tint); color: var(--ink-3); }
.pd-curve__empty h3 { margin: 14px 0 8px; font-size: 18px; }
.pd-curve__empty p { max-width: 520px; margin: 0 auto 18px; font-size: 14px; line-height: 1.85; color: var(--ink-3); }

/* ---- 按需定制（横向 CTA 带） ---- */
.pd-sc--band { padding: 24px 0; }
.pd-sc--band .pd-sc__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, 200px);
    gap: 22px;
    align-items: center;
    padding: 20px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--navy);
    background: linear-gradient(120deg, var(--navy), var(--navy-2) 74%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
/* grid 子项默认 min-width:auto，长清单会把列撑破 */
.pd-sc--band .pd-sc__inner > * { min-width: 0; }
.pd-sc__intro .pd-sec__h2 { margin: 0 0 8px; font-size: 21px; color: #fff; }
.pd-sc__intro .pd-sec__h2::before { color: var(--brand-on-dark); }
.pd-sc__desc { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--on-navy); }
.pd-sc__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 20px;
    margin: 0; padding: 0; list-style: none;
}
.pd-sc__list li {
    position: relative; padding-left: 15px;
    font-size: 13px; line-height: 1.8; color: var(--on-navy);
    word-break: break-word;
}
.pd-sc__list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--brand-on-dark);
}
.pd-sc__guide {
    margin: 10px 0 0; padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(98, 168, 255, .10);
    border: 1px solid var(--navy-line);
    font-size: 12.5px; line-height: 1.7; color: var(--on-navy);
}
.pd-sc__act { display: flex; flex-direction: column; gap: 10px; }
.pd-sc__act .btn--block { width: 100%; justify-content: center; }
.pd-sc__act .btn--ghost { color: #fff; border-color: var(--navy-line); background: rgba(255, 255, 255, .06); }
.pd-sc__act .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(120, 170, 255, .4); }

/* ---- 选型说明 ---- */
.pd-select__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-select__col { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border-top: 3px solid var(--brand); }
.pd-select__col.is-unfit { border-top-color: #e2932c; }
.pd-select__col.is-diff { border-top-color: #3aa875; }
.pd-select__h { margin: 0 0 10px; font-size: 16px; }
.pd-select__scene { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); margin-bottom: 10px; }
.pd-select__col ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.95; color: var(--ink-3); }
.pd-select__col p { font-size: 13.5px; line-height: 1.9; color: var(--ink-3); }

/* ---- 产品应用（2026-11-17：纯文字段落，应用词按品类/波段组句） ---- */
.pd-app__text {
    margin: 0;
    padding: 18px 22px;
    border-left: 3px solid var(--brand);
    background: #f6f9ff;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    line-height: 2;
    color: var(--ink-2);
    text-wrap: pretty;
}

/* ---- 相关产品（紧凑横条：60px 缩略图 + 型号 / 规格 / 名称）----
     2026-10-17 由 4 列大图卡（单卡 414px，整段 984px）改为横条，信息一条不丢。 */
.pd-rel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.pd-rel__grid > * { min-width: 0; }
.pd-rel__card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 18px;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color .22s, box-shadow .22s;
}
.pd-rel__card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.pd-rel__card:hover .pd-rel__name { color: var(--brand-dark); }
.pd-rel__img {
    display: block; width: 60px; height: 60px;
    border-radius: 6px; overflow: hidden;
    background: var(--bg-tint);
}
.pd-rel__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-rel__img .disc { display: block; width: 100%; height: 100%; }
.pd-rel__body {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 2px 10px;
}
/* 相关产品卡：名称为主，型号为副 */
.pd-rel__name {
    min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink);
    transition: color .22s;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-rel__model {
    grid-column: 1 / -1; min-width: 0;
    font-size: 12.5px; color: var(--ink-4); line-height: 1.55;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.pd-rel__facts { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.pd-rel__facts em {
    font-style: normal; padding: 2px 7px; border-radius: 5px;
    background: var(--brand-soft); color: var(--brand-dark);
    font-size: 11.5px; white-space: nowrap;
}
.pd-rel__go { display: inline-flex; color: var(--ink-4); transition: color .22s, transform .22s; }
.pd-rel__card:hover .pd-rel__go { color: var(--brand); transform: translateX(3px); }

/* ---- 文档下载 ---- */
.pd-docs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pd-doc { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pd-doc.is-on:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.pd-doc.is-off { opacity: .58; cursor: not-allowed; background: var(--bg-tint); }
.pd-doc__ico { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.pd-doc__text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pd-doc__name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pd-doc__file { font-size: 12px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-doc__dl { font-size: 12.5px; color: var(--brand); white-space: nowrap; }
.pd-doc.is-off .pd-doc__dl { color: var(--ink-4); }
.pd-docs__tip { margin-top: 14px; font-size: 13px; color: var(--ink-4); }

/* ---- FAQ ---- */
/* 2026-10-17 收紧：gap 10→8、summary padding 15→11、答案行高 1.95→1.8 */
.pd-faq__list { display: flex; flex-direction: column; gap: 8px; }
.pd-faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.pd-faq__item[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.pd-faq__item summary { cursor: pointer; padding: 11px 44px 11px 16px; position: relative; list-style: none; }
.pd-faq__item summary::-webkit-details-marker { display: none; }
.pd-faq__q { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.pd-faq__ico { position: absolute; right: 16px; top: 17px; width: 11px; height: 11px; border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4); transform: rotate(45deg); transition: transform .2s; }
.pd-faq__item[open] .pd-faq__ico { transform: rotate(-135deg); border-color: var(--brand); }
.pd-faq__a { padding: 0 16px 12px; }
.pd-faq__a p { font-size: 14px; line-height: 1.8; color: var(--ink-3); }

/* ---- 底部浮条：对比 / 询价单 ---- */
.pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); box-shadow: 0 -8px 28px rgba(7, 26, 51, .22); padding: 12px 0; }
.pd-bar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-bar__label { color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pd-bar__tags { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.pd-bar__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(98, 168, 255, .16); border: 1px solid var(--navy-line); color: var(--on-navy); font-size: 12.5px; }
.pd-bar__tag i { font-style: normal; cursor: pointer; opacity: .7; }
.pd-bar__tag i:hover { opacity: 1; color: #fff; }
.pd-bar__right { display: flex; align-items: center; gap: 10px; }
.pd-bar__clear { background: transparent; border: 0; color: var(--on-navy-2); font-size: 13px; cursor: pointer; font-family: inherit; }
.pd-bar__clear:hover { color: #fff; }

/* ---- 对比弹窗 ---- */
.cmp-pop { position: fixed; inset: 0; z-index: 90; }
.cmp-pop__mask { position: absolute; inset: 0; background: rgba(9, 22, 38, .58); }
.cmp-pop__dialog { position: relative; z-index: 1; width: min(1120px, 94vw); max-height: 86vh; margin: 5vh auto; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cmp-pop__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cmp-pop__head h2 { margin: 0; font-size: 18px; }
.cmp-pop__close { border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 0 4px; }
.cmp-pop__body { overflow: auto; padding: 18px 20px 22px; }
.cmp-pop__scroll { overflow-x: auto; }
.cmp-pop__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-pop__table th, .cmp-pop__table td { padding: 11px 12px; font-size: 13.5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-pop__table thead th { background: var(--bg-tint); color: var(--ink-2); font-weight: 600; position: sticky; top: 0; }
.cmp-pop__table th { width: 150px; color: var(--ink-3); font-weight: 500; }
.cmp-pop__table a { color: var(--brand); }
.cmp-pop__empty { text-align: center; padding: 40px 0; color: var(--ink-4); }

/* ---- uPlot 微调（贴合站点视觉） ---- */
.uplot { font-family: var(--font); }
.u-legend { font-size: 12.5px; padding-top: 6px; }
.u-legend .u-marker { width: 10px; height: 10px; border-radius: 50%; }
.u-select { background: rgba(11, 94, 215, .07); }

/* ============================================================
 *  响应式
 * ============================================================ */
@media (max-width: 1180px) {
    .pd-hero__inner { gap: 32px; }
    .pd-highs { grid-template-columns: repeat(2, 1fr); }
    /* 参数区本身就是 2×2，1180 不用变列数，只收窄内边距 */
    .pd-spec-card { padding: 15px 16px 13px; }
    .pd-spec-card__table th { padding-right: 14px; }
    .pd-spec-card__table td { padding-left: 14px; }
    /* 定制带：仍保持三列，只收窄间距（两列反而更高） */
    .pd-sc--band .pd-sc__inner { gap: 16px 18px; }
    .pd-sc__intro .pd-sec__h2 { font-size: 19px; }
}

@media (max-width: 980px) {
    .pd-hero__inner { grid-template-columns: 1fr; }
    .pd-hero__media { max-width: 420px; }
    .pd-sc--band .pd-sc__inner, .pd-select__grid { grid-template-columns: 1fr; }
    /* 按钮组整行横排，避免堆叠让带子变高 */
    .pd-sc__act { grid-column: 1 / -1; flex-direction: row; }
    .pd-sc__act .btn--block { flex: 1 1 0; min-width: 0; }
    .pd-docs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .pd-sec { padding: 32px 0; }
    .pd-sc--band { padding: 22px 0; }
    .pd-sc--band .pd-sc__inner { padding: 18px 16px; gap: 14px; }
    .pd-sc__intro .pd-sec__h2 { font-size: 19px; }
    .pd-sc__list { grid-template-columns: 1fr; }
    /* 两个按钮并排，纵向堆叠会白白多出 60px */
    .pd-sc__act { gap: 8px; }
    /* 相关产品：窄屏改单列横条，缩略图收小、去掉箭头（3 列模板会把它挤到第二行） */
    .pd-rel__grid { grid-template-columns: 1fr; gap: 8px; }
    .pd-rel__card { grid-template-columns: 52px minmax(0, 1fr); padding: 9px 10px; }
    .pd-rel__img { width: 52px; height: 52px; }
    .pd-rel__go { display: none; }
    /* 4 个规格标签在 375px 放不下，仅保留最关键的 2 个 */
    .pd-rel__facts em:nth-child(n+3) { display: none; }
    .pd-sec__h2 { font-size: 20px; }
    .pd-h1 { font-size: 24px; }
    .pd-h1__model { margin-top: 6px; font-size: 13px; }
    .pd-keys__grid { grid-template-columns: repeat(2, 1fr); }
    .pd-highs { grid-template-columns: 1fr; }
    .pd-docs__grid { grid-template-columns: 1fr; }
    .pd-curve__chart { height: 340px; }
    /* 曲线内边距挂在 __inner 上，与 .container 一致（22px），此处无需再覆盖 */
    /* 移动端：单列 + 手风琴折叠，避免长表格占屏 */
    .pd-specs__grid { grid-template-columns: 1fr; gap: 10px; }
    .pd-specs__grid .pd-spec-card { min-height: 0; padding: 0; }
    .pd-specs__grid .pd-spec-card__h {
        margin: 0; padding: 14px 16px; border-bottom: 0; cursor: pointer;
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
    }
    /* 移动端右上角改 +/- 开合指示（桌面那个条数计数已整体移除） */
    .pd-specs__grid .pd-spec-card__h::after { content: '+'; margin-left: auto; font-size: 18px; color: var(--ink-4); line-height: 1; }
    .pd-specs__grid .pd-spec-card.is-open .pd-spec-card__h::after { content: '\2013'; }
    /* 展开后标题下加一条分隔线，收着时不要 */
    .pd-specs__grid .pd-spec-card.is-open .pd-spec-card__h { border-bottom: 1px solid var(--line); }
    .pd-spec-card__table { display: none; }
    .pd-specs__grid .pd-spec-card.is-open .pd-spec-card__table { display: table; margin: 0 16px; padding: 4px 0 10px; width: calc(100% - 32px); }
    /* 卡片收着的时候，N/A 提示也一起隐藏，不然每张收起卡都挂一行小字反而更碎 */
    .pd-specs__grid .pd-spec-card:not(.is-open) .pd-na-more { display: none; }
    .pd-specs__grid .pd-spec-card.is-open .pd-na-more { display: block; margin: 0; padding: 0 16px 14px; }
    /* 窄屏参数名宽度收紧，给数值留空间 */
    .pd-spec-card__table th { width: 40%; padding-right: 12px; }
    .pd-spec-card__table td { padding-left: 12px; }
    .pd-bar__inner { gap: 8px; }
    .pd-bar__tags { max-height: 62px; overflow: auto; }
}

/* 超窄屏（≤560px）：核心参数速览两列会把「1550nm」挤成两行，改单列 */
@media (max-width: 560px) {
    .pd-keys__grid { grid-template-columns: 1fr; }
    .pd-keys__grid li { padding: 8px 0; }
}
