/* cart items */
.cart-list {
  margin-top: 7%;
}

.item-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f1f1;
}

.item-list li {
  display: flex;
  gap: 4vw;
  padding: 2vw 0;
  border-bottom: 1px solid #f1f1f1;
}

.item-img {
  width: 16vw;
}

.item-img img {
  width: 100%;
}

.item-details {
  margin-left: 2vw;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  font-size: 1.2vw;
}

.item-price {
  font-weight: 700;
}

/* empty cart style */
.no-cart,
.empty-cart {
  display: none;
  flex: 1;
  font-size: 1.4vw;
  margin: 0 auto;

}

.no-cart p,
.empty-cart p {
  line-height: 20vw;
}

.no-cart p a,
.empty-cart p a {
  color: #5b9a8b;
}

/* check box input */
.check-box {
  display: flex;
  align-items: center;
}

.check-box input[type="checkbox"] {
  appearance: none;
  position: relative;
  height: 20px;
  width: 20px;
  border: 1px solid #aaa;
  border-radius: 2px;
}

.check-box input[type="checkbox"]:checked {
  /* appearance: none; */
  background-color: #5b9a8b;
  border: 1px solid #5b9a8b;
  color: #fff;
}

.check-box input[type="checkbox"]::before {
  content: '\2713';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
}

/* item details */
.item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* product handle */
.item-handle {
  display: flex;
  gap: 4vw;
}

.product-qty {
  display: flex;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  font-size: 1.4vw;
  background-color: #f1f1f1;
  border: none;
  outline: none;
}

.qty-display {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  font-size: 1.2vw;
  font-weight: bold;
  border: 1px solid #f1f1f1;
}

.item-handle button:hover {
  filter: contrast(80%);
}

/* checkout section*/
.checkout {
  margin: 4vw auto 8vw;
}

/* total price */
.total_price {
  margin-top: 2vw;
  margin-left: auto;
  font-size: 1.4vw;
  font-weight: 700;
}

.total_price span {
  color: #5b9a8b;
}