.ae-site-header {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    width: 100%;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: none;
}

.ae-site-header .ae-site-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.ae-site-header .ae-site-logo,
.ae-site-header .ae-site-logo img,
#header.ae-site-header .ae-site-logo,
#header.ae-site-header .ae-site-logo img {
    width: 164px;
    height: auto;
    max-height: none;
}

.ae-site-header .main-nav { padding: 0; }
.ae-site-header .ae-primary-nav { align-items: center; gap: 2px; }
.ae-site-header .main-nav .nav .nav-item { margin: 0; }

.ae-site-header .main-nav .nav .nav-item .nav-link,
#header.ae-site-header .main-nav .nav .nav-item .nav-link {
    padding: 10px 12px;
    color: #111827;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.ae-site-header .main-nav .nav .nav-item .nav-link:hover,
.ae-site-header .main-nav .nav .nav-item .nav-link:focus { color: #674186; }

.ae-menu-bars {
    width: 22px;
    height: 18px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.ae-menu-bars i {
    display: block;
    width: 100%;
    height: 2px;
    background: #111827;
    border-radius: 2px;
}

.ae-checks-nav { align-items: center; margin-left: 8px !important; }
.ae-checks-menu { position: relative; }

.ae-checks-menu > summary {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
    list-style: none;
    border: 0;
    border-radius: 4px;
    background: transparent;
}

.ae-checks-menu > summary::-webkit-details-marker { display: none; }
.ae-checks-menu > summary .ae-menu-bars { width: 20px; height: 15px; }

.ae-checks-menu > summary:hover,
.ae-checks-menu > summary:focus-visible,
.ae-checks-menu[open] > summary {
    background: #f1f3f5;
    outline: none;
}

.ae-checks-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: 236px;
    padding: 8px;
    background: #fff;
    border: 1px solid #dfe3e8;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .12);
}

.ae-checks-panel::before {
    content: "";
    position: absolute;
    top: -11px;
    right: 0;
    width: 42px;
    height: 11px;
}

.ae-checks-label {
    display: block;
    padding: 8px 10px 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ae-checks-panel a {
    display: block;
    padding: 10px;
    color: #111827 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ae-checks-panel a:hover,
.ae-checks-panel a:focus {
    color: #674186 !important;
    background: #f5f2f7 !important;
}

.ae-mobile-section-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .ae-site-header .ae-site-header-inner { min-height: 68px; padding: 8px 16px; }
    .ae-site-header .ae-site-logo,
    .ae-site-header .ae-site-logo img,
    #header.ae-site-header .ae-site-logo,
    #header.ae-site-header .ae-site-logo img { width: 154px; }
    .ae-site-header .main-nav { position: static; }
    .ae-site-header .main-nav .navbar-toggler.ae-mobile-menu-toggle {
        position: static;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        margin: 0;
        padding: 0;
        color: #111827 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 4px;
        box-shadow: none !important;
        outline: none;
    }
    .ae-site-header .main-nav .navbar-toggler.ae-mobile-menu-toggle:hover,
    .ae-site-header .main-nav .navbar-toggler.ae-mobile-menu-toggle:focus-visible,
    .ae-site-header .main-nav .navbar-toggler.ae-mobile-menu-toggle[aria-expanded="true"] {
        background: #f1f3f5 !important;
    }
    .ae-site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        padding: 14px 20px 20px;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 14px 28px rgba(17, 24, 39, .1);
    }
    .ae-site-header .ae-primary-nav { display: block; }
    .ae-site-header .main-nav .nav .nav-item .nav-link { padding: 10px 0; font-size: 15px !important; }
    .ae-site-header .ae-mobile-section-label { padding: 8px 0 4px; }
}
