/* --------------------------
        Cart Top Row 
---------------------------- */
.clear-btn-box {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-end;
}

.clear-btn-box button {
  font-size: 1rem;
  color: var(--text-200);
  font-weight: 500;
  transition: var(--Ltrns);
}
.clear-btn-box button:hover {
  color: red;
}

@media (max-width: 900px) {
  .clear-btn-box button {
    font-size: 0.8rem;
  }
}

/* --------------------------
          PRODUCT LIST
  ---------------------------- */
.products-ul {
  padding: 0;
  margin-bottom: 3rem;
  list-style: none;
}
.products-ul li {
  background: var(--primary);
  display: flex;
  padding: 0.8rem;
  border-radius: var(--radious-prim);
  gap: var(--gap-card);
}
.products-ul li:not(:last-child) {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: var(--border-dark);
}

.products-ul li > div:first-child {
  display: flex;
  gap: var(--gap-card);
  flex-grow: 1;
}
.products-ul li > div:first-child img {
  width: 12rem;
  flex-shrink: 0;
  border-radius: var(--radious-prim);
  background: var(--bg-100);
  transition: var(--Ltrns);
}
.products-ul li:hover > div:first-child img {
  transform: rotate(-2deg);
}

.products-ul li > div:first-child .qty-box {
  margin: 0.8rem 0;
}

.products-ul li > div:first-child .product-price {
  font-size: 0.9rem;
}
.products-ul li > div:first-child .sub-total span {
  color: var(--text-100);
  font-weight: 600;
}

/* Operation Cols */
.products-ul li .action-div {
  display: flex;
  justify-content: flex-end;
}

/* ==> Delete btn */
.remove-item {
  color: rgb(255, 255, 255);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--Etrns);
}
.remove-item:hover {
  color: rgb(252, 60, 60);
}

@media (max-width: 700px) {
  .products-ul li > div:first-child img {
    width: 10rem;
  }
}
@media (max-width: 465px) {
  .products-ul li {
    gap: 0;
  }

  .products-ul li > div:first-child {
    flex-direction: column;
  }

  .products-ul li > div:first-child img {
    width: 100%;
    max-width: 8rem;
  }
}

/* --------------------------
          Total
  ---------------------------- */
.TotalBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem;
  margin-bottom: 3rem;
  border-radius: var(--radious-prim);
  background: var(--bg-200);
}

.TotalBox h6 {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-100);
}
.TotalBox h6 span {
  padding-top: 0.2rem;
  font-size: 1.4rem;
  display: block;
  color: var(--secondary);
}

@media (max-width: 700px) {
  .TotalBox {
    gap: 0.5rem;
  }

  .TotalBox h6 span {
    font-size: 1.3rem;
  }
}
