.cart-item-list__head {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.cart-item-list {
  margin-top: 30px;
}

.cart-item-list-heading--product {
  flex: 1 1;
}

.cart-item-list-heading {
  padding: 0 0 10px;
  color: #637381;
  text-transform: capitalize;
  font-size: 18px;
}

.cart-item-list-heading--price,
.cart-item__price {
  text-align: right;
  padding-right: 30px;
  width: 230px;
}

.cart-item {
  border-top: 1px solid #e2e2e2;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
}

.cart-item__image {
  width: 130px;
  padding-right: 30px;
}

.cart-item-list-heading,
.cart-item__column {
  flex-shrink: 0;
}

.cart-item__not-image {
  flex-grow: 1;
}

.cart-item-list__head,
.cart-item,
.cart-item__not-image {
  display: flex;
}

.cart-item__description {
  flex: 1 1;
  padding-right: 30px;
}

.cart-item-list-heading--price,
.cart-item__price {
  text-align: right;
  padding-right: 30px;
  width: 130px;
}

.theme-money {
  white-space: nowrap;
}

.cart-item-list-heading--quantity,
.cart-item__quantity {
  text-align: center;
  padding-right: 30px;
  width: calc(2em + 99px);
}

.cart-item__column a {
  color: #637381;
  transition: color 0.1s, border-color 0.1s, opacity 0.1s;
  text-decoration: none;
}

.small-text {
  font-size: 12px;
  line-height: 1.4em;
}

.quantity-button {
  display: flex;
}

.quantity-button p,
.quantity-button input {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #ddd;
  cursor: pointer;
}

.remove {
  color: var(--main-color);
  font-size: 15px;
  margin-top: 3px;
  cursor: pointer;
  font-weight: 600;
}

.remove svg {
  width: 15px;
  height: 15px;
}

/* check out sub total  */
.checkout-subtotal-container {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.checkout-subtotal-container__right {
  text-align: right;
}

.subtotal {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: end;
  font-size: 25px;
}

.notabutton {
  color: #637381;
}

.cart-policies {
  color: #637381;
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 20px !important;
}

.checkout-buttons a {
  background-color: var(--main-color);
  width: 200px;
  border: 1px solid var(--main-color);
  color: var(--white-color);
  padding: 10px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

.checkout-buttons a:hover {
  color: var(--white-color);
}

.continue-shopping {
  margin-top: 20px;
  display: block;
  color: #637381;
  text-transform: capitalize;
}

@media only screen and (max-width: 767px) {
  .cart-item-list__head {
    display: none;
  }

  .cart-item__column {
    text-align: left;
    width: auto;
    padding: 0;
  }

  .cart-item__image {
    width: 80px;
    padding-right: 20px;
  }

  .cart-item {
    border-top: 0;
    border-bottom: 1px solid #e2e2e2;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .cart-item:last-child {
    border-bottom: 0;
  }

  .cart-item__not-image {
    display: block;
  }

  .cart-item__quantity {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
  }

  .cart-item__total {
    display: none;
  }

  .layout-column-half-left {
    margin-bottom: 50px;
  }

  .subtotal {
    font-size: 20px;
  }

  .checkout-buttons input {
    width: 100%;
    font-size: 16px;
  }

  .checkout-subtotal-container {
    flex-direction: column;
    gap: 1rem;
  }

  .checkout-subtotal-container {
    border-bottom: 0;
  }

  .checkout-subtotal-container {
    padding: 20px 0;
  }

  .cart-policies {
    margin-bottom: 10px !important;
  }

  .continue-shopping {
    margin-top: 10px;
  }
}
