.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: var(--color-primary);
}
.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;
}

/* Bacaiyun V10 shopping cart refresh */
.bcy-shopping-cart .main-card {
  overflow: hidden;
  padding: 0 !important;
}

.bcy-shopping-cart .cart-card-head {
  display: flex;
  min-height: 82px;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  border-bottom: 1px solid #e8edf5;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.bcy-shopping-cart .main-title {
  margin: 0 0 6px;
  color: #17243d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.bcy-shopping-cart .cart-card-subtitle {
  margin: 0;
  color: #8290a7;
  font-size: 13px;
  line-height: 1.5;
}

.bcy-shopping-cart .search-box {
  margin: 0;
  flex: 0 0 auto;
}

.bcy-shopping-cart .search-box .el-input {
  width: 300px;
}

.bcy-shopping-cart .search-box .el-input__inner {
  height: 42px;
  padding-right: 42px;
  border-color: #dfe6f1;
  border-radius: 8px;
  background: #fff;
  color: #24324a;
  line-height: 42px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bcy-shopping-cart .search-box .el-input__inner:focus {
  border-color: #2f7bff;
  box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.1);
}

.bcy-shopping-cart .goods-box {
  padding: 20px 24px 108px;
  background: #f8faff;
}

.bcy-shopping-cart .shopping-goods {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #e1e8f2 !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 0 5px 18px rgba(32, 58, 96, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bcy-shopping-cart .shopping-goods:hover {
  border-color: #bfd2f5 !important;
  box-shadow: 0 10px 26px rgba(47, 123, 255, 0.1);
  transform: translateY(-1px);
}

.bcy-shopping-cart .table-name {
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #e5ebf4;
  background: linear-gradient(90deg, #f1f6ff 0%, #f9fbff 65%, #fff 100%) !important;
}

.bcy-shopping-cart .goods-name {
  color: #17243d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.bcy-shopping-cart .edit-goods {
  margin-left: 12px !important;
  padding: 4px 9px;
  border: 1px solid #cfe0ff;
  border-radius: 5px;
  background: #fff;
  font-size: 12px !important;
}

.bcy-shopping-cart .table-content {
  font-size: 14px;
}

.bcy-shopping-cart .goods-table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
}

.bcy-shopping-cart .goods-table thead {
  height: 44px;
  background: #fff !important;
  color: #7c899e;
  line-height: 44px;
}

.bcy-shopping-cart .goods-table th {
  padding: 0 18px;
  border-bottom: 1px solid #edf1f6;
  background: #fff !important;
  color: #7c899e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.bcy-shopping-cart .goods-table tbody td {
  padding: 20px 18px;
  vertical-align: middle;
  color: #263650;
}

.bcy-shopping-cart .description-box {
  width: 42%;
}

.bcy-shopping-cart .price-box {
  width: 14%;
}

.bcy-shopping-cart .num-box {
  width: 15%;
}

.bcy-shopping-cart .total-box {
  width: 20%;
}

.bcy-shopping-cart .action-box {
  width: 9%;
  text-align: center;
}

.bcy-shopping-cart .info-box {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bcy-shopping-cart .goods-info {
  display: flex;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  background: #f8faff;
  font-size: 13px;
}

.bcy-shopping-cart .goodsInfo-type {
  display: flex;
  min-width: 0;
  width: auto;
  flex: 1;
  flex-wrap: wrap;
  gap: 2px;
  color: #7b879a;
  line-height: 1.45;
}

.bcy-shopping-cart .goodsInfo-val {
  color: #263650;
  font-weight: 600;
}

.bcy-shopping-cart .goodsInfo-price {
  flex: 0 0 auto;
  color: #8a96a9;
  font-size: 12px;
  white-space: nowrap;
}

.bcy-shopping-cart .item-price {
  color: #263650;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.bcy-shopping-cart .el-input-number--small {
  width: 126px;
  border-radius: 6px;
}

.bcy-shopping-cart .el-input-number--small .el-input__inner {
  border-color: #dfe6f1;
  border-radius: 6px;
  color: #263650;
  font-weight: 600;
}

.bcy-shopping-cart .item-total {
  color: #ff5c35 !important;
  font-size: 18px;
  font-weight: 700;
}

.bcy-shopping-cart .original-price {
  margin-top: 4px;
  color: #9aa5b5;
  font-size: 13px;
  font-weight: 400;
}

.bcy-shopping-cart .discount-box {
  margin-top: 10px;
}

.bcy-shopping-cart .delete-btn {
  text-align: center;
}

.bcy-shopping-cart .delete-btn i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd9d5;
  border-radius: 50%;
  background: #fff7f6;
  color: #ff5c52;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.bcy-shopping-cart .delete-btn i:hover {
  background: #ff5c52;
  color: #fff;
  transform: scale(1.05);
}

