/* Upper desktop navigation: plain labels with the catalog's 1px hover underline. */
@media (min-width: 992px) {
    .header_wrap .menu.topest > li > a,
    .header_wrap .menu.topest > li > a:hover,
    .header_wrap .menu.topest > li > a:focus-visible {
        /* Keep the existing box dimensions so the native overflow menu stays stable. */
        border-color: transparent !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .header_wrap .menu.topest > li > a > span {
        padding-bottom: 3px;
        background-image: linear-gradient(#1D1D1F, #1D1D1F);
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: 0 1px;
        transition: background-size .25s ease;
    }

    .header_wrap .menu.topest > li > a:hover > span,
    .header_wrap .menu.topest > li > a:focus-visible > span {
        background-size: 100% 1px;
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    .header_wrap .menu.topest > li > a > span {
        transition: none;
    }
}
