*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
:root{
    --font-size-text : clamp(13px,2vw,17px);
    --font-size-text2 : clamp(13px,2vw,15px);
    --font-size-text3 : clamp(10px,2vw,15px);
    --font-size-subHeading : clamp(17px,3vw,25px);
    --font-size-subHeading2 : clamp(17px,3vw,30px);
    --green-color : #62ab00;
}
html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
    scroll-behavior: smooth ;
    transition: all 300ms;
}
main{
    min-height: 100vh;
}
a{
    text-decoration: none;
}
button{
    cursor: pointer;
}
input,textarea{
    outline: none;
}

header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 2% 10%;
    padding-bottom: 5px;
    position: relative;
}
header .nonStickyHeader{
    width: 100%;
}
header .headerUpper{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

header .headerUpper .headerLogo, header .stickyHeader .headerLogo, .mobileHeader .headerLogo{
    height: min(70px,7vw);
}

header .headerUpper .search, .mobileHeader .headerMenu .search{
    padding: 10px;
    width: 50%;
}
header .headerUpper .search form, .mobileHeader .headerMenu .search form{
    display: flex;
    flex-direction: row;
    border-color: rgb(204, 199, 199);
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    /* width: 150%; */
    box-sizing: content-box;
}
header .headerUpper .search form input, .mobileHeader .headerMenu .search form input{
    height: 50px;
    padding-left: 10%;
    border: none;
    outline: none;
    width: 150%;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: content-box;
}
header .headerUpper .search form button, .mobileHeader .headerMenu .search form button{
    padding: 0 20px;
    background: var(--green-color);
    border-radius: 0 5px 5px 0;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    box-sizing: content-box;
}
header .headerUpper .headerOptions{
    display: flex;
    gap: 40px;
    align-items: center;
}
header .headerUpper .headerOptions .headerAccount a, .mobileHeader .headerAccount a{
    text-decoration: none;
    color: #333;
    font-size: 15px;
    border-radius: 50%;
    aspect-ratio: 1;
    /* padding: 5px; */
    overflow: hidden;
}
header .headerUpper .headerOptions .headerAccount a img, .mobileHeader .headerAccount a img{
    height: 24px;
    width: fit-content;
    align-items: center;
}
header .headerUpper .headerOptions .headerAccount a img, .mobileHeader .headerAccount a img{
    height: 24px;
    width: fit-content;
    align-items: center;
}
header .headerUpper .headerOptions .headerCart{
    display: flex;
    height: 34px;
    /* align-items: center; */
}
header .headerUpper .headerOptions .headerCart img{
    height: 34px;
    width: fit-content;
    align-items: center;
}
header .headerUpper .headerOptions .headerCart span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    height: 20px;
    font-size: 15px;
    font-weight: 700;
    /* text-align: center; */
    background-color: rgb(174, 7, 7);
    color: white;
    border-radius: 50%;
}

header nav{
    display: flex;
    align-items: center;
    margin: 10px 0;
    margin-bottom: 0;
    justify-content: space-between;
    padding: 2% 0;
}
header nav .navCategory{
    font-size: 18px;
    font-weight: 600;
    display: flex;
    color: #333;
    gap : 20px;
    align-items: center;
    position: relative;
    border: 1px solid lightgray;
    border-radius: 3px;
    padding: 10px 3%;
    cursor: pointer;
}
header nav .navCategory .icon, .mobileHeader .icon{
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}
header nav .navCategory .icon .bar,.mobileHeader .icon .bar{
    width: 20px;
    height: 2px;
    background-color: black;
}
header nav .navCategory .categories{
    display: none;
    flex-direction: column;
    position: absolute;
    width: 100%;
    top : 40px;
    left: 0px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.5s;
    cursor: pointer;
    background-color: white;
}
header nav .navCategory .categories a{
    color: #333;
    font-weight: 100;
}
header nav .navCategory .categories span{
    display: inline-block;
    padding: 10px;
    font-size: 20px;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    padding-left: 40px;
    display: flex;
    color: #333;
}
header nav .navCategory:hover .categories{
    opacity: 1;
    transform: translateX(0px);
    display: flex;
}
header nav .navOptions{
    display: flex;
    gap: 3vw;
    color: #333;
}
header nav .navOptions a,.mobileHeader .headerMenu .navOptions a{
    color: #333;
    font-size: var(--font-size-text);
}
header nav .navOptions a:hover, .mobileHeader .headerMenu .navOptions a:hover{
    color: var(--green-color);
}

