/* Mobile header, menu, call sheet and city prompt. Desktop (>= 992px) is not affected. */

@media (max-width: 767.98px) {
    /* Header bar */
    body .header__navbar .navbar {
        transition: height .2s ease, box-shadow .2s ease;
    }

    body .header__navbar .navbar__button-menu,
    body .header__navbar .navbar-mobile-manager {
        transition: width .2s ease, height .2s ease, margin .2s ease, background-color .2s ease;
    }

    body .header__navbar .navbar__button-menu {
        border: 1px solid rgba(36, 36, 36, .08);
        background: #f5f1ed;
        box-shadow: none;
    }

    body .header__navbar .navbar__button-menu .line {
        background-color: #242424;
    }

    body .header__navbar.clicked .navbar__button-menu {
        border-color: #242424;
        background: #242424;
    }

    body .header__navbar.clicked .navbar__button-menu .line {
        background-color: #fff;
    }

    body .header__navbar .navbar__brand {
        transition: height .2s ease, width .2s ease;
    }

    body .header__navbar .navbar__brand img {
        transition: max-height .2s ease;
    }

    body .header__navbar.is-compact:not(.clicked) .navbar {
        height: 60px;
        box-shadow: 0 6px 18px rgba(25, 25, 25, .08);
    }

    body .header__navbar.is-compact:not(.clicked) .navbar__button-menu,
    body .header__navbar.is-compact:not(.clicked) .navbar-mobile-manager {
        width: 44px;
        height: 44px;
        margin: 8px 0;
        border-radius: 11px;
    }

    body .header__navbar.is-compact:not(.clicked) .navbar__button-menu-icon,
    body .header__navbar.is-compact:not(.clicked) .navbar__button-menu-icon .line {
        width: 24px;
    }

    body .header__navbar.is-compact:not(.clicked) .navbar-mobile-manager svg {
        width: 19px;
        height: 19px;
    }

    body .header__navbar.is-compact:not(.clicked) .navbar__brand {
        width: min(196px, calc(100vw - 128px));
        height: 60px;
    }

    body .header__navbar.is-compact:not(.clicked) .navbar__brand img {
        max-height: 52px;
    }

    /* City prompt: slim bar under the header instead of a card over the page */
    body .header__navbar .cfcity_first {
        top: 80px;
        right: 0;
        left: 0;
        width: auto;
        padding: 9px 12px;
        border: 0;
        border-bottom: 1px solid rgba(41, 41, 41, .1);
        border-radius: 0;
        background: #fff;
        box-shadow: 0 8px 18px rgba(25, 25, 25, .08);
        transform: none;
        transition: top .2s ease;
    }

    body .header__navbar.is-compact .cfcity_first {
        top: 60px;
    }

    body .header__navbar .cfcity_first.text-center {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: left !important;
    }

    body .header__navbar .cfcity_first[style*="display: block"] {
        display: flex !important;
    }

    body .header__navbar .cfcity_first p {
        margin: 0;
        color: #292929;
        font-size: 14px;
        line-height: 1.25;
    }

    body .header__navbar .cfcity_first p br {
        display: none;
    }

    body .header__navbar .cfcity_first .cfcity_question {
        display: none;
    }

    body .header__navbar .cfcity_first > .text-center {
        display: flex;
        flex: 0 0 auto;
        gap: 6px;
    }

    body .header__navbar .cfcity_first .btn {
        width: auto;
        min-height: 36px;
        margin: 0;
        padding: 7px 14px;
        font-size: 14px;
        border-radius: 10px;
        box-shadow: none;
    }

    body .header__navbar .cfcity_first .btn-secondary {
        color: #292929;
        border-color: rgba(41, 41, 41, .16);
        background: #f5f1ed;
    }

    body .header__navbar .cfcity_first .btn-secondary:hover,
    body .header__navbar .cfcity_first .btn-secondary:focus,
    body .header__navbar .cfcity_first .btn-secondary:active {
        color: #292929;
        border-color: rgba(41, 41, 41, .24);
        background: #ece6e0;
    }

    body.modal-open .header__navbar .cfcity_first,
    body .header__navbar.clicked .cfcity_first {
        display: none !important;
    }

    /* Call sheet */
    #form__feedback-navbar .modal-content {
        display: flex;
        flex-direction: column;
    }

    #form__feedback-navbar .modal-body {
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 4px;
    }

    #form__feedback-navbar .modal-body .modal-title {
        padding-right: 0;
        font-size: 19px !important;
        letter-spacing: -.02em;
    }

    #form__feedback-navbar .modal-body .site-lead-form {
        margin-top: 10px;
    }

    #form__feedback-navbar .modal-feedback__more {
        display: none !important;
    }
}

