.section-categories{
    position: relative;
    max-height: 56px;
}
.checkout-onepage-success .main-container{
    padding-top: 0 !important;
}
.categories-wrapper{
    opacity: 0;
    height: 56px;
}
.section-categories .desk {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #E9E9E9;
}
.section-categories .menu-item .menu-title {
    font-family: "Maison Neue Book";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 56px;
    color: #000;
    margin-right: 24px;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 1px;
    white-space: nowrap;
}
.section-categories .menu-item .menu-title span {
    color: #FF0283;
}
.section-categories .menu-item .current {
    font-family: "Maison Neue Medium";
}
.section-categories .menu-item:last-of-type .menu-title {
    margin-right: 0;
}
.section-categories .active .menu-title {
    border-bottom: 2px solid #FF0283;
}
 .wrap_menu>ul>.linkIn, .wrap_menu>ul>.linkOut {
    display: none;
}
.section-categories .sub-menu {
    position: absolute;
    left: 0;
    top: 56px;
    width: 100%;
    z-index: 100;
    background: #FFF;
    height: 426px;
    border-top: 1px solid #E9E9E9;
    transition: visibility 0s, opacity 0.2s ease-in-out;
    visibility: hidden;
    opacity: 0;
    padding: 0 64px;
    display: flex;
    box-shadow: 2px 14px 15px 0px rgba(0, 0, 0, 0.20);
}
.section-categories .active .sub-menu {
    visibility: visible;
    opacity: 1;
}
.sub-menu-title{
    font-family: "Maison Neue Demi";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.sub-menu-center{
    margin: 24px 55px 10px 48px;
}
.sub-menu-right {
    margin: 24px 0 10px;
}

.sub-menu-full-width {
    max-width: 1065px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.sub-menu-full-width .top-rated-products .top-rated-name {
    font-size: 16px;
    font-family: "Maison Neue Medium";
    text-transform: capitalize;
    color: #000;
    margin-bottom: 8px;
}

.sub-menu-full-width .top-rated-item {
    margin: 0 8px;
    width: 200px;
    max-width: 20%;
}

.sub-menu-full-width .top-rated-products img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-menu-full-width .top-rated-products .image-wrapper {
    display: block;
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}

.sub-menu-full-width .top-rated-products .top-rated-details {
    font-size: 14px;
    margin-bottom: 5px;
}

.sub-menu-full-width .top-rated-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.sub-menu-full-width .top-rated-description strong {
    font-weight: 400;
}

.sub-menu-full-width .top-rated-products .top-rated-quiz {
    font-size: 14px;
    font-family: "Maison Neue Medium";
    font-weight: 400;
}

.sub-menu-full-width .shop-all-link {
    display: block;
    font-family: "Maison Neue Medium";
    letter-spacing: 1px;
    font-size: 15px;
    color: #000;
    padding-top: 25px;
    text-decoration: none;
}

.sub-menu-full-width .shop-all-link.center {
    text-align: center;
}

.sub-menu-full-width .shop-all-link.right {
    text-align: right;
}

.sub-menu-full-width .shop-all-link_text {
    display: inline-block;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
}

.sub-menu-full-width .go-to_icon {
    display: inline-block;
    padding-left: 6px;
    transform: rotate(180deg);
    text-decoration: none;
    width: 24px;
}

.sub-menu-full-width .favourite-products,
.sub-menu-full-width .top-rated-products {
    margin: 24px 0 10px;
}

.sub-menu-full-width .top-rated-list {
    display: flex;
    justify-content: center;
    align-items: start;
}

.sub-menu-center li, .favourites-list li {
    margin-bottom: 12px;
    line-height: 22px;
}
.sub-menu-center a, .favourites-list a{
    font-family: "Maison Neue Book";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    color: #000 !important;
    margin-bottom: 12px;
}
.sub-menu-center a:hover, .favourites-list a:hover{
    border-bottom: 1px solid #000;
}
.sub-menu-center a span{
    font-weight: 700;
    color: #FF0283;
    margin-right: 1px;
}
.sub-menu-right .top-rated-list{
    display: flex;
    justify-content: center;
    align-items: start;
}
.top-rated-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    font-family: "Maison Neue Book";
    font-size: 13px;
    font-style: normal;
    line-height: 18px;
    text-align: center;
    font-weight: 400;
    margin: 25px;
    text-transform: capitalize;
}
.sub-menu-right .top-rated-products img{
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
}
.sub-menu-right .top-rated-products .top-rated-name{
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 5px;
    min-height: 36px;
}
.sub-menu-full-width .top-rated-products .top-rated-shade,
.sub-menu-right .top-rated-products .top-rated-shade {
    line-height: 13px;
    letter-spacing: 0.07px;
    color: #6A6A6A;
    margin: 5px 0;
}

.sub-menu-right .top-rated-products .top-rated-details {
    min-height: 59px;
}

.sub-menu-full-width .top-rated-products .top-rated-quiz,
.sub-menu-right .top-rated-products .top-rated-quiz{
    line-height: 18px;
    letter-spacing: 0.07px;
    color: #000;
    font-weight: 600;
    border-bottom: 1px solid #000;
    font-family: "Maison Neue Demi";
}
.sub-menu-left img{
    width: 335px;
    height: 425px;
}
.checkout-onepage-success h2.stars-title {
    margin-top: 0 !important;
}
@media only screen and (max-width: 1200px ) {
    .checkout-onepage-success .main-container{
        padding-top: 40px !important;
    }
    .checkout-cart-index .customBlock{
        margin-top: -20px !important;
    }
    .checkout-onepage-success h2.stars-title {
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 1023px ) {
    .section-categories {
        bottom: 1px;
    }
    .section-categories .desk {
        margin: auto;
        height: 56px;
    }
    .wrap_menu>ul>.linkIn, .wrap_menu>ul>.linkOut {
        display: block;
    }
    .checkout-onepage-success h2.stars-title {
        margin-top: 0 !important;
    }
}
@media only screen and (max-width: 768px ) {
    .checkout-onepage-success .main-container{
        padding-top: 20px !important;
    }
    .categories-wrapper{
        height: 52px;
    }
    .section-categories .menu-check {
        display: flex;
        align-items: center;
        overflow: auto;
        justify-content: start;
        padding: 0 20px;
        position: fixed;
        background: #fff;
        z-index: 1000;
        -ms-overflow-style: none;
        scrollbar-width: none;
        border-bottom: 1px solid #E9E9E9;
        transition: box-shadow 0.3s ease;
        scroll-behavior: smooth;
    }
    .section-categories .menu-check::-webkit-scrollbar {
        display: none;
    }
    .section-categories .menu-item .menu-title {
        font-size: 13px;
        line-height: 52px;
        color: #000;
        margin-right: 20px;
    }
    .section-categories .menu-item .menu-title:hover{
        font-family: "Maison Neue Medium";
    }
    .section-categories .menu-item:last-of-type .menu-title {
        margin-right: 0;
    }
    .section-categories .sub-menu {
        display: none;
    }
    .checkout-onepage-success h2.stars-title {
        margin-top: 30px !important;
    }
}
