.smartphone-nav-wrapper-9e8e5ccf {
    display: inline-block;
}

.mobile-toggle-btn-9e8e5ccf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--e-global-color-text, #1a1a1a);
    padding: 10px;
    transition: all 0.25s ease;
}

.mobile-toggle-btn-9e8e5ccf svg {
    width: 28px;
    height: 28px;
}

/* Off-canvas Drawer styling */
.mobile-drawer-overlay-9e8e5ccf {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay-9e8e5ccf.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-9e8e5ccf {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer-9e8e5ccf.is-active {
    right: 0;
}

/* Admin Bar Adjustments */
body.admin-bar .mobile-drawer-9e8e5ccf,
body.admin-bar .mobile-drawer-overlay-9e8e5ccf {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .mobile-drawer-9e8e5ccf,
    body.admin-bar .mobile-drawer-overlay-9e8e5ccf {
        top: 46px;
        height: calc(100% - 46px);
    }
}

/* Header Inside Drawer */
.mobile-drawer-9e8e5ccf .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eeeeee;
}

.mobile-drawer-9e8e5ccf .drawer-header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--e-global-color-secondary, #0a3663);
}

.mobile-drawer-9e8e5ccf .drawer-close-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333333;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-9e8e5ccf .drawer-close-btn svg {
    width: 24px;
    height: 24px;
}

/* Menu items Inside Drawer */
.mobile-drawer-9e8e5ccf .mobile-nav-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-drawer-9e8e5ccf .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer-9e8e5ccf .mobile-nav-list li {
    margin-bottom: 12px;
}

.mobile-drawer-9e8e5ccf .mobile-nav-list a {
    text-decoration: none;
    color: var(--e-global-color-text, #1a1a1a);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.mobile-drawer-9e8e5ccf .mobile-nav-list a:hover {
    color: var(--e-global-color-primary, #0073e6);
}

.mobile-drawer-9e8e5ccf .mobile-nav-list .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.mobile-drawer-9e8e5ccf .mobile-nav-list .sub-menu a {
    font-size: 0.95rem;
    font-weight: 400;
    color: #666666;
}

.mobile-drawer-9e8e5ccf .no-menu-selected {
    color: #999999;
    font-style: italic;
    text-align: center;
    padding-top: 20px;
}
