.keyhan_theme_menu_container{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    
}
.keyhan_theme_menu_body{
    position: relative;
    z-index: 1000;
}
.keyhan_theme_menu_body a{
    text-decoration: none;
    color: unset !important;
    font-size: unset;

    white-space: nowrap;
}


.keyhan_theme_menu_body>ul{
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;

    font-family: vazirmatn;
    font-size: 17px;
    font-weight: 500;
    color: var(--text_color);
}

.keyhan_theme_menu_body>ul>li{
    position: relative;
    

    margin-left: 10px;
    margin-right: 10px;

}

.keyhan_theme_menu_body>ul>li.menu-item-has-children{
    margin-left: 20px;
}

.keyhan_theme_menu_body>ul>li.menu-item-has-children::after{
    content: " ";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: block;
    position: absolute;
    left: -13px;
    top: calc(50% - 1px);
    transform: translateY(-50%) rotate(45deg);
}

.keyhan_theme_menu_body>ul>li>ul{
    
    min-width: 200px;

    padding: 8px 0px;
    background-color: #fff;
    border-radius: 5px;
    list-style: none;
    position: absolute;
    top: 35px;
    filter: drop-shadow(0 0 8px #0005);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s,visibility 0.1s 0.6s;

    font-weight: 400;
    font-size: 15px;
}

.keyhan_theme_menu_body>ul>li:hover>ul {
  transition: opacity 0.5s, visibility 0.1s 0s;
  visibility: visible;
  opacity: 1;
}

.keyhan_theme_menu_body>ul>li>ul::before{
    width: 10px;
    height: 10px;
    position: absolute;
    top: -5px;
    right: 15px;
    transform: rotate(45deg);
    content: ' ';
    background-color: #fff;
    border-radius: 5px 0 0 0;
}

.keyhan_theme_menu_body>ul>li>ul>li{
    position: relative;
    padding-left: 19px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.keyhan_theme_menu_body>ul>li>ul>li.menu-item-has-children::after{
    content: " ";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: block;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
}

.keyhan_theme_menu_body>ul>li>ul>li>ul{
    min-width: 200px;
    position: absolute;
    list-style: none;

    top: -12px;
    right: calc(100% + 8px);
    padding: 8px 5px;
    background-color: #fff;
    border-radius: 5px;
    /* filter: drop-shadow(0 0 10px #0005); */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s,visibility 0.1s 0.6s;
}

.keyhan_theme_menu_body > ul > li > ul > li:hover > ul {
  transition: opacity 0.5s, visibility 0.1s 0s;
  visibility: visible;
  opacity: 1;
}


.keyhan_theme_menu_body>ul>li>ul>li>ul::before{
    width: 10px;
    height: 10px;
    position: absolute;
    top: 24px;
    right: -5px;
    transform: rotate(45deg);
    content: ' ';
    background-color: #fff;
    border-radius: 0 5px 0 0;
}


.keyhan_theme_menu_body>ul>li>ul>li>ul>li{
    position: relative;

    margin: 10px 12px;
}

.keyhan_theme_menu_body>ul>li>ul>li>ul>li>ul{
    display: none;
}




















.keyhan_theme_menu_elements_container{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    
}
.keyhan_theme_search_icon{
    width: 22px;
    height: 22px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/search.svg);
    mask-image: url(../icons/search.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
}


.keyhan_theme_my_account_icon{
    width: 22px;
    height: 22px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/user_account.svg);
    mask-image: url(../icons/user_account.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    margin-right: 10px;
}

.keyhan_theme_cart_icon{
    width: 22px;
    height: 22px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/cart.svg);
    mask-image: url(../icons/cart.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    margin-right: 10px;
}









.keyhan_theme_search_container{
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100vh;
    background-color: #000b;
    top: 0;
    right: 0;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.keyhan_theme_search_container_back{
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
}

.keyhan_theme_search_body{
    width: 700px;
    height: 50px;
    border-radius: 7px;
    background-color: #fff;

    position: relative;
}

.keyhan_theme_search_body form{
    width: 100%;
    height: 100%;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;

}

.keyhan_theme_search_body input{
    width: 100%;
    height: 100%;

    font-family: vazirmatn;
    padding: 5px 10px;
    font-size: 16px;
    color:var(--text_color);
    border: 0;
    outline: 0;
    background-color: unset;
}

.keyhan_theme_search_body button{
    width: 26px;
    height: 26px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/search.svg);
    mask-image: url(../icons/search.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
    
    position: absolute;

    left: 10px;
    border: 0;
    outline: 0;
    
}


.keyhan_theme_search_close_icon{
    width: 30px;
    height: 30px;
    background-color: #fff;

    -webkit-mask-image: url(../icons/close_square.svg);
    mask-image: url(../icons/close_square.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
    
    position: absolute;

    /* top: calc(100% + 5px); */
    right: -35px;
}




.keyhan_theme_menu_mobile_icon{
    display: none;

    width: 22px;
    height: 22px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/menu_icon.svg);
    mask-image: url(../icons/menu_icon.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
}

.keyhan_theme_menu_mobile_container{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #000b;

    z-index: 2000;

    transition: opacity 0.4s;

    display: none;
    opacity: 0;
}

.keyhan_theme_menu_mobile_container_back{
    position: absolute;
    top: 0;
    right: 0;

    width: 100%;
    height: 100vh;
}

.keyhan_theme_menu_mobile_close_icon{
    width: 30px;
    height: 30px;
    background-color: #fff;

    -webkit-mask-image: url(../icons/close_square.svg);
    mask-image: url(../icons/close_square.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
    
    position: absolute;

    /* top: calc(100% + 5px); */
    left: -40px;
    top: 55px;
}

.keyhan_theme_menu_mobile_body{
    width: 350px;
    height: 100vh;
    background-color: #fff;
    position: relative;

    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    right: -400px;

    transition: 0.7s;
}


.keyhan_theme_menu_mobile_search_container{
    width: 90%;
    /* padding-top: 50px; */

    margin: 50px auto 0 auto;
    
    border: 1px solid var(--theme_base_color);
    border-radius: 7px;
}

.keyhan_theme_menu_mobile_search_container form{
    width: 100%;
    height: 100%;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;

    position: relative;

}

.keyhan_theme_menu_mobile_search_container input{
    width: 100%;
    height: 100%;

    font-family: vazirmatn;
    padding: 5px 7px;
    font-size: 16px;
    color:var(--text_color);
    border: 0;
    outline: 0;
    background-color: unset;
}

.keyhan_theme_menu_mobile_search_container button{
    width: 20px;
    height: 20px;
    background-color: var(--theme_base_color);

    -webkit-mask-image: url(../icons/search.svg);
    mask-image: url(../icons/search.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    cursor: pointer;
    
    position: absolute;

    left: 7px;
    border: 0;
    outline: 0;
    
}

.keyhan_theme_menu_mobile_title{
    width: 90%;
    font-family: rokh;
    font-size: 20px;
    font-weight: 700;
    color: var(--theme_base_color);

    margin: 20px auto 0 auto;
}


.keyhan_theme_menu_mobile_content{
    width: 90%;
    margin: 10px auto 0 auto;
}


.keyhan_theme_menu_mobile_content a{
    text-decoration: none;
    color: unset !important;
    font-size: unset;

    white-space: nowrap;
}


.keyhan_theme_menu_mobile_content>ul{
    list-style: none;
    display: flex;
    flex-flow: column nowrap;
    /* align-items: center; */

    font-family: vazirmatn;
    font-size: 17px;
    font-weight: 500;
    color: var(--text_color);
}

.keyhan_theme_menu_mobile_content>ul>li{
    position: relative;
    

    margin-left: 10px;
    margin-right: 10px;

    padding-top: 4px;
    padding-bottom: 4px;

}

.keyhan_theme_menu_mobile_content>ul>li.menu-item-has-children{
    /* margin-left: 20px; */
    
}

.keyhan_theme_menu_mobile_content>ul>li.menu-item-has-children::after{
    content: " ";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: block;
    position: absolute;
    left: 5px;
    top: 13px;
    transform: rotate(45deg);
}

.keyhan_theme_menu_mobile_content>ul>li>ul{
    
    min-width: 200px;

    
    /* background-color: red; */
    
    list-style: none;
    
    
    transition:  0.75s;


    font-weight: 400;
    font-size: 15px;

    max-height: 0;
    overflow: hidden;
}

.keyhan_theme_menu_mobile_content>ul>li.menu-item-has-children:hover>ul{

    max-height: 10000px;
    

}



.keyhan_theme_menu_mobile_content>ul>li>ul>li{
    position: relative;
    padding-left: 19px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.keyhan_theme_menu_mobile_content>ul>li>ul>li.menu-item-has-children::after{
    content: " ";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: block;
    position: absolute;
    left: 14px;
    top: 13px;
    
    transform:  rotate(45deg);
}

.keyhan_theme_menu_mobile_content>ul>li>ul>li>ul{
    min-width: 200px;
    list-style: none;

    
    
    /* background-color: green; */
    border-radius: 5px;
    
    transition: 0.5s;
    max-height: 0;
}

.keyhan_theme_menu_mobile_content > ul > li > ul > li:hover > ul {
    max-height: 10000px;
}


/* .keyhan_theme_menu_mobile_content>ul>li>ul>li>ul::before{
    width: 10px;
    height: 10px;
    position: absolute;
    top: 24px;
    right: -5px;
    transform: rotate(45deg);
    content: ' ';
    background-color: #fff;
    border-radius: 0 5px 0 0;
} */


.keyhan_theme_menu_mobile_content>ul>li>ul>li>ul>li{
    position: relative;

    margin: 10px 12px;
}

.keyhan_theme_menu_mobile_content>ul>li>ul>li>ul>li>ul{
    display: none;
}




.keyhan_theme_menu_mobile_woo_container{
    width: 90%;
    margin: 20px auto 10px auto;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}

.keyhan_theme_menu_mobile_woo_container>a>div{
    width: 25px;
    height: 25px;

}









@media screen and (max-width: 760px) {

    .keyhan_theme_menu_container{
        display: none;
    }

    .keyhan_theme_menu_mobile_icon{
        display: block;
    }

}