
.cart-main{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 20px;
    box-sizing: border-box;
}
.cart_div_top{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
}
.cart_div_top-icon{
    width: 40px;
    height: auto;
}
.cart_div_top-span{
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 25px;
    color: var(--faded-font-clr);
}

.cart_main_div{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 30px;
}

.cart_main_div_left{
    width: 60%;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border: solid 1px var(--highlighted-clr-4);
    background-color: var(--backgrnd_color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}
.cart_main_div_right{
    position: sticky;
    top: 50px;
    width: 39%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: solid 1px var(--highlighted-clr-4);
    border-radius: 5px;
    background-color: var(--backgrnd_color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px;
    gap: 15px;
    box-sizing: border-box;
}
.cart_main_table{
    width: 100%;
    height: auto;
    gap: 5px;
    box-sizing: border-box;
    text-align: left;
    border-collapse: collapse;

}
.cart_main_table th{
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 14px;
    color: var(--font-clr);
}
.cart_main_table_tr{
    width: 100%;
}
.cart_main_table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.cart-images{
    max-width: 20%;
    width: 20%;
    height: auto;
}
.cart_main_table_image{
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.cart-product-info{
    padding: 5px;
}

.cart-product-info-span{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
}

.cart-product-info-span-span1{
    font-family: var(--poppins-font-fam);
    font-weight: 300;
    font-size: 13px;
    color: var(--font-clr);
}
.cart-product-info-span-span2{
    font-family: var(--poppins-font-fam);
    font-weight: 300;
    font-size: 10px;
    color: var(--faded-font-clr);
}
.cart_main_table_quantity_input{
    width: 30px;
    padding: 2px 7px;
    margin-top: 5px;
    color: var(--font-clr);
    border: solid 1px var(--highlighted-clr-4);
    border-radius: 5px;
}
.art-inner-form{
    width: 100%;
}
.cart_update_quantity{
    padding: 7px 7px;
    background-color:transparent;
    border: none;
    font-family: var(--poppins-font-fam);
    font-weight: 300;
    font-size: 14px;
    color: var(--green-theme);
    cursor: pointer;
    margin: 0;
    margin-top: 10px;

}
.cart_main_table_remove{
    background-color:transparent;
    border: none;
    font-family: var(--poppins-font-fam);
    font-weight: 300;
    font-size: 14px;
    color: orangered;
    cursor: pointer;
    margin: 0;
    margin-top: 10px;
}
.cart_item_total_price{
    font-family: var(--poppins-font-fam);
    font-weight: 300;
    font-size: 14px;
    color: var(--font-clr);
}




.cart_main_div_right_title{
    width: 100%;
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 16px;
    color: var(--font-clr); 
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.cart_main_div_right_title span{
    font-family: var(--poppins-font-fam);
    font-weight: 400;
    font-size: 13px;
    color: orangered; 
    background-color: var(--green-theme3);
    padding: 5px;
}
.cart_main_div_right_div{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
}
.cart_main_div_right_inner_div{
    width: 50%;
    box-sizing: border-box;
}
.cart_main_div_right_inner_div_span{
    font-family: var(--poppins-font-fam);
    font-weight: 500;
    font-size: 16px;
    color: var(--faded-font-clr); 
}
.selected_rates{
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 16px;
    color: var(--font-clr); 
}
.cart_main_div_right_inner_div_h{
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 16px;
    color: var(--font-clr); 
}
.cart_main_div_right_total_div_p{
    font-family: var(--poppins-font-fam);
    font-weight: bold;
    font-size: 16px;
    color: var(--font-clr); 
}

.cart_main_div_right_total_div{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: solid 2px var(--boxes_coloring);
    margin-top: 10px;
    padding-left: 10px;
}
.cart_main_proceed_form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart_proceed_submit{
    width: 70%;
    padding: 10px 15px;
    background-color: var(--themed-clr);
    color: var(--faded-font-clr);
    border: solid 1px var(--themed-clr);
    border-radius: 10px;
    cursor: pointer;
}
.cart_proceed_submit:hover{
    background-color: var(--themed-clr-2);

}

.empty_cart_div{
    width: 100%;
    height: 40vh;
    background-color: var(--backgrnd_color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.empty-cart-span{
    font-family: var(--poppins-font-fam);
    font-weight: 400;
    font-size: 16px;
    color: var(--font-clr); 
}
.empty_cart_icon{
    width: 10vw;
    height: auto;
    margin-right: 20px;
}
.cart_select_county{
    background-color: var(--green-theme2);
    border: none;
    padding: 5px 7px;
    border-radius: 5px;
    font-family: var(--poppins-font-fam);
    font-weight: 500;
    font-size: 14px;
    color: var(--font-clr); 
}




@media(max-width:768px){

    .cart_main_div{
        width: 97%;
        flex-direction: column;
    }
    .my_cart_form{
        width: 100%;
        flex-direction: column;
    }
    .cart_main_div_left{
        width: 100%;
    }
    .cart_main_div_right{
        width: 100%;
        margin-top: 30px;
    }
   
    .empty_cart_icon{
        width: 20%;
    }
    .cart_main_div_right_inner_div_h{
        font-size: 12px;
    }
    .selected_rates{
        font-size: 12px;
    }
    .cart_main_div_right_total_div_p{
        font-size: 12px;

    }
    
}

