.cart {
  max-width: 1170px;
  margin-inline: auto;
  margin-bottom: 100px;
}

.cart-title {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  margin-top: 50px;
}

.mobile-cart-title {
  display: none;
  font-size: 18px;
  font-weight: 500;
}

.cart-title .cart-home {
  opacity: 50%;
}

.cart-category {
  display: flex;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 0 10px 1px rgb(235, 234, 234);
  height: 72px;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 50px;
  padding-left: 50px;
  margin-top: 50px;
}

.cart-category span {
  flex: 1;
}

.cart-category span:first-child {
  flex: 2;
}

.cart-product-list {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  gap: 50px;
}

.cart-product-list li {
  display: flex;
  align-items: center;
  height: 102px;
  justify-content: space-between;
  box-shadow: 0 0 10px 1px rgb(235, 234, 234);
  border-radius: 6px;
  padding-left: 50px;
}

.cart-product-list li div {
  display: flex;
  flex: 2;
  gap: 20px;
}

.cart-product-list li p {
  flex: 1;
}

.cart-product-list li span {
  flex: 1;
}

.cart-product-list li span input {
  max-width: 72px;
  height: 44px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  padding-inline: 10px;
  outline: none;
  border: 2px solid rgb(190, 187, 187);
}

.cart-product-list li img {
  width: 50px;
}

.cart-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 56px;
  margin-top: 20px;
}

.cart-btn-1 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid rgba(132, 131, 131, 0.5);
  border-radius: 4px;
  max-height: 56px;
  padding: 16px 48px 16px 48px;
  gap: 10px;
  font-weight: 500;
  background-color: white;
}

.cart-coupon-area {
  margin-top: 100px;
}
.cart-coupon {
  max-width: 300px;
  max-height: 56px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #000000;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  outline: none;
}

.cart-apply-btn {
  max-width: 222px;
  height: 58px;
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: white;
  border: 1px solid;
  border-radius: 4px;
  background-color: #db4444;
  gap: 10px;
}

.cart-total-area {
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  max-width: 470px;
  max-height: 324px;
  border-radius: 4px;
  border: 2px solid black;
  padding: 20px;
  gap: 16px;
}

.cart-total-btn {
  width: 260px;
  height: 56px;
  border: 1px solid;
  border-radius: 4px;
  background-color: #db4444;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: white;
  gap: 10px;
  margin-inline: auto;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
}

.cart-total-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: left;
}

@media screen and (max-width: 1300px) {
  .cart {
    max-width: 800px;
  }

  .cart-total-area {
    margin-top: 30px;
  }

  .cart-coupon-area {
    margin-top: 30px;
  }
}

@media screen and (max-width: 900px) {
  .cart {
    max-width: 500px;
  }

  .cart-total-area {
    margin-top: 20px;
    margin: 20px auto;
  }

  .cart-coupon-area {
    margin-top: 20px;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .cart-coupon {
    max-width: 200px;
  }

  .cart-apply-btn {
    max-width: 150px;
  }
}

@media screen and (max-width: 550px) {
  .cart {
    max-width: 300px;
  }

  .cart-total-area {
    margin-top: 30px;
  }

  .cart-coupon-area {
    margin-top: 30px;
  }

  .cart-product-list li {
    flex-direction: column;
    height: unset;
    padding: 0;
    padding-block: 20px;
    gap: 10px;
    align-items: center;
  }

  .cart-product-list li div {
    flex: unset;
    flex-direction: column;
    align-items: center;
  }

  .cart-product-list li div img {
    width: 100px;
  }

  .cart-product-list {
    gap: 30px;
  }

  .cart-category span {
    display: none;
  }

  .cart-btn-1 {
    font-size: 14px;
    padding: 0;
    width: 130px;
    height: 80px;
  }
  .mobile-cart-title {
    display: block;
  }
}
