body{
    background-color: #e5e5e5;
    
}

header .icons .fa-cart-shopping{
    background-color: white;
    padding: 10px;
    padding-right: 12px;
    /* width: ; */
    border-radius: 3rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.164);
}
header .icons .fa-cart-shopping:hover{
    background-color: rgb(37, 37, 37);
    
}
.container
{
   background: radial-gradient(39.1% 83.21% at 57.45% 46.9%, rgba(88, 85, 85, 0) 0%, rgba(0, 0, 0, 0) 35.5%, rgba(0, 0, 0, 0.2) 100%), #749BC2;
}


.navContainer li, .menu-links li, .mob-menu ul li {
    color: #FFFBDE !important;
}
.content *{
    font-family: poppins;
    font-weight: 400;
}
.increase, .decrease{
   color: #FFFBDE;
}


.content h1{
    color: #FFFBDE;
    margin: 2rem 0;
    margin-bottom: 4.5rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 2.7rem;
}

section{
    display: flex;
    justify-content: space-around;
    padding: 0 4rem;
    margin-bottom: 4rem;
    gap: 6.5rem;
}

.cartList{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.cartList h3{
    text-align: center;
}


.cartItem{
    
  background: rgba(255, 255, 255, 0.1); /* Transparent white */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Optional subtle border */
  backdrop-filter: blur(10px); /* Glossy blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  border-radius: 12px; /* Rounded corners for better look */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Optional depth */
  color: white; /* For light-on-dark UI */


    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: center;
    padding: 0.6rem 1.3rem;
    padding-bottom: 1rem;
   width: 65vw;
   

}


.product-img{
    position: relative;
    width: 10.8rem;
    height: 9rem;
    background-color: #F5F5F5;
    background-size: cover;
    background-position: center;
    /* border-radius: 3%; */
    
}




.product-img .discount{
    position: absolute!important;
    top: 0.5rem;
    left: 0.5rem;
    font-family: poppins;
    font-weight: 400;
    font-size: 0.5rem;
    color: #FAFAFA;
    padding: 0.17rem 0.45rem;
    border-radius: 10%;
    background-color: #59A757;
}



.quantityControl{
    width: 7rem;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}
.quantityControl span{
    padding: 0.4rem 1rem;
    border-radius: 0.8rem;
    background-color: #FFFBDE;
    color: #749BC2;
}
.quantityControl button{
    background-color: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.15s all ease;
    padding: 0.3rem;
    padding: 0.1rem 0.5rem;
    border-radius: 10rem;
}

.quantityControl button:hover{
    background-color: #696969;
    color: white;
    
}

.price, .totalPrice{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.removeItem{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 3px solid #FFFBDE;
    border-radius: 10rem;
    background-color: transparent;
    cursor: pointer;
    transition: 0.15s all ease;
}
.removeItem:hover{
    /* border: ; */
    border: 3px solid #bf6060;
}

.removeItem span{
    
    width: 50%;
    height: 3px;
    border-radius: 4rem;
    background-color: #FFFBDE;
    transition: 0.15s all ease;
}
.removeItem:hover span{
    background-color: #bf6060;
}
/* code for cart headings  */

.cartItem:nth-child(1) *{
    position: relative;
}




.cartItem:nth-child(1) .quantityControl::before{
    
    content: "QUANTITY";
    position: absolute;
    text-align: center;
    top: -2.7rem;
    font-weight: 600;
    font-size: 0.85rem;
    left: 0;
    width: 100%;
    z-index: 99;
}

.cartItem:nth-child(1) .product-img::before{
content: "PRODUCT DETAILS";
position: absolute;
text-align: center;
top: -2.7rem;
font-weight: 600;
font-size: 0.85rem;
left: 0;
width: 100%;
z-index: 99;
}
.cartItem:nth-child(1) .price::before{
content: "PRICE";
position: absolute;
text-align: center;
top: -2.7rem;
font-weight: 600;
font-size: 0.85rem;
left: 0;
width: 100%;
z-index: 99;
}
.cartItem:nth-child(1) .totalPrice::before{
content: "TOTAL";
position: absolute;
text-align: center;
top: -2.7rem;
font-weight: 600;
font-size: 0.85rem;
left: 0;
width: 100%;
z-index: 99;
}




.checkout{
    
  background: rgba(255, 255, 255, 0.1); /* Transparent white */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Optional subtle border */
  backdrop-filter: blur(10px); /* Glossy blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  border-radius: 12px; /* Rounded corners for better look */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Optional depth */
  padding: 20px;
  color: white; /* For light-on-dark UI */


    height: 20rem;
    border-radius: 1.3rem;
    padding: 1.5rem;
    text-transform: uppercase;
    width: 35vw;
   max-width: 290px;
}
.checkout h4{
    font-weight: bolder;
    margin-bottom: 0.8rem;
    margin-left: 0.3rem;
}
.checkout hr{
    height: 0.3rem;
    background-color: #FFFBDE;
    margin-bottom: 0.5rem;
    border: 0;
    border-radius: 2rem;

}

.subTotal , .delivery{
    display: flex;
    justify-content: space-between;
    padding: 0 0.3rem;
    margin-bottom: 0.5rem;
}

.subTotal p, .delivery p{
    font-size: 0.7rem;
}

.checkoutBtn{
    width: 100%;
    background-color: #749BC2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0.4rem;
    /* font-size: 1.2rem; */
    font-weight: bolder;
    color: white;
    border: 0;
    text-transform: uppercase;
    padding: 0.5rem 0;
    letter-spacing: 0.1rem;
    font-size: 0.75rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: 0.2s all ease;
}

.checkoutBtn:hover{
    
    background-color: #696969;
}

footer {
  background-color: #4682A9;
}

.footer {
  background-color: #4682A9;
}

.footer input {
  background-color: white;
}

@media screen and (max-width: 1200px) {
    section {
        gap: 2rem;
        padding: 0 2rem;
    }
  
}
@media screen and (max-width: 1000px){
    .product-img{
        width: 8.5rem;
        height: 7rem;
    }
    .cartItem{
        gap: 1rem;
    }
    
}

@media screen and (max-width: 768px){
    section{
        flex-direction: column;
        align-items: center;
    }
    .cartList{
        width: 100%;
    }
    .cartItem{
        width: 100%;
        gap: 0;
    }
    .checkout{
        width: 100%;
        height: 100%;
        max-width: 400px;
    }
    .quantityControl{
        height: 7rem;
    }
    .price{
        height: 7rem;
    }
    .totalPrice{
        height: 7rem;
    }
}
@media screen and (max-width: 500px){
.totalPrice{
    display: none;
}
.price{
    display: none;
}
section{
    padding: 0 1rem;
}
}