.callsheet {
    flex: 0 0 auto;
    padding: 24px 16px 14px;
}

.callsheet__title {
    padding-right: 42px;
    color: #242424;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.callsheet__lead {
    margin: 8px 0 14px;
    color: #716960;
    font-size: 13px;
    line-height: 1.45;
}

.callsheet__phones {
    display: grid;
    gap: 8px;
}

.callsheet__phone {
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 12px;
    padding: 9px 10px 9px 16px;
    color: #242424;
    text-decoration: none;
    border: 1px solid #e4d9cf;
    border-radius: 14px;
    background: #fff;
}

.callsheet__phone:hover,
.callsheet__phone:focus,
.callsheet__phone:active {
    color: #242424;
    border-color: rgba(255, 89, 0, .5);
}

.callsheet__phone-copy {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
}

.callsheet__phone-copy span {
    color: #8a8179;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.callsheet__phone-copy strong {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.callsheet__phone-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(145deg, #ff6b1b 0%, #ed4f00 100%);
    box-shadow: 0 6px 14px rgba(255, 89, 0, .26);
}

.callsheet__phone-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.callsheet__channels,
.mm-contacts__channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.callsheet__channels--city-1,
.mm-contacts__channels--city-1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.callsheet__channels a,
.mm-contacts__channels a {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    color: #fff;
    font-size: 11.5px;
    font-weight: 650;
    text-decoration: none;
    border: 1px solid rgba(255, 106, 26, .34);
    border-radius: 12px;
    background: #2d2926;
}

.callsheet__channels a:hover,
.callsheet__channels a:focus,
.callsheet__channels a:active,
.mm-contacts__channels a:hover,
.mm-contacts__channels a:focus,
.mm-contacts__channels a:active {
    color: #fff;
    border-color: rgba(255, 106, 26, .7);
}

.callsheet__channels img,
.callsheet__channels svg,
.mm-contacts__channels img,
.mm-contacts__channels svg {
    width: 18px;
    height: 18px;
}

.callsheet__channels svg,
.mm-contacts__channels svg {
    fill: #fff;
}

.callsheet__max,
.mm-contacts__max {
    display: none !important;
}

.callsheet__channels--city-1 .callsheet__max,
.mm-contacts__channels--city-1 .mm-contacts__max {
    display: flex !important;
}

#form__feedback-navbar.is-lead-success .callsheet {
    display: none;
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .main-menu-new__grid > .main-menu-new__section--catalog,
    .main-menu-new__call--bottom {
        display: none !important;
    }

    .main-menu-new__socials {
        padding: 12px 14px;
    }

    .main-menu-new__social-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .main-menu-new__social-grid a {
        min-height: 44px !important;
        padding: 0 !important;
    }

    .main-menu-new__social-grid a > span:not(.main-menu-new__social-icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .main-menu-new__social-icon {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
        background: transparent !important;
    }

    .main-menu-new__social-icon svg {
        width: 19px !important;
        height: 19px !important;
    }
}

.mm-mobile {
    display: grid;
    gap: 9px;
    margin-bottom: 9px;
}

.mm-search {
    position: relative;
    display: flex;
    align-items: center;
}

