.exm-menu,
.exm-menu * {
    box-sizing: border-box;
}

.exm-menu {
    position: fixed;
    top: 106px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.exm-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.exm-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.exm-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(92vw, 380px);
    max-width: 100%;
    height: 100%;
    background: #f3f3f3;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.exm-menu.is-open .exm-menu__panel {
    transform: translateX(0);
}

.exm-menu__body {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.exm-menu__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #d8d8d8;
}

.exm-nav,
.exm-subnav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.exm-nav__item {
    border-bottom: 1px solid #d8d8d8;
    background: #f3f3f3;
}

.exm-nav__row {
    display: flex;
    align-items: stretch;
    min-height: 62px;
}

.exm-nav__link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    color: #1f1f1f;
    text-decoration: none;
    min-width: 0;
}

.exm-nav__link:hover {
    color: #1f1f1f;
    text-decoration: none;
}

.exm-nav__toggle {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.exm-nav__toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid #2a2a2a;
    border-right: 2px solid #2a2a2a;
    transform: translate(-60%, -50%) rotate(45deg);
    transition: transform 0.25s ease;
}

.exm-nav__item.is-expanded>.exm-nav__row .exm-nav__toggle::before {
    transform: translate(-60%, -50%) rotate(135deg);
}

.exm-subnav {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e2e2e2;
}

.exm-nav__item.is-expanded>.exm-subnav {
    display: block;
}

.exm-subnav__item {
    border-top: 1px solid #ededed;
}

.exm-subnav__item:first-child {
    border-top: 0;
}

.exm-subnav__link {
    display: block;
    padding: 14px 16px 14px 24px;
    font-size: 15px;
    line-height: 1.4;
    color: #333333;
    text-decoration: none;
}

.exm-subnav__link:hover {
    text-decoration: none;
    color: #000000;
}

.exm-menu__footer {
    flex: 0 0 auto;
    padding: 14px 16px 18px;
    background: #f3f3f3;
}

.exm-city {
    padding-bottom: 14px;
    border-bottom: 1px solid #d8d8d8;
}

.exm-city__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.35;
    color: #222222;
    text-align: left;
}

.exm-city__button img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.exm-info {
    padding-top: 14px;
}

.exm-info__item+.exm-info__item {
    margin-top: 12px;
}

.exm-info__label {
    font-size: 14px;
    line-height: 1.3;
    color: #4e4e4e;
    margin-bottom: 2px;
}

.exm-info__value,
.exm-info__value a {
    font-size: 15px;
    line-height: 1.45;
    color: #1a1a1a;
    text-decoration: none;
}

.exm-info__value a:hover {
    text-decoration: underline;
}

body.exm-menu-lock {
    overflow: hidden;
}

.head-burger-close {
    display: none;
}

@media (max-width: 991px) {
    .exm-menu__panel {
        width: 100%;
        max-width: 100%;
    }

    .exm-nav__link {
        font-size: 17px;
    }

    .exm-nav__row {
        min-height: 58px;
    }
}

@media (max-width: 991px) {
    .head__main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .head__main-col--1 {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    .head__main-col--3 {
        flex: 0 1 auto;
        order: 2;
    }

    .head__main-col--2 {
        flex: 0 0 auto;
        order: 3;
        margin-left: auto;
    }

    .head-burger {
        justify-content: flex-end;
    }
}

@media (min-width: 768px) and (max-width: 1366px) {
    .head__main {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative;
    }

    .head__main-col--1 {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .head__main-col--2 {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: 16px !important;
        order: 3 !important;
    }

    .head__main-col--3 {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: 16px !important;
        order: 2 !important;
    }

    .head-burger {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }
}

.exm-subnav__link--catalog {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 20px;
}

.exm-subnav__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exm-subnav__icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.exm-subnav__text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
}