/* ==========================================================================
   产品详情页 V5 · 企业站质感 + 参数可视化
   V22：位置1 专业国际化信息区 / 位置2 卖点图标卡（与图框底对齐） /
        位置4 中英规格表 + 会员锁定文档 + 相关视频 / 相关行业
   ========================================================================== */

.p5 { --header-h: 76px; }

/* ---------- 顶部三栏：左图 / 中信息 / 右行动 · 两列底边对齐 ---------- */
.p5-top { display: grid; grid-template-columns: 380px minmax(0, 1fr) 320px; gap: 26px; align-items: stretch; padding-top: 24px; padding-bottom: 6px; }
.p5-gal { display: flex; flex-direction: column; }
.p5-gal .gallery { flex: 1 1 auto; display: flex; flex-direction: column; padding: 12px; border-radius: 8px; }
.p5-gal .gallery__main { flex: 1 1 auto; height: auto; padding-top: 0; min-height: 380px; border-radius: 6px; }
.p5-gal .gallery__thumbs button { width: 54px; height: 54px; border-radius: 6px; }
.p5-gal__note { margin-top: 10px; font-size: 11.5px; color: var(--faint); }
.p5-gal__note .g { color: var(--brand); margin-right: 6px; }

/* ---------- 位置1 · 商品信息区 ---------- */
.p5-info { display: flex; flex-direction: column; min-width: 0; }
.pd-head { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px 10px; }
.pd-head__top { display: flex; align-items: center; justify-content: space-between; }
.pd-brandline { display: inline-flex; align-items: center; min-width: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.pd-brandline .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 8px; }
.pd-brandline b { font-weight: 800; }
.pd-brandline .sep { margin: 0 8px; color: var(--line2); }
.pd-brandline .path { letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.pd-stock { flex: none; display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--brand-tint); color: var(--brand-deep); border: 1px solid #CFE7DA; }
.pd-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 7px; }
.pd-stock.is-ask { background: #FFF7E8; color: #8A6116; border-color: #F0DDB8; }
.pd-stock.is-ask::before { background: #E5A23C; }
.pd-head h1 { margin-top: 12px; font-size: 25px; line-height: 1.42; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.pd-codes { margin-top: 12px; display: flex; flex-wrap: wrap; }
.pd-codes .c { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid var(--line2); border-radius: 4px; background: #F7F9F8; font-size: 11px; color: var(--faint); letter-spacing: .08em; font-weight: 600; }
.pd-codes .c + .c { margin-left: 8px; }
.pd-codes .c b { margin-left: 7px; color: var(--ink); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pd-lead { margin-top: 14px; font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.pd-assure { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; }
.pd-assure span { display: inline-flex; align-items: center; font-size: 12.5px; color: #55616B; font-weight: 600; }
.pd-assure span + span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line2); }
.pd-assure i { font-style: normal; color: var(--brand); margin-right: 6px; font-size: 12px; display: inline-flex; align-items: center; }
.pd-assure i .cat-ic { width: 13px; height: 13px; }
.pd-facts { margin-top: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.pd-facts > div { display: flex; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--line2); font-size: 13px; }
.pd-facts .k { width: 84px; flex: none; color: var(--faint); font-size: 12px; letter-spacing: .05em; }
.pd-facts .v { color: var(--ink); font-weight: 600; font-family: var(--font-sans); letter-spacing: .01em; }

/* ---------- 位置2 · 卖点图标卡（长方形 · 图标+文字 · 无标题） ---------- */
.pd-sell { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-sell__item { display: flex; align-items: center; padding: 10px 12px; background: #F7F9F8; border: 1px solid #E3EBE6; border-radius: 8px; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pd-sell__item:hover { border-color: var(--brand); background: var(--white); transform: translateY(-1px); }
.pd-sell__item .ic { flex: none; width: 34px; height: 34px; margin-right: 11px; border-radius: 7px; background: var(--white); border: 1px solid #D8EAE0; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.pd-sell__item .ic .cat-ic { width: 18px; height: 18px; }
.pd-sell__item b { display: block; font-size: 13px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.pd-sell__item div span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* ---------- 右行动栏（V5 页眉 sticky） ---------- */
.p5-act { position: sticky; top: calc(var(--header-v5-h) + 14px); align-self: start; } /* align-self:start 保留 sticky 行程；底边到图框底即停 */
.p5-act .pd__price { border-radius: 8px 8px 0 0; background: var(--brand); border-color: var(--brand); }
.p5-act .pd__price .row { align-items: baseline; flex: 1; min-width: 0; }
.p5-act .pd__price .now { color: #fff; font-size: 26px; }
.p5-act .pd__price .now small { color: #8FD9B4; }
.p5-act .pd__price .tag--cyan { background: rgba(255, 255, 255, .12); color: #BFE3D0; }
.p5-act .pd__price .tier, .p5-act .pd__price .tier div { color: #A9C6B6; }
.p5-act .pd__price .tier b { color: #fff; }
.p5-act .pd__price .ask-note { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #C4D8CC; }
.p5-act .pd__buy { border-radius: 0 0 8px 8px; border-top: 0; padding: 16px; }
.p5-act .qty { justify-content: center; }
.p5-act__tip { margin-top: 12px; font-size: 11px; color: var(--faint); text-align: center; }
.p5-price__note { align-self: flex-end; margin-left: auto; padding-left: 18px; font-size: 12px; color: #BFE3D0; letter-spacing: .02em; white-space: nowrap; }
.p5-price__note .g { color: #8FD9B4; margin-right: 6px; }
.p5-share { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; }
.p5-share > * + * { margin-left: 8px; }
.p5-share__t { font-size: 12px; color: var(--faint); margin-right: 2px; }
.p5-share button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur) var(--ease); }
.p5-share button .cat-ic { width: 15px; height: 15px; }
.p5-share button:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }

/* ---------- 位置3 · 参数可视化带（排版不变 · 条数不限） ---------- */
.p5-specband { margin-top: 30px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.p5-specband .sec-head { margin-bottom: 22px; }
.p5-specband__note { font-size: 12px; color: var(--faint); padding-bottom: 4px; }
.p5-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.p5-spec {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 18px 18px 16px; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.p5-spec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); opacity: 0; transition: opacity .25s ease; }
.p5-spec:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.p5-spec:hover::before { opacity: 1; }
.p5-spec__ic { width: 38px; height: 38px; border-radius: 8px; background: var(--brand-tint); border: 1px solid #D8EAE0; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.p5-spec__ic .cat-ic { width: 20px; height: 20px; }
.p5-spec__v { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; word-break: break-all; }
.p5-spec__k { margin-top: 6px; font-size: 11.5px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }

/* ---------- Tab 基础 ---------- */
.p5 .pd-tabs { margin-top: 34px; margin-bottom: 8px; }
.p5 .spec-grid div { padding: 10px 6px; }
.p5 .spec-grid .k { color: var(--faint); font-size: 12.5px; }
.p5 .spec-grid .v { color: var(--ink); font-weight: 600; }

/* ---------- 位置1 · 分享行（7 平台 · 与价格模块圆钮同款） ---------- */
.pd-facts__share { grid-column: 1 / -1; display: flex; align-items: center; }
.pd-facts__share .v { display: flex; align-items: center; }
.pd-share-btn { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur) var(--ease); }
.pd-share-btn + .pd-share-btn { margin-left: 8px; }
.pd-share-btn .cat-ic { width: 15px; height: 15px; }
.pd-share-btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }

/* ---------- 价格单位（中英文）与双二维码 ---------- */
.pd-price__col { display: flex; flex-direction: column; align-items: center; }
.pd-price__line { position: relative; margin-top: 3px; display: flex; align-items: center; justify-content: center; }
.pd-price__unit { font-size: 12px; font-weight: 600; color: #BFE3D0; letter-spacing: .02em; white-space: nowrap; }
.pd-qr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pd-qr__i { border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px 8px; background: var(--white); text-align: center; }
.pd-qr__i img { width: 92px; height: 92px; display: block; margin: 0 auto; }
.pd-qr__i span { display: block; margin-top: 6px; font-size: 11px; color: var(--faint); letter-spacing: .04em; }

/* ---------- 位置4 · 相关问答 ---------- */
.pd-qa__head { display: flex; align-items: baseline; margin-bottom: 6px; }
.pd-qa__head b { font-size: 15px; color: var(--ink); }
.pd-qa__head span { margin-left: 12px; font-size: 12px; color: var(--faint); }
.pd-qa__item { padding: 16px 4px; border-bottom: 1px dashed var(--line2); }
.pd-qa__u { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pd-qa__d { margin-left: 10px; font-size: 11.5px; color: var(--faint); font-weight: 400; }
.pd-qa__q p { margin-top: 8px; font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.7; }
.pd-qa__a { margin-top: 10px; padding: 12px 14px; background: var(--brand-tint); border: 1px solid #DCEBE2; border-radius: 8px; }
.pd-qa__badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pd-qa__a p { margin-top: 8px; font-size: 13px; color: #3C4650; line-height: 1.8; }
.pd-qa__a .pd-qa__d { display: block; margin-left: 0; margin-top: 6px; }
.pd-qa__form { margin-top: 20px; padding: 18px; background: #F7F9F8; border: 1px solid var(--line); border-radius: 10px; }
.pd-qa__form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pd-qa__form label span { margin-left: 10px; font-size: 11.5px; color: var(--faint); font-weight: 400; }
.pd-qa__form textarea { display: block; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; font-size: 13px; color: var(--ink); resize: vertical; }
.pd-qa__form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(1, 109, 67, .12); }
.pd-qa__row { margin-top: 12px; display: flex; align-items: center; }
.pd-qa__mail { display: inline-flex; align-items: center; font-size: 12px; color: var(--faint); }
.pd-qa__mail .cat-ic { width: 14px; height: 14px; margin-right: 7px; color: var(--brand); }
.pd-qa__row .btn { margin-left: auto; }

/* ---------- 位置4 · 技术文档：中英规格表 ---------- */
.pd-sheet { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.pd-sheet__head { display: flex; align-items: center; padding: 16px 20px; background: linear-gradient(90deg, var(--brand-deep) 0%, #0B5C3B 100%); color: #fff; }
.pd-sheet__logo { flex: none; font-weight: 900; font-size: 19px; letter-spacing: .04em; line-height: 1; padding: 7px 10px 6px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 4px; }
.pd-sheet__logo sup { font-size: 9px; }
.pd-sheet__t { margin-left: 14px; }
.pd-sheet__t b { display: block; font-size: 15px; letter-spacing: .06em; }
.pd-sheet__t span { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: .18em; color: #BFE3D0; }
.pd-sheet__no { margin-left: auto; text-align: right; font-size: 11px; color: #CFE7DA; line-height: 1.8; }
.pd-sheet__no span { display: block; }
.pd-sheet__tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-sheet__tbl th, .pd-sheet__tbl td { border-top: 1px solid var(--line2); padding: 9px 20px; text-align: left; vertical-align: top; }
.pd-sheet__tbl tr:first-child th, .pd-sheet__tbl tr:first-child td { border-top: 0; }
.pd-sheet__tbl th { width: 230px; background: #F7F9F8; font-weight: 600; color: var(--ink); }
.pd-sheet__tbl th span { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; font-weight: 600; }
.pd-sheet__tbl td { color: #3C4650; line-height: 1.7; }
.pd-sheet__foot { display: flex; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line2); background: #FBFCFC; font-size: 12px; color: var(--muted); }
.pd-sheet__foot .badge { flex: none; margin-right: 12px; padding: 4px 9px; border-radius: 4px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; font-size: 11px; letter-spacing: .04em; }

/* ---------- 位置4 · 会员锁定文档 ---------- */
.pd-doclist { margin-top: 20px; }
.pd-doclist__t { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pd-doc { display: flex; align-items: center; padding: 12px 6px; border-bottom: 1px dashed var(--line2); }
.pd-doc__ic { flex: none; width: 34px; height: 34px; margin-right: 12px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-deep); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; letter-spacing: .04em; }
.pd-doc__t b { display: block; font-size: 13px; color: var(--ink); }
.pd-doc__t span { display: block; margin-top: 1px; font-size: 11.5px; color: var(--faint); }
.pd-doc__dl { margin-left: auto; flex: none; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--muted); font-size: 12px; cursor: pointer; transition: all var(--dur) var(--ease); }
.pd-doc__dl .cat-ic { width: 13px; height: 13px; margin-right: 6px; }
.pd-doc__dl:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.pd-doc__note { display: flex; align-items: center; margin-top: 14px; font-size: 12px; color: var(--faint); }
.pd-doc__note .cat-ic { flex: none; width: 13px; height: 13px; margin-right: 7px; color: #E5A23C; }

/* ---------- 位置4 · 相关视频 ---------- */
.pd-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-video { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pd-video:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pd-video__cover { position: relative; height: 0; padding-top: 56%; background: var(--bg-mist); overflow: hidden; }
.pd-video__cover img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.pd-video__cover::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(180deg, rgba(8, 20, 14, 0) 40%, rgba(8, 20, 14, .55) 100%); }
.pd-video__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 1; }
.pd-video__dur { position: absolute; right: 10px; bottom: 8px; z-index: 1; padding: 2px 7px; border-radius: 4px; background: rgba(8, 20, 14, .72); color: #fff; font-size: 11px; font-family: var(--font-mono); }
.pd-video h4 { padding: 12px 14px 4px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.pd-video p { padding: 0 14px 14px; font-size: 11.5px; color: var(--faint); }
.pd-videos__tip, .pd-inds__tip { margin-top: 14px; font-size: 12px; color: var(--faint); }

/* ---------- 位置4 · 相关行业 ---------- */
.pd-inds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-ind { display: flex; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pd-ind:hover { border-color: var(--brand); box-shadow: var(--shadow-2); }
.pd-ind__ic { flex: none; width: 40px; height: 40px; margin-right: 14px; border-radius: 9px; background: var(--brand-tint); border: 1px solid #D8EAE0; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.pd-ind b { display: block; font-size: 14.5px; color: var(--ink); }
.pd-ind div span { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.pd-ind__arw { margin-left: auto; color: var(--line2); font-size: 16px; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pd-ind:hover .pd-ind__arw { color: var(--brand); transform: translateX(3px); }

@media (max-width: 1280px) {
  .p5-top { grid-template-columns: 340px minmax(0, 1fr); }
  .p5-act { grid-column: 2; position: static; }
  .p5-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .p5-top { grid-template-columns: 1fr; }
  .p5-act { grid-column: 1; }
  .p5-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-facts { grid-template-columns: 1fr; }
  .pd-sell { grid-template-columns: 1fr; }
  .pd-inds { grid-template-columns: 1fr; }
  .pd-videos { grid-template-columns: 1fr; }
}
