.maximus-header-fullbleed,
.maximus-header-fullbleed * {
    box-sizing: border-box;
}

.maximus-header-fullbleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    z-index: 20;
}

.maximus-header-fullbleed.is-sticky {
    position: sticky;
    z-index: 999;
}

.maximus-header-inner {
    width: 100%;
    margin: 0 auto;
}

.maximus-header-shell {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    background: var(--e-global-color-background, #fff);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

.maximus-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.maximus-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.maximus-desktop-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.maximus-menu,
.maximus-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.maximus-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.maximus-menu-item {
    margin: 0;
    padding: 0;
}

.maximus-menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: inherit;
    white-space: nowrap;
    line-height: 1.3;
    transition: color .2s ease, opacity .2s ease;
}

.maximus-menu-link:hover {
    color: var(--e-global-color-primary, #0778EE);
}

.maximus-active-dot {
    display: block;
    border-radius: 50%;
    background: var(--e-global-color-primary, #0778EE);
    flex: 0 0 auto;
}

.maximus-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.maximus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    line-height: 1.2;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.maximus-btn:hover {
    transform: translateY(-1px);
}

.maximus-btn-primary {
    color: var(--e-global-color-text, #00063D);
    background: transparent;
    border: 1px solid currentColor;
}

.maximus-btn-secondary {
    color: #fff;
    background: var(--e-global-color-primary, #0778EE);
    border: 1px solid transparent;
}

.maximus-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.maximus-btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.maximus-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    padding: 11px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.maximus-mobile-toggle span {
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}

.maximus-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.maximus-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.maximus-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.maximus-mobile-panel {
    margin-top: 12px;
    padding: 20px;
    background: var(--e-global-color-background, #fff);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.10);
}

.maximus-mobile-panel[hidden] {
    display: none !important;
}

.maximus-mobile-menu {
    display: grid;
    gap: 2px;
}

.maximus-mobile-menu-link {
    display: block;
    padding: 12px 4px;
    color: inherit;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.maximus-mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.maximus-mobile-actions .maximus-btn {
    width: 100%;
}

@media (max-width: 1180px) {
    .maximus-header-shell {
        gap: 20px;
    }
    .maximus-menu {
        gap: 22px !important;
    }
}

@media (max-width: 1024px) {
    .maximus-header-shell {
        grid-template-columns: 1fr auto;
    }
    .maximus-desktop-nav,
    .maximus-actions {
        display: none;
    }
    .maximus-mobile-toggle {
        display: flex;
    }
}

@media (max-width: 767px) {
    .maximus-header-fullbleed {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .maximus-header-shell {
        padding: 16px 18px !important;
        border-radius: 22px !important;
    }
    .maximus-logo img {
        width: min(170px, 58vw) !important;
    }
    .maximus-mobile-panel {
        padding: 16px;
    }
}
