.fd-scope .mn-header,
.fd-scope .mn-header * {
    box-sizing: border-box;
}

.fd-scope .mn-header {
    --mn-orange: #bd0f0f;
    --mn-text: #151515;
    --mn-muted: #666666;
    --mn-border: rgba(52, 4, 4, 0.1);
    --mn-panel: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--mn-border);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    backdrop-filter: blur(12px);
}

.fd-scope.admin-bar .mn-header {
    top: 32px;
}

.fd-scope .mn-nav {
    width: 100%;
}

.fd-scope .mn-nav-wrapper {
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.fd-scope .mn-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.fd-scope .mn-logo img {
    display: block;
    width: auto;
    height: 36px;
    max-width: 150px;
    object-fit: contain;
}

.fd-scope .mn-menu {
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fd-scope .mn-menu-item,
.fd-scope .mn-has-dropdown {
    position: relative;
    margin: 0;
    padding: 0;
}

.fd-scope .mn-menu-link,
.fd-scope .mn-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: var(--mn-text);
    font: 500 13px/1 Inter, system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.fd-scope .mn-menu-link:hover,
.fd-scope .mn-dropdown-toggle:hover,
.fd-scope .mn-has-dropdown.active > .mn-dropdown-toggle {
    color: var(--mn-orange);
}

.fd-scope .mn-chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    transition: transform 0.2s ease;
}

.fd-scope .mn-has-dropdown.active .mn-chevron {
    transform: rotate(180deg);
}

.fd-scope .mn-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: min(430px, calc(100vw - 32px));
    transform: translate(-50%, -6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.fd-scope .mn-has-dropdown.active .mn-dropdown,
.fd-scope .mn-has-dropdown:hover .mn-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.fd-scope .mn-dropdown-inner {
    display: grid;
    gap: 6px;
    padding: 10px;
    background: var(--mn-panel);
    border: 1px solid var(--mn-border);
    border-radius: 0;
    box-shadow: none;
}

.fd-scope .mn-dropdown-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 0;
    color: var(--mn-text);
    text-decoration: none;
}

.fd-scope .mn-dropdown-item:hover {
    background: #f7f7f7;
}

.fd-scope .mn-dropdown-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #feecec;
    color: var(--mn-orange);
}

.fd-scope .mn-dropdown-icon svg,
.fd-scope .mn-cta svg,
.fd-scope .mn-mobile-cta svg {
    width: 17px;
    height: 17px;
}

.fd-scope .mn-dropdown-content {
    display: grid;
    gap: 3px;
}

.fd-scope .mn-dropdown-title {
    color: var(--mn-text);
    font: 600 14px/1.25 Inter, system-ui, sans-serif;
}

.fd-scope .mn-dropdown-desc {
    color: var(--mn-muted);
    font: 400 12px/1.4 Inter, system-ui, sans-serif;
}

.fd-scope .mn-cta,
.fd-scope .mn-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 0;
    background: var(--mn-orange);
    color: #ffffff;
    font: 600 13px/1 Inter, system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.fd-scope .mn-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--mn-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--mn-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.fd-scope .mn-hamburger {
    display: flex;
    width: 22px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.fd-scope .mn-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 0;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fd-scope .mn-mobile-toggle.active .mn-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fd-scope .mn-mobile-toggle.active .mn-hamburger span:nth-child(2) {
    opacity: 0;
}

.fd-scope .mn-mobile-toggle.active .mn-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.fd-scope .mn-mobile-menu {
    display: none;
}

@media (max-width: 1024px) {
    .fd-scope .mn-nav-wrapper {
        width: min(100% - 32px, 1180px);
        min-height: 64px;
    }

    .fd-scope .mn-logo img {
        height: 32px;
        max-width: 132px;
    }

    .fd-scope .mn-menu,
    .fd-scope .mn-cta {
        display: none;
    }

    .fd-scope .mn-mobile-toggle {
        display: inline-flex;
    }

    .fd-scope .mn-mobile-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        display: block;
        overflow-y: auto;
        background: #ffffff;
        border-top: 1px solid var(--mn-border);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .fd-scope.admin-bar .mn-mobile-menu {
        top: 96px;
    }

    .fd-scope .mn-mobile-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .fd-scope .mn-mobile-menu-inner {
        display: grid;
        gap: 8px;
        width: min(100% - 32px, 520px);
        margin: 0 auto;
        padding: 18px 0 32px;
    }

    .fd-scope .mn-mobile-link,
    .fd-scope .mn-mobile-accordion-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 0;
        border: 0;
        border-bottom: 1px solid #eeeeee;
        background: transparent;
        color: var(--mn-text);
        font: 600 16px/1.2 Inter, system-ui, sans-serif;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    .fd-scope .mn-mobile-accordion-content {
        display: none;
        padding: 4px 0 10px 14px;
    }

    .fd-scope .mn-mobile-accordion.active .mn-mobile-accordion-content {
        display: grid;
        gap: 8px;
    }

    .fd-scope .mn-mobile-accordion.active .mn-chevron {
        transform: rotate(180deg);
    }

    .fd-scope .mn-mobile-sublink {
        display: block;
        padding: 9px 0;
        color: var(--mn-muted);
        font: 500 14px/1.3 Inter, system-ui, sans-serif;
        text-decoration: none;
    }

    .fd-scope .mn-mobile-cta {
        width: 100%;
        min-height: 48px;
        margin-top: 10px;
    }
}

@media (max-width: 782px) {
    .fd-scope.admin-bar .mn-header {
        top: 46px;
    }

    .fd-scope.admin-bar .mn-mobile-menu {
        top: 110px;
    }
}
