/**
 * One Elementor - One Menu Widget
 * Accordion/Vertical Menu Styles
 */

/* ========================================
   Menu Wrapper
======================================== */
.oe-menu-wrapper {
    width: 100%;
}

.oe-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ========================================
   Menu Items
======================================== */
.oe-menu-item-wrap {
    list-style: none;
    margin: 0;
    position: relative;
}

.oe-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E5E5E5;
    transition: all 0.3s ease;
}

.oe-menu-link {
    flex: 1;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.oe-menu-link:hover {
    color: #000000;
}

/* ========================================
   Toggle Icon
======================================== */
.oe-menu-toggle {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 5px;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
    user-select: none;
    color: #333333;
}

.oe-menu-toggle:hover {
    color: #000000;
}

/* Show Plus by default, hide Minus */
.oe-menu-item-wrap .oe-icon-plus {
    display: inline;
}

.oe-menu-item-wrap .oe-icon-minus {
    display: none;
}

/* When open: Hide Plus, show Minus */
.oe-menu-item-wrap.is-open .oe-icon-plus {
    display: none;
}

.oe-menu-item-wrap.is-open .oe-icon-minus {
    display: inline;
}

/* ========================================
   Submenu
======================================== */
.oe-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: none;
}

.oe-submenu-item-wrap {
    list-style: none;
    margin: 0;
}

.oe-submenu-item {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.oe-submenu-item:hover {
    color: #333333;
}

/* ========================================
   Accordion Animation
======================================== */
/* Remove animation from CSS, let jQuery handle it */
[data-layout="accordion"] .oe-submenu {
    /* Animation handled by slideUp/slideDown */
}

/* ========================================
   Plain List Layout
======================================== */
[data-layout="plain"] .oe-menu-toggle {
    display: none;
}

[data-layout="plain"] .oe-submenu {
    display: block !important;
}

/* ========================================
   Has Children State
======================================== */
.has-children > .oe-menu-item {
    cursor: pointer;
}

.has-children:not(.is-open) > .oe-submenu {
    display: none;
}

.has-children.is-open > .oe-submenu {
    display: block;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .oe-menu-item {
        padding: 12px 0;
    }

    .oe-menu-link {
        font-size: 15px;
    }

    .oe-submenu-item {
        padding: 8px 0;
        font-size: 14px;
    }

    .oe-menu-toggle {
        font-size: 18px;
    }
}

/* ========================================
   Editor Preview
======================================== */
.oe-menu-preview {
    border: 2px dashed #E5E5E5;
    border-radius: 4px;
    background: #F9F9F9;
}

.oe-menu-preview p {
    margin: 0;
}

/* ========================================
   No Items Notice
======================================== */
.oe-menu-notice {
    padding: 20px;
    text-align: center;
    color: #999999;
    background: #F9F9F9;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
}