/* Mobile Menu Header Styles */
.mmh-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 15px 0;
}

@media (max-width: 768px) {
    .mmh-mobile-header {
        display: block;
    }

    body {
        padding-top: 60px;
    }
}

.mmh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 100%;
}

.mmh-logo {
    flex: 1;
}

.mmh-logo a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.mmh-logo img {
    max-height: 40px;
    width: auto;
}

/* Menu Burger */
.mmh-burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mmh-burger-menu span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mmh-burger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mmh-burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.mmh-burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Menu Overlay */
.mmh-mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 9998;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mmh-mobile-menu-overlay.active {
    right: 0;
}

.mmh-mobile-menu-content {
    padding: 80px 30px 30px;
}

.mmh-close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

/* Menu Items */
.mmh-menu-container {
    margin: 0;
}

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

.mmh-primary-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mmh-primary-menu li a {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

.mmh-primary-menu li a:hover,
.mmh-primary-menu li.current-menu-item a {
    background: #f8f8f8;
    color: #0066cc;
}

/* Sous-menus */
.mmh-primary-menu .sub-menu {
    list-style: none;
    padding-left: 20px;
}

.mmh-primary-menu .sub-menu li a {
    font-size: 14px;
    padding: 12px 10px;
}

.mmh-no-menu {
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Backdrop */
.mmh-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9997;
}

.mmh-menu-backdrop.active {
    display: block;
}


.mmh-mobile-header .mmh-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mmh-site-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
