/* ======================== */
/* TopicDetail 专题详情页样式 */
/* ======================== */
:root {
  --tp-font-head: 'Outfit', var(--font-primary);
  --tp-font-body: 'Geist', var(--font-primary);
  --tp-blue: #2978fe;
  --tp-orange: #ff5a00;
  --tp-text: #333;
  --tp-line: #d4d7e1;
  --tp-aside-w: 520px;
  --tp-aside-gap: 30px;
  /* 表单右缘相对内容区右缘的内收量：设计稿为外扩 30px，窄屏需内收避开全站右侧悬浮联系栏 */
  --tp-aside-shift: -30px;
  /* 应用图组与 QC 卡片按设计稿向左出血 80px，窄屏时随页边距收窄至 0 */
  --tp-bleed: clamp(0px, (100vw - 1340px) / 2 - 20px, 80px);
}
/* common.css 中 body 的 overflow-x: hidden 会让 body 成为滚动容器导致 sticky 失效；
   本页改用 clip（同样裁掉横向溢出但不生成滚动容器），不支持的浏览器沿用原规则 */
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}
.tp-container {
  width: 100%;
  max-width: calc(1340px + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
/* --- 顶部标题 --- */
.tp-head {
  padding-top: var(--header-h);
  background: #f4f6fa;
}
.tp-head .tp-container {
  padding-top: 31px;
  padding-bottom: 41px;
}
.tp-head__title {
  font-family: var(--tp-font-head);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--tp-text);
}
.tp-head__subtitle {
  margin-top: 8px;
  font-family: var(--tp-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: var(--tp-text);
  text-transform: uppercase;
}
.tp-head__subtitle:empty,
.tp-banner__title:empty,
.tp-banner__desc:empty,
.tp-banner__tags:empty,
.tp-info__title:empty,
.tp-info__tags:empty,
.tp-inquiry__title:empty,
.tp-inquiry__desc:empty {
  display: none;
}
/* --- Banner 轮播 --- */
.tp-banner {
  position: relative;
  height: 370px;
  overflow: hidden;
  background: var(--tp-blue);
}
.tp-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.tp-banner__slide--active {
  opacity: 1;
}
.tp-banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 左侧蓝色渐层保证文字可读，初始数据图已按此叠加层反算过 */
.tp-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 60, 255, 0.2) 0%, rgba(6, 60, 255, 0.2) 35%, rgba(6, 60, 255, 0) 60%);
  pointer-events: none;
}
.tp-banner__inner {
  position: relative;
  height: 100%;
  padding-top: 31px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}
