/* One mobile breakpoint for the header, navigation and search. */
@media (max-width: 995px) {
    body { min-width: 0; }
    #header {
        position: relative;
        width: 100%;
        padding-bottom: 0;
        background: #fff;
        z-index: 100;
    }
    #header.eva-menu-open { z-index: 10000; }
    #main { top: 0; }
    #header .head-info { padding: 12px 0 10px !important; }
    #header .head-info > .container {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 12px 0;
        align-items: center;
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }
    #header .head-info .logo {
        grid-column: 2;
        grid-row: 1;
        position: static;
        float: none;
        width: 160px;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    #header .head-info .logo img { width: 100%; height: auto; }
    #header .head-info .c {
        grid-column: 1 / -1;
        grid-row: 2;
        display: block;
        float: none;
        width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    #header .info-block-right { float: none; margin: 0; text-align: center; }
    #header .head-info .tels {
        display: block;
        width: auto;
        padding: 0;
        margin: 0;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
    }
    #header .head-info .phone-online-store {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 12px;
    }
    #header .head-info .tels a { font-size: 14px !important; white-space: nowrap; }
    #header .head-info .r { display: none; }
    #header .toggle-menu {
        position: absolute;
        left: 12px;
        top: 12px;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 8px 5px;
        border: 0;
        background: #fff;
        cursor: pointer;
        z-index: 12;
    }
    #header .toggle-menu span { pointer-events: none; }
    #header .mobile-loupe { display: block !important; position: static; width: auto; height: auto; }
    #header .top-nav .search-opener { display: none; }
    #header .mobile-loupe .input_search { display: none; }
    #header .mobile-loupe .search-opener {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
    }
    #header .top-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 340px;
        max-width: calc(100% - 24px);
        height: 100%;
        height: 100dvh;
        padding: 48px 0 20px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #f2f2f2;
        box-shadow: 4px 0 18px rgba(0, 0, 0, .2);
        z-index: 1000;
    }
    #header .close-top-nav {
        display: block;
        left: auto;
        right: 6px;
        top: 4px;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 24px;
        cursor: pointer;
    }
    #header .top-nav .container { padding-top: 0; }
    #header .top-nav .desktop-menu-show { display: none !important; }
    #header .top-nav .adaptive-accordeon {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
    }
    #header .top-nav .dropdownlink {
        padding: 12px 36px 12px 16px;
        font-size: 13px;
        line-height: 20px;
        color: #222;
        text-align: left;
        overflow-wrap: break-word;
    }
    #header .top-nav .adaptive-accordeon .submenuItems { margin: 0; padding: 0; background: #f7f7f7; }
    #header .top-nav .submenuItems .dropdownlink { padding-left: 28px; }
    #header .top-nav .submenuItems .submenuItems .dropdownlink { padding-left: 40px; }
    #header .top-nav .dropdownlink a { font-size: 13px !important; line-height: 20px; }
    #header .top-nav .dropdownlink .plus-icon { top: 12px; right: 12px; left: auto; font-size: 16px; }

    #header .top-nav .adaptive-accordeon a { text-align: left; }
    #header .top-nav .adaptive-accordeon .plus-icon { transform: none; }
    #header .top-nav .adaptive-accordeon li.open > .dropdownlink > .plus-icon { transform: rotate(45deg); }
    #header #nav > li { height: auto; padding: 0; margin: 0; }
    #header #nav a { display: block; padding: 12px 16px; text-align: left; }
    #header .eva-mobile-search #search_block_top {
        position: absolute;
        top: 60px;
        left: 12px;
        right: 12px;
        width: auto;
        z-index: 1001;
    }
    #header .eva-mobile-search .search { width: 100%; padding: 10px 60px 10px 10px; box-sizing: border-box; }
    #header .eva-mobile-search .search button { width: 44px; height: 44px; top: 10px; right: 10px; }
    #header .eva-mobile-search .search input[type='text'] { padding: 12px 8px; }
    #header .eva-mobile-search .close { right: 0; top: -12px; }
}
