*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    position: relative;
    overflow-y: scroll;
}
html, body{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color:  #ffffff;

}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 7vh;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    position: fixed;
    background-color: #FFFFFF;
    border-bottom: thin solid transparent;
    flex-shrink: 0;
}


.banner-text{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 95%;
    padding: 10px;
    height: auto;
    margin-bottom: 1vh;
    flex-direction: column;
    text-align: center;

}



main{
    display: flex;
    height: auto;
    width: 100%;
    flex-wrap:wrap;
    justify-content: center;
    overflow-y: auto;
    flex: 1;
    flex-shrink: 0;
    min-height: 85vh;
    background-color: #FFFFFF;

}
.item{
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    width: 20%;
    border: solid thin #bb62038a;
    margin: 10px;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}
.new-tag{
    position: absolute;
    right: 1%;
    top: 1%;
    width: 20%;
    aspect-ratio: 1/0.4;
    background-color: rgb(63, 12, 96, 0.7);
    color: #FFFFFF;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item:hover{
    box-shadow: 1px 1px 5px gray;
    width: 20.5%;
    transition: 0.25s;
}
.item_image{
    width: 95%;
    height: 50%;
    margin-bottom: 10px;
}
.item_details{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40%;
    width: 100%;
}
.detail_span{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 33.3%;
    width: 97.5%;
    font-size: 11px;

}
.add_to_cart{
    display: none;
}
.ps_span{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 100%;
    width: 50%;
    font-size: 11px;
}
.stars{
    justify-content: end;
    padding-right: 5px;
}

.the_item_image{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

}


.unavailable{
    display: none;
}
/*Cart Update*/
.cart{
    background-color: #eaeaea;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000001;
    position: fixed;
    top: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    left: -100%;
    transition: left 0.25s ease;
}
.cart_header{
    background-color: #ffffff;
    width: 100%;
    height: 7.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}
