.mh-site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--mh-border, #f0d6e0);
    background: rgba(255, 248, 251, 0.94);
    backdrop-filter: blur(12px);
}

.mh-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    width: calc(100% - var(--mh-gutter, 32px));
    max-width: var(--mh-container, 2200px);
    margin: 0 auto;
    padding: 8px 0;
    box-sizing: border-box;
    min-width: 0;
}

.mh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    color: var(--mh-text, #34252c);
    text-decoration: none;
}

.mh-brand-mark {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--mh-pink, #d85f93);
}

.mh-brand-mark--image {
    width: auto;
    height: 36px;
    max-width: 44px;
    max-height: 36px;
    object-fit: contain;
    border-radius: 4px;
    background: transparent;
}

.mh-brand-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mh-brand-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.mh-brand-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--mh-muted, #7a6870);
    overflow-wrap: anywhere;
}

.mh-nav {
    min-width: 0;
}

.mh-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

.mh-nav-list > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-nav-list .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-nav--desktop .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 12em;
    max-width: min(280px, 100vw);
    padding: 8px 0;
    background: var(--mh-surface, #fff);
    border: 1px solid var(--mh-border, #f0d6e0);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(52, 37, 44, 0.12);
    box-sizing: border-box;
}

.mh-nav--desktop .mh-nav-list > li:hover > .sub-menu,
.mh-nav--desktop .mh-nav-list > li:focus-within > .sub-menu {
    display: block;
}

.mh-nav--desktop .mh-nav-list > li:nth-last-child(-n+2) > .sub-menu {
    left: auto;
    right: 0;
}

.mh-nav--desktop .sub-menu li {
    margin: 0;
    padding: 0;
}

.mh-nav--desktop .sub-menu a {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
    min-height: 44px;
    overflow-wrap: anywhere;
}

.mh-nav--desktop .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.mh-nav--desktop .mh-nav-list > li:nth-last-child(-n+2) .sub-menu .sub-menu {
    left: auto;
    right: 100%;
}

.mh-nav--drawer .sub-menu {
    display: block;
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border-left: 2px solid var(--mh-border, #f0d6e0);
}

.mh-nav--drawer .menu-item-has-children > a {
    font-weight: 700;
}

.mh-nav--drawer .sub-menu a {
    min-height: 44px;
    overflow-wrap: anywhere;
}

.mh-nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--mh-text, #34252c);
    text-decoration: none;
    font-size: 0.92rem;
}

.mh-nav-list a:hover,
.mh-nav-list .current-menu-item > a,
.mh-nav-list [aria-current="page"] {
    color: var(--mh-pink-deep, #a93669);
    font-weight: 700;
}

.mh-nav-mobile {
    display: none;
}

.mh-nav-toggle {
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border: 1px solid var(--mh-border, #f0d6e0);
    border-radius: 8px;
    background: var(--mh-surface, #fff);
    color: var(--mh-text, #34252c);
    font-weight: 700;
}

.mh-nav-toggle::-webkit-details-marker {
    display: none;
}

.mh-nav--drawer {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 8px;
    padding: 16px;
    background: var(--mh-surface, #fff);
    border-bottom: 1px solid var(--mh-border, #f0d6e0);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.mh-nav--drawer .mh-nav-list {
    flex-direction: column;
    align-items: stretch;
}

.mh-top-catalog-above {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 1.25rem;
    box-sizing: border-box;
}

.mh-top-catalog-above img,
.mh-top-catalog-above iframe,
.mh-top-catalog-above video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 782px) {
    .mh-site-header-inner {
        min-height: 60px;
        position: relative;
        width: calc(100% - 24px);
    }

    .mh-nav--desktop {
        display: none;
    }

    .mh-nav-mobile {
        display: block;
        position: relative;
        flex: 0 0 auto;
    }

    .mh-nav-mobile[open] {
        z-index: 50;
    }

    .mh-brand-mark--image {
        height: 32px;
        max-width: 40px;
        max-height: 32px;
    }
}
