.icon-cart {
  position: fixed;
  bottom: 14px;
  right: 14px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  background-color: #ffffff;
  border-radius: 100px;
  width: 55px;
  height: 55px;
  padding: 14px;
  cursor: pointer;
}

.icon-cart:hover {
  background-color: #eee;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
}

.icon-cart .bi-cart {
  font-size: 28px;
  color: var(--black-color);
}

.icon-cart span {
  position: absolute;
  color: white;
  background-color: var(--black-color);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-weight: 200;
  top: 18%;
  right: 9px;
  font-size: 12px;
  padding: 4px 0 0 0px;
}


.listProduct {
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.listProduct .item {
  width: 230px;
  height: 280px;
  text-align: center;
  padding: 21px 14px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
}

.listProduct .item img {
  height: 140px;
  padding: 14px;
}

.listProduct .item .product-name {
  font-size: 14px;
  color: var(--black-color);
  margin: 7px 0;
}

.listProduct .item .price {
  letter-spacing: 7px;
  font-size: small;
}

.listProduct .item button {
  background-color: #009600;
  color: #eee;
  border: none;
  padding: 7px 21px;
  border-radius: 7px;
  cursor: pointer;
}

/* cart */
.cartTab {
  width: 400px;
  background-color: #ffffff;
  color: var(--black-color);
  position: fixed;
  top: 100px;
  right: -400px;
  bottom: 0;
  transition: .4s ease-in-out;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.showCart .cartTab {
  right: 0;
}

.showCart .container {
  transform: translateX(-250px);
}

.cartTab h2 {
  padding: 15px 14px 5px 14px;
  font-size: 28px;
  color: var(--black-color);
}

.cartTab .btn {
  display: flex;
  margin-top: auto;
  width: 100%;
}

.cartTab button {
  color: var(--black-color);
  border: none;
  font-weight: 500;
  cursor: pointer;
  width: 50%;
  height: 70px;
  font-size: 14px;
  font-weight: 450;
  background-color: var(--white-color);
}


.cartTab .close:hover {
  color: var(--red-color);
}

.cartTab .clean:hover {
  color: var(--blue-color);
}

.cartTab .buy:hover {
  color: var(--green-color);
}

.listCart .item div.image {
  width: 15%;
  height: 70px;
}

.listCart .item img {
  height: 50px;
  padding: 7px;
}

.listCart .item {
  text-align: left;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f5;
  font-size: 12px;
  width: 100%;
  padding: 0 14px;
}

.listCart .item .name {
  width: 30%;
}

.listCart .quantity {
  border-radius: 12px;
  border: solid 2px rgb(216, 216, 216);
  width: 22%;
  justify-content: space-between;
}

.listCart .quantity span {
  width: 25px;
  height: 25px;
  border-radius: 10px;
  color: var(--black-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background-color: rgb(216, 216, 216);
}

.listCart .quantity span .bi {
  width: 100%;
  height: 100%;
}

.listCart .quantity span:nth-child(2) {
  background-color: transparent;
  color: var(--black-color);
  cursor: auto;
  width: 23px;
  padding-top: 7px;
}

.listCart .item:nth-child(even) {
  background-color: #eee1;
}

.listCart {
  width: 100%;
  overflow: auto;
}

.listCart::-webkit-scrollbar {
  width: 0;
}

.listProduct .item .flex-row {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.listProduct .item .flex-row i {
  position: absolute;
  height: 100%;
  border-radius: 7px;
  width: 28px;
  right: 7px;
  border: 2px solid #009600;
  color: #009600;
  cursor: pointer;
  padding: 0;
}

.cart-total {
  padding: 7px;
  font-size: 14px;
  padding-left: 14px;
  margin-top: 7px;
}


#products .bi-arrows,
.listProduct div.arrows {
  display: none;
}


@media (max-width: 799px) {
  .listProduct {
    width: 100%;
    flex-direction: row;
    overflow-x: scroll;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 14px 50px;
    gap: 21px;
    scroll-snap-type: x mandatory;
  }

  .listProduct .item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    animation: nudge-x 7s ease-in-out infinite;
  }

  #products .bi-arrows {
    display: flex;
    font-size: 28px;
    animation: bounce-x 3s ease-in-out infinite;
    color: var(--black-color);
  }

  #products {
    position: relative;
  }



  .listProduct div.arrows {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 3;
    padding: 0 35px;
  }

  .listProduct div.arrows .bi {
    color: rgba(0, 0, 0, 0.45);
    font-size: 28px;
  }
}