.cart{
    margin-top: 100px;
    margin: 100px;
}
@media (max-width: 768px) {
  .cart {
    margin: 20px;
  }
}


.cart-items-title{
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr 0.5fr;
    align-items: center;
    color: grey;
    font-size: max(1vw, 12px);
}

.cart-items-item{
    margin: 10px 0px;
    color: black;
}

.cart-items-item img{
    width: 50px;
}

.cart hr{
    height: 1px;
    background-color: #e2e2e2;
    border: none;
}

.cart-items-item .cross{
    cursor: pointer;
}

.cart-bottom{
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    gap: max(12vw, 20px);
}

.cart-total{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
}

.cart-total-details{
    display: flex;
    justify-content: space-between;
    color: #555;
}

.cart-total hr{
    margin: 10px 0px;
}

.cart-total button{
    border: none;
    color: white;
    background-color: tomato;
    width: max(15vw, 200px);
    padding: 12px 0px;
    border-radius: 4px;
    cursor: pointer;
}

.cart-promo-code{
    flex: 1;

}

.cart-promo-code p{
    color: #555;
}

.cart-promocode-input{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaeaea;
    border-radius: 4px;
}

.cart-promocode-input input{
    background: transparent;
    border: none;
    outline: none;
    padding-left: 10px;
}

.cart-promocode-input button{
    width: max(10vw, 150px);
    color: white;
    padding: 12px 5px;
    border-radius: 6px;
    background-color: black;
    border: none;
    cursor: pointer;
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-quantity-controls button {
  padding: 4px 10px;
  background-color: tomato;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.2s;
}
.cart-quantity-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.cart-quantity-controls button:hover {
  background-color: darkorange;
}

.cart-quantity-controls span {
  min-width: 20px;
  text-align: center;
  font-weight: 500;
}


@media (max-width:750px ){
    .cart-bottom{
        flex-direction: column-reverse;
    }
    .cart-promo-code{
        justify-content: start;
    }
}

