.main-top-menu-item-container.no-border {
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 15px !important;
}

.main-top-menu-item-container.no-border-right {
    border-right: none !important;
    padding-right: 0 !important;
}
.no-border-right .main-top-menu-item {
    border-right: none !important;
}
.no-border-right {
    border-right: none !important;
}
.points-count-block {
    display: flex;
    flex-direction: row;
    align-items: center;
   width: 80px;
    padding: 5px;
    height: 32px;
    background: linear-gradient(90deg, #2F6298 0%, #438DB0 100%);
    flex: none;
    order: 7;
    align-self: stretch;
    flex-grow: 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    flex: none;

    flex-grow: 0;
    justify-content: center;
}
.main-top-menu-block {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-top-menu-item-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid var(--black);
}

.main-top-menu-item-container:last-child {
    border-right: none;
}

.main-top-menu-block .main-top-menu-item-container:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 16px;
}

.main-top-menu-block .main-top-menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.personal-container span+.profile-icon-right{
    padding-left: 16px;
}

.personal-container span+.profile-icon-right {
    align-items: center;
    display: flex;
}

.main-top-menu-block .main-top-menu-item:not(.last-menu) svg {
    min-width: 19px;
    max-width: 24px;
    min-height: 18px;
    max-height: 24px;
    margin-right: 4px;
}  

.main-top-menu-block .main-top-menu-item span.catalog-link {
    color: var(--red);
}
.main-top-menu-item.personal-item .f-16 {
    display: none;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 132%;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #000000;
    min-width: 227px;
    width: 227px;
    padding: 0;
    z-index: 1000;
    flex-direction: column;
}

.main-top-menu-item-container.personal-container:hover .profile-dropdown,
.profile-dropdown:hover {
    display: flex;
}

.main-top-menu-item-container.personal-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 35px;
    background: transparent;
    pointer-events: none;
}

.profile-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
    background: transparent;
}

.profile-dropdown .dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    text-decoration: none;
    transition: background 0.2s ease;
}

.profile-dropdown .dropdown-item span {
    width: 179px;
    height: 32px;
    font-family: 'Stag Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 32px;
    color: #000000;
    flex: none;
    order: 0;
    flex-grow: 1;
}
@media (max-width: 1553px) {
    .main-top-menu-item-container {
        padding: 0 16px;
    }
}

@media (max-width: 1350px) {
    .main-top-menu-item-container {
        padding: 0 8px;
    }

    .main-top-menu-block .main-top-menu-item span.f-16 {
        font-size: 14px;
        line-height: 22px;
    }
    .points-count-block {
        width: 50px;
    }
    .points-count {
        font-size: 10px;
    }
}

@media (max-width: 1180px) {
    .main-top-menu-block {
        display: none;
    }
}
.auth-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.auth-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 64px;
    gap: 10px;
    isolation: isolate;
    background: #FFFFFF;
    width: 100%;
    max-width: 1024px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.auth-modal-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 96px;
    height: 96px;
    padding: 24px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.auth-modal-close-btn svg {
    width: 48px;
    height: 48px;
}

.auth-modal-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
}

.auth-modal-title {
    width: 100%;
    height: 72px;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 56px;
    line-height: 72px;
    color: #000000;
    margin: 0;
}

.auth-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 209px;
    height: 40px;
}

.auth-tab {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-tab--register {
    width: 131px;
    height: 40px;
    background: #F0F0F0;
    color: #000000;
}

.auth-tab--login {
    width: 70px;
    height: 40px;
    background: #F0F0F0;
    color: #000000;
}
.auth-tab.active {
    background: #000000 !important;
    color: #FFFFFF !important;
}
.auth-tab:not(.active) {
    background: #F0F0F0;
    color: #000000;
}

.auth-tab-text {
    display: block;
    width: 100%;
    text-align: center;
}

.tabs-content {
    width: 100%;
    position: relative;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}
.auth-modal-wrapper .bx-custom-auth {
    width: 100%;
    padding: 0;
    box-shadow: none;
    margin: 0;
}

.auth-modal-wrapper .auth-container {
    width: 100%;
    max-width: none;
    padding: 0;
    box-shadow: none;
    margin: 0;
    background: none;
}

.auth-modal-wrapper .auth-container__title {
    display: none;
}


.auth-modal-wrapper .bx-custom-auth .tabs {
    display: none;
}

.auth-modal-wrapper .bx-custom-auth .tabs__item {
    display: none;
}

.cart-icon-right{
    background-image: url(images/cart_icon.svg);
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
    height: 24px;
    width: 27px;
}

.cart-icon-right.in-cart{
    background-image: url(images/cart_icon_full.svg);
}

@media (max-width:1180px) {
    #header .header-container .logo-block svg{
        min-width: 105px;
    }
    
}

@media (max-width: 1100px) {
    .auth-modal-content {
        padding: 20px 24px;
        max-width: 95%;
        max-height: 530px!important;
        overflow-y: auto;
        transition: max-height 0.3s ease-in-out;
    }

    .auth-modal-body{
        gap: 0;
    }

    .auth-modal-title {
        font-size: 32px;
        line-height: 42px;
        height: auto;
        margin-bottom: 24px;
    }

    .auth-modal-close-btn {
        width: 64px;
        height: 64px;
        padding: 16px;
    }
    
    .auth-modal-close-btn svg {
        width: 32px;
        height: 32px;
    }

    .auth-tabs {
        width: 100%;
        height: auto;
        margin-bottom: 32px;
    }
    
    .auth-tab {
        flex: 1;
        justify-content: center;
    }
    .auth-tab--register.active ~ .tabs-content #tab-register.active ~ .auth-modal-content,
    .auth-tab--register.active + .tabs-content #tab-register.active ~ .auth-modal-content {
        max-height: 782px;

        height: auto;
        margin-bottom: 20px;
    }

    .auth-tab {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-modal-title {
        font-size: 24px;
    }
    
    .auth-modal-content {
        padding: 16px;
        max-height: 90vh;
    }
    
    .auth-tab {
        padding: 6px 12px;
        font-size: 14px;
    }
}