/* main-menu-unite start */
.big-menu__top-link {
    font-family: var(--font-family-main-500);
    font-size: 1.8rem;
    line-height: 2.4rem;
    text-decoration: none;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
}

.big-menu__top-link > a {
    transition: 0.2s;
    text-decoration: none;
}

.big-menu__top-link > a:hover,
.big-menu__top-link.selected > a  {
    color: var(--color-main);
}

.big-menu__container {
    margin: 0 6.4rem 0 0;
}

.big-menu__burger {
    position: relative;
    width: 2rem;
    height: 2rem;
    margin: 0 1.2rem 0 0;
    cursor: pointer;
    overflow: hidden;
}

.big-menu__burger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: 0.2s;
}

.big-menu__burger span:first-child {
    top: 2px;
    left: 0;
}

.big-menu__burger span:nth-child(2) {
    top: calc(50% - 1px);
    left: 0;
}

.big-menu__burger span:last-child {
    bottom: 2px;
    left: 0;
}

.big-menu__burger.opened span:nth-child(2) {
    left: -100%;
}

.big-menu__burger.opened span:first-child {
    top: 9px;
    transform: rotate(45deg);
}

.big-menu__burger.opened span:last-child {
    bottom: 9px;
    transform: rotate(135deg);
}

.big-menu__sub-menu {
    display: none;
    position: fixed;
    top: 194px;
    left: 0;
    width: 100%;
    height: calc(100vh - 194px);
    z-index: 110;
    background: var(--color-bg-2);
}

.big-menu__sub-menu-container {
    max-width: 1464px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.big-menu__lvl-2 {
    padding: 2rem 0;
    max-width: 35rem;
    width: 100%;
}

.big-menu__lvl-2-item {
    width: fit-content;
    padding: 0;
    margin: 0 0 3.2rem 0;
}

.big-menu__lvl-2-item:last-child {
    margin: 0;
}

.big-menu__lvl-2-item::before {
    display: none;
}

.big-menu__lvl-2-item .big-menu__lvl-2-item__wrapper > a {
    font-family: var(--font-family-main-600);
    font-size: 1.8rem;
    line-height: 2.4rem;
    text-decoration: none;
    transition: 0.2s;
}

.big-menu__lvl-2-item .big-menu__lvl-2-item__wrapper > a:hover,
.big-menu__lvl-2-item.active .big-menu__lvl-2-item__wrapper > a {
    color: var(--color-main);
}

.big-menu__lvl-3-wrapper {
    display: none;
    position: fixed;
    top: 194px;
    right: 0;
    width: 70%;
    height: calc(100vh - 194px);
    z-index: 110;
    background: #fff;
    background-image: url(/local/templates/smile_spa/img/big-menu/bg.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    padding: 2rem 0rem 2rem 4rem;
}

.big-menu__lvl-3 {
    height: 100%;
    overflow-y: auto;
}

/* Толщина скролла */
.big-menu__lvl-3::-webkit-scrollbar {
    width: 6px; /* можно сделать 4–6px */
}

/* Трек (фон) */
.big-menu__lvl-3::-webkit-scrollbar-track {
    background: transparent; 
}

/* Ползунок */
.big-menu__lvl-3::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3); 
    border-radius: 3px;
}

/* Ховер */
.big-menu__lvl-3::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.5);
}

.big-menu__lvl-3-item {
    width: fit-content;
    margin: 0 0 2rem 0;
}

.big-menu__lvl-3-item:last-child {
    margin: 0;
}

.big-menu__lvl-3-item .big-menu__lvl-3-item__wrapper > a {
    font-family: var(--font-family-main-600);
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-decoration: none;
    transition: 0.2s;
}

.big-menu__lvl-3-item .big-menu__lvl-3-item__wrapper > a:hover,
.big-menu__lvl-3-item.active .big-menu__lvl-3-item__wrapper > a  {
    color: var(--color-main);
}

.big-menu__lvl-4 {
    margin: 1.8rem 0 0 0;
    display: none;
}

.big-menu__lvl-4-item {
    width: fit-content;
    padding: 0 0 0 2.4rem;
    margin: 0 0 2rem 0
}

.big-menu__lvl-4-item:last-child {
    margin: 0;
}

.big-menu__lvl-4-item::before {
    display: none;
}

.big-menu__lvl-4-item > a {
    font-family: var(--font-family-main-400);
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-decoration: none;
    transition: 0.2s;
}

.big-menu__lvl-4-item > a:hover {
    color: var(--color-main);
}

.big-menu__arrow-lvl-1,
.big-menu__arrow-lvl-2,
.big-menu__arrow-lvl-3{
    display: none;
}

/* main-menu-unite end */