/* Container & Utilities */
.mhm-hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    padding: 0;
    z-index: 9999;
}

.mhm-hamburger-btn:focus {
    outline: none;
}

.mhm-hamburger-btn .mhm-bar {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Fixed positioning */
.mhm-fixed {
    position: fixed;
    z-index: 99999;
    /* over elementor usually */
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 44px;
    height: 44px;
}

.mhm-btn-top_left {
    top: 20px;
    left: 20px;
}

.mhm-btn-top_right {
    top: 3px;
    right: 3px;
}

.mhm-btn-bottom_left {
    bottom: 20px;
    left: 20px;
}

.mhm-btn-bottom_right {
    bottom: 20px;
    right: 20px;
}

/* Overlay */
.mhm-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mhm-panel-overlay.mhm-active {
    opacity: 1;
    visibility: visible;
}

/* Flyout Panel */
.mhm-flyout-panel {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 320px;
    max-width: 85%;
    background: #fff;
    z-index: 1000000;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mhm-position-left {
    left: 0;
    transform: translateX(-100%);
}

.mhm-position-right {
    right: 0;
    transform: translateX(100%);
}

.mhm-flyout-panel.mhm-active {
    transform: translateX(0);
}

/* Header & Close Btn */
.mhm-panel-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.mhm-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 32px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    cursor: pointer;
    line-height: 1 !important;
    color: #333 !important;
    z-index: 10;
    padding: 5px 10px !important;
    margin: 0 !important;
    appearance: none !important;
}

.mhm-close-btn:hover {
    color: #000;
}

.mhm-top-content {
    margin-top: 10px;
    padding-right: 30px;
}

.mhm-top-content img {
    max-width: 100%;
    height: auto;
}

/* Menu body */
.mhm-panel-body {
    flex: 1;
    padding: 20px 0;
}

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

.mhm-menu li {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}

.mhm-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f9f9f9;
}

.mhm-menu li a:hover {
    background: #fdfdfd;
    color: #000;
}

.mhm-menu .sub-menu {
    display: none;
    background: #fdfdfd;
    padding-left: 20px;
    border-top: 1px solid #f9f9f9;
}

.mhm-menu-toggle {
    position: absolute;
    right: 10px;
    top: 6px;
    background: #eee !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 5px !important;
    cursor: pointer;
    font-size: 12px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    color: #333 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 5px 10px !important;
    margin: 0 !important;
    appearance: none !important;
}

.mhm-menu-toggle:hover {
    background: #ddd;
}

.mhm-menu-toggle::after {
    content: "▼";
}

.mhm-menu-toggle.mhm-open::after {
    content: "▲";
}

/* Footer */
.mhm-panel-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}