/* ==================== 内页40 - 板块一 Start ==================== */
.ny40-section1 {
  padding-bottom: 8.75vw;
}
.ny40-section1 .head {
  padding-top: 1.25vw;
  margin-bottom: 4.688vw;
}
.ny40-section1 .head .text1 {
  font-size: 2vw;
  line-height: 1.1;
  color: #000000;
}
.ny40-section1 .head .text2 {
  margin-top: 0.938vw;
  font-size: 1vw;
  color: #999999;
  line-height: 1.1;
}
.ny40-section1 .head .text2 a {
  color: #4cb848;
  line-height: 1.1;
}
.ny40-section1 .head .text2 a:hover {
  text-decoration: underline;
}
.ny40-section1 table {
  width: 100%;
}
.ny40-section1 table thead {
  border-bottom: 2px solid #f0f0f0;
}
.ny40-section1 table thead th {
  font-weight: 400;
  font-size: 0.875vw;
  color: #777777;
  padding: 1.25vw;
  white-space: nowrap;
}
.ny40-section1 table tr {
  border-bottom: 1px solid #f0f0f0;
}
.ny40-section1 table td {
  padding-top: 1.875vw;
  padding-bottom: 1.875vw;
  font-size: 1vw;
  color: #666666;
}
.ny40-section1 table td:nth-child(1) {
  width: 2.5vw;
}
.ny40-section1 table td:nth-child(1) .layui-form-checked[lay-skin="primary"] > i {
  border-color: #4cb848 !important;
  background-color: #4cb848;
}
.ny40-section1 table td:nth-child(1) .layui-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5vw;
  height: 1.5vw;
}
.ny40-section1 table td:nth-child(2) {
  width: 13.75vw;
  padding-right: 3.75vw;
  padding-left: 2.5vw;
}
.ny40-section1 table td:nth-child(3) .text1 {
  font-size: 1.25vw;
  color: #000000;
  line-height: 1.1;
}
.ny40-section1 table td:nth-child(3) .text2 {
  margin-top: 0.625vw;
  color: #aaaaaa;
  font-size: 0.875vw;
  line-height: 2.2;
}
.ny40-section1 table td:nth-child(4) {
  text-align: center;
}
.ny40-section1 table td:nth-child(5) {
  text-align: center;
}
.ny40-section1 table td:nth-child(5) .number-input {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 2vw;
}
.ny40-section1 table td:nth-child(5) .number-input input {
  display: block;
  width: 2.875vw;
  height: 100%;
  border: solid 1px #e9e9e9;
  text-align: center;
  padding-left: 0.313vw;
  padding-right: 0.313vw;
  -moz-appearance: textfield;
  font-size: 1vw;
}
.ny40-section1 table td:nth-child(5) .number-input input::-webkit-outer-spin-button,
.ny40-section1 table td:nth-child(5) .number-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ny40-section1 table td:nth-child(5) .number-input .btn {
  width: 2vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.875vw;
  background-color: #f8f8f8;
  border-radius: 0.188vw;
  border: solid 1px #e9e9e9;
  cursor: pointer;
}
.ny40-section1 table td:nth-child(6) {
  text-align: center;
}
.ny40-section1 table td:nth-child(7) .del-icon {
  width: 2.5vw;
  height: 2.5vw;
  border-radius: 100%;
  font-size: 1.625vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  background-color: transparent;
  cursor: pointer;
}
.ny40-section1 table td:nth-child(7) .del-icon:hover {
  background-color: #efefef;
}
.ny40-section1 .summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 1.875vw;
  padding-bottom: 2.5vw;
  border-bottom: 1px solid #f0f0f0;
}
.ny40-section1 .summary .left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.ny40-section1 .summary .left .icon {
  font-size: 1.875vw;
  color: #000;
  margin-right: 0.875vw;
  margin-top: 0.613vw;
}
.ny40-section1 .summary .left .info .top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ny40-section1 .summary .left .info .layui-form-select input {
  height: 2.5vw;
}
.ny40-section1 .summary .left .info .layui-form-select dl dd {
  font-size: 1vw;
}
.ny40-section1 .summary .left .info .layui-form-select .layui-input {
  font-size: 1vw;
}
.ny40-section1 .summary .left .info .text1 {
  font-size: 1vw;
  margin-right: 1.25vw;
}
.ny40-section1 .summary .left .info .text2 {
  margin-top: 0.625vw;
  font-size: 0.875vw;
  color: #aaaaaa;
  line-height: 1.1;
}
.ny40-section1 .summary .right {
  text-align: right;
}
.ny40-section1 .summary .right .text1 {
  color: #666666;
  font-size: 1vw;
  line-height: 1.8;
}
.ny40-section1 .summary .right .text2 {
  color: #666666;
  font-size: 1vw;
  line-height: 1.8;
}
.ny40-section1 .summary .right .text3 {
  margin-top: 1.25vw;
  font-size: 1.5vw;
  color: #222222;
  line-height: 1.1;
}
.ny40-section1 .summary .right .text4 {
  font-size: 0.875vw;
  color: #999999;
  line-height: 1.1;
  margin-top: 1.25vw;
}
.ny40-section1 .submit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.125vw;
}

