.hdr {
    position: relative;
    z-index: 30;
    background: #fff;
    font-family: Montserrat, system-ui, sans-serif;
}

.hdr__row {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hdr__row > * {
    margin-top: 0;
    margin-bottom: 0;
}

.hdr__top {
    background: #f4f4f4;
    border-bottom: 1px solid #e6e6e6;
}

.hdr__top .hdr__row {
    min-height: 38px;
    gap: 18px;
}

.hdr .hdr__menu {
    flex: 1 1 auto;
    min-width: 0;
}

.hdr .hdr__menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdr .hdr__menu li {
    margin: 0;
    padding: 0;
}

.hdr .hdr__menu a {
    display: block;
    padding: 9px 0;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.hdr .hdr__menu a:hover {
    color: #f5b800;
}

.hdr__top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.hdr .hdr__calc {
    order: 1;
}

.hdr__socials {
    order: 2;
}

.hdr .hdr__call {
    order: 3;
}

.hdr .hdr__lk {
    order: 4;
    margin-left: 4px;
}

.hdr .hdr__calc {
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    color: #f5b800;
    cursor: pointer;
    white-space: nowrap;
}

.hdr .hdr__calc:hover {
    text-decoration: underline;
}

.hdr__socials .header__email-mobile {
    display: none;
}

.hdr__socials {
    display: flex;
    align-items: center;
}

.hdr__socials .header__socials-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.hdr__socials .header__socials-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border-radius: 4px;
    background: #3b3b3b;
    border: 0;
    transition: background .15s ease;
}

.hdr__socials .header__socials-wrap a:hover {
    background: #1a1a1a;
}

.hdr__socials .header__socials-wrap svg {
    width: 16px;
    height: 16px;
}

.hdr__socials .header__socials-wrap a {
    color: #fff;
}

.hdr .hdr__call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #f5b800;
    cursor: pointer;
    transition: background .15s ease;
}

.hdr .hdr__call:hover {
    background: #dda600;
}

.hdr .hdr__call svg {
    width: 16px;
    height: 16px;
}

