@media (max-width: 991.98px) {
    body.classic-mobile-layout {
        --classic-mobile-bar-height: calc(64px + env(safe-area-inset-top, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .classic-mobile-layout .site-footer {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .classic-mobile-layout .classic-hide-legacy-mobile {
        display: none !important;
    }

    .classic-mobile-layout .mobile-search-safe-space {
        height: calc(var(--classic-mobile-bar-height) + 64px);
        background: #fff;
        border: 0;
    }

    .classic-mobile-bar,
    .classic-mobile-panel-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 144px) minmax(0, 1fr);
        align-items: center;
        padding-inline: 12px;
        color: #202124;
        background: #fff;
    }

    .classic-mobile-bar {
        position: fixed;
        grid-template-columns: minmax(88px, 1fr) minmax(0, 144px) minmax(88px, 1fr);
        inset: 0 0 auto;
        z-index: 1030;
        height: var(--classic-mobile-bar-height);
        padding-top: env(safe-area-inset-top, 0px);
    }

    .classic-mobile-logo {
        grid-column: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .classic-mobile-logo img {
        width: 100%;
        max-width: 144px;
        height: 48px;
        object-fit: contain;
    }

    .classic-mobile-actions {
        display: flex;
        justify-content: flex-end;
    }

    .classic-mobile-bar button,
    .classic-mobile-actions a,
    #smb-drawer.mobile-menu-template-4 .smb-topbar-close {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        color: inherit;
        background: transparent;
        font-size: 21px;
        text-decoration: none;
    }

    .classic-mobile-cart {
        position: relative;
        display: inline-flex;
    }

    .classic-mobile-bar #mob-nav-cats {
        justify-self: start;
        flex-direction: column;
        gap: 2px;
    }

    .classic-mobile-bar #mob-nav-cats span {
        font-size: 12px;
        line-height: 1.3;
    }

    .classic-mobile-layout #searchResaultContainer:not(.active) {
        top: var(--classic-mobile-bar-height);
        height: 64px;
        padding: 4px 12px 10px;
        background: #fff;
    }

    .classic-mobile-layout #searchResaultContainer:not(.active) .mobile-ios-search__surface {
        width: min(100%, 620px);
        padding: 0;
        background: #f0f0f1;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .classic-mobile-layout #searchResaultContainer:not(.active) .mobile-ios-search__submit-wrap {
        right: 3px;
        left: auto;
    }

    .classic-mobile-layout #searchResaultContainer .mobile-ios-search__results {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    #smb-drawer.mobile-menu-template-4 {
        inset: 0 0 0 auto;
        width: min(88vw, 400px);
        height: auto;
        max-height: none;
        padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
        border: 0;
        border-radius: 0;
        background: #fff;
        color: #202124;
        box-shadow: none;
        transform: translateX(100%);
    }

    #smb-drawer.mobile-menu-template-4.smb-open {
        transform: translateX(0);
    }

    .classic-mobile-panel-head {
        min-height: 68px;
        flex: none;
    }

    #smb-drawer.mobile-menu-template-4 .smb-topbar-close {
        justify-self: end;
    }

    .classic-mobile-panel-scroll {
        min-height: 0;
        overflow: auto;
        overscroll-behavior: contain;
        padding: 4px 14px 16px;
    }

    .classic-mobile-group-label {
        margin: 12px 0 5px;
        padding-inline: 8px;
        color: #626267;
        font-size: 13px;
    }

    .classic-mobile-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .classic-mobile-pages {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #dedee0;
    }

    .classic-mobile-children {
        margin-inline-start: 10px;
        padding-inline-start: 6px;
        border-inline-start: 1px solid #dedee0;
    }

    .classic-mobile-row {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 46px;
        padding: 7px 8px;
        border-radius: 6px;
        color: inherit;
        font-size: 14px;
        line-height: 1.6;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .classic-mobile-row > i {
        flex: 0 0 20px;
        text-align: center;
        font-size: 17px;
    }

    .classic-mobile-row[aria-current="page"] {
        color: #b90016;
        font-weight: 700;
    }

    summary.classic-mobile-row {
        list-style: none;
        cursor: pointer;
    }

    summary.classic-mobile-row::-webkit-details-marker {
        display: none;
    }

    .classic-mobile-row .classic-mobile-chevron {
        margin-inline-start: auto;
        font-size: 12px;
    }

    details[open] > .classic-mobile-row .classic-mobile-chevron {
        transform: rotate(180deg);
    }

    .classic-mobile-bar :is(a, button):focus-visible,
    #smb-drawer.mobile-menu-template-4 :is(a, button, summary):focus-visible {
        outline: 2px solid #b90016;
        outline-offset: -2px;
    }
}
