.header {
    background-color: #86c8ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.header__nav-list {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;

}

.header__nav-link {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.header__nav-title {
    list-style: none;
}

.header__profile {
    width: 106px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7c9ef5;
    flex-shrink: 0;
}

.header__logo {
    padding-left: 20px;
    flex-shrink: 0;
}


@media (max-width: 1024px) {
    .header {
        min-height: auto;
        gap: 16px;
        align-items: center;
    }

    .header__profile {
        min-height: 72px;
        width: 72px;
    }

    .header__nav-link {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .header__logo {
        padding-left: 0;
    }

    .header__nav-list {
        gap: 14px;
    }

    .header__nav-link {
        font-size: 15px;
    }
}

@media (max-width: 470px) {

    .header__logo {
        margin-left: 10px;
        width: 19px;
        height: 19px;
    }

    .header__profile-logo {
        width: 15px;
        height: 17px;
    }

    .header__profile {
        min-height: 0;
        width: 35px;
        height: 35px;
    }

    .header__nav-link {
        font-size: 6px;
    }
}
/* Final mobile header layout */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        min-height: 0;
        padding-top: 18px;
    }

    .header__logo {
        width: 56px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header__logo img {
        width: 100% !important;
        height: auto !important;
    }

    .header__nav {
        width: 100%;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
        padding: 18px 16px 22px;
    }

    .header__nav-link {
        display: block;
        font-size: 18px !important;
        line-height: 1.25;
        text-align: center;
    }

    .header__profile {
        display: none !important;
    }
}
/* Final shared mobile header override */
@media (max-width: 600px) {
    .header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        gap: 0 !important;
        padding: 18px 16px 20px !important;
        background-color: #86c8ff !important;
    }

    .header__logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 64px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }

    .header__logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    .header__logo img {
        display: block !important;
        width: 64px !important;
        max-width: 64px !important;
        height: auto !important;
        max-height: 46px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    .header__nav {
        width: 100% !important;
        margin: 14px 0 0 !important;
    }

    .header__nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .header__nav-title {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .header__nav-link {
        display: block !important;
        color: #fff !important;
        font-family: "Inter", sans-serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .header__profile {
        display: none !important;
    }
}
.header,
.header *,
.header *::before,
.header *::after {
    box-sizing: border-box !important;
}