.hdr .hdr__lk ul {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdr .hdr__lk a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.hdr .hdr__lk a:hover {
    color: #f5b800;
}

.hdr .hdr__lk svg {
    width: 14px;
    height: 14px;
    fill: #f5b800;
}

.hdr__main {
    position: sticky;
    top: 0;
    z-index: 31;
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.hdr__row--main {
    min-height: 76px;
    gap: 14px;
    flex-wrap: nowrap;
}

.hdr__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.hdr__logo img {
    display: block;
    max-height: 42px;
    max-width: 205px;
    width: auto;
}

.hdr .hdr__catalog {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    height: 46px;
    padding: 0 16px;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 6px;
    background: #f5b800;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease;
}

.hdr .hdr__catalog::before {
    display: none;
}

.hdr .hdr__catalog:hover {
    background: #d49f00;
}

.hdr .hdr__catalog .header__catalog-btn__burger {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 16px;
    height: 16px;
}

.hdr .hdr__catalog .header__catalog-btn__burger i {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: block;
    width: 100%;
    height: 2px;
    margin: 0;
    background: #fff;
    border-radius: 2px;
    opacity: 1;
    transform: none;
    transition: transform .2s ease, opacity .2s ease;
}

body.show-header-menu .hdr .hdr__catalog .header__catalog-btn__burger i:first-child {
    opacity: 0;
    transform: none;
}

body.show-header-menu .hdr .hdr__catalog .header__catalog-btn__burger i:nth-child(2) {
    opacity: 1;
    transform: rotate(45deg);
}

body.show-header-menu .hdr .hdr__catalog .header__catalog-btn__burger i:nth-child(3) {
    opacity: 1;
    transform: translateY(-5px) rotate(-45deg);
}

.hdr .hdr__search {
    position: relative;
    flex: 1 1 200px;
    min-width: 170px;
    max-width: 320px;
    height: 46px;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.hdr .hdr__search .header__search__field {
    width: 100%;
    height: 46px;
    padding: 0 46px 0 16px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
}

.hdr .hdr__search .header__search__field:focus {
    border-color: #f5b800;
}

.hdr .hdr__search .header__search__submit {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: none;
    cursor: pointer;
}

.hdr .hdr__search .header__search__submit svg {
    width: 17px;
    height: 17px;
    fill: #777;
}

.hdr .hdr__search .header__search__submit:hover svg {
    fill: #f5b800;
}

.hdr .hdr__search .header__search__close {
    display: none;
}

.hdr .hdr__search .fast-search-result-block {
    min-width: 360px;
}

@media (max-width: 767px) {
    .hdr .hdr__search .fast-search-result-block {
        min-width: 0;
        width: 100%;
    }
}

.hdr__contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.hdr__contacts .header__location-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hdr__contacts .header__location-adress-wrap {
    display: none;
}

.hdr__contacts .header__location-adress-wrap img {
    width: 12px;
    height: 14px;
}

.hdr__contacts .header__location-adress {
    font-size: 11px;
    color: #8a8a8a;
    line-height: 1.2;
    max-width: 118px;
}

.hdr__contacts .callibri_phone-desc {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.hdr__contacts .header__email-desc {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.hdr__contacts .header__contacts__small-desc {
    font-size: 14px;
    color: #6f6f6f;
    margin: 0;
    white-space: nowrap;
}

.hdr__contacts-mail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hdr__contacts .callibri_phone-mobile,
.hdr__contacts .header__contacts__small-mobile,
.hdr__contacts .header__calc-mobile {
    display: none;
}

.hdr .hdr__icons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 5px;
    flex: 0 0 auto;
    margin-left: auto;
}

.hdr .hdr__icons .header__cart,
.hdr .hdr__icons .hdr__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background .15s ease;
}

.hdr .hdr__icons .hdr__icon--user {
    background: #f5b800;
}

.hdr .hdr__icons .hdr__icon--user:hover {
    background: #dda600;
}

.hdr .hdr__icons .header__cart[href="/personal/wishlist/"] {
    background: #3b3b3b;
}

.hdr .hdr__icons .header__cart[href="/personal/wishlist/"]:hover {
    background: #1a1a1a;
}

.hdr .hdr__icons .header__cart[href="/korzina/"] {
    background: #b71918;
}

.hdr .hdr__icons .header__cart[href="/korzina/"]:hover {
    background: #9a1413;
}

.hdr .hdr__icons .header__cart__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.hdr .hdr__icons .header__cart__icon svg,
.hdr .hdr__icons .hdr__icon svg {
    width: 25px;
    height: 25px;
    display: block;
}

.hdr .hdr__icons .header__cart__icon {
    width: 25px;
    height: 25px;
}

.hdr .hdr__icons .hdr__badge {
    position: absolute;
    right: -7px;
    top: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #fff;
    background: #f5b800;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.hdr .hdr__icons .hdr__badge.is-empty {
    display: none;
}

.hdr .hdr__icons .header__cart__status {
    display: none;
}

.hdr .hdr__icons .header__cart__status {
    position: absolute;
    right: -6px;
    top: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.hdr .hdr__icons .header__cart__status.is-empty {
    display: none;
}

.hdr .hdr__icons .header__cart__content {
    display: none;
}

.hdr .header__search-btn,
.hdr .header__top__burger {
    display: none;
}

@media (max-width: 1700px) {
    .hdr__contacts .header__contacts__small-desc {
        display: none;
    }
}

@media (max-width: 1560px) {
    .hdr__contacts-mail {
        display: none;
    }

    .hdr .hdr__icons {
        gap: 8px;
    }
}

@media (max-width: 1240px) {
    .hdr__contacts .header__contacts__small-desc {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hdr__contacts {
        display: none;
    }

    .hdr .hdr__catalog {
        padding: 0 14px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .hdr__top .hdr__row {
        min-height: 44px;
        gap: 10px;
    }

    .hdr .header__top__burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 26px;
        height: 26px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .hdr .header__top__burger i {
        display: block;
        height: 2px;
        background: #1a1a1a;
        border-radius: 2px;
    }

    .hdr .hdr__menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 40;
        display: none;
        padding: 8px 16px 14px;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    }

    body.is-show-top-menu .hdr .hdr__menu {
        display: block;
    }

    .hdr .hdr__menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .hdr .hdr__menu a {
        padding: 10px 0;
        font-size: 14px;
    }

    .hdr__top .hdr__row {
        position: relative;
    }

    .hdr .hdr__calc,
    .hdr .hdr__lk {
        display: none;
    }

    .hdr__row--main {
        flex-wrap: wrap;
        min-height: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .hdr__logo img {
        max-height: 38px;
    }

    .hdr__contacts {
        display: none;
    }

    .hdr .hdr__catalog {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        height: 42px;
    }

    .hdr .hdr__search {
        order: 4;
        flex: 1 1 100%;
        max-width: none;
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 42px;
        padding: 0;
        background: none;
        opacity: 1;
        visibility: visible;
    }

    .hdr .hdr__search .header__search__field {
        height: 42px;
    }

    .hdr .hdr__icons {
        gap: 8px;
    }

    .hdr .hdr__icons .header__cart__content {
        display: none;
    }
    .hdr .hdr__icons .header__cart[href="/personal/wishlist/"] {
      display: none;
    }
}