/* 2025-7-14 修改 */
.ny40-section1 .submit-box .btn {
  /* padding: 0.938vw 3.125vw; */
  padding: 0.938vw 1.125vw;
  border-radius: 6.25vw;
  overflow: hidden;
  color: #333333;
  font-size: 1vw;
  /* min-width: 10.625vw; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}
.ny40-section1 .submit-box .btn2 {
  background-color: #4cb848;
  color: #fff;
}
.ny40-section1 .empty .image {
  width: 28.75vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5.625vw;
}
.ny40-section1 .empty .tip {
  font-size: 1vw;
  line-height: 1.1;
  color: #a3a3a3;
  text-align: center;
}
.ny40-section1 .empty .tip a {
  color: #4cb848;
  text-decoration: underline;
}
.ny40-section1 .empty .tip a:hover {
  color: #4cb848;
}
@media screen and (min-width: 1600px) {
  .ny40-section1 {
    padding-bottom: 140px;
  }
  .ny40-section1 .head {
    padding-top: 20px;
    margin-bottom: 75px;
  }
  .ny40-section1 .head .text1 {
    font-size: 32px;
  }
  .ny40-section1 .head .text2 {
    margin-top: 15px;
    font-size: 16px;
  }
  .ny40-section1 table thead th {
    font-size: 14px;
    padding: 20px;
  }
  .ny40-section1 table td {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 16px;
  }
  .ny40-section1 table td:nth-child(1) {
    width: 40px;
  }
  .ny40-section1 table td:nth-child(1) .layui-icon {
    width: 24px;
    height: 24px;
  }
  .ny40-section1 table td:nth-child(2) {
    width: 220px;
    padding-right: 60px;
    padding-left: 40px;
  }
  .ny40-section1 table td:nth-child(3) .text1 {
    font-size: 20px;
  }
  .ny40-section1 table td:nth-child(3) .text2 {
    margin-top: 10px;
    font-size: 14px;
  }
  .ny40-section1 table td:nth-child(5) .number-input {
    height: 32px;
  }
  .ny40-section1 table td:nth-child(5) .number-input input {
    width: 46px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px;
  }
  .ny40-section1 table td:nth-child(5) .number-input .btn {
    width: 32px;
    font-size: 14px;
    border-radius: 3.008px;
  }
  .ny40-section1 table td:nth-child(7) .del-icon {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  .ny40-section1 .summary {
    margin-top: 30px;
    padding-bottom: 40px;
  }
  .ny40-section1 .summary .left .icon {
    font-size: 30px;
    margin-right: 14px;
    margin-top: 10px;
  }
  .ny40-section1 .summary .left .info .layui-form-select input {
    height: 40px;
  }
  .ny40-section1 .summary .left .info .layui-form-select dl dd {
    font-size: 16px;
  }
  .ny40-section1 .summary .left .info .layui-form-select .layui-input {
    font-size: 16px;
  }
  .ny40-section1 .summary .left .info .text1 {
    font-size: 16px;
    margin-right: 20px;
  }
  .ny40-section1 .summary .left .info .text2 {
    margin-top: 10px;
    font-size: 14px;
  }
  .ny40-section1 .summary .right .text1 {
    font-size: 16px;
  }
  .ny40-section1 .summary .right .text2 {
    font-size: 16px;
  }
  .ny40-section1 .summary .right .text3 {
    margin-top: 20px;
    font-size: 24px;
  }
  .ny40-section1 .summary .right .text4 {
    font-size: 14px;
    margin-top: 20px;
  }
  .ny40-section1 .submit-box {
    margin-top: 50px;
  }
  .ny40-section1 .submit-box .btn {
    padding: 15px 20px;
    border-radius: 100px;
    font-size: 16px;
    min-width: 108px;
  }
  .ny40-section1 .empty .image {
    width: 460px;
    margin-bottom: 90px;
  }
  .ny40-section1 .empty .tip {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .ny40-section1 {
    padding-bottom: 70px;
  }
  .ny40-section1 .head {
    padding-top: 10px;
    margin-bottom: 38px;
  }
  .ny40-section1 .head .text1 {
    font-size: 16px;
  }
  .ny40-section1 .head .text2 {
    margin-top: 10px;
    font-size: 14px;
  }
  .ny40-section1 table {
    display: block;
    overflow: auto;
    width: 100%;
  }
  .ny40-section1 table thead th {
    font-size: 14px;
    padding: 10px;
  }
  .ny40-section1 table td {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 15px;
    font-size: 14px;
  }
  .ny40-section1 table td:nth-child(1) {
    width: 30px;
  }
  .ny40-section1 table td:nth-child(1) .layui-form-checkbox {
    width: 30px;
    height: 30px;
  }
  .ny40-section1 table td:nth-child(1) .layui-icon {
    width: 16px;
    height: 16px;
  }
  .ny40-section1 table td:nth-child(2) {
    padding-right: 15px;
    padding-left: 10px;
  }
  .ny40-section1 table td:nth-child(2) .image {
    width: 70px;
  }
  .ny40-section1 table td:nth-child(3) .text1 {
    font-size: 14px;
    line-height: 1.4;
    width: 200px;
  }
  .ny40-section1 table td:nth-child(3) .text2 {
    margin-top: 10px;
    font-size: 12px;
  }
  .ny40-section1 table td:nth-child(4) {
    font-size: 14px;
    white-space: nowrap;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ny40-section1 table td:nth-child(5) .number-input {
    height: 30px;
  }
  .ny40-section1 table td:nth-child(5) .number-input input {
    width: 40px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
    border-radius: 0;
  }
  .ny40-section1 table td:nth-child(5) .number-input .btn {
    width: 30px;
    font-size: 12px;
    border-radius: 5px;
  }
  .ny40-section1 table td:nth-child(6) {
    font-size: 14px;
    white-space: nowrap;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ny40-section1 table td:nth-child(7) .del-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .ny40-section1 .summary {
    margin-top: 15px;
    padding-bottom: 20px;
    display: block;
  }
  .ny40-section1 .summary .left .icon {
    font-size: 30px;
    margin-right: 7px;
    margin-top: 5px;
  }
  .ny40-section1 .summary .left .info {
    min-width: 0;
    flex-grow: 1;
  }
  .ny40-section1 .summary .left .info .layui-form-select input {
    height: 40px;
  }
  .ny40-section1 .summary .left .info .layui-form-select {
    min-width: 0;
    flex-grow: 1;
  }
  .ny40-section1 .summary .left .info .layui-form-select dl dd {
    font-size: 14px;
  }
  .ny40-section1 .summary .left .info .layui-form-select .layui-input {
    font-size: 14px;
  }
  .ny40-section1 .summary .left .info .text1 {
    font-size: 14px;
    margin-right: 20px;
  }
  .ny40-section1 .summary .left .info .text2 {
    margin-top: 20px;
    font-size: 14px;
  }
  .ny40-section1 .summary .right {
    margin-top: 30px;
  }
  .ny40-section1 .summary .right .text1 {
    font-size: 14px;
  }
  .ny40-section1 .summary .right .text2 {
    font-size: 14px;
  }
  .ny40-section1 .summary .right .text3 {
    margin-top: 20px;
    font-size: 12px;
  }
  .ny40-section1 .summary .right .text4 {
    font-size: 14px;
    margin-top: 20px;
  }
  .ny40-section1 .submit-box {
    margin-top: 25px;
  }
  .ny40-section1 .submit-box .btn {
    padding: 14px 10px;
    border-radius: 50px;
    font-size: 14px;
    min-width: 85px;
    width: 49%;
  }
  .ny40-section1 .empty .image {
    width: 100%;
    margin-bottom: 90px;
  }
  .ny40-section1 .empty .tip {
    font-size: 14px;
  }
}
/* ==================== 内页40 - 板块一 End ==================== */
/* ==================== 内页40 - 板块二 Start ==================== */
/* ==================== 内页40 - 板块二 End ==================== */
/* ==================== 内页40 - 板块三 Start ==================== */
/* ==================== 内页40 - 板块三 End ==================== */
/* ==================== 内页40 - 板块四 Start ==================== */
/* ==================== 内页40 - 板块四 End ==================== */
/* ==================== 内页40 - 板块五 Start ==================== */
/* ==================== 内页40 - 板块五 End ==================== */
/* ==================== 内页40 - 板块六 Start ==================== */
/* ==================== 内页40 - 板块六 End ==================== */
/* ==================== 内页40 - 板块七 Start ==================== */
/* ==================== 内页40 - 板块七 End ==================== */
/* ==================== 内页40 - 板块八 Start ==================== */
/* ==================== 内页40 - 板块八 End ==================== */

.select {
  height: 50px;
  width: 200px;
  margin-left: 20px;
  line-height: 1.3;
  line-height: 50px\9;
  border-width: 1px;
  border-style: solid;
  background-color: #fff;
  color: #666;
  border-radius: 2px;
  border: none;
}

/* 2025-5-13 购物车页面 */
.edit-card-discount {
  min-width: 372px;
  max-width: 450px;
  overflow-wrap: break-word;
  margin-bottom: 20px;
}

.edit-card-discount .line1 {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.edit-card-discount .line1 .subtit {
  font-size: var(--font18);
  font-weight: 500;
  color: #000000;
  letter-spacing: -0.9px;
  margin-right: max(0.27rem, 10px);
}

.edit-card-discount .line1 .t1 {
  flex: 1;
  position: relative;
  min-width: 0;
}

.edit-card-discount .line1 .t1 input[name="discount_code"] {
  display: block;
  /* width: 289px; */
  width: 100%;
  height: 46px;
  background: #fcfcfc;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  font-size: var(--font14);
  font-weight: 400;
  letter-spacing: -0.7px;
  padding-left: 12px;
  padding-right: 70px;
  color: #000;
}

.edit-card-discount .line1 .t1 input[name="discount_code"]:focus {
  border-color: var(--color-active);
}

.edit-card-discount .line1 .t1 input[name="discount_code"]::placeholder {
  color: #b5b5b5;
}

.edit-card-discount .line1 .t1 input.btn {
  width: 63px;
  height: 40px;
  background: #4cb848;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2px;
  user-select: none;
  cursor: pointer;
}

.edit-card-discount .add-line {
  font-size: var(--font14, 14px);
  font-weight: 400;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.edit-card-discount .add-line .text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.edit-card-discount .add-line .text span {
  overflow-wrap: break-word;
  margin-right: max(0.15rem, 10px);
}

.edit-card-discount .add-line .text span.nowrap {
  white-space: nowrap;
}

.edit-card-discount .add-line .text span:last-child {
  margin-right: 0;
}

.edit-card-discount .add-line button {
  width: 63px;
  height: 40px;
  background: #f7a13c;
  border-radius: 10px;
  font-size: var(--font16);
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  user-select: none;
  cursor: pointer;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .edit-card-discount {
    width: 100%;
    max-width: none;
    min-width: auto;
  }
}
