.banner__main {
    display: none;
}

.header__language-dropdown {
    display: none;
    width: 80px;
}

.header__language-switch {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary-inverted);
}

.header__language-btn svg {
    height: 17px;
    border: 1px solid #e3e3e3;
    margin-right: 5px;
}

.groups__item-divider {
    margin: 20px 0;
    border-bottom: 1px solid #e4e4e4;
}

@media (max-width:992px) {
    .header__language-btn svg {
        height: 20px;
    }
}

.header__language-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 5px;
    flex-direction: row-reverse;
}

@media (min-width: 992px) {
    .header__language {
        position: relative;
    }

    .header__language-dropdown {
        display: flex;
        position: absolute;
        top: 26px;
        left: 0;
        padding: 5px 10px;
        flex-direction: column;
        z-index: 999;
        background: var(--color-bg-secondary);
        opacity: 0;
        transition: opacity .2s ease-in-out;
        visibility: hidden;
        border: 1px solid #e4e4e4;
    }

    .header__language:hover .header__language-dropdown {
        opacity: 1;
        visibility: visible;
    }
}

.header__top a,
.header__top button,
.section__header,
.groups__item a,
.header__name {
    color: var(--color-text-primary);
}

header,
.header__main {
    background: var(--color-bg-secondary);
}

main {
    margin-top: 136px;
}

@media screen and (min-width: 992px) {
    main {
        margin-top: 134px;
    }

    main.contact-page {
        min-height: calc(100vh - 134px);
    }
}

.header__banner {
	background: var(--color-bg-primary-inverted);
	color: var(--color-text-primary-inverted);
}

.header__banner {
	display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    transition: height .3s ease;
}

.header__name {
    font-size: 12px;
    margin: auto 0;
    gap: 5px;
}

.header__logout button {
    display: flex;
}

.header__banner p {
	font-size: 14px;
    text-align: center;
    color: var(--color-text-secondary-inverted);
}

.banner__heading {
    margin-bottom: 30px;
}

.header__top {
	height: 72px;
    display: grid;
    align-items: center;
    position: relative;
    width: 100%;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
}

@media(max-width: 400px) {
    .header__top {
        grid-template-columns: 60px 1fr 1fr;
    }
}

.header__search:not(.mobile) {
    position: absolute;
    top: 0;
    left: -25px;
    width: calc(100% + 50px);
    background: var(--color-bg-primary);
    height: 100%;
    padding: 0 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s ease;
}

.header__search.opened {
    opacity: 1;
    visibility: visible;
}

.header__search-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 1.5rem;
}

.header__search.mobile .header__search-input {
    background: var(--color-bg-secondary);
}

.header__search.mobile {
    height: 34px;
}

.header__search-input {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 1.5rem;
    line-height: 2rem;
}

.header__search-input:focus {
    outline: none;
}

.header__top img {
	max-height: 45px;
}

