.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: var(--color-primary);
  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: var(--color-danger);
}
.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: var(--color-discount-num);
}
.remove-discountCode {
  cursor: pointer;
  margin-left: 0.09rem;
}
.shopping-goods {
  margin-bottom: 0.4rem;
}
.goods-box {
  padding-bottom: 1.6rem;
}
.goods-box .discount-code-number {
  padding-top: 0;
  padding-bottom: 0;
}
.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: var(--color-primary);
}
.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: var(--color-price-text);
}
.text-red {
  color: var(--color-warning);
}
.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: var(--color-primary);
  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: var(--color-danger);
}
.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: var(--color-danger);
  }
  .buy-btn {
    margin-left: 0;
    margin-top: 0.2rem;
    width: 2.04rem;
    height: 0.46rem;
    background: var(--color-primary);
    border-radius: 0.04rem;
    font-size: 0.16rem;
    font-weight: 500;
    color: #ffffff;
  }
}

/* ==========================================================================
   v4：购物车 —— 商品行做成白卡，底部结算条固定在内容区底部
   ========================================================================== */
.main-title { display: none !important; }
.search-box { margin: 0 0 14px !important; text-align: left !important; }
.search-box .el-input { width: 280px !important; }
.search-box .el-input__inner { height: 34px !important; line-height: 34px !important; font-size: 13px !important; }

.goods-box { display: block; }
.goods-item > .el-checkbox-group { display: block; }
.shopping-goods {
  background: #fff; border: 1px solid #e4e8ef; border-radius: 4px; padding: 16px 18px 4px;
  margin-bottom: 12px; transition: border-color .16s;
}
.shopping-goods:hover { border-color: #c2d3f5; }
.shopping-goods .table-name { gap: 10px; margin-bottom: 4px; }
.shopping-goods .goods-name { font-size: 14.5px !important; font-weight: 600 !important; color: #16223a !important; }
.shopping-goods .edit-goods { margin-left: 0 !important; font-size: 12.5px !important; }

/* 表格：去掉外框，只留行分隔 */
.shopping-goods .goods-table { margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.shopping-goods .goods-table thead th {
  padding: 10px 12px !important; background: #f7f9fc !important; border: 0 !important;
  font-size: 12.5px !important; font-weight: 500 !important; color: #66738a !important;
}
.shopping-goods .goods-table tbody td {
  padding: 12px !important; border: 0 !important; border-top: 1px solid #eef1f6 !important;
  font-size: 13px !important; color: #3d4a60 !important; vertical-align: top;
}
.shopping-goods .goods-table tbody tr:first-child td { border-top: 0 !important; }
.shopping-goods .info-box .goods-info {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 3px 0; font-size: 12.5px; line-height: 1.7;
}
.shopping-goods .goodsInfo-type { color: #5a6577; }
.shopping-goods .goodsInfo-name { color: #8a94a6; }
.shopping-goods .goodsInfo-price { font-family: ui-monospace, Menlo, Consolas, monospace; color: #8a94a6; white-space: nowrap; }
.shopping-goods .item-price .price, .shopping-goods .item-total { font-weight: 600; color: #16223a; }
.shopping-goods .item-total { font-size: 15px; color: #d0342c; }
.shopping-goods .delete-btn { text-align: center; }
.shopping-goods .delete-btn i { font-size: 15px; color: #a3adbd; cursor: pointer; }
.shopping-goods .delete-btn i:hover { color: #d0342c; }
.shopping-goods .num-box .el-input-number { width: 108px; }
.shopping-goods .num-box .el-input-number .el-input__inner { height: 30px !important; line-height: 30px !important; }

/* 结算条：贴内容区底部，白底描边 */
.el-footer {
  position: sticky; bottom: 0; left: 0; margin-left: 232px;
  height: auto !important; padding: 0 !important; background: #fff;
  border-top: 1px solid #e4e8ef; box-shadow: 0 -2px 12px rgba(20, 40, 90, .05);
  z-index: 500;
}
.el-footer .footer-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
}
.el-footer .footer-left { display: flex; align-items: center; gap: 18px; font-size: 13px; color: #5a6577; }
.el-footer .footer-right { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #5a6577; }
.el-footer .total-price { font-size: 22px; font-weight: 600; color: #d0342c; font-variant-numeric: tabular-nums; }
.el-footer .buy-btn {
  height: 40px !important; padding: 0 28px !important; border-radius: 4px !important; font-size: 14.5px !important;
  background: #2f6bf0 !important; border-color: #2f6bf0 !important;
}
.el-footer .delect-goods { font-size: 13px !important; }
@media screen and (max-width: 900px) {
  .el-footer { margin-left: 0; }
  .el-footer .footer-box { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; }
  .el-footer .footer-right { justify-content: space-between; }
  .shopping-goods { padding: 14px 12px 2px; }
  .shopping-goods .goods-table thead { display: none; }
  .shopping-goods .goods-table tbody td { display: block; width: 100% !important; padding: 6px 0 !important; border: 0 !important; }
}
