/* MD header: RO presentation adapted to the active legacy application. */
.header-brand {
    align-items: center;
    display: flex;
    gap: 8px;
    height: 68px;
    margin-right: 20px;
}

.header-brand__chefs {
    flex: 0 0 auto;
    height: 72px;
    object-fit: contain;
    width: 118px;
}

.header-brand__wordmark {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.header-brand__logo {
    display: block;
    height: auto;
    width: 148px;
}

.header-brand__country {
    color: #f08300;
    display: block;
    font-family: PT Sans, sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 11px;
    margin-top: 1px;
    text-transform: uppercase;
}

.basket-top {
    float: right;
    padding-top: 22px;
    margin-left: 14px;
    position: relative;
}

.basket-top>a {
    display: block
}

.mobile-header-utilities {
    display: none;
}

.basket-icon {
    background: #f08300 url(/images/common/cart.svg) no-repeat 50% 50%;
    display: block;
    width: 46px;
    height: 35px;
    border-radius: 5px;
    float: right;
    margin-left: 14px;
    transition: background .1s
}

.basket-icon:hover {
    background: #cf7202 url(/images/common/cart.svg) no-repeat 50% 50%;
    transition: background .15s
}

.basket-icon.active {
    background: #8f4213 url(/images/common/cart.svg) no-repeat 50% 50%
}

.basket-icon.active:hover {
    background: #75350d url(/images/common/cart.svg) no-repeat 50% 50%;
    transition: background .15s
}

.basket-txt {
    float: right;
    text-align: right;
    display: block
}

.basket-txt .title {
    color: #ca7005;
    font-size: 18px;
    display: block;
    font-family: PT Sans, sans-serif;
    height: 20px;
    line-height: 20px
}

.basket-txt .price {
    color: #797979;
    font-family: PT Sans, sans-serif;
    font-size: 14px;
    height: 16px;
    line-height: 16px
}

.header-phone {
    float: right;
    padding-top: 22px;
    text-align: right;
    margin-left: 14px
}

.phone-number {
    color: #ca7005;
    font-size: 18px;
    font-family: PT Sans, sans-serif;
    height: 20px;
    line-height: 20px
}

.header-phone .txt {
    color: #797979;
    display: block;
    font-family: PT Sans, sans-serif;
    font-size: 14px;
    height: 16px;
    line-height: 16px;
    cursor: pointer
}

.header-phone .txt:hover {
    color: #ca7005;
    transition: color .2s
}

.header-messengers {
    align-items: center;
    display: flex;
    float: right;
    gap: 8px;
    margin-left: 14px;
    padding-top: 24px;
}

.header-messengers a,
.header-messengers svg {
    display: block;
    height: 28px;
    width: 28px;
}

.header-messengers a {
    transition: opacity .15s ease;
}

.header-messengers a:hover {
    opacity: .78;
}

.header-account {
    align-items: center;
    color: #242424;
    display: flex;
    float: right;
    gap: 8px;
    margin-left: 14px;
    padding-top: 18px;
}

.header-account:hover .header-account__greeting,
.header-account:hover .header-account__label {
    color: #8f4213;
}

.header-account__icon {
    color: #f18300;
    flex: 0 0 auto;
    height: 30px;
    position: relative;
    width: 30px;
}

.header-account__icon svg {
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.header-account__icon.has-noty::after {
    background: #e60808;
    border: 2px solid #fff;
    border-radius: 50%;
    content: '';
    height: 9px;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 9px;
}

.header-account__copy {
    display: flex;
    flex-direction: column;
    font-family: PT Sans, sans-serif;
    white-space: nowrap;
}

.header-account__greeting {
    color: #242424;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}

.header-account__label {
    color: #ca7005;
    font-size: 12px;
    line-height: 16px;
}

.search-form {
    float: right;
    width: 31%;
    height: 35px;
    line-height: 33px;
    border: 1px solid #f08300;
    border-radius: 5px;
    margin-top: 22px;
    position: relative;
    overflow: hidden
}

.search-form form {
    display: block;
    position: relative;
    height: 100%
}

.search-form input[type=text],
.search-form input[type=search] {
    border: none;
    width: 100%;
    height: 100%;
    padding: 7px 50px 7px 10px
}

.search-form input[type=submit],
.ais-SearchBox-submit {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 45px;
    height: 33px;
    background: #f08300 url(/images/common/search.svg) no-repeat 50% 50%;
    border: none;
    cursor: pointer
}

.search-form input[type=submit]:hover {
    background: #cf7202 url(/images/common/search.svg) no-repeat 50% 50%;
    transition-duration: .3s
}

.main-menu {
    height: 41px;
    line-height: 41px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu span {
    display: inline-block;
}

.main-menu span a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #4f4f4f
}

.main-menu .online-item a {
    font-weight: 700
}

.main-menu .menu-item-catalog-produse a {
    font-weight: 700
}

.main-menu .special-price a {
    font-weight: 700;
    color: #c42131
}

.main-menu span a:hover, .main-menu span.active a {
    color: #8f4213
}

.main-menu .online-item a:hover, .main-menu .special-price a:hover {
    color: #f08300;
    transition: color .25s
}

@media (min-width: 960px) and (max-width: 1199px) {
    .main-menu > span {
        flex-shrink: 0;
    }

    .main-menu > span > a {
        font-size: 12px;
        white-space: nowrap;
    }

    .header-brand {
        gap: 0;
        margin-right: 12px;
    }

    .header-brand__chefs {
        display: none !important;
    }

    .header-brand__logo {
        width: 140px;
    }

    .header-brand__country {
        font-size: 8px;
    }

    .header-content .search-form {
        width: 32%;
    }

    .basket-top,
    .header-account,
    .header-messengers,
    .header-phone {
        margin-left: 10px;
    }

    .header-account__copy {
        display: none;
    }

    .header-messengers {
        gap: 6px;
    }

    .header-messengers a,
    .header-messengers svg {
        height: 24px;
        width: 24px;
    }

    .phone-number {
        font-size: 15px;
    }

    .basket-txt .title {
        font-size: 15px;
    }
}

@media (max-width: 959px) {
    .logo.header-brand {
        display: inline-block;
        height: 56px;
        margin-right: 0;
        position: relative;
    }

    .logo.header-brand .header-brand__wordmark {
        height: 56px;
    }

    .logo.header-brand .header-brand__chefs {
        display: none !important;
    }

    .logo.header-brand .header-brand__logo {
        height: auto !important;
        width: 118px;
    }

    .logo.header-brand .header-brand__country {
        display: block;
        font-size: 8px;
        line-height: 9px;
        margin-top: 0;
    }

    .basket-top .basket-txt,
    .mobile-menu-legacy-account {
        display: none !important;
    }

    .main-row .basket-top {
        margin-left: 0;
        padding-top: 0;
        right: 10px;
        top: 4px;
    }

    .desktop-header-cart {
        display: none !important;
    }

    .mobile-header-utilities {
        align-items: flex-start;
        display: flex;
        gap: 7px;
    }

    .mobile-header-utility {
        align-items: center;
        color: #ca7005;
        display: flex;
        flex-direction: column;
        font-family: PT Sans, sans-serif;
        min-width: 43px;
        position: relative;
    }

    .mobile-header-utility:hover {
        color: #8f4213;
    }

    .mobile-header-utility__icon {
        align-items: center;
        background-color: #f08300;
        border-radius: 5px;
        display: flex;
        height: 30px;
        justify-content: center;
        transition: background-color .15s ease;
        width: 34px;
    }

    .mobile-header-utility:hover .mobile-header-utility__icon {
        background-color: #cf7202;
    }

    .mobile-header-utility--cart .mobile-header-utility__icon {
        background-image: url(/images/common/cart.svg);
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: 21px 17px;
    }

    .mobile-header-utility__label {
        display: block;
        font-size: 9px;
        font-weight: 600;
        line-height: 11px;
        margin-top: 2px;
        white-space: nowrap;
    }

    .mobile-header-utility--cart .basket-count {
        right: 0;
        top: -5px;
        z-index: 1;
    }
}

@media (max-width: 599px) {
    .logo.header-brand,
    .logo.header-brand .header-brand__wordmark {
        height: 54px;
    }

    .logo.header-brand .header-brand__logo {
        height: auto !important;
        width: 112px;
    }
}

@media (max-width: 420px) {
    .logo.header-brand,
    .logo.header-brand .header-brand__wordmark {
        height: 50px;
    }

    .logo.header-brand .header-brand__logo {
        height: auto !important;
        width: 104px;
    }
}

@media (max-width: 350px) {
    .logo.header-brand .header-brand__logo {
        width: 90px;
    }

    .main-row .basket-top {
        right: 5px;
    }

    .mobile-header-utilities {
        gap: 3px;
    }

    .mobile-header-utility {
        min-width: 40px;
    }

    .mobile-header-utility__label {
        font-size: 8px;
    }
}

.mobile-contact-icons {
    display: none;
}

.mobile-menu-actions,
.mobile-menu-shortcut {
    display: none;
}

@media (max-width: 959px) {
    .mobile-menu-actions {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .mobile-contact-icons {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        margin-top: 0;
    }

    .mobile-contact-icons a,
    .mobile-contact-icons svg {
        display: block;
        height: 30px;
        width: 30px;
    }

    .mobile-menu-shortcut {
        align-items: center;
        background-color: #f08300;
        border-radius: 50%;
        display: flex;
        flex: 0 0 30px;
        height: 30px;
        justify-content: center;
        transition: background-color .15s ease;
        width: 30px;
    }

    .mobile-menu-shortcut:hover {
        background-color: #cf7202;
    }

    .mobile-menu-shortcut .header-account__icon {
        color: #fff;
        height: 18px;
        width: 18px;
    }

    .mobile-menu-shortcut--cart {
        background-image: url(/images/common/cart.svg);
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: 19px 15px;
    }
}
