/* Mega menu — painel largo no hover (desktop). */
.st-catalog-nav { z-index: 90; }
.st-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgb(10 33 72 / 0.24);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}
.st-catalog-nav.is-mega-open .st-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.st-menu-entry { position: static; }
.st-menu-entry:not([open]) .st-mega-panel {
    display: none;
}
.st-menu-entry[open] > summary {
    position: relative;
    z-index: 42;
    color: #0a2148;
    background: transparent;
}
.st-menu-entry[open] > summary .st-menu-chevron { transform: rotate(180deg); }
.st-mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: max(var(--st-layout-gutter, 40px), calc((100% - var(--st-layout-max, 1280px)) / 2));
    right: max(var(--st-layout-gutter, 40px), calc((100% - var(--st-layout-max, 1280px)) / 2));
    z-index: 50;
    background: #fff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgb(8 36 80 / 0.16), 0 2px 8px rgb(8 36 80 / 0.06);
    overflow: hidden;
    animation: st-mega-in 160ms ease-out;
}
.st-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px 12px;
    background: #fff;
}
.st-mega-head__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.st-mega-head strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a2148;
    line-height: 1.25;
}
.st-mega-head__meta {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #7a8fa6;
    line-height: 1.3;
}
.st-mega-head__cta,
.st-mega-head a.st-mega-head__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #e2e9f2;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a2148;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgb(10 33 72 / 0.06);
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.st-mega-head__cta:hover,
.st-mega-head a.st-mega-head__cta:hover {
    background: #f4f7fb;
    border-color: #c5d3e0;
    color: #0a2148;
    box-shadow: none;
}
.st-mega-layout--flat .st-mega-body--full {
    padding: 10px 32px 26px;
    max-height: min(52vh, 480px);
    overflow-y: auto;
    overflow-x: hidden;
}
.st-mega-layout--tiered {
    display: grid;
    grid-template-columns: minmax(220px, 272px) minmax(0, 1fr);
    max-height: min(58vh, 520px);
    margin: 0 18px 20px;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}
.st-mega-rail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 12px 4px 20px;
    background: transparent;
    border-right: 0;
    overflow-y: auto;
}
.st-mega-rail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #3d5570;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.st-mega-rail-chevron {
    flex-shrink: 0;
    font-size: 11px;
    color: #9eb4cb;
    transition: transform 140ms ease, color 140ms ease;
}
.st-mega-rail-item:hover {
    background: #fff;
    color: #0a2148;
}
.st-mega-rail-item:hover .st-mega-rail-chevron { color: #5a6f87; }
.st-mega-rail-item.is-active {
    background: #f4f7fb;
    color: #0a2148;
    font-weight: 600;
    box-shadow: none;
}
.st-mega-rail-item.is-active .st-mega-rail-chevron {
    color: #0a2148;
    transform: translateX(2px);
}
.st-mega-body {
    padding: 12px 28px 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    background: #fff;
}
.st-mega-pane:not(.is-active) { display: none; }
.st-mega-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 0;
}
.st-mega-pane-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0a2148;
    line-height: 1.3;
}
.st-mega-pane-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5a6f87;
    white-space: nowrap;
    transition: color 140ms ease;
}
.st-mega-pane-all:hover { color: #0a2148; }
.st-mega-col-links {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    columns: auto;
    column-count: unset;
    column-rule-width: 0;
    column-rule-color: transparent;
}
.st-mega-col-links--cols-2,
.st-mega-col-links--cols-3,
.st-mega-col-links--cols-4 {
    columns: auto;
    column-count: unset;
    column-rule-width: 0;
    column-rule-color: transparent;
    column-gap: 0;
}
.st-mega-col-links--grid {
    display: grid;
    row-gap: 6px;
    column-gap: 48px;
    align-content: start;
}
.st-mega-col-links--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-mega-col-links--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-mega-col-links--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-mega-col-links--grid li {
    margin: 0;
    min-width: 0;
    padding: 0 4px;
    border: 0;
}
.st-mega-col-links--grid a {
    display: block;
    padding: 8px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: #3d5570;
    transition: color 140ms ease;
}
.st-mega-col-links--grid a:hover {
    background: transparent;
    color: #0a2148;
}
.st-mega-leaf {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 24rem;
}
.st-mega-leaf p {
    margin: 0;
    font-size: 1rem;
    color: #5a6f87;
}
.st-mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #cfd9e5;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0e2e57;
}
.st-mega-cta:hover { background: #f4f7fb; border-color: #9eb4cb; }
@keyframes st-mega-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
    .st-nav-backdrop { display: none; }
    .st-menu-entry[open] > summary {
        padding: 10px 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .st-mega-panel {
        position: static;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        animation: none;
    }
    .st-mega-head {
        padding: 10px 0 12px;
        background: transparent;
        border-bottom: 0;
    }
    .st-mega-head strong { font-size: 0.9375rem; }
    .st-mega-head__meta { font-size: 0.75rem; }
    .st-mega-head__cta { padding: 7px 12px; font-size: 0.8125rem; }
    .st-mega-layout--tiered {
        grid-template-columns: 1fr;
        max-height: none;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .st-mega-rail { display: none; }
    .st-mega-layout--flat .st-mega-body--full,
    .st-mega-body { padding: 8px 4px 14px; max-height: none; }
    .st-mega-col-links--grid { column-gap: 0; row-gap: 2px; }
    .st-mega-col-links--grid li { padding: 0; }
    .st-mega-col-links--grid a { padding: 10px 8px; }
    .st-mega-layout--tiered .st-mega-pane-head {
        margin-top: 12px;
        padding-top: 0;
    }
    .st-mega-layout--tiered .st-mega-pane + .st-mega-pane .st-mega-pane-head {
        margin-top: 20px;
    }
    .st-mega-col-links--cols-2,
    .st-mega-col-links--cols-3,
    .st-mega-col-links--cols-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .st-mega-panel,
    .st-nav-backdrop { animation: none; transition: none; }
    .st-mega-rail-chevron { transition: none; }
}