.banta-elementor-menu{
    position: relative;
    z-index: 51;
}
.banta-elementor-menu ul{
    margin: 0;
    padding: 0;
}
html[dir=ltr] .banta-elementor-menu ul{
    direction: ltr;
}
.banta-elementor-menu li{
    display: inline-block;
    position: relative;
}

.banta-elementor-menu li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-weight: 400;
    font-size: 15px;
    position: relative;
    padding: 7px 12px;
    transition: 350ms;
    z-index: 1;
    border-radius: 8px;
}


.banta-elementor-menu li a img{
    margin-bottom: 5px;
}
.banta-elementor-menu li a:before{
    content: '';
    display: inline-block;
    width: 100%;
    height: 0;
    background: var(--colorMain);
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 0;
    transition: 350ms;
    z-index: -1;
    border-radius: 20px;
}
.banta-elementor-menu li:hover > a{
    color:#fff;
}
.banta-elementor-menu li.menu-item-has-children > a:after{
    content: "\e903";
    font-weight: 200;
    font-family: 'iconly' !important;
    display: inline-block;
    margin-right: 4px;
    vertical-align: bottom;
}
html[dir=ltr] .banta-elementor-menu li.menu-item-has-children > a:after{
    margin-right: 0;
    margin-left: 4px;
}
.banta-elementor-menu li.menu-item-has-children > a:before {
    border-bottom-left-radius: 0 !important;
}

.banta-elementor-menu li.menu-item-has-children:hover > a:after{
    content: "\e912";
}

.banta-elementor-menu li:hover > a:before{
    height: 100%;
}
.banta-elementor-menu li ul{
    position: absolute;
    width: 200px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.12);
    top: calc(100% + 10px);
    right: 0;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 300ms;
    border-radius: 10px;
}
.banta-elementor-menu .menu > li:hover > ul{
    visibility: visible;
    opacity: 1;
    top: 100%;
}
.banta-elementor-menu li ul li{
    display: block;
}
.banta-elementor-menu li ul li a{
    font-size: 14px;
}
.banta-elementor-menu li ul li.menu-item-has-children > a:after{
    content: "\e908"!important;
    color: var(--colorSecondary);
}

