header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    padding: 0;
}

.header-sep {
    height: 150px;
}

/** header-top */
.header-top {
    box-shadow: 0 0 20px 0 #00000031;
    background-color: #ffdd00;
    padding: 5px 0;
}

.header-top .wrap {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.header-contacts {
    display: flex;
    gap: 30px;
}

.header-contacts a {
    display: flex;
    gap: 3px;
    align-items: center;
    font-size: 14px;
    color: #3a2c8b;
}

.header-contacts a:hover {
    color: #0029ff;
}

.header-contacts a [class*="fa-"] {
    transform: translateY(2px);
    font-size: 20px;
}

/** header-rs */
.header-rs {
    display: flex;
    gap: 10px;
    align-items: center;
}

a.header-rs-item {
    position: relative;
    background-color: #fffbb9;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 200ms linear;
}

a.header-rs-item:hover {
    background-color: #fff;
}

a.header-rs-item [class*="fa-"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #3a2c8b;
}

/** header-body */
.header-body {
    padding: 8px 0;
    background-color: #fff400;
}

.header-body .wrap {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.header-la {
    position: relative;
}

.header-logo-img {
    height: 94px;
}

/** header-fentec */
.header-fentec {
    position: absolute;
    top: 4px;
    left: 250%;
    width: max-content;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 10px;
    text-align: right;
    font-weight: 400;
}

.header-logo-fentect {
    height: 30px;
}

/** header-lb */
.header-lb {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.header-lb-l1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/** header-btn-filiese */
a.header-btn-filiese {
    display: block;
    padding: 3px 20px;
    border-radius: 50px;
    background-color: #3a2c8b;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: all 200ms linear;
}

a.header-btn-filiese:hover {
    background-color: #2600ff;
}

/** search-form */
.search-form {
    display: flex;
    gap: 5px;
    background-color: #fff;
    border-radius: 50px;
    width: fit-content;
    padding: 2px 7px 2px 16px;
    margin: 0;
}

.search-field {
    border: none;
    background-color: transparent;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    border: none;
    background-color: transparent;
}

/** HEADER SCROLL */
.header__scroll {
    position: fixed;
    background-color: #ffffff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.header__scroll .header-top,
.header__scroll .header-lb-item {
    display: none;
}

.header__scroll .header-lb {
    gap: 0;
}

.header__scroll .header-body {
    padding: 4px 0;
}

.header__scroll .header-logo-img {
    height: 52px;
}

.header__scroll .header-fentec {
    display: none;
}

/** header-internas */
/*.header-internas {
    background-color: #f5f5f5;
}*/
@media screen and (max-width: 1100px) {
    .header-fentec {
        left: 150%;
    }
}

@media screen and (max-width: 900px) {
    .header-body .wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header__scroll .header-body .wrap {
        display: flex;
    }

    .header__scroll .header-lb-item:first-child {
        display: none;
    }

    .header-la {
        width: fit-content;
    }

    .header-lb-l1 {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    header {
        background-color: #f5f5f5;
    }

    .header-top {
        display: none;
    }
}

@media screen and (max-width: 470px) {
    .header-body {
        padding: 14px 0;
    }

    .header-sep {
        height: 324px
    }

    .header-logo-img {
        height: 126px;
    }

    .header-logo-fentect {
        height: 30px;
    }

    .header-la {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: auto;
        text-align: center;
    }

    .header-fentec {
        position: relative;
        top: auto;
        left: auto;
        width: fit-content;
        margin: 30px auto auto;
        transform: none;
    }

    .header-lb-l1 {
        flex-wrap: wrap;
    }

    .header-lb-item:first-child {
        display: block;
        width: 100%;
        margin: auto;
        text-align: center;
    }

    .header-lb-item:first-child a {
        display: block;
        width: fit-content;
        min-width: 300px;
        margin: auto;
        text-align: center;
    }
}