:root {
    --color-white: #fff;
    --color-pink: #C32566;
    --color-dark: #3A3B3C;
    --color-dark-60: rgba(58, 59, 60, 0.6);
    --color-cyan-blue: #2FA2B9;
    --color-cyan-blue-dark: #0D7B91;
    --color-cyan-blue-hover: #2B95AA;
    --color-cyan-blue-30: rgba(47, 162, 185, 0.30);
    --color-cyan-blue-10: rgba(47, 162, 185, 0.10);
}

.c-wrap-page.c-wrap-page--redesign {
    padding-top: 120px;
}

.header {
    background: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: blur(100px);
    backdrop-filter: blur(100px);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10001;
    padding: 20px 0;
    transition: background .3s linear;
    border-radius: 0 0 40px 40px;
}

.header--opened {
    border-radius: 0 0 40px 40px;
    background: linear-gradient(0deg, rgba(58, 59, 60, 0.08) 0%, rgba(58, 59, 60, 0.08) 100%), rgba(255,255,255,0.8);
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

.container--header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container--center {
    justify-content: center;
}

.header__line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__line--logo {
    width: 25%;
}

.header__logo img {
    display: block;
}

.header__desc {
    color: var(--color-dark-60);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.header__menu {
    background: var(--color-cyan-blue);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    margin-right: auto;
}

.header__menu--auto {
    margin-left: auto;
}

.header__menu-btn {
    padding: 17px 28px;
    font-size: 18px;
    font-weight: 600;
    border: 0;
    background-color: var(--color-cyan-blue);
    color: var(--color-white);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    transition: background-color .3s linear;
}

.header__menu-btn:hover {
    background-color: var(--color-cyan-blue-hover);
}

.header__menu-btn:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.header__menu-btn:last-child {
    border-right: 0;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 28px;
    height: 60px;
    border-radius: 20px;
    border: 0;
    background-color: transparent;
    color: var(--color-dark);
    position: relative;
    transition: background-color .3s linear, border-color .3s linear;
    font-size: 18px;
    gap: 8px;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--color-cyan-blue-10);
}

.btn--primary {
    border: 1px solid var(--color-cyan-blue);
    background-color: var(--color-cyan-blue);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: transparent;
    color: var(--color-cyan-blue);
}

.btn--pink {
    border: 1px solid var(--color-pink);
    background-color: var(--color-pink);
    color: var(--color-white);
}

.btn--pink:hover {
    background-color: transparent;
    color: var(--color-pink);
}

.btn--icon {
    width: 60px;
    padding: 0;
}

.btn--full {
    width: 100%;
}

.btn-counter {
    position: absolute;
    display: flex;
    gap: 8px;
    padding: 3px 4px;
    justify-content: center;
    align-items: center;
    left: 32px;
    top: 9px;
    border-radius: 6px;
    background: rgba(47, 162, 185, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--color-dark);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: 0.48px;
}

.btn--search {
    background-color: var(--color-cyan-blue-10);
}

.btn--outline {
    border: 1px solid var(--color-cyan-blue);
    color: var(--color-cyan-blue-dark);
}

.btn--outline:hover {
    border-color: var(--color-cyan-blue-10);
}

.btn--primary.btn--outline {
    background-color: transparent;
    border-color: var(--color-cyan-blue);
    color: var(--color-cyan-blue);
}

.btn--primary.btn--outline:hover {
    background-color: var(--color-cyan-blue);
    color: var(--color-white);
}

.btn--pink.btn--outline {
    background-color: transparent;
    border-color: var(--color-pink);
    color: var(--color-pink);
}

.btn--pink.btn--outline:hover {
    background-color: var(--color-pink);
    color: var(--color-white);
}

.btn--light {
    background-color: var(--color-cyan-blue-30);
    border-color: var(--color-cyan-blue-30);
    color: var(--color-cyan-blue);
}

.header__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    height: 22px;
}

.header__user-role {
    color: rgba(58, 59, 60, 0.30);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    transition: color .3s linear;
}

.header__user-drop {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 122px;
}

.header__user-drop-item {
    color: var(--color-dark-60);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    opacity: 0;
    transition: .3s ease-in-out;
}

.header__user-drop-item:hover {
    color: var(--color-dark);
}

.header__user-drop-item:first-child {
    transform: translateY(20px);
}

.header__user-drop-item:last-child {
    transform: translateY(-20px);
}

.header__user-drop-item--selected {
    opacity: 1;
    color: var(--color-dark);
}

.header__user-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.header__user-icon span {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 50%;
    transition: .3s ease-in-out;
}

.header__user-icon span:first-child {
    left: 4px;
    top: 6px;
}

.header__user-icon span:nth-child(2) {
    right: 4px;
    top: 6px;
}

.header__user-icon span:last-child {
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
}

.header__user-menu:hover .header__user-role {
    color: var(--color-dark);
}

