@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 88px;
    }

    body.lock {
        overflow: hidden;
    }

    body.lock .mobile-bottom-nav,
    body.popup-open .mobile-bottom-nav,
    body.fancybox-active .mobile-bottom-nav {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
    }

    .header-mob {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 82px;
        padding: 15px 16px;
        background: #000;
        box-sizing: border-box;
        z-index: 1001;
    }

    .header-mob__link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 26px;
        background-color: #2a2a2a;
    }

    .header-mob__menu-btn::before {
        width: 20px;
        height: 20px;
        background: url('../img/navigation-206/header-menu.svg') no-repeat center/20px 20px;
        content: '';
    }

    .header-mob__phone {
        background: #ff1c01 url('../img/navigation-206/header-phone.svg') no-repeat center/22px 22px;
        box-shadow: 0 4px 16px rgba(255, 28, 0, .45);
    }

    .mobile-phone-picker {
        position: fixed;
        inset: 0;
        display: none;
        width: 100%;
        max-width: none;
        height: 100dvh;
        max-height: none;
        margin: 0;
        align-items: flex-end;
        padding: 16px 16px max(16px, env(safe-area-inset-bottom));
        border: 0;
        background: rgba(0, 0, 0, .72);
        box-sizing: border-box;
        z-index: 1010;
    }

    .mobile-phone-picker[open] {
        display: flex;
    }

    .mobile-phone-picker::backdrop {
        background: transparent;
    }

    .mobile-phone-picker__dialog {
        width: 100%;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 24px;
        background: #181818;
        box-sizing: border-box;
    }

    .mobile-phone-picker__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        color: #fff;
        font-family: "fontBold";
        font-size: 18px;
    }

    .mobile-phone-picker__close {
        position: relative;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #2a2a2a;
    }

    .mobile-phone-picker__close::before,
    .mobile-phone-picker__close::after {
        position: absolute;
        top: 17px;
        left: 10px;
        width: 16px;
        height: 2px;
        background: #fff;
        content: '';
    }

    .mobile-phone-picker__close::before {
        transform: rotate(45deg);
    }

    .mobile-phone-picker__close::after {
        transform: rotate(-45deg);
    }

    .mobile-phone-picker__dialog > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        margin-top: 8px;
        padding: 0 16px;
        border-radius: 18px;
        background: #242424;
        color: #fff;
        text-decoration: none;
    }

    .mobile-phone-picker__dialog > a span {
        color: #b0b0b0;
        font-size: 13px;
    }

    .mobile-phone-picker__dialog > a strong {
        font-family: "fontBold";
        font-size: 16px;
    }

    .header-mob__logo {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        transform: none;
    }

    .header-mob__logo img {
        width: auto;
        height: 32px;
    }

    .header-mob__page {
        position: fixed;
        inset: 0;
        display: none;
        flex-direction: column;
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: 24px 16px 104px;
        border: 0;
        overflow-y: auto;
        background: #000;
        color: #fff;
        transform: none;
        box-sizing: border-box;
        z-index: 1002;
    }

    .header-mob__page[open] {
        display: flex;
        transform: none;
    }

    .header-mob__page::backdrop {
        background: #000;
    }

    .header-mob__page-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 52px 52px;
        gap: 8px;
        align-items: center;
        margin: 0 0 28px;
        padding: 0;
        border-bottom: 0;
    }

    .header-mob__page-delivery {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        text-align: left;
    }

    .header-mob__page-delivery::before {
        display: none;
    }

    .header-mob__page-delivery-icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #ff1c01 url('../img/icons/phone.svg') no-repeat center/22px 22px;
    }

    .header-mob__page-delivery-grey {
        display: block;
        margin-bottom: 2px;
        color: #b0b0b0;
        font-family: "fontRegular";
        font-size: 12px;
        line-height: 16px;
    }

    .header-mob__page-delivery strong {
        display: block;
        color: #fff;
        font-family: "fontBold";
        font-size: 22px;
        line-height: 26px;
        white-space: nowrap;
    }

    .header-mob__page-favorites,
    .header-mob__page-close {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #242424;
        box-sizing: border-box;
    }

    .header-mob__page-top .header-mob__page-favorites::before {
        width: 17px;
        height: 17px;
        margin: 0;
        background: url('../img/icons/star-stroke.svg') no-repeat center/contain;
        filter: brightness(0) invert(1);
        content: '';
    }

    .header-mob__page-top .header-mob__page-favorites > span {
        position: static;
        width: 0;
        height: 0;
        margin: 0;
        overflow: visible;
        color: transparent;
        font-size: 0;
    }

    .header-mob__page-top .header-mob__page-favorites .count {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 19px;
        height: 19px;
        border-radius: 50%;
        background: #ff1c01;
        color: #fff;
        font-family: "fontBold";
        font-size: 11px;
    }

    .header-mob__page-top .header-mob__page-favorites .count.is-empty {
        display: none;
    }

    .header-mob__page-close::before,
    .header-mob__page-close::after,
    .mobile-catalog-panel__close::before,
    .mobile-catalog-panel__close::after {
        position: absolute;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        content: '';
    }

    .header-mob__page-top .header-mob__page-close::before,
    .header-mob__page-top .header-mob__page-close::after {
        width: 14px;
    }

    .mobile-catalog-panel .mobile-catalog-panel__close::before,
    .mobile-catalog-panel .mobile-catalog-panel__close::after {
        width: 14px;
    }

    .header-mob__page-close::before,
    .mobile-catalog-panel__close::before {
        transform: rotate(45deg);
    }

    .header-mob__page-close::after,
    .mobile-catalog-panel__close::after {
        transform: rotate(-45deg);
    }

    .header-mob__page-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .mobile-main-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 28px;
    }

    .mobile-main-action {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 20px;
        gap: 12px;
        align-items: center;
        min-height: 64px;
        padding: 8px 16px 8px 12px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 22px;
        background: #1a1a1a;
        color: #fff;
        text-align: left;
        box-sizing: border-box;
    }

    .mobile-main-action--menu {
        border-color: #ff1c01;
        background: #ff1c01;
    }

    .mobile-main-action__icon {
        position: relative;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, .1);
    }

    .mobile-main-action__icon::before {
        position: absolute;
        inset: 10px;
        background: #fff;
        content: '';
    }

    .mobile-main-action--menu .mobile-main-action__icon::before {
        -webkit-mask: url('../img/navigation-206/menu.svg') no-repeat center/contain;
        mask: url('../img/navigation-206/menu.svg') no-repeat center/contain;
    }

    .mobile-main-action--booking .mobile-main-action__icon::before {
        -webkit-mask: url('../img/navigation-206/table.svg') no-repeat center/contain;
        mask: url('../img/navigation-206/table.svg') no-repeat center/contain;
    }

    .mobile-main-action--places .mobile-main-action__icon::before {
        -webkit-mask: url('../img/icons/place.svg') no-repeat center/contain;
        mask: url('../img/icons/place.svg') no-repeat center/contain;
    }

    .mobile-main-action strong,
    .mobile-main-action small {
        display: block;
    }

    .mobile-main-action strong {
        font-family: "fontBold";
        font-size: 16px;
        line-height: 20px;
    }

    .mobile-main-action small {
        margin-top: 2px;
        color: #b0b0b0;
        font-family: "fontRegular";
        font-size: 12px;
        line-height: 15px;
    }

    .mobile-main-action--menu small {
        color: #fff;
    }

    .mobile-main-action__arrow {
        width: 8px;
        height: 8px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
    }

    .mobile-main-city.custom-dropdown,
    .mobile-main-city.custom-dropdown.active {
        display: block;
        min-height: 0;
        margin: 0;
        padding: 0 0 28px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        border-radius: 0;
        outline: 0;
        background: transparent;
        color: inherit;
        letter-spacing: normal;
        cursor: default;
        box-shadow: none;
    }

    .mobile-main-city.custom-dropdown::after {
        display: none;
        content: none;
    }

    .mobile-main-city .header-mob__city {
        display: block;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .header-mob__city::before {
        display: none;
    }

    .header-mob__city-text {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .header-mob__city-text p {
        margin: 0;
        color: #b0b0b0;
        font-size: 12px;
    }

    .header-mob__city-name {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        background: #202020;
        color: #fff;
        font-family: "fontBold";
        font-size: 14px;
    }

    .header-mob__city-name::after {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        background: url('../img/icons/right-arrow.svg') no-repeat center/13px 13px;
        content: '';
        transition: transform .2s ease;
        transform: rotate(90deg);
    }

    .mobile-main-city.active .header-mob__city-name::after {
        transform: rotate(-90deg);
    }

    .mobile-main-city > .mobile-main-city__options.custom-dropdown_list {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        min-width: 0;
        max-width: none;
        width: 100%;
        margin: 8px 0 0;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 14px;
        background: #181818;
        box-shadow: none;
        list-style: none;
        transform: none;
        z-index: auto;
        box-sizing: border-box;
    }

    .mobile-main-city > .mobile-main-city__options.custom-dropdown_list > li {
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        white-space: normal;
    }

    .mobile-main-city > .mobile-main-city__options.custom-dropdown_list > li::before,
    .mobile-main-city > .mobile-main-city__options.custom-dropdown_list > li::after {
        display: none;
        content: none;
    }

    .mobile-main-city > .mobile-main-city__options.custom-dropdown_list > li + li {
        margin-top: 4px;
    }

    .mobile-main-city__option {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 42px;
        margin: 0;
        padding: 0 12px;
        border: 1px solid transparent;
        border-radius: 10px;
        background: transparent;
        color: #b0b0b0;
        outline: 0;
        font-family: "fontBold";
        font-size: 14px;
        text-align: left;
        box-shadow: none;
        appearance: none;
        box-sizing: border-box;
    }

    .mobile-main-city__option[aria-current="true"] {
        border-color: rgba(255, 28, 1, .45);
        background: rgba(255, 28, 1, .12);
        color: #fff;
    }

    .header-mob__page-link,
    .header-mob__page-link-grey {
        display: block;
        padding: 9px 4px;
        color: #fff;
        font-family: "fontRegular";
        font-size: 15px;
        line-height: 20px;
    }

    .header-mob__page-link:not(:last-of-type),
    .header-mob__page-link:last-of-type,
    .header-mob__page-link-grey:not(:last-of-type) {
        margin: 0;
    }

    .header-mob__page-links {
        margin-top: 0;
        padding-top: 24px;
    }

    .header-mob__page-inst {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 64px;
        margin-top: 28px;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 22px;
        background: #1a1a1a;
        color: #fff;
        font-family: "fontBold";
        font-size: 16px;
        box-sizing: border-box;
    }

    .header-mob__page-inst::before {
        flex: 0 0 24px;
        margin-right: 12px;
    }

    .header-mob__page-inst::after {
        width: 13px;
        height: 13px;
        margin-left: auto;
        background: url('../img/icons/right-arrow.svg') no-repeat center/contain;
        content: '';
    }

    .mobile-catalog-panel {
        position: fixed;
        inset: 0;
        display: none;
        width: 100%;
        max-width: none;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: 24px 16px 104px;
        border: 0;
        overflow-y: auto;
        background: #000;
        color: #fff;
        box-sizing: border-box;
        z-index: 1003;
    }

    .mobile-catalog-panel[open] {
        display: block;
    }

    .mobile-catalog-panel::backdrop {
        background: #000;
    }

    .mobile-catalog-panel__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .mobile-catalog-panel__header h2 {
        margin: 0;
        color: #fff;
        font-family: "fontBold";
        font-size: 28px;
        line-height: 34px;
    }

    .mobile-catalog-panel__close {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #242424;
    }

    .mobile-catalog-panel__list,
    .mobile-catalog-panel__sublist {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-catalog-panel__item {
        margin-bottom: 8px;
    }

    .mobile-catalog-panel__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 54px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 27px;
        background: #1a1a1a;
        overflow: hidden;
    }

    .mobile-catalog-panel__row > a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        padding: 4px;
        color: #fff;
        font-family: "fontRegular";
        font-size: 16px;
        font-weight: 400;
        text-decoration: none;
    }

    .mobile-catalog-panel__row > a:hover,
    .mobile-catalog-panel__row > a:focus {
        color: #fff;
        text-decoration: none;
    }

    .mobile-catalog-panel__item.is-active .mobile-catalog-panel__row {
        border-color: #ff1c01;
        background: #ff1c01;
    }

    .mobile-catalog-panel__item.is-active .mobile-catalog-panel__row > a {
        font-family: "fontBold";
        font-weight: 700;
    }

    .mobile-catalog-panel__image {
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        overflow: hidden;
        border-radius: 50%;
        background: #2a2a2a;
    }

    .mobile-catalog-panel__item.is-active .mobile-catalog-panel__image {
        border: 2px solid #fff;
        box-sizing: border-box;
    }

    .mobile-catalog-panel__image picture,
    .mobile-catalog-panel__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-catalog-panel__toggle {
        position: relative;
        width: 48px;
        height: 52px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .mobile-catalog-panel__toggle::before {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid #fff;
        border-bottom: 1.5px solid #fff;
        content: '';
        transform: translate(-50%, -50%) rotate(45deg);
        transition: transform .2s ease;
    }

    .mobile-catalog-panel__toggle[aria-expanded="true"]::before {
        transform: translate(-50%, -50%) rotate(225deg);
    }

    .mobile-catalog-panel__sublist {
        display: none;
        padding: 8px 24px 2px 58px;
    }

    .mobile-catalog-panel__sublist.is-open {
        display: block;
    }

    .mobile-catalog-panel__sublist a {
        display: block;
        padding: 8px 0;
        color: #fff;
        font-family: "fontRegular";
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        text-decoration: none;
    }

    .mobile-catalog-panel__sublist a:hover,
    .mobile-catalog-panel__sublist a:focus,
    .mobile-catalog-panel__sublist a:active,
    .mobile-catalog-panel__sublist a:visited {
        color: #fff;
        text-decoration: none;
    }

    .mobile-catalog-panel__sublist a:hover,
    .mobile-catalog-panel__sublist a:focus {
        color: #fff;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 0;
        display: grid;
        grid-template-columns: 140px repeat(3, 52px);
        align-items: center;
        justify-content: space-between;
        width: calc(100% - 32px);
        max-width: 328px;
        height: 72px;
        margin: 0 auto;
        padding: 9px;
        border: 0;
        background: url('../img/navigation-206/bottom-nav-silhouette.svg') no-repeat center/100% 100%;
        box-sizing: border-box;
        z-index: 1000;
        transition: opacity .2s ease, transform .2s ease;
    }

    .mobile-bottom-nav__item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        width: 52px;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #292929;
        color: #fff;
        font-family: "fontRegular";
        font-size: 0;
        text-decoration: none;
        box-sizing: border-box;
    }

    .mobile-bottom-nav .header-mob__page-favorites::before,
    .mobile-bottom-nav .header-mob__basket::before {
        display: none;
    }

    .mobile-bottom-nav .header-mob__page-favorites span {
        margin: 0;
    }

    .mobile-bottom-nav__item--menu {
        width: 140px;
        gap: 12px;
        border-radius: 26px;
        background: #ff1c01;
        color: #fff;
        font-family: "fontBold";
        font-size: 16px;
    }

    .mobile-bottom-nav__icon {
        width: 24px;
        height: 24px;
        background: currentColor;
    }

    .mobile-bottom-nav__item--menu .mobile-bottom-nav__icon {
        width: 16px;
        height: 22px;
        -webkit-mask: url('../img/navigation-206/bottom-menu.svg') no-repeat center/16px 22px;
        mask: url('../img/navigation-206/bottom-menu.svg') no-repeat center/16px 22px;
    }

    .mobile-bottom-nav__item--booking .mobile-bottom-nav__icon {
        width: 20px;
        height: 18px;
        -webkit-mask: url('../img/navigation-206/bottom-table.svg') no-repeat center/20px 18px;
        mask: url('../img/navigation-206/bottom-table.svg') no-repeat center/20px 18px;
    }

    .mobile-bottom-nav__item--favorite .mobile-bottom-nav__icon {
        width: 20px;
        height: 20px;
        -webkit-mask: url('../img/navigation-206/bottom-star.svg') no-repeat center/20px 20px;
        mask: url('../img/navigation-206/bottom-star.svg') no-repeat center/20px 20px;
    }

    .mobile-bottom-nav__item--cart .mobile-bottom-nav__icon {
        width: 20px;
        height: 20px;
        -webkit-mask: url('../img/navigation-206/bottom-cart.svg') no-repeat center/20px 20px;
        mask: url('../img/navigation-206/bottom-cart.svg') no-repeat center/20px 20px;
    }

    .mobile-bottom-nav__item--booking .mobile-bottom-nav__icon,
    .mobile-bottom-nav__item--favorite .mobile-bottom-nav__icon,
    .mobile-bottom-nav__item--cart .mobile-bottom-nav__icon {
        transform: translateX(2px);
    }

    .mobile-bottom-nav__item--booking .mobile-bottom-nav__icon,
    .mobile-bottom-nav__item--favorite .mobile-bottom-nav__icon {
        transform: translateX(4px);
    }

    .mobile-bottom-nav__item--cart.is-active {
        background: #ff1c01;
    }

    .mobile-bottom-nav__badge {
        position: absolute;
        top: -4px;
        right: -4px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 3px;
        border: 2px solid #181818;
        border-radius: 50%;
        background: #fff;
        color: #ff1c01;
        font-family: "fontBold";
        font-size: 11px;
        box-sizing: border-box;
    }

    .mobile-bottom-nav__badge.is-empty {
        display: none;
    }
}
