.cart {
  padding: 50px 0 88px;
}

.cart h3 {
  font-size: 36px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #000000;
}

.cartList {
  margin: 40px 0 0;
  /* display: table; */
  width: 100%;
}

/* .cartList li,
.cartList li>div{
  display: table-cell;
} */

.cartList li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 40px 10px;
  text-align: center;
}

.cartList li:first-child {
  background: #F5F5F5;
  padding: 15px 10px;
}

.cartList li>div,
.cartList li>label {
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.cartList li>label {
  width: 100px;
}

.cartList li>div {
  min-width: 180px;
}

.cartList .wares {
  width: 40%;
  text-align: left;
}

.rate {
  width: 120px;
}

.cartList h5 {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #878787;
  white-space: nowrap;
}

.choice {
  display: flex;
  position: relative;
  gap: 10px;
  align-items: center;
  width: 65px;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 2px;
  border: solid 1px #e5e5e5;
}

.choice span .iconfont {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.choice input:checked+span {
  background: #E75F76;
}

.quantity {
  width: 140px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 20px;
  border: solid 1px #e5e5e4;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quantity div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

.quantity input {
  background: #fff;
  border: none;
  border-left: 1px solid #e5e5e4;
  border-right: 1px solid #e5e5e4;
  font-size: 14px;
}

.goods {
  display: flex;
  align-items: center;
  gap: 25px;
}

.godMg {
  width: 80px;
  height: 80px;
  background-color: #eeeeee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.godMg img {
  display: block;
  max-height: 30px;
}

.godInfo {
  max-width: calc(100% - 105px);
}

.godInfo h6 {
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #000000;
}

.godInfo p {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #878787;
}

.rate>*,
.fund>*,
.labor>* {
  width: 100%;
}

.rate p {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #e75f76;
}

.del button {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: normal;
  color: #000;
}

.del button:hover {
  color: #e75f76;
}

.del .iconfont {
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.eventually {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0 0;
}

.settle {
  display: flex;
  align-items: center;
  gap: 30px;
}

.modDel {
  width: 200px;
  height: 60px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  position: relative;
  z-index: -1;
  opacity: 0;
}

.modDel .iconfont {
  font-size: 26px;
  margin-right: 10px;
  vertical-align: middle
}

.serPic {
  text-align: right;
}

.serPic h5 {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #000000;
}

.serPic h6 {
  font-size: 24px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #e75f76;
}

.confirm {
  border: none;
  width: 200px;
  height: 60px;
  background-color: #e75f76;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #ffffff;
}


@media screen and (max-width:1280px) {

  .cartList li>div,
  .cartList li>label {
    padding: 0 10px;
  }

  .cartList li>div {
    min-width: 160px;
  }

}


@media screen and (max-width:1024px) {

  .cart h3 {
    font-size: 30px;
  }

  .cartList {
    margin: 20px 0 0;
  }

  .cartList li:first-child {
    padding: 10px;
  }

  .cartList li>div {
    min-width: 120px;
  }

  .quantity {
    height: 30px;
  }

  .godMg {
    width: 60px;
    height: 60px;
  }

  .godMg img {
    max-height: 26px;
  }

  .cartList li>div,
  .cartList li>label {
    padding: 0 5px;
  }

  .goods {
    gap: 15px;
  }

  .godInfo {
    max-width: calc(100% - 75px);
  }

  .godInfo h6 {
    font-size: 18px;
  }

  .godInfo p {
    font-size: 13px;
  }

  .confirm {
    width: 150px;
    height: 45px;
    font-size: 15px;
  }

}


@media screen and (max-width:768px) {

  .cart h3 {
    font-size: 20px;
  }

  .cart {
    padding: 20px 0 50px;
  }

  .goods {
    flex-wrap: wrap;
    justify-content: center;
  }

  .godInfo {
    max-width: 100%;
  }

  .cartList li>label {
    width: 60px;
    gap: 5px;
  }

  .cartList h5 {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: #878787;
    white-space: nowrap;
  }

  .cartList li>div {
    min-width: auto;
  }

  .rate p {
    font-size: 12px;
  }

  .cartList li>div:last-child {
    display: none;
  }

  .cartList li>div.fund {
    width: 90px;
  }

  .godInfo h6 {
    font-size: 14px;
    margin: 0 0 5px;
  }

  .cartList li {
    padding: 20px 5px;
  }

  .confirm,
  .modDel {
    opacity: 1;
    z-index: 1;
    width: 100px;
    height: 40px;
    font-size: 13px;
  }

  .serPic h6 {
    font-size: 14px;
  }

  .serPic h5 {
    font-size: 12px;
  }

  .settle {
    gap: 10px;
  }
  
  .modDel{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modDel .iconfont {
    font-size: 22px;
    margin-right: 5px;
  }

}