.header__user-menu:hover .header__user-drop-item {
    opacity: 1;
}

.header__user-menu:hover .header__user-drop-item:first-child {
    transform: translateY(0);
}

.header__user-menu:hover .header__user-drop-item:last-child {
    transform: translateY(0);
}

.header__user-menu:hover .header__user-icon span:first-child {
    left: 50%;
    transform: translateX(-50%);
    top: 2px;
}

.header__user-menu:hover .header__user-icon span:nth-child(2) {
    right: 50%;
    transform: translate(50%, -50%);
    top: 50%;
}

.header__user-menu:hover .header__user-icon span:last-child {
    bottom: 2px;
}

.header__search-form {
    display: flex;
}

.header__search-input {
    padding: 12px 16px;
    background-color: var(--color-cyan-blue-10);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border: 0;
    outline: none;
    color: var(--color-dark);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    flex-grow: 1;
}

.header__search-input::-webkit-search-decoration,
.header__search-input::-webkit-search-cancel-button,
.header__search-input::-webkit-search-results-button,
.header__search-input::-webkit-search-results-decoration {
    display: none;
}

.header__search-form-btn {
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
}

.header__search-hints {
    position: absolute;
    z-index: 2;
    left: auto;
    right: 0;
    top: 100%;
    margin-top: 8px;
    padding: 20px 18px;
    border-radius: 20px;
    background: linear-gradient(0deg, var(--color-cyan-blue-10) 0%, var(--color-cyan-blue-10) 100%), var(--color-white);
    display: none;
    width: 300px;
    box-sizing: border-box;
}

.header__search-hints-content {
    max-height: 400px;
    overflow: auto;
    width: calc(100% + 10px);
    padding-right: 10px;
    box-sizing: border-box;
}

.header__search-hints-content::-webkit-scrollbar {
    width: 4px;
}
.header__search-hints-content::-webkit-scrollbar-track {
    background: var(--color-cyan-blue-10);
}
.header__search-hints-content::-webkit-scrollbar-thumb {
    background-color: var(--color-cyan-blue);
    border-radius: 12px;
    border: 0;
}

.header__search-hints-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.header__search-recent {
    display: none;
}

.header__search-recent:not(:first-child) {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px dotted rgba(1, 78, 138, 0.20);
}

