.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    z-index: 101;
}

.header__mobile {
    display: none;
}

.header__desktop {
    display: flex;
}

.header__logo img {
    display: block;
    height: 48px;
    width: auto;
}

.header__logo {
    width: 17%;
}

.header__switcher {
    padding: 6px;
    border: 1px solid #ECEFF1;
    border-radius: 32px;
    gap: 4px;
}

.header__switcher-mobile {
    display: none;
}

.header__switcher__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 22px;
    padding: 0 24px;
    cursor: pointer;
    border: 1px solid #ECEFF1;
    color: #8798A5;
}

.header__switcher__item svg{
    margin-right: 8px;
}

.header__switcher__item.active {
    background: #ECEFF1;
}

.header__switcher__item:hover {
    background: #ECEFF1;
    color: #8798A5;
}

.header__btns {
    width: 30%;
    justify-content: flex-end;
}

.header__btns .btn__round {
    margin: 0 8px 0 0;
}

.header__menu-open {
    display: block;
}

.header__menu-close {
    display: none;
}

.header__menu__btn.active .header__menu-open {
    display: none;
}

.header__menu__btn.active .header__menu-close {
    display: block;
}

.header__login__mob {
    padding: 12px;
    border: 1px solid #ECEFF1;
    border-radius: 24px;
    gap: 12px;
    margin: 8px 0;
    display: none;
}

/* topnav */
.topnav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 150px 0 20px 0;
    transform: translate(0,-200%);
    transition: 0.2s all ease-in-out;
    background: #fff;
    overflow-y: auto;
}

.topnav.active {
    transform: translate(0,0);
}

.topnav__container {
    min-height: calc(100vh - 200px);
}

.topnav__nav {
    width: 312px;
    padding-right: 32px;
    border-right: 1px solid #ECEFF1;
}

a.topnav__nav__item {
    display: block;
    padding: 20px 40px 20px 0;
    border-bottom: 1px solid #ECEFF1;
    position: relative;
}

.topnav__nav__item.active {
    color: #91B83F;
}

.topnav__nav__arrow::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    clear: both;
    width: 24px;
    height: 24px;
    background: url('/img/arrow_grey.svg') center center no-repeat;
}

.topnav__nav__arrow.active:hover::after,
.topnav__nav__arrow.active::after {
    background: url('/img/arrow_salad.svg') center center no-repeat;
}

