.add-param {
  background-color: #fff;
}
.add-param .tab-list {
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  /*  2025-4-2 修改 */
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

}
.add-param .tab-list .tab-item {
  position: relative;
  font-size: 16px;
  color: #52525b;
  margin-right: 20px;
  padding-bottom: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.add-param .tab-list .tab-item.active {
  color: #000;
}

.add-param .tab-list .tab-item.active::after {
  background-color: #000;
}
.add-param .tab-list .tab-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: transparent;
  transition: 0.45s ease all;
}

.add-param .tab-list .tab-item:last-of-type {
  margin-right: 0;
}

/* 标题栏目 */
.add-param .title-list {
  display: flex;
  align-items: center;
  border-top: 1px solid #edeff2;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #fff;
  margin-bottom: 35px;
  position: sticky;
  top: 0;
  z-index: 67;
}

.add-param .title-list .title-item {
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  margin-right: max(20px, 1.2vw);
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.add-param .title-list .title-item:last-of-type {
  margin-right: 0;
}

.add-param .title-list .title-item.active {
  color: rgba(0, 0, 0, 1);
}

/* select下拉选择区域 */
.ny7-section1 .add-forms {
  position: sticky;
  top: 0;
  background-color: #fff;
}
/* 表格区域 */
.add-param .table {
  max-width: 100%;
  overflow-x: auto;
}
.add-param .table .tr {
  display: flex;
}

.add-param .table .tr .td:first-of-type {
  color: #000;
}

.add-param .table .tr .td {
  font-size: 14px;
  padding: 20px 10px;
  color: #898a8e;
  line-height: 1.5;
  width: 25%;
  flex-shrink: 0;
  overflow-wrap: break-word;
}

.add-param .table-item {
  margin-top: 45px;
}

.add-param .table-title {
  font-weight: 700;
  font-size: 24px;
  color: #161319;
  border-bottom: 1px solid #edeff2;
  padding: 15px 0;
}
.add-param .tr {
  border-bottom: 1px solid #edeff2;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media (max-width: 576px) {
  .add-param .title-list {
    margin-bottom: 15px;
  }
  .add-param .table-title {
    font-size: 18px;
  }
  .add-param .table .tr .td:first-of-type {
    width: 30%;
  }
  .add-param .table .tr .td {
    width: 50%;
  }
}

/* select 行 */
.info-list.add-forms-list {
  display: flex;
  position: sticky;
  top: 0;
}

.add-forms-list .forms-box:first-of-type {
  margin-left: auto;
}

.add-forms-list .forms-box {
  margin-right: 20px;
  width: 25%;
}

.add-forms-list .forms-box:last-of-type {
  margin-right: 0;
}

/* 下面的item,显示图片和商品信息的 */
.ny7-section1 .add-itembox .item:first-of-type {
  margin-left: auto;
}

.ny7-section1 .add-itembox .item {
  width: 25%;
  margin-right: 20px;
}
.ny7-section1 .add-itembox .item:last-of-type {
  margin-right: 0;
}

.ny7-section1 .add-itembox .item .info {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

/* 立即购买按钮 */
.add-itembox .index-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 91px;
  height: 36px;
  line-height: 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 56px;
  border: none;
  /* background: linear-gradient(144deg, #fe0, #ffd200); */
  background-color: #4cb848;
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.add-itembox .more-btn {
  margin-top: 15px;
  color: #4cb848;
  text-align: center;
}

@media (max-width: 768px) {
  .ny7-section1 .add-forms {
    padding-top: 15px;
    padding-top: 15px;
    margin-top: 0;
    top: 60px;
  }

  .add-forms-list {
    justify-content: space-between;
  }
  .add-forms-list .forms-box:first-of-type {
    margin-left: 0;
  }
  .add-forms-list .forms-box {
    margin-right: 0;
    margin-bottom: 10px;
    width: 33%;
  }

  .ny7-section1 .add-itembox {
    justify-content: space-between;
  }

  .ny7-section1 .add-itembox .item:first-of-type {
    margin-left: 0;
  }

  .ny7-section1 .add-itembox .item {
    margin-right: 0;
  }
}

/* 手机处理方案，只显示两个产品的对比 */
@media (max-width: 576px) {

  .add-param {
    padding-bottom: 0;
  }
  .ny7-section1 .forms .info-list {
    margin-top: 0;
  }
  .add-forms-list .forms-box:nth-of-type(n + 3),
  .ny7-section1 .add-itembox .item:nth-of-type(n + 3) {
    display: none;
  }
  .add-forms-list .forms-box,
  .ny7-section1 .add-itembox .item {
    width: 47.5%;
    flex-shrink: 0;
  }
  /* 表格，不要第四列 */
  .add-param .table .tr .td:nth-of-type(n+4) {
    display: none;
  }


  .add-param .table .tr {
    flex-wrap: wrap;
  }


  .add-param .table .tr .td:first-of-type {
    width: 100%;
    padding: 0;
  }
}