.header__right {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.header__center {
    letter-spacing: 1px;
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.header__center--bold {
    font-weight: 600;
    font-size: 1.2rem;
}

.header__center--red {
    color: #f72130;
    font-size: 1rem;
    font-weight: 600;
}

.header__top a,
.header__top button {
    cursor: pointer;
}

.header__cart,
.header__menu {
    color: var(--color-text-primary-inverted);
}

.header {
    transition: background .3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header__sticky {
    background: var(--color-bg-secondary);
}

.flag__logo {
    border: 1px solid transparent;
    transition: all .3s ease;
}

.flag__logo-mobile {
    height: 25px;
    border: 1px solid #e3e3e3;
}

.header__sticky .flag__logo {
    border: 1px solid #e3e3e3;
}

.header__sticky .header__banner {
    height: 0px;
}

.header__sticky .header__banner p {
    display: none;
}

.icon__user path {
    fill: var(--color-text-primary);
}

.icon__search circle,
.icon__search path {
    stroke: var(--color-text-primary);
}

.header__sticky .header__top a,
.header__sticky .header__top button,
.header__sticky .groups__item a,
.header__sticky .header__left a,
.header__sticky .header__name,
.header__sticky .header__language-switch {
    color: var(--color-text-primary);
}

.header__sticky .header__language-switch {
    border-color: var(--color-text-primary);
}

.header__sticky .icon__user path {
    fill: var(--color-text-primary);
}

.header__sticky .icon__search circle,
.header__sticky .icon__search path {
    stroke: var(--color-text-primary);
}

.header__logo {
    display: block;
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    transition: opacity .1s ease;
}

.header__logo--black {
    opacity: 1;
}

.header__logo--white {
    opacity: 0;
}

.header__sticky .header__logo--black {
    opacity: 1;
}

.header__sticky .header__logo--white {
    opacity: 0;
}

.header:hover .header__logo--black {
    opacity: 1;
}

.header:hover .header__logo--white {
    opacity: 0;
}

.section__header {
    color: #fff;
    background-image: url(https://cdn.erply.com/images/9026/bg-darken.jpg);
    background-size: cover;
    background-position: 50% 75%;
}

.groups__subgroups {
    display: none;
}

.groups__items {
	display: flex;
    justify-content: center;
    height: 32px;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    transition: border .3s ease;
}

.groups__item {
	height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
}

.groups__item a {
    text-align: center;
}

.header__left {
    font-size: 0.625rem;
}

.header__top img {
    max-height: 45px;
}

@media(max-width:480px) {
    .header__top img {
        max-height: 35px;
        max-width: 100%;
    }

    .header__logo {
        top: 17px;
    }
}

@media(max-width:992px) {
    .header__search-input { 
        font-size: 1rem;
    }

    .group__open-sub-desktop {
        display: none;
    }

    .header__nav {
        position: fixed;
        left: 0;
        height: 100%;
        width: 100%;
        top: 136px;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s ease, visibility .5s ease;
        background: var(--color-bg-secondary);
    }

    .header {
        border-bottom: 1px solid var(--color-border-primary);
    }

    .header__sticky .header__nav {
        top: 104px;
    }

    .header__nav.opened {
        opacity: 1;
        visibility: visible;
    }

    .groups__item {
        display: block;
        height: unset;
    }

    .groups__items {
        padding: 25px 25px 200px;
        background: #fff;
        height: 100%;
        display: block;
        overflow: auto;
    }

    .groups__item {
        justify-content: space-between;
        padding: 0;
    }

    .groups__item-wrapper {
        margin-bottom: 12px;
    }

    .groups__item .caption {
        font-size: 1rem;
    }

    .groups__subgroups .groups__item .caption {
        font-size: .8rem;
    }

    .groups__item > div {
        display: grid;
        grid-template-columns: 1fr 50px;
    }

    .groups__item-wrapper.opened ~ .groups__subgroups {
        display: block;
    }

    .groups__item-wrapper.opened > button svg {
        transform: rotate(180deg);
    }

    .groups__subgroups.sub-1 {
        padding-left: 25px;
    }

    .groups__subgroups.sub-2 {
        padding-left: 25px;
    }

    .groups__subgroups.sub-3 {
        padding-left: 25px;
    }

    .groups__item a {
        color: var(--color-text-primary);
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.15;
        display: flex;
        height: 25px;
        width: 90%;
        align-items: center;
    }

    .groups__item-languages .caption {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .group__open-sub {
        text-align: end;
    }

    .header__right,
    .header__left.mobile {
        height: 100%;
        display: flex;
    }
}

@media(min-width:992px) {
    .groups__items {
        width: calc(100% + 80px);
        margin-left: -40px;
    }

    .groups__item.mobile {
        display: none !important;
    }

    .section__header {
        position: relative;
    }

    .groups__item {
        position: relative;
    }

    .groups__item:hover .groups__item-subgroups {
        opacity: 1;
        visibility: visible;
    }

    .groups__item-withSub {
        transition: box-shadow 0.2s ease-in-out;
    }

    .groups__item-withSub:hover {
        box-shadow: inset 0 -3px #000;
    }

    .groups__item-subgroups {
        display: flex;
        position: absolute;
        top: 30px;
        left: 0;
        padding: 5px 10px;
        flex-direction: column;
        z-index: 999;
        background: var(--color-bg-secondary);
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
        visibility: hidden;
    }

    .groups__item-subgroups li {
        white-space: nowrap;
        height: 20px;
        display: flex;
        align-items: center;
    }
}

.groups__items .groups__item a.button--login {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 1rem 2.2rem;
    text-decoration: none;
    min-width: 180px;
    -webkit-appearance: none;
    appearance: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    font-family: var(--font-caption-family);
    border: 0;
    text-align: center;
    height: 42px;
    white-space: nowrap;
    transition: all .3s ease;
    color: #fff !important;
    width: auto;
}

.group__open-sub svg,
.group__open-sub,
.header__language-btn {
    fill: #000;
    color: #000;
}