@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
/* overflow-x: hidden; */
}
body{
    background-color: #f7f7f75c !important;
}
body *{
    text-transform: capitalize;
    text-decoration: none;
    font-family: font;
    list-style: none;
}
body a{
    color: black;
    text-decoration: none;
}
ul{
    padding: 0 !important;
    margin: 0 !important;
}
nav{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    box-shadow:0 4px 5px 0 rgba(41, 41, 41, 0.31);
}
.nav-container{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    background-color: white;
    padding: 1em 2.5%;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.logo-sec,.nav-option{
    width: 25%;
    height: auto;
    float: left;
    display: flex;
    justify-content: flex-end;
}
.nav-option {
    justify-content: flex-start;
}
.logo-sec img{
    width: 5em;
    height: auto;
    float: left;
}
.logo-sec a{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
}
.menu-box{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
:where(.menu-box,.nav-option) ul{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
:where(.menu-box,.nav-option) li{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2em;
}
:where(.menu-box,.nav-option) li:last-child{
    margin: 0 !important;
}
:where(.menu-box,.nav-option) :is(a,button){
    width: fit-content;
    height: auto;
    float: left;
    cursor: pointer;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0;
    padding-bottom: 0.1em;
    transition: 0.3s;
}
.nav-option a{
    position: relative;
}
.nav-option-icon span{
    width: 16px;
    height: 16px;
    float: left;
    border-radius: 100px;
    background-color: rgb(0, 94, 202);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: absolute;
    top: -3px;
    right: -10px;
}
.menu-box :is(a,button):hover{
    border-color: rgb(0, 94, 202);
    transition: 0.3s;
}
.menu-active{
    border-color: rgb(0, 94, 202) !important;
}
.nav-option :is(button,a){
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.nav-option p{
    margin: 0;
    display: none;
    font-size: 14px;
    margin-top: 5px;
}
.nav-option i{
    font-size: 17px;
    color: black;
}
.nav-option-icon{
    width: fit-content;
    position: relative;
    float: left;
    display: flex;
}
.search-box{
    width: 100%;
    height: auto;
    float: left;
    display: none;
    padding: 0.8em 2.5%;
    border-top: 2px solid rgb(227, 227, 227);
    opacity: 0;
    background-color: white;
    box-sizing: border-box;
}
.search-form{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    background-color: rgb(230, 230, 230);
}
.search-form input{
    width: 100%;
    height: auto;
    float: left;
    border: none;
    background-color: transparent;
    font-size: 18px;
    padding: 0.5em 1em;
    outline: none;
}
.search-form button{
    width: 5em;
    font-size: 18px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.close-search{
    width: 3em;
    height: auto;
    float: left;
    background-color: transparent;
    cursor: pointer;
    border: none;
    font-size: 25px;
    padding: 0;
    color: rgb(0, 94, 202);
}
.manu-fixed{
    width: 100%;
    height: 100%;
    float: left;
    position: fixed;
    background-color: #30373f;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:2.5%;
    top: 0;
    right: -100%;
    box-sizing: border-box;
    overflow-y: auto;
}
.close-menu{
    width: fit-content;
    float: left;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    left: 7%;
    top: 3em;
}
.close-menu button{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 35px;
}
.manu-fixed ul{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* margin-top: 2em; */
    padding-top: 25vh !important;
    overflow-y: auto;
}
.manu-fixed li{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    list-style: none;
    margin-bottom: 2em;
    flex-direction: column;
    align-items: center;
}
.manu-fixed li:last-child{
    margin: 0;
}
.manu-fixed :where(a,button){
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
}
.manu-fixed button{
    border: none;
    background-color: transparent;
}
.modal-submenu{
    width: fit-content;
    height: 0;
    float: left;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.submenu-ele{
    width: fit-content;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
}
.submenu-ele button{
    color: rgb(132, 157, 255);
    display: flex;
    align-items: center;
}
.submenu-ele button>i,.category-btn i{
    margin-right: 10px;
}
.modal-subcategory{
    width: fit-content;
    height: 0;
    overflow: hidden;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-subcategory a{
    margin-top: 0.5em;
    color: rgb(206, 163, 226);
}
.bars-btn i{
    color: black !important;
    margin: 0 !important;
    font-size: 22px;
}
.bars-sec{
    display: none;
}
.language-sec{
    width: 100%;
    height: 100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.599);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -3;
    opacity: 0;
}
.language-box{
    width: 25em;
    height: auto;
    float: left;
    background-color: white;
}
.language-header{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    padding: 0.2em 2.5%;
    border-bottom: 1px solid rgb(222, 222, 222);
    justify-content: flex-end;
}
.language-header button{
    width: fit-content;
    height: auto;
    float: left;
    background-color: transparent;
    border: none;
    font-size: 20px;
    padding: 0.3em 0.6em;
    cursor: pointer;
    outline: none;
}
.language-form{
    width: 100%;
    height: auto;
    float: left;
    padding: 1em 2.5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.language-form select{
    width: 100%;
    height: auto;
    float: left;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    padding: 0.6em 0;
    margin: 1em 0;
}
.language-form button{
    width: fit-content;
    height: auto;
    float: left;
    padding: 0.5em 2em;
    border-radius: 5px;
    background-color: rgb(0, 94, 202);
    color: white;
    border: none;
    color: white;
    cursor: pointer;
}

header{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(80, 106, 173, 1) 100%); */
    background:  linear-gradient(-90deg, rgb(62 61 147) 0%, rgb(211 141 243) 70%);
    padding: 3em 5%;
    box-sizing: border-box;
    /* margin-bottom: 2em; */
}
.m-discount-show{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    /* background-color: #eb0000; */
    /* background-image: url(background.gif);
    background-position: 0px -117px;
    background-size: 50%; */
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.m-discount-show a{
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding:1.5em 1em;
}
.m-discount-show h3{
    margin: 0;
    color: white;
}
.m-discount-show img{
    width: 100%;
    height: 100%;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.m-tooltip-sec{
    width: fit-content;
    position: absolute;
    bottom: -2em;
    background-color: rgb(0, 94, 202);
    color: white;
    font-size: 13px;
    padding: 0.4em 1.5em;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.089);
    opacity: 0;
    transition: 0.3s;
}
.m-tooltip-sec i{
    position: absolute;
    top: -14px;
    z-index: -1;
    font-size: 23px;
    color: rgb(0, 94, 202);
}
.m-profile-sec{
    position: relative;
}
.m-profile-sec:hover .m-tooltip-sec{
    bottom: -3em;
    opacity: 1;
    transition: 0.3s;

}
.m-myprofile{
    margin: 0;
    margin-right: 15px;
}
/* .menu-section{
    width: fit-content;
    float: left;
    display: none;
    justify-content: center;
}
.menu-section li{
    width: fit-content;
    list-style: none;
    float: left;
    display: flex;
    align-items: center;
    margin-left: 1em;
}
.menu-section li:last-child{
    margin: 0;
} */
.nav-ele{
    width: fit-content;
    float: left;
    display: none;
}
.nav-ele :where(a,button){
    width: fit-content;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background-color: transparent;
}
.nav-ele p{
    margin: 0;
    font-size: 14px;
    margin-top: 5px;
}
.nav-ele i{
    color: gray;
}
@media only screen and (max-width:1100px){
    .menu-box{
        display: none;
    }
    :is(.nav-option,.nav-ele) p{
        display: flex;
        font-size: 11px;
    }
    .bars-sec{
        display: flex;
    }
    .nav-container {
        flex-direction: row-reverse;
        padding: 1em 2.5%;
    }
    .nav-option,.logo-sec{
        width: 100%;
        justify-content: center;
    }
    .nav-option{
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: white;
        padding: 1em 10%;
        box-sizing: border-box;
        border-radius: 10px 10px 0 0;
        box-shadow: 0 0px 10px 0 rgba(41, 41, 41, 0.31);
    }
    .nav-option ul{
        width: 100%;
        justify-content: space-between;
    }
    .nav-option li{
        margin: 0;
    }
    .nav-option i {
        color: gray;
    }
}
@media only screen and (max-width:600px){
    .nav-ele{
        display: flex;
    }
    .nav-option :where(li:nth-child(6),li:nth-child(7)){
        display: none;
    }
    .nav-option {
        padding: 1em 5%;
    }
    .logo-sec{
        justify-content: space-between;
        align-items: center;
    }
}
@media only screen and (max-width:400px){
    .m-myprofile{
        font-size: 14px;
    }
}
@media only screen and (max-width:350px){
    .nav-option li:nth-child(4){
        display: none;
    }
}