.banta-menu-backdrop{
    display: none;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 50;
    background-color: var(--colorSecondary);
    opacity: 0.4;
    -webkit-backdrop-filter: blur(2em);
    backdrop-filter: blur(2em);
}
nav.navigation.posts-navigation {
    display: none;
}
@media (min-width: 992px) {
    .banta-menu-backdrop{
        display: none!important;
    }
}
.banta-el-menu-item-toggle{
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1;
    background: #eee;
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.menu-items .banta-el-menu-item-toggle{
    top: 5px;
    width: 40px;
    height: 40px;
}

.banta-elementor-menu li ul li a,
.banta-elementor-menu li:hover ul li a{
}

.banta-elementor-menu li ul li a:before {
    background: var(--colorSecondary) !important;
    left: auto !important;
    right: 0 !important;
    width: 2px !important;
    height: 0;
}
.banta-elementor-menu li ul li a:hover:before {
    height: 100% !important;
}
.banta-elementor-menu li ul li:hover a {
    color: var(--colorSecondary);

}
.banta-elementor-menu li ul ul{
    top: 0;
    border: 0;
    right: calc(100% - 20px);
    z-index: 1;
}

.banta-elementor-menu .menu > li > ul li:hover > ul{
    opacity: 1;
    visibility: visible;
    right: calc(100% - 10px);
}



.banta-elementor-toggle,
.banta-elementor-cart-button,
.banta-elementor-account-button{
    color: var(--colorSecondary);
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    background: #fff;
    border-radius: 7px;
}
.banta-elementor-toggle{
    background: transparent;
}
.banta-elementor-cart-button,
.banta-elementor-account-button{
    display: inline-flex;
    transition: 300ms;
    position: relative;
}
.banta-elementor-account-button {
    width: auto;
    padding: 0 12px;
}
.banta-elementor-account-button.signin{
    font-size: 14px;
    width: auto!important;
}
.banta-elementor-account-button.signin:after{
    content: none!important;
}
html[dir=rtl] .banta-elementor-account-button.signin i,
html[dir=rtl] .banta-elementor-account-button.signin .iconly
{
    margin-left: 6px;
}
html[dir=ltr] .banta-elementor-account-button.signin i,
html[dir=ltr] .banta-elementor-account-button.signin .iconly
{
    margin-right: 6px;
}
.banta-elementor-cart-button:hover,
.banta-elementor-account-button:hover{
    color: var(--colorMain);
}
.banta-elementor-account-button:after{
    content: "\e903";
    font-family: 'iconly' !important;
    display: inline-block;
    margin-right: 7px;
    font-size: 14px;
    font-weight: 200;
}

.banta-btn-cart-count{
    position: absolute;
    display: inline-flex;
    width: 16px;
    height: 16px;
    font-size: 10px;
    color: #fff;
    background: var(--colorMain);
    align-items: center;
    justify-content: center;
    top: -4px;
    right: -4px;
    border-radius: 50%;
    transition: 100ms;
}
.banta-elementor-cart-button:hover .banta-btn-cart-count{
    transform: translate(2px,-2px);
}
.banta-account-dropdown {
    position: absolute;
    top: calc(100% - 15px);
    z-index: 61;
    background: #fff;
    width: 180px;
    left: 0;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px #00000026;
    transition: 300ms;
    opacity: 0;
    visibility: hidden;
}
.banta-account-dropdown ul{
    margin: 0;
    padding: 0;
}
html[dir=ltr] .banta-account-dropdown{
    left: auto;
    right: 0!important;
}
.banta-account-dropdown.open-from-left,
.search-form.open-from-left
{
    left: 0!important;
    right: auto!important;
}
.banta-account-dropdown.open-from-right,
.search-form.open-from-right
{
    left: auto!important;
    right: 0!important;
}




.banta-account-dropdown li{
    display: block;
}
.banta-account-dropdown li a{
    text-align: right;
    display: block;
    font-size: 14px;
    padding: 5px 0;
    color: #333;
    transition: 200ms;
}
html[dir=ltr] .banta-account-dropdown li a{
    direction: ltr;
    text-align: left;
}
.banta-account-dropdown li a i{
    margin-left: 5px;
    color: #b7b7b7;
    transition: 200ms;
}
html[dir=ltr] .banta-account-dropdown li a i{
    margin:0 5px 0 0;
}
.banta-account-dropdown li a:hover{
    color: var(--colorMain);
}
.banta-account-dropdown li a:hover i{
    color: var(--colorMain);
}
.banta-elementor-account-button:hover .banta-account-dropdown{
    visibility: visible;
    opacity: 1;
    top: calc(100% - 5px);
}
.banta-elementor-account-button.hide-chevron:after{
    content: none!important;
}

.banta-elementor-toggle{
    display: none;
}
.banta-menu-heading{
    padding: 0 15px;
    height: 56px;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banta-menu-heading-back{
    display: flex;
    width: 56px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eee;
    color: #333;
    cursor: pointer;
}
html[dir=ltr] .banta-menu-heading-back{
    transform: rotate(-180deg);
}
.banta-menu-heading-name{
    font-weight: bold;
    font-size: 14px;
    color: var(--colorMain);
}


/* فاز ۷ — بلوک yith/woocommerce حذف شد (سایت فروشگاهی نیست).
   .widget-title اینجا نگه داشته شد چون کلاس عمومی ابزارک وردپرس است،
   نه ووکامرس. */
.widget-title{
    font-size: 16px;
    margin:20px 0 10px;
    font-weight: 700;
}
html[dir=ltr] .widget-title{
    text-align: left!important;
    direction: ltr!important;
}

li.cat-item {
    font-size: 13px;
    font-weight: 400;
    color: var(--colorMain);
    border-bottom: 1px solid #eee;
    padding: 6px 0 5px;
}
.cat-item .count {
    font-weight: 700;
    margin-right: 5px;
    float: left;
}
li.cat-item a{
    color: #333;
    display: inline-block;
}
li.cat-item:last-of-type{
    border-bottom: none;
}
li.cat-item a:hover{
    color: var(--colorMain);
}
html[dir=ltr] li.cat-item{
    text-align: left!important;
}
html[dir=ltr] .cat-item .count {
    float: right!important;
}



html[dir=ltr] .banta-elementor-menu li ul{
    right: auto;
    left: 0;
}

html[dir=ltr] .banta-elementor-menu .menu > li > ul li:hover > ul{
    right: auto;
    left: calc(100% - 10px);
}
html[dir=ltr] .banta-elementor-menu .menu > li > ul ul{
    left: calc(100% - 20px);
}
html[dir=ltr] .banta-elementor-menu li.menu-item-has-children > a:after{
    margin: 0 0 0 4px!important;
}
html[dir=ltr] .banta-elementor-menu li ul li.menu-item-has-children > a:after{
    content: "\e90d"!important;
}
html[dir=ltr] .banta-elementor-menu li ul li a:before{
    left: 0!important;
    right: auto!important;
}



/* فاز ۷ — کل بلوک «product cards» (bcp-card / bcp-modal / bcp-section /
   bcp-tabs / bcp-instant-offer) حذف شد. کارت محصول ووکامرس بود و روی
   ۱۹ صفحه‌ی زنده صفر تطابق داشت. */











@media (max-width: 992px) {
    .banta-account-dropdown.open-from-left-mobile,
    .search-form.open-from-left-mobile
    {
        left: 0!important;
        right: auto!important;
    }
    .banta-account-dropdown.open-from-right-mobile{
        left: auto!important;
        right: 0!important;
    }

    .banta-el-menu-item-toggle{
        display: flex;
    }
    html[dir=ltr] .banta-el-menu-item-toggle{
        left: auto;
        right: 0;
        transform: rotate(180deg);
    }
    .banta-elementor-toggle{
        display: inline-flex;
    }
    .banta-elementor-menu li.menu-item-has-children a:after,
    .banta-elementor-menu li ul li.menu-item-has-children > a:after{
        content: none!important;
        display: none!important;
    }
    .banta-elementor-menu li ul{
        width: 270px;
        top: 0!important;
        right: 0!important;
        left: auto;
        position: fixed;
        border-radius: 0;
        z-index: 2;
        padding: 56px 10px 10px 10px!important;
        height: 100%;
        visibility: hidden!important;
        opacity: 0!important;
        overflow-x: auto;
        background: #fff!important;
    }
    html[dir=ltr] .banta-elementor-menu li ul{
        right: auto!important;
        left: 10px!important;
    }
    .banta-elementor-menu li ul.open{
        visibility: visible!important;
        opacity: 1!important;
    }
    .banta-elementor-menu li ul ul{
        z-index: 2;
    }
    .banta-elementor-menu li a{
        color: #333!important;
        justify-content: start!important;
    }
    .banta-elementor-menu li:hover a{
        color: #333;
    }
    .banta-elementor-menu li a:before{
        content: none;
    }
    .banta-elementor-menu{
        position: fixed;
        width: 270px;
        background: #fff;
        top: 0;
        right: -270px;
        height: 100%;
        border-radius: 0;
        padding: 10px;
        overflow-x: auto;
        visibility: hidden;
        opacity: 1;
        transition: 350ms;
    }
    html[dir=ltr] .banta-elementor-menu{
        right: auto!important;
        left: -270px;
    }
    .banta-elementor-menu.open{
        opacity: 1;
        visibility: visible;
        right:0;
    }
    html[dir=ltr] .banta-elementor-menu.open{
        left: 0;
    }
    .banta-elementor-menu li{
        display: block;
        border-bottom: 1px solid #e2e2e2;
        height: 50px;
        margin-bottom: 5px;
    }
    html[dir=ltr] .banta-elementor-menu li{
        direction: ltr;
    }
    .banta-elementor-menu ul > li:last-of-type{
        border-bottom: none;
    }
    .banta-elementor-menu li a{
        padding: 12px;
    }
    .banta-elementor-menu li a:focus,
    .banta-elementor-menu li a:active{
        color: var(--colorMain);
    }
}

@media (max-width: 576px){
    .banta-account-dropdown{
        left: 0;
        right: auto;
    }
}

@media (max-width: 768px) {

}