/* header */
.header__top-container {
    border-bottom: 1px solid #CDCDCD;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header__top-title {
    color: #333232;
    font-size: 14px;
    line-height: normal;
}

.header__top-wrapper {
    display: flex;
    align-items: center;
    column-gap: 80px;
}

.header__top-phone {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.header__top-phone-icon {
    width: 16px;
    height: 16px;
    object-fit: cover;
}

.header__top-phone-text {
    color: #333232;
    font-size: 14px;
    line-height: normal;
    text-decoration-line: underline;
}

.header__top-socials {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.header__top-social {
    width: 24px;
    height: 24px;
}

.header__top-social-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.header__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 0;
}

.header__logo {
    position: relative;
    z-index: 998;
    max-width: 200px;
    width: 100%;
}

.header__list {
    list-style: none;
    display: flex;
    align-items: center;
    column-gap: 40px;
}

.header__list-item {
    cursor: pointer;
    color: #333232;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.header__list-item-with-menu {
    position: relative;
    cursor: default;
}

.header__list-item-with-menu-container {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
}

.header__list-item-with-menu-title {
    color: #333232;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.header__list-item-with-menu-container:hover+.custom__menu {
    opacity: 1;
    z-index: 5;
}

.custom__menu:hover {
    opacity: 1;
    z-index: 5;
}

.custom__menu {
    transition: all 0.1s ease-in-out;
    opacity: 0;
    width: 320px;
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    list-style-type: none;
    flex-direction: column;
    row-gap: 24px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.08);
    padding: 16px;
}

.custom__menu .custom__menu-item {
    color: #333232;
    font-size: 16px;
    line-height: normal;
}

.custom__menu-item:hover {
    font-weight: 600;
}

.header__list-button {
    display: none;
}

.header__list-socials {
    display: none;
}

.header__burger {
    position: relative;
    z-index: 998;
    display: none;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.header__burger-icon {
    width: 100%;
    height: 3px;
    background: #181818;
    border-radius: 3px;
    transition: 0.3s ease-in-out;
}

.header__burger-icon::before,
.header__burger-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #181818;
    border-radius: 3px;
    transition: 0.3s ease-in-out;
}

.header__burger-icon::before {
    transform: translateY(-8px);
}

.header__burger-icon::after {
    transform: translateY(8px);
}

.header__burger.active .header__burger-icon::after {
    transform: rotate(-45deg) translate(35px, 35px);
    background: #181818;
}

.header__burger.active .header__burger-icon::before {
    transform: rotate(45deg) translate(35px, -35px);
    background: #181818;
}

.header__burger.active .header__burger-icon {
    transform: translateX(-50px);
    background: transparent;
}

@media (max-width: 1200px) {
    .header__top {
        justify-content: center;
    }

    .header__top-title {
        display: none;
    }

    .header__top-socials {
        display: none;
    }

    .header__top-container {
        position: relative;
        z-index: 6;
        background: #FFF;
    }

    .header__bottom-container {
        position: relative;
        z-index: 3;
        background: #FFF;
    }

    .header__container {
        padding: 16px 0;
    }

    .header__list {
        transition: left 0.3s ease-in-out;
        width: calc(100% + 32px);
        position: absolute;
        z-index: 10;
        /*top: -2000%;*/
        top: 100%;
        left: -16px;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
	    transition: transform 300ms linear;
	    will-change: transform;
        flex-direction: column;
        justify-content: center;
        row-gap: 24px;
        background: #FFF;
        padding: 40px 69px 30px;
    }

    .header__list.active {
        /*top: 100%;*/
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
	    transition: transform 300ms linear;
	    will-change: transform;
    }

    .custom__menu {
        display: flex;
        position: relative;
        opacity: 1;
        align-items: center;
        box-shadow: unset;
        padding: 24px 0 0;
    }

    .custom__menu .custom__menu-item {
        font-size: 14px;
        font-weight: 500;
    }

    .header__burger {
        display: flex;
    }

    .header__button-desk {
        display: none;
    }

    .header__list-button {
        display: block;

        margin: 16px 0;
    }

    .header__list-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 16px;
    }

    .header__list-social {
        width: 24px;
        height: 24px;
    }

    .header__list-social-icon {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }
}

@media (max-width: 600px) {
    .header__container {
        padding: 8px 0;
    }

    .header__logo {
        max-width: 115px;
    }
}