.main-title {
  color: #171725;
  font-size: 0.28rem;
  margin-bottom: 0.4rem;
}
.search-box {
  margin-top: -0.62rem;
  margin-bottom: 0.1rem;
  text-align: right;
}
.search-box .el-input {
  width: 3.2rem;
}
.search-box .el-input .el-input__inner {
  height: 46px;
  line-height: 46px;
}
.table-name {
  display: flex;
  align-items: center;
}
.goods-name {
  color: #171725;
  font-weight: bold;
  font-size: 0.16rem;
}
.el-link.el-link--primary {
  margin-left: 0.08rem;
  color: #0058ff;
  font-size: 0.14rem;
}
.table-content {
  font-size: 0.14rem;
}
.goods-table {
  margin-top: 0.16rem;
  width: 100%;
  text-align: left;
  border: 1px solid #e6e7eb;
  border-radius: 0.03rem;
  border-collapse: collapse;
}
.goods-table thead {
  line-height: 0.46rem;
  background: #eef4ff;
  height: 0.46rem;
  color: #757575;
}
.goods-table tbody tr td {
  padding-top: 0.29rem;
  padding-bottom: 0.3rem;
}
.description-box {
  width: 5.5rem;
}
.price-box {
  width: 4rem;
}
.total-box {
  min-width: 1.5rem;
}
.num-box {
  width: 2.4rem;
}
.action-box {
  width: 1rem;
}
.delete-btn {
  cursor: pointer;
  font-size: 0.18rem;
  color: #f0142f;
}
.item-price {
  color: #171725;
}
.item-total {
  font-size: 0.14rem;
  font-weight: bold;
  color: #171725;
}
.original-price {
  text-decoration: line-through;
  color: #999999;
}
.discount-codeNumber {
  font-size: 0.12rem;
  font-weight: bold;
  color: #f99600;
}
.remove-discountCode {
  cursor: pointer;
  margin-left: 0.09rem;
}
.shopping-goods {
  margin-bottom: 0.4rem;
}
.goods-box {
  padding-bottom: 1.6rem;
}
.el-footer {
  width: calc(100vw - 160px);
  padding-left: 2.1rem;
  padding-right: 1.2rem;
  box-sizing: border-box;
  font-size: 0.18rem;
  box-shadow: 0rem 0rem 0.2rem rgba(0, 0, 0, 0.15);
  height: 1.6rem !important;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  z-index: 9;
}
.footer-box {
  height: 100%;
  margin: 0 auto;
  max-width: 1500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.no-goods-td {
  display: flex;
  align-items: center;
  width: 4.8rem;
}
.no-goods-tips {
  color: #8692b0;
  font-size: 0.13rem;
  font-weight: 500;
  white-space: nowrap;
}
.buy-again-btn {
  margin-left: 0.1rem;
  background: #e1f0ff;
  height: 0.32rem;
  min-width: 0.6rem;
  border-radius: 0.03rem;
  font-size: 0.14rem;
  font-weight: 400;
  color: #0058ff;
}
.footer-left {
  color: #333333;
  font-size: 0.18rem;
}
.footer-right {
  font-size: 0.14rem;
  color: #1e2736;
  display: flex;
  align-items: center;
}
.total-price {
  font-weight: bold;
  font-size: 0.28rem;
  color: #f0142f;
}
.text-red {
  color: #fcaf55;
}
.goods-info {
  margin-bottom: 0.1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.14rem;
}
.goodsInfo-price {
  color: #1e2736;
}
.goodsInfo-type {
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  width: 80%;
  color: #1e2736;
}
.goodsInfo-name {
  color: #757575;
}
.buy-btn {
  margin-left: 0.4rem;
  width: 2.04rem;
  height: 0.46rem;
  background: #0058ff;
  border-radius: 0.04rem;
  font-size: 0.16rem;
  font-weight: 500;
  color: #ffffff;
}
.delect-btn {
  margin: 0 0.4rem;
}
.mar-left-24 {
  margin-left: 24px;
}
.info-box {
  width: 90%;
}
.all-check .el-checkbox__label {
  color: #333333;
  font-size: 0.18rem;
}
.qty-num {
  color: #4e5259;
  height: 0.13rem;
  margin-top: 0.1rem;
}
.qty-tips {
  margin-top: 0.2rem;
  font-size: 0.13rem;
  color: #3699ff;
}
.red-text {
  color: #f0142f;
}
.discount-box {
  margin-top: 0.08rem;
  font-size: 0.14rem;
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.05rem;
  row-gap: 0.05rem;
}
@media screen and (max-width: 750px) {
  .table-content {
    overflow-x: auto;
  }
  .search-box .el-input {
    width: 4.2rem;
  }
  .description-box {
    min-width: 5.5rem;
  }
  .price-box {
    min-width: 4rem;
  }
  .num-box {
    min-width: 2.5rem;
  }
  .action-box {
    min-width: 1.5rem;
  }
  .el-footer {
    padding: 0 0.3rem;
    width: 100%;
  }
  .el-input .el-input__inner {
    font-size: inherit !important;
  }
  .footer-left {
    display: flex;
    flex-direction: column;
    color: #333333;
    font-size: 0.18rem;
  }
  .delect-btn {
    margin: 0;
  }
  .footer-right {
    font-size: 0.14rem;
    color: #1e2736;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .delect-goods {
    color: #f0142f;
  }
  .buy-btn {
    margin-left: 0;
    margin-top: 0.2rem;
    width: 2.04rem;
    height: 0.46rem;
    background: #0058ff;
    border-radius: 0.04rem;
    font-size: 0.16rem;
    font-weight: 500;
    color: #ffffff;
  }
}

/* Yinxiny-style cart confirmation: keep dynamic config tags and actions aligned. */
body.nq .nq-viewcart .table-content {
  overflow-x: visible !important;
}

body.nq .nq-viewcart .goods-table {
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

body.nq .nq-viewcart .goods-table tbody tr {
  display: grid !important;
  grid-template-columns: minmax(660px, 1fr) 96px 132px 104px 32px !important;
  column-gap: 16px !important;
  align-items: center !important;
}

body.nq .nq-viewcart .goods-table tbody tr > td {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 8px 0 !important;
  vertical-align: middle !important;
}

body.nq .nq-viewcart .goods-table tbody tr > td:first-child {
  align-items: flex-start !important;
  padding-left: 28px !important;
}

body.nq .nq-viewcart .description-box,
body.nq .nq-viewcart .price-box,
body.nq .nq-viewcart .num-box,
body.nq .nq-viewcart .total-box,
body.nq .nq-viewcart .action-box {
  width: auto !important;
  min-width: 0 !important;
}

body.nq .nq-viewcart .info-box {
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  align-items: flex-start !important;
  gap: 10px 8px !important;
  width: 100% !important;
  min-height: 188px !important;
  padding: 52px 44px 34px !important;
  border: 1px solid #edf0f5 !important;
}

body.nq .nq-viewcart-config-tag {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  min-height: 28px !important;
  padding: 5px 8px !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #202937 !important;
  white-space: normal !important;
  background: #f7f9fc !important;
  border-radius: 0 !important;
}

body.nq .nq-viewcart-config-tag .goodsInfo-type {
  display: inline !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  color: #202937 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

body.nq .nq-viewcart-config-tag .goodsInfo-name {
  color: #7b8494 !important;
  white-space: nowrap !important;
}

body.nq .nq-viewcart-config-tag .goodsInfo-val {
  color: #202937 !important;
}

body.nq .nq-viewcart-config-tag .goodsInfo-price {
  flex: 0 0 auto !important;
  margin-left: 8px !important;
  color: #202937 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

body.nq .nq-viewcart .item-price,
body.nq .nq-viewcart .item-total,
body.nq .nq-viewcart .delete-btn {
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.nq .nq-viewcart .item-price {
  color: #f0534f !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  white-space: normal !important;
}

body.nq .nq-viewcart .goods-table .el-input-number {
  width: 96px !important;
  line-height: 32px !important;
}

body.nq .nq-viewcart .goods-table .el-input-number .el-input__inner {
  height: 32px !important;
  line-height: 32px !important;
}

body.nq .nq-viewcart .qty-num,
body.nq .nq-viewcart .qty-tips {
  height: auto !important;
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body.nq .nq-viewcart .item-total {
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  color: #202937 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.nq .nq-viewcart .discount-box {
  justify-content: center !important;
  margin-top: 0 !important;
}

body.nq .nq-viewcart .discount-box .el-button,
body.nq .nq-viewcart .discount-box button {
  min-width: 42px !important;
  height: 30px !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  line-height: 28px !important;
  white-space: normal !important;
  border-radius: 2px !important;
}

body.nq .nq-viewcart .delete-btn {
  color: #8b95a5 !important;
}

@media (max-width: 1500px) {
  body.nq .nq-viewcart .goods-table tbody tr {
    grid-template-columns: minmax(590px, 1fr) 92px 126px 100px 32px !important;
    column-gap: 14px !important;
  }

  body.nq .nq-viewcart .info-box {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }
}

@media (max-width: 1100px) {
  body.nq .nq-viewcart .table-content {
    overflow-x: auto !important;
  }

  body.nq .nq-viewcart .goods-table {
    min-width: 990px !important;
  }

  body.nq .nq-viewcart .goods-table tbody tr {
    grid-template-columns: 560px 92px 126px 100px 32px !important;
  }
}
