@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Titan+One&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
::-webkit-scrollbar{
    width: 0;
}
body
{
    background: #fff;
    font-size: 0.9em;
}
::-webkit-scrollbar-button{
    width: 0;
}

header
{
    width: 100%;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    z-index: 4444444;
    padding: 0.9em 0;
}
header h3
{
    padding-left: 2%;
    cursor: pointer;
    color: orangered;
    font-weight: bolder;
    /* font-size: clamp(50px, -1.5rem + 3vw, 100px); */
    font-size: 1em;
}
header h3:hover,
header .rel i:hover
{
    transition: .1s;
    color: #fff;
}
header .rel
{
    display: flex;
    align-items: center;
    color: #ff4500;
    gap: 1.2em;
    padding-right: 1.5em;
    cursor: pointer;
}
header .rel i
{
    font-size: 1.8vw;
}
header .rel .bag{
    position: relative;
}

header .rel .count
{
    position: absolute;
    width: 0.6em;
    height: 0.6em;
    min-width: 1.3vw;
    min-height: 1.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: orangered;
    /* border: 2px solid orangered; */
    border-radius: 50%;
    color: #000;
    top: -7%;
    right: -0.3em;
}
header .rel .count h5
{
    font-size: 0.9vw;
}
header img{
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
    color: #000;
    background: #000000;
    border: 2.5px solid orangered;
    
    border-radius: 50%;
}
/* =============================PRODUCTS SECTION STYLE=================================== */
#favTitle, #cartTitle{
    text-align: center;
    color: #fff;
    font-size: 2em;
    margin-top: 1em;
}
.products-boxes
{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    row-gap: 2%;
    margin-top: 2em;
    place-items: center;
}
.products-boxes .product-box
{
    width: 85%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 0.8em;
    cursor: pointer;
    border-radius: 0.5em;
    border: 3px solid #ff4500;
    position: relative;
    font-size: 1em;
}
.products-boxes .product-box-dark
{
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 0.8em;
    cursor: pointer;
    border-radius: 0.5em;
    background-color: orangered;
    color: #fff;
    border: 3px solid #ff4500;
    position: relative;
    font-size: 1em;
}


.products-boxes .product-box:hover
{
    background-color: #ff4500;
    color: #fff;
}
.products-boxes .product-box-dark:hover{
    background: #000;
    color: #fff;
}
.products-boxes .product-box .hover-items,
.products-boxes .product-box-dark .hover-items

{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
}
.products-boxes .product-box .hover-items i,
.products-boxes .product-box-dark .hover-items i
{
    font-size: 1.2em;
    width: 1.5em;
    height: 1.5em;
    padding: 0.2em;
    background-color: #fff;
    color: orangered;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    font-weight: bolder;
}

.products-boxes .product-box-dark .hover-items i
{
    background: #000;

}
.products-boxes .product-box:hover .hover-items i
{
    opacity: 1;
    transition: .4s;
}


.products-boxes .product-box-dark:hover .hover-items i
{

    opacity: 1;
    transition: .4s;
}
.products-boxes .product-box .hover-items i:nth-child(1)
{
    border-top-right-radius: 0.5em;
    border-bottom: 2px solid orangered;
}
.products-boxes .product-box .hover-items i:nth-child(2)
{
    border-top: 2px solid orangered;
    border-bottom-left-radius: 0.5em;
    border: none;
}
.products-boxes .product-box-dark .hover-items i:nth-child(1)
{
    border-top-right-radius: 0.5em;
    border-bottom: 2px solid orangered;
    border-left: 2px solid orangered;
 
}
.products-boxes .product-box-dark .hover-items i:nth-child(2)
{
    border: 2px solid orangered;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 0.5em;

}
 .upper-items
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 .upper-items .fav
{
    font-size: 1.5em;
}
 .product-img
{
    display: flex;
    justify-content: center;
}
 .product-img img
{
    width: 7em;
    height: 7em;
    object-fit: contain;
}
.product-name
{
    font-size: 1.2em;
}
.desc
{
    font-weight: 500;
    font-size: 0.8em;
}
.bottom-items
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 .bottom-items .price
{
    font-size: 1em;
}
 .bottom-items .rev
{
    display: flex;
    gap: 0.5em;
    font-size: 0.93em;
}
 .bottom-items .rev i
{
    color: orange;
}



