/* 至正 — TablePress 品牌化（产品详情规格表 + 产品目录表） */
.tablepress { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 15px; background: #fff; }
.tablepress thead th {
  background: var(--green, #2F834E); color: #fff; font-weight: 600;
  padding: 13px 14px; text-align: left; border: 1px solid #2a7547; line-height: 1.45;
}
.tablepress tbody td { padding: 12px 14px; border: 1px solid #e3ece6; color: #3a463f; line-height: 1.6; }
.tablepress tbody tr:nth-child(even) td { background: #F4F8F5; }
.tablepress tbody tr:hover td { background: #eaf3ee; }
.tablepress tbody td a { color: var(--green, #2F834E); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tablepress tbody td a:hover { text-decoration: underline; }

/* DataTables 搜索框（产品目录表内检索） */
.dataTables_wrapper { margin-bottom: 28px; }
.dataTables_wrapper .dataTables_filter { margin-bottom: 12px; }
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid rgba(47,131,78,.35); border-radius: 8px; padding: 7px 12px; font-size: 14px; margin-left: 8px;
}
.dataTables_wrapper .dataTables_filter input:focus { outline: none; border-color: var(--green, #2F834E); box-shadow: 0 0 0 3px rgba(47,131,78,.12); }
.tablepress .sorting, .tablepress .sorting_asc, .tablepress .sorting_desc { cursor: pointer; }

@media (max-width: 768px) {
  .tablepress, .tablepress tbody, .tablepress tr, .tablepress td { display: block; width: 100%; }
  .tablepress thead { display: none; }
  .tablepress tbody td { border: 0; border-bottom: 1px solid #eef3f0; padding: 8px 12px; }
  .tablepress tbody tr { border: 1px solid #e3ece6; border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
}

/* 产品列表 — 分类切换标签（居中 + 向下滚动时吸附在固定主菜单下方）*/
.plist__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 6px 0 26px; padding: 12px 0;
  position: sticky; top: 64px; z-index: 30;       /* 64px = 固定导航高度；吸附其下方 */
  background: #fff;
}
.plist__tab {
  display: inline-block; padding: 9px 22px; border-radius: 999px; font-size: 15px; line-height: 1.4;
  color: #2F834E; background: #fff; border: 1px solid rgba(47,131,78,.35); text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.plist__tab:hover { background: #eaf3ee; }
.plist__tab.is-active { background: #2F834E; color: #fff; border-color: #2F834E; box-shadow: 0 8px 20px rgba(47,131,78,.25); }
/* 移动端：标签换行较多，取消吸附避免占屏（仍保持居中）*/
@media (max-width: 880px) { .plist__tabs { position: static; padding: 0; } }
@media (max-width: 768px) { .plist__tab { padding: 8px 16px; font-size: 14px; } }