.topnav__menu {
    max-width: calc(100% - 312px);
    padding: 5px 0 0 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topnav__menu__header {
    padding: 10px 0 40px 0;
}

.topnav__menu__back {
    display: none;
}

.topnav__col-4 {
    columns: 4;
}

.topnav__col-3 {
    columns: 3;
}

.topnav__col__item {
    display: block;
}

.topnav__menu__group {
    position: relative;
    padding-left: 30px;
}

.topnav__menu__letter {
    position: absolute;
    left: 0;
    top: 0;
}

.topnav__menu__group__list li {
    padding-bottom: 16px;
}

.topnav__socials__item {
    display: block;
    width: 96px;
    border-radius: 20px;
    border: 1px solid #ECEFF1;
    padding: 24px 32px;
    margin-right: 8px;
}

.topnav__socials__item img {
    display: block;
}

.topnav__contacts-desktop {
    display: flex;
}

.topnav__contacts-mobile {
    display: none;
}

.topnav__contacts__item {
    padding: 16px 24px;
    display: block;
    border-radius: 20px;
    border: 1px solid #ECEFF1;
    margin-left: 8px;
}

.topnav__contacts__title {
    padding-bottom: 4px;
}

.topnav__menu__h {
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 10px;
}

.topnav__menu__li {
    display: inline-block;
    width: 100%;
    padding-bottom: 16px;
}

@media (max-width: 1024px) {
    .header__switcher-desktop {
        display: none;
    }

    .header__switcher-mobile {
        margin: 10px 0;
        display: flex;
    }

    .header__switcher-mobile .header__switcher__item {
        width: 50%;
    }

    .header__logo,
    .header__btns {
        width: 45%;
    }

    .topnav__col-3,
    .topnav__col-4 {
        columns: 2;
    }
    .topnav__socials,
    .topnav__contacts__item{
        width: 100%;
        margin: 0 0 8px 0;
    }
}

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

    .header__mobile {
        display: flex;
        background: #fff;
        padding: 12px 16px;
        border-radius: 24px;
    }

    .header__desktop {
        display: none;
    }

    .header__btns .btn__round {
        margin: 0 0 0 8px;
    }

    .topnav__header__btns .btn__round {
        margin: 0 8px 0 0;
    }

    .topnav {
        transform: translate(-100%,0);
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 102;
        padding: 0;
    }

    .topnav__header {
        padding: 10px 0;
    }

    .topnav__nav {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        border: 0;
        z-index: 2;
        position: relative;
        transform: translate(0,0);
        transition: .2s all ease-in-out;
    }

    .topnav__nav.hide {
        transform: translate(-120%,0);
    }

    .topnav__nav::after {
        content: '';
        display: block;
        height: 100px;
    }

    .topnav__menu {
        position: absolute;
        top: 0;
        left: 0;
        /* bottom: 0; */
        width: 100vw;
        max-width: 100vw;
        /* overflow-x: hidden; */
        /* overflow-y: auto; */
        padding: 0 16px;
        z-index: 4;
        background: #fff;
        transform: translate(120%,0);
        transition: .2s all ease-in-out;
        display: none;
    }

    .topnav__menu::after {
        content: '';
        display: block;
        height: 100px;
    }

    .topnav__menu.active {
        transform: translate(0,0);
        display: block;
    }

    .topnav__contacts-desktop {
        display: none;
    }

    .topnav__contacts-mobile {
        display: block;
        padding-top: 24px;
    }

    .topnav__contacts__item {
        width: 100%;
    }

    .topnav__socials__item-mobile {
        width: 31%;
        margin: 0 0 8px 0;
        display: flex;
        justify-content: center;
    }

    .topnav__menu__header {
        padding: 12px 30px;
        text-align: center;
        font-size: 15px;
        line-height: 26px;
        border-bottom: 1px solid #ECEFF1;
        position: relative;
        margin-bottom: 16px;
    }

    .topnav__menu__back {
        display: block;
        position: absolute;
        left: 0;
        top: 12px;
    }

    .topnav__col-3,
    .topnav__col-4 {
        columns: 1;
    }

    .header__login__mob {
        display: flex;
    }
}

/* search */
.top__search {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 900px;
    padding: 24px;
    border-radius: 24px;
    z-index: 111;
    transform: translate(-50%,-300%);
    transition: .3s all ease-in-out;
}

.top__search.active {
    transform: translate(-50%,100px);
}

.mob__search {
    position: fixed;
    z-index: 104;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translate(-150%,0);
    transition: .3s all ease-in-out;
}

.mob__search.active {
    transform: translate(0,0);
}

.mob__search__back {
    width: 36px;
}

.mob__search__form {
    padding: 16px 0;
    border-bottom: 1px solid #ECEFF1;
}



.flex {
    display: flex
}

.flex__sb {
    justify-content: space-between;
}

.flex__ac {
    align-items: center
}

.flex__as {
    align-items: stretch
}

.flex__grow {
    flex-grow: 1
}

.flex__wrap {
    flex-wrap: wrap
}



.header__nav {
margin: 0 auto;
padding-left: 18px;
}

@media (max-width: 1280px) {
.header__nav {
    display: none;
}
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: #8798a5;
  transition: 0.25s ease-in-out;
}

.header__nav-item > a::after {
  content: "";
  width: 14px;
  height: 14px;
  mask: url("../../img/chevron-down.svg") center center / 24px no-repeat;
  -webkit-mask: url("../../img/chevron-down.svg") center center / 24px no-repeat;
  background-color: currentColor;
}

.header__nav-item > a::after {
  transition: transform 0.2s;
}

.header__nav-item > a.active::after {
  transform: rotate(180deg);
}

.header__nav-item > a:hover {
  color: #91b83f;
}