@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #848484;
    background: #4A4A4A;
    z-index: 999999;
    position: sticky;
    top: 0;
}

.inHeader {
    width: 100%;
    max-width: 1240px;
    display: flex;
    gap: 24px;
    justify-content: space-between;

}

.leftPartHeader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 175px;
    height: 36px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rightPartHeader {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.menuItems {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.itemMenu {
    color: #FFF;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    transition: 0.24s;
}

.itemMenu:hover {
    color: #E0571E;
}

.btnToCatalog {
    display: flex;
    width: auto;
    padding: 4px 4px 4px 16px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(90deg, #E0571E 0%, #C9440E 100%);
    color: #FFF7FC;
    gap: 21px;
    font-family: Montserrat;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 500;
    height: 44px;
    line-height: 20px;
    box-sizing: border-box;
    transition: 0.24s;
}

.btnToCatalog:hover {
    color: #E0571E;
    background: #FFF7FC;
}

span.arrow {
    border-radius: 8px;
    background: #F56023;
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    background: #4A4A4A;
}

a {
    color: #E0571E;
    text-decoration: none;
}

.burgerMenuArea,
.mainMenuMobile {
    display: none;
    z-index: 9999;
}

@media screen and (max-width: 1280px) {
    .inHeader {
        padding: 0 16px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1140px) {
    .menuItems {

        gap: clamp(24px, 3vw, 40px);
    }

    .itemMenu,
    .btnToCatalog {
        font-size: clamp(13px, 1vw, 15px);
    }

    .btnToCatalog {
        padding: 2px 2px 2px 8px;
    }

    .inHeader {
        padding: 0 16px;
        box-sizing: border-box;
        align-items: center;
        position: relative;
    }

    .logo {
        max-width: clamp(146px, 7vw, 175px);
        height: clamp(30px, 4vw, 36px);
    }
}

@media screen and (max-width: 980px) {
    header {
        padding: 17px 0;
    }

    .rightPartHeader {
        display: none;
    }

    .burgerMenuArea {
        display: flex;
        cursor: pointer;
    }

    .mainMenuMobile {
        display: none;
        position: absolute;
        top: 44px;
        left: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 16px 16px;
        background: #4A4A4A;
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px 20px 16px;
        box-sizing: border-box;
        border-radius: 0 0 16px 16px;
        border-bottom: 2px solid #848484;
        background: rgba(59, 58, 58, 0.95);
        backdrop-filter: blur(2px);
    }

    .mainMenuMobile.open {
        display: flex;
    }

    .menuItems {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 16px;
    }

    .itemMenu,
    .btnToCatalog {
        font-size: 15px;
    }

    .btnToCatalog {
        padding: 4px 4px 4px 85px;
        width: 100%;
    }
}