.mobile-menu-widget {
    width: 100%;
    direction: rtl;
}

.mobile-menu-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-menu-widget li {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between !important;
    align-content: space-between !important;
    align-items: center !important;
    flex-direction: column !important;
}

.mobile-menu-widget a {
    display: flex;
    padding: 12px 15px;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.mobile-menu-widget .dropdown-toggle {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-widget .dropdown-toggle:after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(133deg);
    transition: transform 0.3s;
}

.mobile-menu-widget .menu-item-has-children.active>a .dropdown-toggle:after {
    transform: rotate(45deg);
}

.mobile-menu-widget .sub-menu {
    display: none;
    width: 100%;
    padding: 0;
    margin-top: 0;
}

/* استایل جدید برای زیرمنوها */
.mobile-menu-widget .sub-menu {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);

}

.mobile-menu-widget .sub-menu a {
    padding-right: 25px;
    background: #f9f9f9;
}

/* حذف تورفتگی‌های اضافه */
.mobile-menu-widget .menu-item-has-children .sub-menu {
    padding: 0;
}