/* =============================== SIDEBAR SECTION STYLE ========================== */
.sidebar {
    position: absolute;
    top: 0;
    width: 100%;
    background: #fff;
    height: 100vh;
    display: none; /* Initially hidden */
    flex-direction: column;
    row-gap: 2em;
    box-shadow: 0 3px 10px #000;
    z-index: 44400;
}
.sidebar header {
    width: 100%;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    background-color: #000;
    color: #fff;
    z-index: 4444444;
    padding: 0.9em 0;
}
#sideBar.visible {
    display: flex; /* visible state */
}
.sidebar .bottom-content
{
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.sidebar .bottom-content::-webkit-scrollbar
{
    width: 0;
}
.sidebar .bottom-content .content
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.sidebar .bottom-content img
{
    width: 5em;
    height: 6em;
    object-fit: contain;
}
.sidebar .bottom-content .qty,
.sidebar .bottom-content .qty-dark

{
    display: flex;
    align-items: center;
    gap: 0.9em;
    cursor: pointer;
}
.sidebar .bottom-content .qty button,
.sidebar .bottom-content .qty-dark button

{
    width: 1.8em;
    height: 1.8em;
    outline: none;
    border: none;
    background: transparent;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1em 0;
    cursor: pointer;
}

.sidebar .bottom-content .qty-dark button
{
    color: #fff;
    border: none
}
.sidebar .bottom-content .qty input,
.sidebar .bottom-content .qty-dark input
{
    width: 4em;
    height: 1.5em;
    outline: none;
    border: none;
    background: transparent;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.1em 0;
    color: #000;
}

.sidebar .bottom-content .qty-dark input{
    color: #fff;
    border: none;
}
.sidebar .bottom-content .delete
{
    display: flex;
    align-items: center;
    gap: 0.3em;
    width: 8em;
    display: flex;
    justify-content: center;
    outline: none;
    border: none;
    border-radius: 0.5em;
    padding: 0.3em 0;
    background: orangered;
    cursor: pointer;
}
.sidebar .bottom-content .delete .trash
{
    font-size: 1.13em;
}
.sidebar .bottom-items
{
    display: flex;
    justify-content: center;
}
.sidebar .bottom-items .bottom-items-content
{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    gap: 2em;
    background: #fff;
    padding: 0.2em;
}
.sidebar .bottom-items button
{
    width: 25em;
    height: 2.5em;
    background: orangered;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: 700;
    border-radius: 0.4em;
    cursor: pointer;
}
.sidebar .bottom-items button:nth-child(1)
{
    background: #fff;
    border: 2px solid orangered;
}



/* =========================PROFILE NAVBAR SECTION=================== */
.profile_nav{
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    width: 20em;
    height: 94vh;
    display: none;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    padding: 2em 0 0 0;
    gap: 0.7em;
    box-shadow: 6px -6px 10px #000;
    border-bottom-left-radius: 0.6em;
    z-index: 44444;
    translate: 100em 0;
    animation: toLeft .4s;
}
@keyframes toLeft {
    0%{translate: 100em 0;}
    100%{translate: 0 0;}
}
.profile_nav h3{
    font-size: 1em;
}
.profile_nav .special_profile_nav_content
{
    display: flex;
    flex-direction: column;
    gap: 2.3em;
    margin-top: 2.5em;
}

.profile_nav .special_profile_nav
{
    text-align: left;
    background: #fff;
    border-bottom: 3px solid orangered;
    border-left: 3px solid orangered;
    padding: 0.3em 0;
    padding-left: 0.6em;
    cursor: pointer;
    
}
.profile_nav .special_profile_nav:hover{
    background: orangered;
    color: #fff;
    border: 3px solid orangered;
    border-top: none;
    border-right: none;
}
.profile_nav_mode
{
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.profile_nav_mode i
{
    font-size: 1.1em;
    font-weight: bolder;
}
.profile_nav_logout
{
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.profile_nav_logout i
{
    font-weight: bolder;
    font-size: 1.05em;
}
.profile_nav img
{
    border-radius: 50%;
    object-fit: cover;
    width: 4em;
    height: 4em;
    border: 2.5px solid orangered;

}
.profile_nav_button
{
    outline: none;
    border: none;
    height: 2.5em;
    background: orangered;
    color: white;
    font-weight: bolder;
    border-radius: 0.5em;
    margin-top: 1em;
    cursor: pointer;
}
.profile_nav_closeBtn
{
    position: absolute;
    top: 0;
    right: 0;
    background: orangered;
    width: 2em;
    height: 2em;  
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;  
    border-bottom-left-radius: 0.5em;
    font-weight: bolder;
    cursor: pointer;
}



/* ============================================= MEDIA QUERY ============================================== */

@media (max-width: 470px){
    
header
{
    width: 100%;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    z-index: 4444444;
    padding: 0.9em 0;
}
header h3
{
    padding-left: 3%;
    cursor: pointer;
    color: orangered;
    font-weight: bolder;
    /* font-size: clamp(50px, -1.5rem + 3vw, 100px); */
    font-size: 0.95em;
}
header h3:hover,
header .rel i:hover
{
    transition: .1s;
    color: #fff;
}
header .rel
{
    display: flex;
    align-items: center;
    color: #ff4500;
    gap: 1.2em;
    padding-right: 1em;
    cursor: pointer;
}
header .rel i
{
    font-size: 5vw;
}
header .rel .bag{
    position: relative;
}
header .rel .count
{
    position: absolute;
    width: 0.9em;
    height: 0.9em;
    min-width: 1.3vw;
    min-height: 1.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: orangered;
    /* border: 2px solid orangered; */
    border-radius: 50%;
    color: #000;
    top: -7%;
    right: -0.3em;
}
header .rel .count h5
{
    font-size: 0.7em;
}
header img{
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
    color: #000;
    background: #000000;
    border: 2.5px solid orangered;
    
    border-radius: 50%;
}
#favTitle, #cartTitle{
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    margin-top: 1em;
}
.products-boxes
{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    place-items: center;
    row-gap: 1em;
    margin-top: 2em;
}
/* =========================PROFILE NAVBAR SECTION=================== */
.profile_nav{
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    width: 75%;
    height: 100vh;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 5em 0 0 0;
    gap: 0.9em;
    box-shadow: 6px -6px 10px #000;
    border-bottom-left-radius: 0.6em;
    z-index: 44444;
    translate: 100em 0;
    animation: toLeft .4s;
}

.profile_nav h3{
    font-size: 1em;
}
.profile_nav .special_profile_nav_content
{
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    margin-top: 3em;
    font-size: 0.9em;
}

.profile_nav .special_profile_nav
{
    text-align: left;
    background: #fff;
    border-bottom: 3px solid orangered;
    border-left: 3px solid orangered;
    padding: 0.3em 0;
    padding-left: 0.6em;
    cursor: pointer;
    
}
.profile_nav .special_profile_nav:hover{
    background: orangered;
    color: #fff;
    border: 3px solid orangered;
    border-top: none;
    border-right: none;
}
.profile_nav_mode
{
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.profile_nav_mode i
{
    font-size: 1.1em;
    font-weight: bolder;
}
.profile_nav_logout
{
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.profile_nav_logout i
{
    font-weight: bolder;
    font-size: 1.05em;
}
.profile_nav img
{
    width: 4em;
}
.profile_nav_button
{
    outline: none;
    border: none;
    height: 2em;
    background: orangered;
    color: white;
    font-weight: bolder;
    border-radius: 0.5em;
    margin-top: 4em;
    font-size: 0.8em;
    cursor: pointer;
}
.profile_nav_closeBtn
{
    position: absolute;
    top: 0;
    right: 0;
    background: orangered;
    width: 2em;
    height: 2em;  
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;  
    border-bottom-left-radius: 0.5em;
    font-weight: bolder;
    cursor: pointer;
}
/* ============================= SIDEBAR SECTION STYLE ================================ */
.sidebar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    height: 100vh;
    display: none; /* Initially hidden */
    flex-direction: column;
    row-gap: 2em;
    box-shadow: 0 3px 10px #000;
    z-index: 44400;
}
.sidebar header {
    width: 100%;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    background-color: #000;
    color: #fff;
    z-index: 4444444;
    padding: 0.9em 0;
}
.sidebar .bottom-content
{
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sidebar .bottom-content .content
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 0.4em;
}
.sidebar .bottom-content .qty,
.sidebar .bottom-content .qty-dark

{
    display: flex;
    align-items: center;
    gap: 0.9em;
    cursor: pointer;
}
.sidebar .bottom-content .qty button,
.sidebar .bottom-content .qty-dark button

{
    width: 1.2em;
    height: 1.2em;
    outline: none;
    border: none;
    background: transparent;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1em 0;
    cursor: pointer;
}
.sidebar .bottom-content .qty-dark button
{
    color: #fff;
    border: 2px solid #fff;
}
.sidebar .bottom-content .qty input,
.sidebar .bottom-content .qty-dark input
{
    width: 2em;
    height: 1em;
    outline: none;
    border: none;
    background: transparent;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.1em 0;
    font-size: 1.8em;
}
.sidebar .bottom-content .qty-dark input{
    color: #fff;
    border: 2px solid #fff;
}
.sidebar .bottom-content .delete
{
    display: flex;
    align-items: center;
    gap: 0.3em;
    display: flex;
    justify-content: center;
    outline: none;
    border: none;
    border-radius: 0.5em;
    padding: 0.8em 1.5em;
    background: none;
    color: orangered;
    cursor: pointer;
    font-size: 0.5em;
}


.sidebar .bottom-content .delete .trash
{
    font-size: 3em;
}
}