.tp-banner__title {
  font-family: var(--tp-font-head);
  font-weight: 800;
  font-size: 36px;
  line-height: 45px;
}
.tp-banner__desc {
  margin-top: 12px;
  font-family: var(--tp-font-body);
  font-size: 16px;
  line-height: 24px;
}
.tp-banner__tags {
  margin-top: 14px;
  padding: 10px 15px;
  font-family: var(--tp-font-head);
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}
.tp-banner__pager {
  position: absolute;
  right: var(--container-padding);
  bottom: 42px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.tp-banner__pager[hidden] {
  display: none;
}
.tp-banner__progress {
  position: relative;
  width: 180px;
  height: 2px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
}
.tp-banner__progress-bar {
  position: absolute;
  top: -0.5px;
  left: 0;
  height: 3px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.52);
  transition: left 0.5s ease;
}
.tp-banner__count {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 58px;
  height: 38px;
  padding-top: 6px;
  font-family: var(--tp-font-head);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
.tp-banner__count::after {
  content: '';
  position: absolute;
  left: 17px;
  bottom: 3px;
  width: 22px;
  height: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.32);
}
.tp-banner__current {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}
.tp-banner__total {
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.58);
}
/* --- 三大卖点（压住 Banner 底边） --- */
.tp-points-wrap {
  position: relative;
  z-index: 2;
  margin-top: -21px;
}
.tp-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  min-height: 110px;
  padding: 21px 20px 18px;
  background: #fff;
  border: 1px solid rgba(26, 28, 30, 0.15);
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(5, 14, 30, 0.15);
}
.tp-points__item {
  position: relative;
  min-height: 60px;
  padding-left: 35px;
}
.tp-points__item + .tp-points__item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -20px;
  height: 70px;
  border-left: 1px solid rgba(26, 28, 30, 0.15);
}
.tp-points__no {
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--tp-font-head);
  font-weight: 700;
  font-size: 68px;
  line-height: 86px;
  color: rgba(6, 60, 255, 0.1);
  pointer-events: none;
}
.tp-points__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
}
.tp-points__text {
  position: relative;
  font-family: var(--tp-font-body);
  font-size: 14px;
  line-height: 1.4;
  color: #6a7683;
}
/* --- 产品图集 + 参数 --- */
.tp-product {
  padding: 50px 0;
}
.tp-product__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tp-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid #d9dee6;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.tp-gallery__main > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tp-gallery__arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  border: 1px solid #d9dee6;
  background: rgba(255, 255, 255, 0.5);
  color: var(--tp-orange);
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.tp-gallery__arrow:hover {
  background: rgba(255, 255, 255, 0.85);
}
.tp-gallery__arrow:disabled {
  color: #999;
  cursor: default;
  background: rgba(255, 255, 255, 0.5);
}
.tp-gallery__arrow--prev {
  left: 20px;
}
.tp-gallery__arrow--next {
  right: 20px;
}
.tp-gallery__arrow[hidden] {
  display: none;
}
.tp-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.tp-gallery__thumb {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #d9dee6;
  border-radius: 12px;
  background: #f8f8f8;
  box-shadow: 0 1px 39px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.tp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-gallery__thumb:hover,
.tp-gallery__thumb--active {
  border: 2px solid var(--tp-orange);
}
.tp-info__title {
  margin-top: 10px;
  font-family: var(--tp-font-body);
  font-weight: 700;
  font-size: 36px;
  line-height: 47px;
  color: var(--tp-text);
  text-transform: uppercase;
}
.tp-table--params {
  margin-top: 20px;
}
.tp-info__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.tp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 68px;
  border-radius: 20px;
  font-family: var(--tp-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}
.tp-btn img {
  width: 20px;
  height: 20px;
}
.tp-btn--quote {
  color: #fff;
  background: linear-gradient(90deg, #ff9860 0%, var(--tp-orange) 100%);
}
.tp-btn--quote:hover {
  opacity: 0.9;
}
.tp-btn--sample {
  color: var(--tp-text);
  background: #fff;
  border: 2px solid var(--tp-text);
}
.tp-btn--sample:hover {
  background: #f5f7fa;
}
.tp-info__links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
}
.tp-info__links::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  height: 32px;
  border-left: 1px solid var(--tp-line);
  transform: translateY(-50%);
}
.tp-info__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 62px;
  font-family: var(--tp-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--tp-text);
}
.tp-info__link img {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}
.tp-info__link:hover {
  color: var(--tp-blue);
}
.tp-info__link:hover img {
  transform: translateX(3px);
}
.tp-info__tags {
  margin-top: 30px;
  font-family: var(--tp-font-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #666;
}
/* --- 表格（编辑器字段输出的 table） --- */
.tp-table {
  overflow-x: auto;
}
.tp-table table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--tp-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  font-family: var(--tp-font-body);
}
.tp-table th,
.tp-table td {
  padding: 24px 20px;
  border-top: 1px solid var(--tp-line);
  border-left: 1px solid var(--tp-line);
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: var(--tp-text);
  text-align: left;
  vertical-align: middle;
}
.tp-table tr:first-child > th,
.tp-table tr:first-child > td {
  border-top: none;
}
.tp-table th:first-child,
.tp-table td:first-child {
  padding-left: 30px;
  border-left: none;
}
.tp-table th {
  height: 46px;
  padding-top: 13px;
  padding-bottom: 13px;
  background: #fafafa;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #9fa3b2;
  white-space: nowrap;
}
/* 表头行占第 1 行，数据行自第 2 行起隔行灰底 */
.tp-table tr:nth-child(odd) > td {
  background: #fafafa;
}
.tp-table td p,
.tp-table th p {
  margin: 0;
}
.tp-table--matrix table {
  min-width: 560px;
}
.tp-table--matrix td:first-child {
  width: 16%;
  font-size: 14px;
}
.tp-table--spec table {
  min-width: 480px;
}
.tp-table--spec td {
  height: 100px;
  padding: 20px 30px;
}
.tp-table--spec tr > td:first-child {
  width: 152px;
  background: #f2f4f8;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #666;
}
/* 参数表无表头、无隔行底色，选择器需压过上方的隔行规则 */
.tp-table--params tr:nth-child(n) > td {
  height: 72px;
  padding: 10px 30px;
  background: #fff;
  font-size: 18px;
}
.tp-table--params tr:nth-child(n) > td:first-child {
  width: 218px;
  background: #fafafa;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #666;
}
/* --- 正文区（右侧 sticky 询价表单） --- */
.tp-body {
  position: relative;
  display: flex;
  flex-direction: column;
}
.tp-aside-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.tp-aside {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(var(--container-padding) + var(--tp-aside-shift));
  width: var(--tp-aside-w);
  padding: 50px 0;
}
.tp-aside__sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  pointer-events: auto;
}
.tp-inquiry {
  padding: 31px 30px 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.1);
}
.tp-inquiry__title {
  font-family: var(--tp-font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: var(--tp-text);
}
.tp-inquiry__desc {
  margin-top: 12px;
  font-family: var(--tp-font-body);
  font-size: 12px;
  line-height: 16px;
  color: #666;
  text-transform: uppercase;
}
.tp-form {
  margin-top: 23px;
  font-family: var(--tp-font-body);
}
/* 字段间距 26px 同时作为错误提示的占位，出错时不推挤布局 */
.tp-form__field {
  position: relative;
  padding-bottom: 26px;
}
.tp-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 17px;
  color: var(--tp-text);
}
.tp-form__input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 15px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--tp-text);
  background: #f9f8f8;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}
