.header {
    position: fixed;
    z-index: 2;
    width: 100vw;
    padding: 24px 0;
    background: linear-gradient(180deg, #FFF 30%, #FFFFFFC7 70%, #FFFFFF00);
}

@media (max-width: 768px) {
   .header {
        padding: 16px 0;
    }
}

@media (max-width: 1279px) {
    .header {
        position: fixed;
    }
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 0;
}

.header__logo-img {
    width: 76px;
    height: 61px;
}

@media (min-width: 768px) {
   .header__logo-img {
        width: 127px;
        height: 102px;
    }
}

.header__burger {
    display: none;
    width: 56px;
    height: 56px;
    background-color: var(--uni-text-color-2);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 50%;
    gap: 10px;
    padding: 10px;
    margin-right: 48px;
    grid-area: 1 / 1 / 2 / 2;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
    z-index: 12;
}

.header__burger .line {
    width: 100%;
    height: 3.5px;
    background-color: #FFFFFF;
    border-radius: 2px;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}

.header__burger:hover {
    background-color: #FFFFFF;
}

.header__burger:hover .line {
    background-color: var(--uni-text-color);
}

@media (max-width: 1279px) {
    .header__burger {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media (max-width: 652px) {
    .header__burger {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .header__burger {
        width: 40px;
        height: 40px;
        padding: 9.46px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 0;
    }
    .header__burger:hover {
        background-color: var(--uni-text-color-2);
    }
    .header__burger:hover .line {
        background-color: #FFFFFF;
    }
}

.header__logo {
    z-index: 3;
    max-width: 160px;
}

@media (max-width: 1279px) {
    .header__logo {
        margin: 0 auto;
        max-width: 127px;
    }
}

.header__contacts {
    color: #1C274C;
    -webkit-font-feature-settings: 'clig' off, 'liga' off;
    font-feature-settings: 'clig' off, 'liga' off;
    font-style: normal;
    line-height: normal;
    margin-left: 16px;
    margin-right: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
}

@media (max-width: 1279px) {
    .header__contacts {
        display: none;
    }
}

.header__contacts-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: .5px;
}

.header__contacts-num {
    font-weight: 500;
    font-size: 20px;
}

.header__contacts-time {
    font-size: 16px;
    font-weight: 300;
}

.header__button {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px 8px 8px 32px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 60px;
    background: #004293;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
    margin-left: 48px;
    overflow: hidden;
}

@media (max-width: 1820px) {
    .header__button {
        margin-left: auto;
    }
}

@media (max-width: 652px) {
    .header__button {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        width: 100%;
    }
}

.header__button-text {
    display: grid;
    color: #FFF;
    -webkit-font-feature-settings: 'clig' off, 'liga' off;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 18px;

    font-weight: 400;
    line-height: 150%;
    font-style: normal;
    -webkit-transition: .5s;
    transition: .5s;
}

@media (min-width: 768px) {
    .header__button-text {
        font-size: 20px;
    }
}

.header__button-text span {
    font-size: 14px;
    line-height: normal;
}

.header__button-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (min-width: 768px){
    .header__button-ico {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 652px) {
    .header__button-ico {
        display: flex;
    }
}

.header__busket {
    opacity: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    background: #004293;
    border-radius: 50%;
    height: 72px;
    width: 72px;
    margin-left: 48px;
}

@media (max-width: 1820px) {
    .header__busket {
        margin-left: 16px;
    }
}

@media (max-width: 652px) {
    .header__busket {
        margin-left: none;
    }
}

.header__busket-counter {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .header__busket {
        width: 40px;
        height: 40px;
        padding: 6.46px;
    }
    .header__busket svg {
        width: 30px;
        height: 30px;
    }
    .header__busket-counter {
        top: -10px;
        right: -10px;
        width: 24px;
        height: 24px;
    }
}

.nav {
    --nav-padding-top: 85px;
    --nav-padding: var(--nav-padding-top) 36px 0 64px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation-duration: 0.3s;
    z-index: 2;
}

.nav__title {
    margin: 16px auto 24px 0;
    color: #1C274C;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

@media (min-width: 768px) {
    .nav {
        --nav-padding-top: 159px;
    }
    .nav__title {
        display: none;
    }
}

@media (min-width: 1280px) {
    .nav {
        transform: translateX(0);
    }
}

@media (max-width: 1820px) {
    .nav {
        width: 100%;
        order: 5;
    }
}

@media (max-width: 1279px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        min-height: 100vh;
        width: 100%;
        max-width: 372px;
        background: #fff;
        z-index: 2;
        padding: var(--nav-padding);
    }
    .nav.active {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .nav {
        max-width: 100%;
    }
}

.nav__list {
    min-height: 37px;
    display: flex;
    align-items: center;
    color: var(--uni-text-color);
    font-size: 18px;
    font-weight: 500;
}

/* @media (max-width: 480px) {
    .nav__list {
        margin-left: 25%;
    }
} */

@media (max-width: 1279px) {
    .nav__list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        overflow: auto;
        flex: 1;
        /* min-height: calc(100vh - var(--nav-padding-top));
        max-height: calc(100vh - var(--nav-padding-top)); */
    }
}

@media (min-width:  1280px) {
   .nav__list {
        width: 80%;
        justify-content: space-between;
    }
}



.nav__list-hr {
    height: 21px;
    min-width: 1px;
    max-width: 1px;
    background: #1C274C;
    margin: 0 24px;
}

@media (max-width: 1279px) {
    .nav__list-hr {
        display: none;
    }
}

@media (max-width: 1820px) {
    .nav__list-hr {
        margin: 0 auto;
    }
}


.nav__list-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 1279px) {
    .nav__list-item {
        padding: 17px 0;
        border-bottom: 1px solid #afc3de;
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.nav__list-item-link {
    white-space: nowrap;
    -webkit-transition: .15s;
    transition: .15s;
}

@media (max-width: 1279px) {
    .nav__list-item-link {
        width: 100%;
    }
}

.nav__list-item-link:hover {
    opacity: 0.7;
}

@media (max-width: 1279px) {
    .nav__list-item-link:hover {
        padding-bottom: unset;
    }
}

.nav-dropdown {
    z-index: 3;
    position: relative;
    cursor: pointer;

    &:before {
        content: "";
        width: 120%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

}
.nav-dropdown:hover {
    .dropdown-btn-text:after {
        transform: rotate(180deg);
        top: 7px;
    }
}