header .stickyHeader{
    transform: translateY(0%);
    display: none;
    position: fixed;
    padding: 1% 10%;
    box-shadow: 0px 5px 20px 0px #00000012;
    background-color: rgb(255 255 255 / 61%);
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(3px);
    z-index: 9999;
    margin: 0;
    /* transform: translateY(-100%); */
    animation: headerPopDown 0.5s alternate 1;
    animation-name: none;
    /* transition: all 300ms; */
}
@keyframes headerPopDown {
    0%{
        transform: translateY(-100%);
    }
    100%{
        transform: translateY(0%);
    }
}
.mobileHeader{
    position: sticky;
    top: 0;
    display: none;
    z-index: 999999 !important;
    width: 100%;
    box-shadow: 0px 5px 20px 0px #00000012;
    background-color: rgb(255 255 255 / 61%);
    backdrop-filter: blur(3px);
    /* padding: 0% !important; */
    /* position: fixed;
    background: white; */
}
.mobileHeader nav>div{
    display: flex;
    gap: 20px;
    align-items: center;
}
.mobileHeader .headerMenu{
    display: flex;
    opacity: 0;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    z-index: 10;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: whitesmoke;
    padding-bottom: 20px;
    transform: translateY(-100%);
    transition: all 500ms;
}
.mobileHeader .headerMenu .search{
    width: 100%;
}
.mobileHeader .headerMenu .navOptions{
    display: flex;
    flex-direction: column;
    text-align: center;
}

@media screen and (max-width : 750px) {
    .generalHeader{
        display: none;
    }
    .mobileHeader{
        display: block;
    }
    header{
        padding: 2% 5%;
    }
    main .breadCrumbs{
        margin-top: 10px !important;
    }
    header .headerUpper .headerLogo, header .stickyHeader .headerLogo, .mobileHeader .headerLogo{
        height: 40px;
    }
}

main .breadCrumbs{
    padding: 1% 10%;
    margin: 1% 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #333;
}
main .breadCrumbs a{
    color: lightslategray;
}
main .breadCrumbs a:last-child{
    color: var(--green-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#scrollUpButton{
    font-size: var(--font-size-subHeading);
    color: #555555;
    background-color: rgba(255, 255, 255, 0.49);
    padding: 10px 12px;
    border: 2px double lightgray;
    width: fit-content;
    height: fit-content;
    border-radius: 5px;
    position: fixed;
    bottom: 5%;
    right: 5%;
    display: block;
    transition: all 300ms;
    scale: 0;
}
#scrollUpButton:hover{
    color: whitesmoke;
    background-color: #33333356;
}

#alertNotificationContainer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#alertNotification{
    opacity: 0;
    width: 0;
    scale: 0;
    top: -100%;
    padding: 8px 30px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    border: 1px solid #62ab00;
    color: #5d901c;
    font-size: large;
    background-color: rgb(188, 240, 188);
    border-radius: 10px;
    position: fixed;
    z-index: 9999;
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
    animation: pop-up-animation 5s ease-in-out;
    animation-iteration-count: 1;
}

@keyframes pop-up-animation {
    0%{
        opacity: 0;
        width: 0;
        scale: 0;
        top: -100%;
    }
    10%{
        opacity: 100%;
        width: fit-content;
        scale: 100%;
        top: 3%;
    }
    80%{
        opacity: 100%;
        width: fit-content;
        scale: 100%;
        top: 3%;
    }
    100%{
        opacity: 0;
        width: 0;
        scale: 0;
        top: -100%;
    }
}