.cart_loader{
    position: absolute;
    bottom: -220%;
    width: 20%;
    height: 6vh;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 300;
    z-index: 1;
    border-radius: 5px;
    background-color: transparent;
}
.close-cart{
    position: absolute;
    left: 2.5%;
    font-size: 17px;
    height: 40px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.close-cart:hover{
    background-color: rgb(0, 0, 0, 0.75);
    color: #FFFFFF;
}
.cart_body{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #eaeaea;
    width: 100%;
    height: 80%;
    border-radius: 0 0 5px 5px;
    overflow-y: scroll;
    position: relative;
    opacity: 0;


}
.cart-notification{
    position: absolute;
    top: -80%;
    width: 95%;
    height: 6vh;
    background-color: #FFFFFF;
    display: none;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    font-weight: 300;
    border: thin solid rgba(0, 0, 0, 0.08);
    z-index: 1;
    border-radius: 5px;
}
.note-icon{
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;

}
.casava_info{
    width: 90%;
    margin: 2vh;
    height: 7vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    flex-shrink: 0;
}
.casava_info_span{
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    border-radius: 5px;
}
.casava_info_span img{
    height: 70%;
    aspect-ratio: 1/1;
}
.info{
    margin-left: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    font-weight: 300;
}
.cart_products_no{
    width: 90%;
    height: 3vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #656565;
    flex-shrink: 0;
}
.cart_items{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
}
.cart_item{
    background-color: black;
    width: 90%;
    height: 22.5vh;
    display: flex;
    align-items: center;
    justify-content: end;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 2vh;
    transition: transform 0.8s ease;
    will-change: transform, opacity;
}
.cart_item.slide-out {
    transform: translateX(-100%); /* or -100% for left */
}
.cart_close_button{
    height: 90%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}
.cart_close_button:hover{
    background-color: rgb(0, 0, 0, 0.2);
}
.cart-save{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 25.6%;
    background-color: #984c00;
    color: #FFFFFF;
    font-weight: 200;
    font-size: 13px;
    transition: background-color 0.3s ease;
}
.cart-save:hover{
    background-color: rgba(184, 95, 0, 0.5);
}
.cart-remove{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 25%;
    background-color: #000000;
    color: #FFFFFF;
    font-weight: 200;
    font-size: 13px;
    transition: background-color 0.3s ease;
}
.cart-remove:hover{
    background-color: rgba(30, 30, 30, 0.9);
}
.up-statement{
    font-size: 13px;
}
.cart_details{
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.2s ease;
    transform: translateX(0);
}
.cart_product{
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.cart-img{
    display:flex;
    align-items: center;
    justify-content: center;
    height: 70%;
    width: 100%;
}
.cart-img img{
    height: 80%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5px;
}
.factor-cart{
    display:flex;
    align-items: center;
    justify-content: space-around;
    height: 30%;
    width: 100%;
}
.factor{
    font-size: 25px;
    height: auto;
    font-weight: 200;
    transition: background-color 0.3s ease;
}
.factor:hover{
    background-color: rgb(0, 0, 0, 0.1);

}
.circle-no{
    border: thin solid rgb(0, 0, 0, 0.2);
    border-radius: 3px;
    height: 50%;
    aspect-ratio: 1/1;
    display: flex ;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 300;

}
.cart-product-info{
    width: 65%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.cart_close{
    width: 95%;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 22px;
    font-weight: 200;
}
.portf{
    width: 95%;
    height: 15%;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    flex-shrink: 0;
}
.product_quantity, .product_price{
    font-weight: 300;
}
.cart_product_total{
    width: 95%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: end;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    flex-shrink: 0;
    font-weight: 300;
}
.cart_footer{
    width: 100%;
    height: 10%;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;

}
.cart_checkout{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    height: 65%;
    width: 85%;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;

}
.order_summary{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 2.5vh;
    background-color: #FFFFFF;
    margin-bottom: 2vh;
    flex-shrink: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.summaries{
    display: flex;
    align-items: center;
    width: 90%;
    height: 4vh;
}
.summaries_text{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 12px;
}
.summary_value{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 10px;
    font-weight: 300;
}

.end_smoke{
    display: flex;
    align-items: center;
    height: 10vh;
    width: 95%;
    flex-shrink: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}
.secured-payment{
    border-bottom: thin solid #b0b0b0;

}
.the_end_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
    font-size: 30px;
}
.decls{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 75%;
    height: 100%;
    font-size: 13px;

}
.decl_value{
    font-size: 9px;
    font-weight: 300;
}
/*End updated cart*/


@media (max-width: 768px) {
    header{
        height: 8vh;
        position: fixed;
        top: 0;
    }
    main{
        align-items: center;
        justify-content: start;
        height: auto;
        width: 100%;
        margin-top: 7.5vh;
        flex-wrap:wrap;
        overflow: scroll;
    }

    .item{
        gap: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        width: 50%;
        border-radius: 0;
        border: none;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        margin-bottom: 20px;

    }
    .add_to_cart{
        display: none;
    }
    .item:hover{
        box-shadow: none;
        width: 50%;
        transition: 0.25s;

    }
    .item_image{
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 10px;
        border-radius: 0;
    }
    .item_details{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 40%;
        width: 100%;
    }
    .detail_span{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        height: 33.3%;
        width: 97.5%;
        padding-left: 10px;
        margin-bottom: 10px;
    }


    .casava_logo_mp_self {
        width: 200px;
        height: 200px;
    }
    .casava_logo_mp_self img{
        position: absolute;
        width: 60%;
        height: auto;
        bottom: 0;
        left: 20%;


    }
    .desktop{
        display: none;
    }
    .phone{
        display: flex;
    }
    .alert_store{
        align-items: end;
        justify-content: center;
    }
    .alert_store_span{
        height: 50%;
        width: 50%;
        align-items: center;
        font-size: 15px;
    }
    .header_span{
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: center;
        height: 50%;
        width: 100%;
        padding-right: 15px;
    }


    .orders{
        font-size: 17px;
    }
}