/* 产品详情页：Word / 编辑器粘贴表格的响应式修正（2026-11-28）
   问题：粘贴表格带 align="left"（浮动）、固定列宽、width:max-content、
   单元格 min/max-width，导致表格后面的内容绕排、手机端列被挤成竖排。
   处理：取消浮动与固定宽度，表格按容器自适应；手机端保留最小宽度并横向滚动。 */

.pd-rich {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-rich table,
.pd-sec .pd-rich table {
  float: none !important;
  width: 100% !important;
  max-width: 860px !important;
  margin: 12px 0 !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
}

.pd-rich table th,
.pd-rich table td,
.pd-sec .pd-rich table th,
.pd-sec .pd-rich table td {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pd-rich table p,
.pd-sec .pd-rich table p {
  margin: 0 !important;
}

/* 编辑器插入的图片（如技术规格截图）自适应容器 */
.pd-rich img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 700px) {
  .pd-sec .pd-rich table {
    min-width: 680px;
  }
}
