/* ============================================================
   OCS Menu & Search Plugin — Clean Design System
   ============================================================ */

.clean-nav-wrapper {
    font-family: system-ui, -apple-system, sans-serif;
    display: inline-block;
    width: 100%;
}

.material-symbols-outlined {
    font-size: 20px;
    vertical-align: middle;
}

/* Desktop Navigation */
.clean-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.clean-menu-list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.clean-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.clean-link:hover {
    color: #e02020;
    background: #fff0f0;
}

.dropdown-arrow {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.clean-menu-has-dropdown {
    position: relative !important;
}

.clean-menu-has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg) !important;
}

/* Standard Dropdown List */
.clean-sub-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 240px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: none;
    z-index: 999999 !important;
}

.clean-menu-has-dropdown:hover > .clean-sub-dropdown {
    display: block !important;
}

.clean-sub-dropdown li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.clean-dropdown-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.clean-dropdown-link:hover {
    background: #fff0f0 !important;
    color: #e02020 !important;
    padding-left: 20px !important;
}

/* Nested 2nd Level Sub-dropdown */
.clean-nested-dropdown {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 230px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: none;
    z-index: 1000000 !important;
}

.has-nested-sub:hover > .clean-nested-dropdown {
    display: block !important;
}

/* Red Search Icon Trigger Button */
.clean-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #e02020;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(224, 32, 32, 0.25);
    transition: all 0.2s ease;
}

.clean-search-btn:hover {
    background: #c81818;
    transform: scale(1.05);
}

.clean-burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
}

/* Mobile Header Bar */
.clean-mobile-bar {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 1024px) {
    .clean-desktop-nav {
        display: none !important;
    }
    .clean-mobile-bar {
        display: flex !important;
    }
}