.header__search-hint-label {
    color: var(--color-dark-60);
    font-size: 16px!important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.header__search-hints-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.header__search-hint {
    padding: 9px 16px;
    border-radius: 12px;
    background-color: rgba(158, 214, 238, 0.30);
    color: var(--color-cyan-blue);
    text-decoration: none;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.header__search-reset {
    color: var(--color-cyan-blue);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

.header__search-hints-col {
    display: flex;
    flex-direction: column;
}

.header__search-link {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    color: var(--color-dark);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
    padding: 10px 50px 10px 0;
    position: relative;
    overflow: hidden;
}

.header__search-link:not(:last-child) {
    border-bottom: 1px dotted rgba(1, 78, 138, 0.20);
}

.header__search-link-reset {
    border: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: .3s linear;
    color: rgba(58, 59, 60, 0.12);
    cursor: pointer;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(50% - 20px);
}

.header__search-link:hover {
    color: var(--color-cyan-blue-dark);
}

.header__search-link:hover .header__search-link-reset {
    opacity: 1;
}

.header__search-link-reset:hover {
    color: rgba(47, 162, 185, 0.60);
}

.header__search-btn {
    margin-top: 24px;
}

.header__search {
    display: none;
    position: relative;
}

.header__search--full {
    display: flex;
    justify-content: flex-end;
    width: 25%;
}

.header__search--full .header__search-form {
    width: 100%;
    max-width: 300px;
}

.header__products {
    display: none;
}

.header__products-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    gap: 80px;
}

.header__products-list--2-col:before {
    top: 60px;
    left: 50%;
    bottom: 60px;
    content: '';
    width: 1px;
    height: calc(100% - 120px);
    background: rgba(58, 59, 60, 0.30);
    position: absolute;
}

.header__product {
    display: flex;
    gap: 40px;
    transition: opacity .2s linear;
    position: relative;
    padding: 60px 100px;
}

.header__products-list:not(.header__products-list--2-col) .header__product:not(:last-child):before {
    top: 60px;
    right: -40px;
    bottom: 60px;
    content: '';
    width: 1px;
    height: calc(100% - 120px);
    background: rgba(58, 59, 60, 0.30);
    position: absolute;
}

.header__product:hover .header__product-link {
    font-weight: 500;
}

.header__product-img {
    filter: drop-shadow(0 5px 11px rgba(0, 0, 0, 0.10)) drop-shadow(0 21px 21px rgba(0, 0, 0, 0.09)) drop-shadow(0 47px 28px rgba(0, 0, 0, 0.05)) drop-shadow(0 83px 33px rgba(0, 0, 0, 0.01)) drop-shadow(0 130px 36px rgba(0, 0, 0, 0.00));
}

.header__product-img img {
    object-fit: contain;
}

.header__product-info {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.header__product-link {
    color: var(--color-cyan-blue);
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    border-bottom: 1px solid transparent;
    transition: .2s ease-in-out;
}

.header__product-desc {
    color: var(--color-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    max-width: 418px;
}

.header__product .btn {
    flex-shrink: 0;
}

.header__product-btn {
    height: auto;
    flex-direction: column;
    text-align: left;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 100%;
    padding: 28px;
}

.header__main-menu {
    display: none;
}

.header__main-menu-list {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    position: relative;
    padding: 55px 0;
    margin: 0;
    list-style: none;
    counter-reset: num;
}


.header__main-menu-item:before {
    counter-increment: num;
    content: '0' counter(num);
    color: rgba(58, 59, 60, 0.30);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    vertical-align: top;
}

.header__main-menu-link {
    color: var(--color-cyan-blue);
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    display: inline-block;
}

.header__main-menu-link:hover,
.header__main-menu-link--active {
    font-weight: 500;
}

.header__main-submenu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 60px;
    position: absolute;
    left: 0;
    right: 0;
    transition: .3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.header__main-menu-item--has-submenu:hover > .header__main-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header__main-menu-item--has-submenu:hover {
    padding-bottom: 20px;
}

.header__main-menu-item--has-submenu:hover .header__main-menu-link {
    padding-bottom: 90px;
}

.header__main-submenu-link {
    color: var(--color-cyan-blue);
    font-size: 18px;
    line-height: 24px;
}

.header__main-submenu-link:hover,
.header__main-submenu-link--active {
    font-weight: 500;
}

.header__main-menu .header__menu-btn--buy {
    display: none;
}

.color-gray {
    color: rgba(58, 59, 60, 0.60);
}

@media (max-width: 1679px) {
    .c-wrap-page.c-wrap-page--redesign {
        padding-top: 104px;
    }
    .header {
        padding: 12px 0;
    }
    .header__main-menu-list li:last-child {
        display: block;
    }
    .header__main-menu-item--has-submenu:hover .header__main-menu-link {
        padding-bottom: 74px;
    }
    .header__main-menu .header__menu-btn--buy {
        display: flex;
        border-radius: 16px;
        transform: translateY(-8px);
    }
    .header__line {
        gap: 16px;
    }
    .header__logo img {
        max-width: 100%;
        height: auto;
    }
    .header__desc {
        font-size: 12px;
        line-height: 18px;
    }
    .header__menu-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    .header__menu-btn--buy {
        display: none;
    }
    .header__user-drop {
        width: 100px;
    }
    .header__user-drop-item,
    .header__user-role {
        font-size: 16px;
    }
    .btn--icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
    .header__main-menu-list {
        padding: 40px 0;
    }
    .header__products-list {
        gap: 40px;
    }
    .header__products-list--2-col:before {
        top: 40px;
        bottom: 40px;
        height: calc(100% - 80px);
    }
    .header__products-list:not(.header__products-list--2-col) .header__product:not(:last-child):before {
        right: -20px;
        top: 40px;
        bottom: 40px;
        height: calc(100% - 80px);
    }
    .header__product-info {
        margin-bottom: 16px;
    }
    .header__product-link {
        font-size: 24px;
        line-height: 26px;
    }
    .header__product {
        gap: 20px;
        padding: 40px 60px;
    }
    .header__product-btn {
        padding: 28px 20px;
    }
    .header__main-menu-link {
        font-size: 20px;
    }
}

@media (max-width: 1284px) {
    .header {
        border-radius: 0 0 20px 20px;
    }
    .header__logo img {
        width: 160px;
    }
    .container {
        padding: 0 16px;
    }
    .hidden-tablet  {
        display: none!important;
    }
    .btn--small {
        height: 40px;
        font-size: 14px;
        padding: 0 20px;
        border-radius: 12px;
    }
    .c-wrap-page.c-wrap-page--redesign {
        padding-top: 70px;
    }
    .header__line--logo {
        width: 100%;
        justify-content: center;
    }
    .feedback-scroll-btn {
        display: none;
    }
}

@media (min-width: 1285px) {
    .hidden-desktop {
        display: none!important;
    }
}

@media (min-width: 768px) {
    .hidden-desktop-tablet {
        display: none!important;
    }
}

@media (max-width: 767px) {
    .header__line {
        margin: 0 auto;
    }
    .hidden-mobile {
        display: none!important;
    }
    .header__desc {
        font-size: 10px;
    }
    .btn--large {
        height: 48px;
        font-size: 14px;
        padding: 0 20px;
        border-radius: 16px;
    }
}