.mm-search > svg {
    position: absolute;
    left: 14px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: rgba(255, 255, 255, .55);
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.mm-search__input {
    width: 100%;
    min-height: 50px;
    padding: 0 44px 0 44px;
    color: #fff;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    outline: none;
    background: #242424;
    -webkit-appearance: none;
    appearance: none;
}

.mm-search__input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.mm-search__input:focus {
    border-color: rgba(255, 106, 26, .8);
}

.mm-search__input::-webkit-search-cancel-button {
    display: none;
}

.mm-search__clear {
    position: absolute;
    right: 6px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.mm-search__clear svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.mm-search__hints {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    margin: -2px -12px 0;
    padding: 0 12px 2px;
    scrollbar-width: none;
}

.mm-search__hints::-webkit-scrollbar {
    display: none;
}

.mm-search__hints button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 12px;
    color: #242424;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    border: 1px solid rgba(36, 36, 36, .12);
    border-radius: 999px;
    background: #f5f1ed;
}

.mm-search__results {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-search__results a {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 7px;
    color: #fff;
    text-decoration: none;
    text-transform: none;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: #242424;
}

.mm-search__results a.is-cat {
    min-height: 46px;
    padding-left: 12px;
}

.mm-search__results img {
    width: 64px;
    height: 44px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #333;
}

.mm-search__results .mm-search__copy {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.mm-search__results .mm-search__name {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mm-search__results .mm-search__name b {
    margin-right: 6px;
}

.mm-search__results mark {
    padding: 0;
    color: #ff7a33;
    background: none;
}

.mm-search__results .mm-search__meta {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

.mm-search__results .mm-search__price {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    font-weight: 650;
    white-space: nowrap;
}

.mm-search__group {
    margin: 4px 2px 0;
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mm-search__all a {
    min-height: 44px;
    justify-content: center;
    color: #ff8a4d;
    font-size: 13px;
}

.mm-search__empty {
    display: grid;
    gap: 6px;
    padding: 14px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    text-transform: none;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: #242424;
}

.mm-search__empty strong {
    color: #fff;
    font-size: 14px;
}

.mm-search__empty button {
    justify-self: start;
    margin-top: 4px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    background: #ff5900;
}

.mm-mobile.is-searching .mm-contacts,
.mm-mobile.is-searching .mm-catalog,
.mm-mobile.is-searching .mm-sketch,
.mm-mobile.is-searching ~ .main-menu-new__grid,
.mm-mobile.is-searching ~ .main-menu-new__socials {
    display: none !important;
}

.mm-contacts,
.mm-catalog {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    background: #242424;
}

.mm-contacts__phones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mm-contacts__phone {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 106, 26, .5);
    border-radius: 11px;
    background:
        radial-gradient(circle at 8% 0, rgba(255, 89, 0, .24), transparent 45%),
        #2b2b2b;
}

.mm-contacts__phone:hover,
.mm-contacts__phone:focus,
.mm-contacts__phone:active {
    color: #fff;
    border-color: rgba(255, 106, 26, .85);
}

.mm-contacts__phone span {
    color: rgba(255, 255, 255, .5);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mm-contacts__phone strong {
    font-size: 15px;
    font-weight: 750;
    white-space: nowrap;
}

.mm-contacts__channels a {
    min-height: 54px;
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
}

.mm-contacts__callback {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    border: 0;
    background: none;
}

.mm-catalog h3 {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, .42);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mm-catalog__group + .mm-catalog__group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mm-catalog__head {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.mm-catalog__head span {
    font-size: 16px;
    font-weight: 750;
}

.mm-catalog__head em {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    font-style: normal;
}

.mm-catalog__head b {
    color: #ff6a1a;
    font-size: 15px;
    font-weight: 400;
}

.mm-catalog__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mm-catalog__chips a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: #2b2b2b;
}

.mm-catalog__chips a:hover,
.mm-catalog__chips a:focus,
.mm-catalog__chips a:active {
    color: #fff;
    border-color: rgba(255, 106, 26, .5);
    background: rgba(255, 89, 0, .1);
}

.mm-catalog__chips b {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 600;
}

.mm-sketch {
    display: grid;
    gap: 12px;
    padding: 16px;
    color: #fff;
    border-radius: 16px;
    background:
        radial-gradient(110% 100% at 100% 100%, rgba(255, 89, 0, .3) 0%, rgba(255, 89, 0, 0) 60%),
        #242424;
    text-transform: none;
}

.mm-sketch strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 800;
}

.mm-sketch span {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.45;
}

.mm-sketch__button {
    min-height: 46px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7a1a 0%, #ff5900 100%);
}

@media (max-width: 991.98px) {
    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside {
        display: grid;
        margin-top: 16px;
        gap: 14px;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__benefits {
        display: none;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__what {
        padding: 13px 14px;
        border: 1px solid #e9e1d9;
        border-radius: 14px;
        background: rgba(255, 255, 255, .72);
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__what strong {
        display: block;
        margin-bottom: 4px;
        color: #2d2926;
        font-size: 13px;
        font-weight: 750;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__what span {
        color: #6d655d;
        font-size: 12.5px;
        line-height: 1.5;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__channels > span {
        display: block;
        margin-bottom: 8px;
        color: #8a8179;
        font-size: 12px;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__channels > div {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    #form__send-project[data-barn102-custom-project] .barn102-sketch-aside__channels a {
        padding: 10px 8px;
        color: #2d2926;
        border: 1px solid #ded5cc;
        border-radius: 10px;
        background: #fff;
        font-size: 13px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    #form__send-project[data-barn102-custom-project].is-sketch-success .barn102-sketch-aside,
    #form__send-project[data-barn102-custom-project].is-lead-success .barn102-sketch-aside {
        display: none;
    }
}
