/* Nested ecommerce navigation: visible groups on desktop and mobile. */
.dx-header .dx3-grouped-menu {
    width: 620px;
    max-width: calc(100vw - 32px);
    padding: 16px;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 36, 55, .15) !important;
}
.dx-header .dx3-grouped-menu.show {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}
.dx-header .dropdown-menu.dx3-grouped-menu > li {
    min-width: 0;
    margin: 0;
    border-bottom: 0;
    list-style: none;
}
.dx-header .dx3-grouped-menu .dropdown-item {
    padding: 11px 12px;
    border-radius: 4px;
    color: #172b40;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: break-word;
}
.dx-header .dx3-grouped-menu .dx3-menu-heading {
    margin-bottom: 7px;
    background: #eef5f8;
    color: #13263a;
    font-size: 16px;
    font-weight: 700;
}
.dx-header .dx3-grouped-menu .dx3-menu-types {
    margin: 0 0 0 12px;
    padding: 0 0 0 10px;
    border-left: 2px solid #d5e6ed;
    list-style: none;
}
.dx-header .dx3-menu-types > li { margin: 0; list-style: none; }
.dx-header .dx3-grouped-menu .dx3-menu-single {
    padding-top: 10px;
    border-top: 1px solid #dce5ec;
}
.dx-header .dx3-grouped-menu .dropdown-item:hover,
.dx-header .dx3-grouped-menu .dropdown-item:focus {
    color: #13263a;
    background: #e8f3f7;
}
.dx-header .dx3-grouped-menu .dropdown-item:focus-visible {
    outline: 2px solid #217a9a;
    outline-offset: -2px;
}
@media (max-width: 991px) {
    .dx-header .dx3-grouped-menu {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        box-shadow: none !important;
    }
    .dx-header .dx3-grouped-menu.show { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dx-header .dx3-grouped-menu .dropdown-item { min-height: 44px; }
}
