/* PARTMACH PDP 结构升级（A，2026-11-04）
   - 首屏适配摘要 + 4 条信任条
   - 移动端吸底 CTA（报价 / WhatsApp），出现时隐藏全局快捷联系条避免叠加 */

.pdp-fitline {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  background: var(--amber-soft, #fff6e5);
  border: 1px solid #f3d9a8;
  border-left: 3px solid var(--amber, #e6a23c);
  border-radius: 6px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
.pdp-fitline b { color: var(--ink, #0d1116); font-weight: 600; }
.pdp-fitline a { white-space: nowrap; text-decoration: none; }
.pdp-fitline a:hover { text-decoration: underline; }

.pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line, #e5e7eb);
}
.pdp-trust span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.pdp-trust span::first-letter { color: var(--amber, #e6a23c); }

/* 移动端吸底 CTA */
.pdp-bar { display: none; }

@media (max-width: 900px) {
  .pdp-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: none;
    align-items: stretch;
    gap: 0;
    background: var(--ink-900, #0c1116);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .22);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pdp-bar.is-on { display: flex; }
  .pdp-bar a {
    flex: 1;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border: 0;
  }
  .pdp-bar a + a { border-left: 1px solid rgba(255, 255, 255, .18); }
  .pdp-bar-q { background: var(--amber, #e6a23c); color: var(--ink-950, #080b0e) !important; }
  .pdp-bar-wa { background: #1f7a4d; }

  /* 有吸底 CTA 的页面隐藏全局快捷条，避免两条叠在一起 */
  body:has(.pdp-bar) .quickbar { display: none !important; }
  body:has(.pdp-bar) { padding-bottom: 56px; }
}

/* 桌面：不显示吸底条 */
@media (min-width: 901px) { .pdp-bar { display: none !important; } }