.bcy-shopping-cart > .el-container > .el-container > .el-footer {
  right: 0;
  bottom: 0;
  left: 160px;
  width: auto;
  height: 84px !important;
  padding: 0 28px;
  border-top: 1px solid #e2e8f1;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 -8px 24px rgba(33, 57, 96, 0.08);
  backdrop-filter: blur(10px);
}

.bcy-shopping-cart .footer-box {
  max-width: none;
}

.bcy-shopping-cart .footer-left {
  display: flex;
  align-items: center;
  color: #5d6b81;
  font-size: 14px;
}

.bcy-shopping-cart .all-check .el-checkbox__label {
  color: #263650;
  font-size: 14px;
  font-weight: 600;
}

.bcy-shopping-cart .delect-btn {
  margin: 0 24px;
}

.bcy-shopping-cart .footer-right {
  color: #5d6b81;
  font-size: 14px;
}

.bcy-shopping-cart .footer-right p {
  margin: 0;
}

.bcy-shopping-cart .total-price {
  margin-left: 8px;
  color: #ff5c35 !important;
  font-size: 28px;
  font-weight: 700;
}

.bcy-shopping-cart .buy-btn {
  width: 168px;
  height: 44px;
  margin-left: 28px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #3984ff 0%, #246cff 100%);
  box-shadow: 0 8px 18px rgba(47, 123, 255, 0.22);
  font-size: 16px;
  font-weight: 600;
}

.bcy-shopping-cart .buy-btn:hover {
  background: linear-gradient(135deg, #4a90ff 0%, #2f7bff 100%);
  box-shadow: 0 10px 22px rgba(47, 123, 255, 0.3);
}

@media screen and (max-width: 1280px) {
  .bcy-shopping-cart .info-box {
    grid-template-columns: 1fr;
  }

  .bcy-shopping-cart .description-box {
    width: 36%;
  }

  .bcy-shopping-cart .price-box {
    width: 15%;
  }

  .bcy-shopping-cart .num-box {
    width: 18%;
  }

  .bcy-shopping-cart .total-box {
    width: 21%;
  }
}

@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;
  }
}

@media screen and (max-width: 750px) {
  .bcy-shopping-cart .cart-card-head {
    display: block;
    padding: 18px;
  }

  .bcy-shopping-cart .cart-card-subtitle {
    margin-bottom: 14px;
  }

  .bcy-shopping-cart .search-box .el-input {
    width: 100%;
  }

  .bcy-shopping-cart .goods-box {
    padding: 14px 14px 112px;
  }

  .bcy-shopping-cart .table-content {
    overflow-x: auto;
  }

  .bcy-shopping-cart .goods-table {
    min-width: 900px;
  }

  .bcy-shopping-cart > .el-container > .el-container > .el-footer {
    right: 0;
    left: 0;
    width: 100%;
    height: 90px !important;
    padding: 10px 14px;
  }

  .bcy-shopping-cart .footer-left {
    align-items: flex-start;
    gap: 2px;
    font-size: 12px;
  }

  .bcy-shopping-cart .delect-btn {
    margin: 0;
  }

  .bcy-shopping-cart .footer-right {
    align-items: flex-end;
  }

  .bcy-shopping-cart .total-price {
    font-size: 22px;
  }

  .bcy-shopping-cart .buy-btn {
    width: 128px;
    height: 40px;
    margin-top: 6px;
  }
}
