

.cart-page{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    gap: 20px;
}

@media screen and (max-width:780px) {
    .cart-page{
        flex-direction: column;
    }
}

.main-cart {
    display: flex;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}



.cart{
    width: 100%;
}

.order-summary {
    width: 300px;
    padding: 20px;
    background: #f7f7f7;

    border-radius: 10px;

}

  .cart-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    align-items: center;
    margin: 10px 0;

  }
  @media screen and (max-width:500px) {
    .cart-item{
      flex-direction: column;
    }
  }

  .removeProduct{
    position: absolute;
    top: 6px;
    right:8px;
    font-size: 12px;
    color: red;
    padding: 3px;
    border: 1px solid red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--main-transation);
  }
  .removeProduct:hover{
    background-color: red;
    color: white;

  }

  .product-info img {
      width: 60px;
      object-fit: contain;
  }
  @media screen and (max-width:500px) {
    .product-info img{
      width: 50%;
    }
  }

.cart-item .product-info span{
  font-size: 12px;
  color: var(--text-gray-color);
}
.product-name > span{
  display: block;
}

.cart p{
  margin-bottom: 0;
}
.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-name strong{
  display: block;
}

.item-details input {
    width: 50px;
    padding: 5px;
    margin: 10px 0;
}

.price {
    color: #333;
    font-weight: bold;
}


.order-summary p {

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 10px 0;
    padding: 5px 0;
}
.order-summary p:first-of-type {
    border-top: 1px solid var(--main-color);
    padding-top: 10px;
}
.order-summary-title{
  text-align: center;

}
.total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-top: 1px solid var(--main-color) ;
    padding-top: 10px;
}

.checkout-btn {
    background: #ffcc00;
    color: var(--sec-color);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.checkout-btn:hover {
    background: #ffb700;
}
.paypal-btn {
    background: rgb(26, 28, 37);;
    color:wheat ;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    margin-top: 15px;
}


.divider {
    border-top: 1px solid rgb(146, 145, 145);
    margin: 10px 0;
    width: 100%;
}
.product-info {
    display: flex;
    align-items: center;
    width: 40%;
    gap: 15px;
}
@media screen and (max-width:500px) {
  .product-info{
    flex-direction: column;
    width: 100%;
  }
}
.tem-details input {
    width: 50px;
    padding: 5px;
    text-align: center;
}
.product-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* width: 30%; */


}
.product-controls input{
  text-align: center;
  background-color: transparent;
  outline: none;
  border: 1px solid #cbc8c8;
  border-radius: 2px;
  color: green;

}
.max-info{
    font-size: 12px;
    color: rgb(5, 4, 4);
}
.actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.actions a {
    color: blue;
    text-decoration: none;
    font-size: 12px;
}

.price {
    font-weight: bold;
    text-align: right;
}
