.mhm-wrapper {
    position: relative;
    display: inline-block;
}

/* Hamburger Button Container */
.mhm-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: transform 0.2s ease;
}

.mhm-toggle-btn:hover {
    transform: scale(1.1);
}

/* SVG Note Elements Styling */
.mhm-note-icon {
    overflow: visible;
}

.mhm-stem {
    stroke: #333333;
    stroke-width: 6;
    stroke-linecap: round;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mhm-beam {
    stroke: #333333;
    stroke-width: 6;
    stroke-linecap: round;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mhm-head {
    fill: #333333;
    transition: all 0.3s ease;
}

/* TRANSFORMATION TO "X" WHEN ACTIVE */
.mhm-toggle-btn.is-active .beam-top {
    d: path("M 25,25 L 75,75");
    stroke: #e74c3c;
}

.mhm-toggle-btn.is-active .beam-bottom {
    d: path("M 25,75 L 75,25");
    stroke: #e74c3c;
}

.mhm-toggle-btn.is-active .mhm-stem,
.mhm-toggle-btn.is-active .mhm-head {
    opacity: 0;
    transform: scale(0);
}

/* Drawer & Backdrop Styling */
.mhm-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #111111;
    color: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px 25px;
    box-sizing: border-box;
}

.mhm-drawer.is-open {
    right: 0;
}

.mhm-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mhm-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mhm-drawer-header h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 22px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

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

.mhm-menu-list li {
    margin-bottom: 18px;
}

.mhm-menu-list a {
    color: #dddddd;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s ease;
}

.mhm-menu-list a:hover {
    color: #e74c3c;
}