.tp-form__input::placeholder {
  font-weight: 400;
  color: #999;
}
.tp-form__textarea {
  height: 80px;
  padding: 12px 15px;
  line-height: 18px;
  resize: none;
}
.tp-form__input:focus {
  color: var(--tp-blue);
  background: #fff;
  border-color: var(--tp-blue);
  box-shadow: 0 1px 12px rgba(27, 108, 247, 0.36);
}
.tp-form__field--error .tp-form__input {
  color: #f43f3f;
  background: #fff;
  border-color: #f43f3f;
  box-shadow: none;
}
.tp-form__field--error .tp-form__input::placeholder {
  color: #f43f3f;
}
.tp-form__error {
  position: absolute;
  left: 15px;
  bottom: 4px;
  display: none;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 6px 0 5px;
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  color: #f43f3f;
  background: rgba(244, 63, 63, 0.15);
}
.tp-form__error::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url(../assets/icons/topic_warn.png) center / contain no-repeat;
}
.tp-form__field--error .tp-form__error {
  display: inline-flex;
}
.tp-form__submit {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 4px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  background: var(--tp-blue);
  transition: background var(--transition-fast);
}
.tp-form__submit:hover {
  background: var(--color-accent-hover);
}
.tp-form__submit:disabled {
  cursor: not-allowed;
  background: rgba(51, 51, 51, 0.22);
}
/* --- 通用区块 --- */
.tp-sec {
  padding: 55px 0 50px;
  background: #fff;
}
.tp-sec--soft {
  background: #f5f7fa;
}
.tp-sec--grey {
  background: #f9f9f9;
}
.tp-sec--blue {
  background: #e6e9f4;
}
.tp-sec--last {
  padding-bottom: 90px;
}
/* 首屏表单完整落在介绍区内（设计稿介绍区高 612px） */
.tp-sec--intro {
  min-height: 612px;
}
.tp-intro {
  margin-top: 26px;
}
.tp-sec__main {
  width: calc(100% - var(--tp-aside-w) - var(--tp-aside-shift) - var(--tp-aside-gap));
}
.tp-block + .tp-block {
  margin-top: 50px;
}
.tp-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 350px;
  margin-bottom: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid #d3d6e4;
  font-family: var(--tp-font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: var(--color-primary);
  text-transform: uppercase;
}
.tp-heading--fit {
  min-width: 0;
}
.tp-heading--light {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.38);
}
.tp-heading__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--tp-blue);
}
.tp-heading--light .tp-heading__icon {
  background: #fff;
}
.tp-heading__icon img {
  width: 20px;
  height: 20px;
}
.tp-text {
  font-family: var(--tp-font-body);
  font-size: 16px;
  line-height: 28px;
  color: var(--tp-text);
  text-align: justify;
}
.tp-text--left {
  text-align: left;
}
.tp-richtext p + p {
  margin-top: 28px;
}
.tp-richtext img {
  max-width: 100%;
  height: auto;
}
.tp-bleed {
  width: calc(100% + var(--tp-bleed));
  margin-left: calc(var(--tp-bleed) * -1);
}
/* --- 应用领域图组：每 5 张一组，上 3 竖图下 2 横图 --- */
.tp-apps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.tp-apps__item,
.tp-factory__item {
  border: 1px solid #d9dee6;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.tp-apps__item img,
.tp-factory__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-apps__item:nth-child(5n + 1),
.tp-apps__item:nth-child(5n + 2),
.tp-apps__item:nth-child(5n + 3) {
  grid-column: span 2;
  aspect-ratio: 284 / 360;
}
.tp-apps__item:nth-child(5n + 4),
.tp-apps__item:nth-child(5n) {
  grid-column: span 3;
  aspect-ratio: 436 / 256;
}
.tp-factory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.tp-factory__item {
  aspect-ratio: 400 / 256;
}
/* --- 生产流程：4+3 蛇形 --- */
.tp-steps {
  --tp-step-gap: 53px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--tp-step-gap);
  row-gap: 60px;
}
.tp-steps__item {
  position: relative;
  min-height: 110px;
  padding: 5px;
  border: 1px solid #fff;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}
.tp-steps__item:nth-child(1) {
  grid-area: 1 / 1;
}
.tp-steps__item:nth-child(2) {
  grid-area: 1 / 2;
}
.tp-steps__item:nth-child(3) {
  grid-area: 1 / 3;
}
.tp-steps__item:nth-child(4) {
  grid-area: 1 / 4;
}
.tp-steps__item:nth-child(5) {
  grid-area: 2 / 4;
}
.tp-steps__item:nth-child(6) {
  grid-area: 2 / 3;
}
.tp-steps__item:nth-child(7) {
  grid-area: 2 / 2;
}
/* 箭头：1~3 向右，4 向下，5~6 向左 */
.tp-steps__item:nth-child(-n + 6)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + (var(--tp-step-gap) - 24px) / 2);
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: url(../assets/icons/topic_flow_arrow.png) center / contain no-repeat;
}
.tp-steps__item:nth-child(4)::after {
  top: calc(100% + 18px);
  left: 50%;
  margin: 0 0 0 -12px;
  transform: rotate(90deg);
}
.tp-steps__item:nth-child(5)::after,
.tp-steps__item:nth-child(6)::after {
  left: auto;
  right: calc(100% + (var(--tp-step-gap) - 24px) / 2);
  transform: rotate(180deg);
}
.tp-steps__head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 5px;
  border-radius: 16px;
  background: rgba(6, 60, 255, 0.06);
  font-family: var(--tp-font-body);
  font-size: 14px;
  line-height: 20px;
  color: rgba(6, 60, 255, 0.35);
}
.tp-steps__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--tp-blue);
  font-family: var(--tp-font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: #fff;
}
.tp-steps__name {
  padding: 8px 10px 6px;
  font-family: var(--tp-font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--tp-text);
}
/* --- 质量控制 QC --- */
.tp-qc {
  position: relative;
  padding: 40px 30px;
  border: 1px solid #d9dee6;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a5fe6 0%, #6f8ef7 100%);
  isolation: isolate;
}
.tp-block + .tp-qc {
  margin-top: 50px;
}
.tp-qc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.tp-qc__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px);
  transform: scale(1.15);
}
.tp-qc__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 60, 255, 0.38);
}
.tp-qc__path {
  display: none;
}
.tp-qc__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tp-qc__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.tp-qc__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  margin: -6px 0 16px -6px;
  padding: 0 10px;
  border: 1px solid rgba(6, 60, 255, 0.05);
  border-radius: 12px;
  background: #fff;
  font-family: var(--tp-font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: rgba(6, 60, 255, 0.26);
  white-space: nowrap;
}
.tp-qc__badge b {
  font-family: var(--tp-font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: var(--tp-blue);
}
.tp-qc__name {
  align-self: stretch;
  padding: 11px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  font-family: var(--tp-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--tp-text);
}
/* --- FAQ --- */
.tp-faq {
  font-family: var(--tp-font-body);
}
.tp-faq h3,
.tp-faq h4 {
  margin-top: 32px;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--tp-blue);
}
.tp-faq > :first-child {
  margin-top: 0;
}
.tp-faq p {
  margin-top: 1px;
  font-size: 16px;
  line-height: 28px;
  color: var(--tp-text);
  text-align: justify;
}
/* ======================== */
/* 响应式                   */
/* ======================== */
/* 宽屏：QC 按设计稿 900x636 画布绝对定位成环形流程（≥1600 时卡片宽度才能保证 900） */
@media (min-width: 1600px) {
  .tp-qc {
    min-height: 636px;
    padding: 50px 0 0 80px;
  }
  .tp-qc__flow {
    position: absolute;
    inset: 0;
  }
  .tp-qc__path {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  .tp-qc__list {
    display: block;
  }
  .tp-qc__stage {
    position: absolute;
    min-width: 120px;
  }
  .tp-qc__name {
    white-space: nowrap;
  }
  /* 1/3/5 阶段：名称在上、编号贴左下；2/4/6 反之 */
  .tp-qc__stage--1,
  .tp-qc__stage--3,
  .tp-qc__stage--5 {
    flex-direction: column-reverse;
  }
  .tp-qc__stage--1 .tp-qc__badge,
  .tp-qc__stage--3 .tp-qc__badge,
  .tp-qc__stage--5 .tp-qc__badge {
    margin: 16px 0 -6px -6px;
  }
  .tp-qc__stage--1 {
    top: 118px;
    left: 80px;
  }
  .tp-qc__stage--2 {
    top: 240px;
    left: 265px;
  }
  .tp-qc__stage--3 {
    top: 118px;
    left: 479px;
  }
  .tp-qc__stage--4 {
    top: 490px;
    left: 666px;
  }
  .tp-qc__stage--5 {
    top: 366px;
    left: 395px;
  }
  .tp-qc__stage--6 {
    top: 490px;
    left: 145px;
  }
}
@media (max-width: 1599px) {
  :root {
    --tp-aside-w: 420px;
    --tp-aside-shift: 50px;
  }
}
/* 窄屏：表单取消 sticky，回落到正文之后 */
@media (max-width: 1199px) {
  .tp-aside-wrap {
    position: static;
    order: 1;
    padding-top: 50px;
    padding-bottom: 60px;
    background: #f5f7fa;
    pointer-events: auto;
  }
  .tp-aside {
    position: static;
    width: auto;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
  }
  .tp-aside__sticky {
    position: static;
  }
  .tp-sec__main {
    width: 100%;
  }
  .tp-sec--last {
    padding-bottom: 50px;
  }
  .tp-sec--intro {
    min-height: 0;
  }
  .tp-intro {
    margin-top: 0;
  }
  .tp-steps {
    --tp-step-gap: 40px;
  }
}
@media (max-width: 991px) {
  .tp-product__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .tp-gallery {
    max-width: 640px;
  }
  .tp-points {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .tp-points__item + .tp-points__item::before {
    top: -10px;
    left: 0;
    right: 0;
    height: 0;
    border-left: none;
    border-top: 1px solid rgba(26, 28, 30, 0.15);
  }
  .tp-qc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tp-head .tp-container {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .tp-head__title {
    font-size: 26px;
    line-height: 34px;
  }
  .tp-head__subtitle {
    font-size: 14px;
  }
  .tp-banner {
    height: auto;
    min-height: 300px;
  }
  .tp-banner__inner {
    min-height: 300px;
    padding-top: 36px;
    padding-bottom: 96px;
  }
  .tp-banner__title {
    font-size: 26px;
    line-height: 34px;
  }
  .tp-banner__desc {
    font-size: 14px;
    line-height: 21px;
  }
  .tp-banner__tags {
    font-size: 14px;
    line-height: 20px;
    padding: 8px 12px;
  }
  .tp-banner__pager {
    bottom: 36px;
  }
  .tp-banner__progress {
    width: 100px;
  }
  .tp-product {
    padding: 40px 0;
  }
  .tp-gallery__arrow {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .tp-gallery__arrow svg {
    width: 24px;
    height: 24px;
  }
  .tp-gallery__arrow--prev {
    left: 10px;
  }
  .tp-gallery__arrow--next {
    right: 10px;
  }
  .tp-info__title {
    font-size: 26px;
    line-height: 34px;
  }
  .tp-btn {
    height: 56px;
    border-radius: 16px;
  }
  .tp-info__actions {
    gap: 12px;
  }
  .tp-table--params tr:nth-child(n) > td {
    padding: 10px 16px;
    font-size: 16px;
  }
  .tp-table--params tr:nth-child(n) > td:first-child {
    width: 120px;
    font-size: 14px;
  }
  .tp-sec {
    padding: 40px 0;
  }
  .tp-heading {
    min-width: 0;
    font-size: 18px;
    line-height: 22px;
  }
  .tp-text,
  .tp-faq p {
    text-align: left;
  }
  .tp-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tp-apps__item:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .tp-factory {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .tp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tp-steps__item:nth-child(n) {
    grid-area: auto;
  }
  .tp-steps__item:nth-child(n)::after {
    display: none;
  }
  .tp-qc {
    padding: 30px 16px;
  }
  .tp-qc__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-inquiry {
    padding: 24px 18px;
  }
}
