/* Naxel Shapes Table - 形状参数表格样式 */

/* === 外层容器 === */
.nst-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

/* === 行布局 === */
.nst-header-row,
.nst-data-row {
  display: flex;
  align-items: stretch;
}

.nst-header-row {
  background: #EEEEF0;
  min-height: 68px;
}

/* === 登场动效 === */
.nst-data-row {
  border-top: 1px solid #ebebeb;
  min-height: 205px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.nst-data-row.nst-animate {
  opacity: 1;
  transform: translateY(0);
}

/* === 主内容区（Shape 列 + 中间列）=== */
.nst-row-main {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* === Shape 列 === */
.nst-col-shape {
  width: 220px;
  flex-shrink: 0;
  padding: 24px 16px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.nst-header-row .nst-col-shape {
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  padding: 0 16px 0 36px;
}

.nst-shape-name {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 140%;
}

.nst-shape-img-wrap {
  width: 160px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-shrink: 0;
}

.nst-shape-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* === 中间数据列区域 === */
.nst-cols-data {
  flex: 1;
  display: flex;
  min-width: 0;
  gap: 12px;
  padding-right: 24px;
}

.nst-col-data {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 16px;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
}

.nst-header-row .nst-col-data {
  font-weight: 500;
  color: #6E6E6E;
  padding: 0 16px;
}

/* Working Temp. 列收窄 */
.nst-cols-data .nst-col-data:nth-child(3) {
    width: 150px;
}

/* Core Selection Logic 列加宽 */
.nst-cols-data .nst-col-data:last-child {
  width: 260px;
}

/* Typical Applications 列 */
.nst-col-apps {
  align-items: center;
}


/* 应用场景列表 */
.nst-col-apps ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nst-col-apps ul li {
  font-size: 14px;
  color: #333;
  line-height: 2;
}

.nst-col-apps ul li::before {
  content: "· ";
  color: #333;
}

/* === 按钮列 === */
.nst-col-action {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 36px;
}

/* View More 按钮 */
.nst-btn-more {
  display: inline-block;
  background: #0E55AC;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nst-btn-more:hover {
  background: #142f80;
  color: #fff;
}

/* ===== 移动端响应式 ===== */
@media (max-width: 767px) {
  .nst-wrap {
    border-radius: 8px;
  }

  /* 表头行高 */
  .nst-header-row {
    min-height: 43px;
  }

  /* 数据行高 */
  .nst-data-row {
    min-height: 180px;
  }

  /* 表头中间列区域：独立横向滚动 */
  .nst-header-row .nst-row-main {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nst-header-row .nst-row-main::-webkit-scrollbar {
    display: none;
  }

  /* 隐藏表头按钮列 */
  .nst-header-row .nst-col-action {
    display: none;
  }

  /* 数据行改为竖排：上方滚动区 + 下方按钮 */
  .nst-data-row {
    flex-direction: column;
    position: relative;
  }

  /* 数据行的主内容区：独立横向滚动 */
  .nst-data-row .nst-row-main {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: center;
  }

  .nst-data-row .nst-row-main::-webkit-scrollbar {
    display: none;
  }

  /* 右侧渐变遮罩：提示还有更多内容 */
  .nst-data-row::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    /* 高度覆盖滚动区域，排除底部按钮区 */
    bottom: 52px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 1;
  }

  /* Shape 列收窄 */
  .nst-col-shape {
    width: 130px;
    flex-shrink: 0;
    padding: 18px 0px 16px 18px;
    gap: 8px;
  }

  .nst-header-row .nst-col-shape {
    width: 126px;
    padding: 0 8px 0 16px;
    font-size: 12px;
  }
  .nst-shape-img-wrap {
  width: 80px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-shrink: 0;
}

  .nst-shape-name {
    font-size: 13px;
  }

  .nst-shape-img {
    width: 70px;
    height: 70px;
  }

  /* 中间列取消自动撑满 */
  .nst-cols-data {
    flex: none;
  }

  /* 每列固定最小宽度 */
  .nst-col-data {
    width: 190px;
    flex-shrink: 0;
    flex: none;
    font-size: 13px;
    padding: 5px;
    align-items: center;
  }

  .nst-header-row .nst-col-data {
    font-size: 13px;
    padding: 0 10px;
    min-width: 130px;
    flex-shrink: 0;
    flex: none;
  }

  /* 应用列表字号 */
  .nst-col-apps ul li {
    font-size: 12px;
    line-height: 1.8;
  }

  /* 按钮沉到行底部，全宽显示 */
  .nst-col-action {
    width: 100%;
    padding: 0 16px 16px;
    justify-content: flex-start;
  }

  .nst-btn-more {
    display: block;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    padding: 8px 12px;
    white-space: normal;
  }
  .nst-data-row {
  border-top: 1px solid #ebebeb;
  min-height: 205px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
}