/* Mega Menu */
/* MEGA MENU STYLES */

#header {
    --mr_color__blue: #E0E9FA;
}

/* #header .ets_mm_megamenu.sticky_enabled.scroll_heading {
    position: unset !important;
} */

.layout_layout1 .ets_mm_block_content ul li a::before {
    font-family: 'Material Icons';
}

#header .header-top,
#header .layout_layout1 {
    background-color: var(--mr_color__white);
}

.mm_breaker {
    background-color: var(--mr_color__sweetblue);
}

.mm_breaker .mm_block_type_html {
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 8px;
}
#header .mm_breaker .mm_block_type_html .cp-link-menu {
    font-size: 16px;
    color: var(--mr_color__primary);
}
#header .mm_breaker .mm_block_type_html .cp-link-menu::before {
    content: '';
    background-image: url('../img/calc.svg');
    width: 22px;
    height: 24px;
    margin-right: 5px;
}


.mm_block_type_product .thumbnail-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.mm_columns_li .mm_block_type_product .ets_mm_block_content {
    display: flex;
    margin: 0 40px;
    justify-content: space-between;
}

#header article .wishlist-button-add {
    position: absolute;
    z-index: 10;
    box-shadow: none;
    left: 10px;
    right: auto;
    height: 30px;
    width: 30px;
    min-width: 30px;
    background-color: transparent;
}

#header article .wishlist-button-add .material-icons {
    font-size: 24px;
}

#header .product-miniature .thumbnail-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body #header .wishlist-button-add i {
    color: var(--mr_color__pacificblue) !important;
}

#header .product-flags,
#header .product-miniature .product-flags li.product-flag {
    left: 0;
    right: 0;
    width: auto;
    justify-content: center;
    flex-direction: row;
    margin: 0 auto;
}

#header .product-flags li.product-flag.discount-percentage,
#header .product-flags li.product-flag.discount-amount,
#header .product-flags li.product-flag.discount {
    background-color: var(--mr_color__pacificblue);
    margin: 0;
    padding: 5px 10px;
    font-size: var(--mr_fontsize__small);
    font-weight: var(--mr_fontweight__medium);
    text-transform: uppercase;
}

#header .product-flags li.product-flag.out_of_stock,
#header .product-flags li.product-flag.new {
    display: none;
}

#header .product {
    padding: 0;
    flex: 1 1 0px;
}

#header .product-miniature {
    background-color: var(--mr_color__white);
    border: 1px solid #efefef;
    border-radius: 13px;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    /*max-width: 180px;*/
    /*UPDATE PRODUCT MINIATURES WIDTH*/
    max-width: calc(100% - 25px);
    margin: 0;
}
#header .mm-product-description {
    width: 100%;
    text-align: center;
}
.mm_block_type_product .mr_single_reviews_wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#header .product-miniature .thumbnail-container:hover .product-description::after,
#header .product-miniature .thumbnail-container:focus .product-description::after {
    border: none;
}

#header .product-miniature .thumbnail-container {
    margin-bottom: 0;
    border-radius: 13px;
}

#header .wishlist-product-title,
#header .product-miniature .product-title,
#header .product-miniature .product-title a,
#header .product-miniature .product-description {
    font-size: var(--mr_fontsize__xsmall);
    font-weight: var(--mr_fontweight__regular);
    color: var(--mr_color__primary);
    text-align: center !important;
}

#header .wishlist-product-title,
#header .product-miniature .product-title {
    padding-top: 1.2rem;
    margin-top: 0;
    border-top: 1px solid var(--mr_color__primary);
    height: auto;
    width: 85%;
    display: block;
    margin: 0 auto;
}
#header .mm_block_type_product .mr_zapytaj {
    text-align: center;
}
#header .mm_block_type_product .mr_zapytaj a {
    display: inline;
    color: var(--mr_color__pacificblue) !important;
    font-size: 12px;
    font-weight: var(--mr_fontweight__semibold);
}
#header .mm_block_type_product .mr_zapytaj a:hover {
    color: var(--mr_color__white) !important;
}

#header .wishlist-product-price,
#header .wishlist-product-title {
    text-align: center;
}

#header .wishlist-product>a:hover .wishlist-product-price {
    text-decoration: none !important
}

#header .wishlist-product-price-promo,
#header .wishlist-product-price,
#header .no-items,
#header .product-miniature .regular-price {
    font-size: var(--mr_fontsize__small);
    font-weight: var(--mr_fontweight__regular);
    color: var(--mr_color__pacificblue);
}

#header .wishlist-product-price,
#header .product-miniature .product-price-and-shipping {
    font-size: var(--mr_fontsize__medium);
    font-weight: var(--mr_fontweight__semibold);
    color: var(--mr_color__pacificblue);
    text-align: center !important;
}

#header .wishlist-product-price {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row-reverse;
    gap: 5px;
}

#header .product-miniature .product-description {
    padding: 1.7rem 2rem;
}

#header .product .mr_btn {
    margin: 0 auto 0 auto;
    display: block;
    width: max-content;
    max-width: 100%;
    text-align: center;
    background: var(--mr_color__white);
    border: 1px solid var(--mr_color__pacificblue);
    color: var(--mr_color__pacificblue);
    position: relative;
    transition: all .3s ease-in-out;
    padding: 8px;
    width: calc(100% - 20px);
    outline: none;
}
#header .product .mr_btn span,
#header .product #send_aap_button.mr_btn {
    padding: 10px;
    font-size: 12px;
}

#header .product .mr_addbtn:before {
    content: '';
    background-image: url('/themes/classic_child/assets/img/cart-add.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 13px;
    height: 16px;
    display: block;
    z-index: 1;
    position: absolute;
    left: 20px;
    opacity: 0;
    transition: all .1s ease-in-out;
}

#header .product .mr_addbtn:hover:before {
    opacity: 1;
}

#header .product .mr_addbtn span {
    position: relative;
    transition: all .3s ease-in-out;
    right: 0;
}

#header .product .mr_addbtn:hover span {
    right: -10px;
}

#header .product .mr_btn:hover,
#header .product .mr_btn:active,
#header .product .mr_btn:focus {
    background: var(--mr_color__pacificblue);
    border: 1px solid var(--mr_color__pacificblue);
    color: var(--mr_color__white);
}

#header .product-miniature .thumbnail-container .product-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 20px;
    margin: 0;
    width: 100%;
    border: none;
}

#header .product-miniature .thumbnail-container .product-thumbnail img {
    transition: all 0.2s ease-in;
    transform: scale(1);
    max-width: 189px;
    max-height: 150px;
    width: auto;
    margin: auto;
}

#header .product-miniature .thumbnail-container .product-thumbnail img:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories a {
        height: auto;
        padding: 15px;
        display: block;
        border-bottom: 1px solid var(--mr_color__outerspace);
        font-weight: var(--mr_fontweight__light);
        border: 0;
    }

    #header .layout_layout1 .mm_has_sub>a .mm_arrow::after {
        display: none;
    }

    #header .layout_layout1 .mm_menus_li:hover>a:after,
    #header .layout_layout1 .mm_menus_li.menu_hover>a:after {
        background-color: #FFFFFF;
        bottom: -1px;
        content: "";
        height: 1px;
        left: 0;
        position: absolute;
        right: 0;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories a:hover {
        background-color: transparent;
        color: var(--mr_color__primary) !important;
        text-decoration: none;
    }

    #header .layout_layout1 .ets_mm_block_content>.ets_mm_categories {
        border: 0;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    #header .layout_layout1 .mrs_large_first_column .ets_mm_block_content>.ets_mm_categories {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #header .layout_layout1 .mrs_large_first_column .column_size_10 .product {
        width: 50% !important;
    }

    #header .layout_layout1 .mm_menus_li.mrs_large_first_column .mm_columns_li.column_size_10 .product:not(:nth-child(1)):not(:nth-child(2)) {
        display: none;
    }

    #header .layout_layout1 .ets_mm_block_content>.ets_mm_categories::-webkit-scrollbar {
        display: none;
    }

    #header .mm_blocks_li {
        padding: 0;
    }

    .layout_layout1 .ets_mm_block_content ul li a::before {
        display: none;
    }

    .ets_mm_block_content .has-sub>a::after {
        display: none;
    }

    #header .mm_blocks_li {
        margin-bottom: -1px;
    }

    /* sub menu level 2 */
    .ets_mm_block_content ul li>ul {
        left: 0;
        padding: 0;
        margin: 0;
        margin-top: 70px;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul a {
        height: auto;
        padding: 8px 10px;
        display: block;
        border-bottom: none;
        border-right: none;
        font-weight: var(--mr_fontweight__regular);
        font-size: 13px;
        line-height: 1.25 !important;
        transition: background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul a span {
        font-weight: var(--mr_fontweight__regular);
        color: #484848;
        text-transform: none;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul a:hover {
        text-shadow:0px 0px 1px #484848;
    }

    li.has-sub>.ets_mm_categories {
        box-shadow: none;
        border: none;
        overflow-y: scroll;
    }

    /* sub menu level 3 */
    .ets_mm_block_content ul li>ul>li>ul {
        position: static;
        padding-left: 17px;
    }

    .layout_layout1 .ets_mm_block_content ul li>ul>li>ul a::before {
        display: block;
        left: -15px;
        top: 5px;
        position: relative;
        right: auto;
        color: #6F7070;
        text-decoration: none;
    }

    .ets_mm_block_content>ul>li>ul {
        margin-left: 1px;
        max-height: calc(100% - 100px);
        overflow-y: scroll;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
    }
    /* .column_size_2 .ets_mm_block_content>ul>li>ul {
        max-height: calc(100% - 130px);
    } */

    .ets_mm_block_content>ul>li>ul::-webkit-scrollbar {
        display: none;
    }

    .ets_mm_block_content ul li:hover>ul>li>ul {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul>li>ul a {
        margin-top: 0;
        font-weight: var(--mr_fontweight__light);
    }

    .mm_columns_li.column_size_10 {
        min-height: unset;
        visibility: hidden;
        opacity: 0;
        display: none;
    }

    .mm_columns_li.column_size_10.visibility-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .visibility-menu-child {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .visibility-menu-child ul {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mm_columns_li.column_size_10 .mm_block_type_product {
        display: grid;
        justify-items: flex-start;
    }
    .mm_columns_li .mm_block_type_product a:hover {
        text-shadow:0px 0px 1px var(--mr_color__primary);
        text-decoration: unset !important;
    }

    .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content .mr_product:not(:nth-child(1)):not(:nth-child(2)) {
        display: none;
    }
    .ets_mm_block.mm_block_type_product > .h4 {
        border: none;
        font-size: 14px !important;
        color: var(--mr_color__primary) !important;
        margin-top: 35px;
        margin-left: 40px;
    }

    .hovered-top-item-menu {
        z-index: 101;
    }

    .mm_menus_li .mm_columns_ul {
        transition: opacity 0.2s ease
    }

    .ets_mm_megamenu.layout_layout1 {
        background: var(--mr_color__outerspace);
    }

    #header .layout_layout1 .ets_mm_megamenu_content {
        background: var(--mr_color__primary);
        border: none;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-bottom: 1px solid var(--mr_color__primary);
    }

    #header .layout_layout1 .ets_mm_megamenu_content .container {
        width: calc(100% - 30px) !important;
        /*max-width: 1660px;*/
        /* FIX TWO ROWS TITLES */
        max-width: 1560px;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    #header .layout_layout1 .mm_menus_ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        /*max-width: var(--global-width);*/
        /* FIX TWO ROWS TITLES */
        max-width: 100%;
    }

    .ets_mm_megamenu .mm_columns_ul::before {
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
        top: -2px;
        height: 1px;
        padding-top: 2px;
    }

    #header .layout_layout1 .mm_menus_li {
        border: none;
    }

    #header .mm_menus_li>a {
        text-transform: unset;
        font-weight: var(--mr_fontweight__regular);
        font-size: var(--mr_fontsize__normal);
    }
    @media screen and (max-width: 1300px) {
        #header .mm_menus_li>a {
            /* FIX TWO ROWS TITLES */
            font-size: var(--mr_fontsize__small)!important;
        }
    }
    #header .mm_menu_content_title {
        padding: 12px 12px 8px 12px;
        font-size: inherit;
        color: var(--mr_color__white);
    }

    #header .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li:hover>a,
    #header .layout_layout1:not(.ybc_vertical_menu) .mm_menus_li:hover>a {
        background: none !important;
    }

    #header .layout_layout1.ets_mm_megamenu .mm_columns_ul {
        padding: 0;
        margin: 0 auto !important;
        min-height: unset;
        width: 100%!important;
        max-width: 1560px;
        border: none;
        background-color: var(--mr_color__white);
        left: 50%;
        transform: translateX(-50%);
    }
    #header .mm_block_type_product {
        margin-bottom: 15px;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li {
        width: 100%;
        max-width: 200px;
        position: static;
        white-space: normal;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>.itemlvl-5 {
        max-width: 220px;
        width: max-content;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li .has-sub>a {
        float: left;
        padding-right: 10px;
        position: relative;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li .has-sub>a:after {
        background-image: url('../img/right-arrow.svg');
        background-size: contain;
        background-repeat: no-repeat;
        width: 15px;
        height: 15px;
        display: inline-block;
        right: -7px;
        position: absolute;
        transform-origin: center;
        cursor: pointer;
        border: none;
        top: 5px;
        bottom: 0;
        margin: auto;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li .has-sub .arrow.opened {
        transform: rotate(180deg);
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li .has-sub .ets_mm_categories>li.has-sub .arrow {
        margin-top: 15px;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li .has-sub .ets_mm_categories {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
        margin-left: 35px;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li a.active-menu {
        text-shadow:0px 0px 1px #484848;
    }
    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories>li a.active-menu + .not-closed-sub .ets_mm_categories {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }

    .ets_mm_categories.active {
        max-height: 300px !important;
        display: block !important;
        opacity: 1 !important;
    }

    .layout_layout1 .mm_menus_li>a::before {
        height: 100% !important;
        margin-top: 1px;
        background-color: transparent !important;
    }

    .layout_layout1 .mm_menus_li:hover .mm_menu_content_title {
        /* font-weight: var(--mr_fontweight__bold); */
        text-shadow:0px 0px 4px var(--mr_color__white);
    }

    .layout_layout1 .mm_menus_li:hover>a {
        color: rgba(255, 255, 255, 0.86) !important;
    }

    .layout_layout1 .mm_menus_li:hover>a::after {
        display: none;
    }

    #header .layout_layout1 .ets_mm_block_content>.ets_mm_categories>li>a {
        min-height: 40px;
        display: flex;
        align-items: center;
        font-size: var(--mr_fontsize__normal);
        line-height: 1.4;
        margin-top: 20px;
        padding-bottom: 20px;
        margin-left: 35px;
        text-transform: uppercase;
    }
    #header .layout_layout1 .has-sub .not-closed-sub {
        position: absolute;
        left: 0;
        width: 200px;
        top: 0;
        font-size: 14px;
    }
    #header .layout_layout1 .ets_mm_block_content .not-closed-sub .ets_mm_categories li a:before {
        content: none;
    }
    #header .layout_layout1 .ets_mm_block_content .not-closed-sub .ets_mm_categories li > a {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {

    #header .layout_layout1 .ets_mm_block_content .mrs_li_opened .not-closed-sub .ets_mm_categories {
        display: block;
    }
    .mr_icon-desc {
        font-size: 10px;
        margin-top: 2px;
    }

    .mr_cart-products-count {
        font-size: 12px;
        width: 21px;
        height: 21px;
        line-height: 19px;
        top: -12px;
        right: -3px;
    }

    .mr_icon-logout,
    .mr_icon-account,
    .mr_icon-shopping-cart {
        height: 21px;
    }

    #_desktop_user_info .user-info .logout,
    #_desktop_user_info {
        margin-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    #header .mm_menus_li>a {
        font-size: 14px !important;
    }

    #header .mm_menu_content_title {
        padding: 9px 6px !important;
    }

    #header .header-nav .right-nav {
        width: 100% !important;
    }
}

@media (max-width: 1279px) {
    .ets_mm_block_content>ul>li>ul {
        width: 100%;
    }
}
@media (min-width: 1200px) and (max-width: 1279px) {
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full .mm_columns_li.column_size_10 .ets_mm_block_content .product {
        width: 33.3333%;
    }
}

@media (max-width: 991px) {
    .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content {
        justify-content: space-evenly !important;
    }

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full:not(.mrs_large_first_column) .mm_columns_li.column_size_10 .ets_mm_block_content .product {
        max-width: 250px;
    }

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full .mm_columns_li.column_size_10 .ets_mm_block_content .product:nth-child(3),
    #header .layout_layout1 .mrs_large_first_column .mm_menus_li.mm_sub_align_full .mm_columns_li.column_size_10 .ets_mm_block_content .product:nth-child(2) {
        display: none;
    }
}

@media (min-width: 1601px) {
    .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content .mr_product {
        display: block !important;
    }
}

@media (min-width: 1279px) and (max-width: 1580px) {
    #header .layout_layout1 .ets_mm_block_content .product-flags .discount::before {
        font-size: 12px;
    }

    #header .layout_layout1 .ets_mm_block_content .product-flags span {
        font-size: 12px;
    }
}

@media (min-width: 1280px) {
    #header .layout_layout1 .mm_menus_ul {
        max-height: 60px;
    }
}

@media (max-width: 1199px) {
    #header .layout_layout1 .mrs_large_first_column .column_size_10 .product {
        width: 100% !important;
        max-width: 275px;
    }

    #header .layout_layout1 .mm_menus_li.mrs_large_first_column .mm_columns_li.column_size_10 .product:nth-child(2) {
        display: none;
    }

    #header .layout_layout1 .mm_menus_li.mrs_large_first_column .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content {
        justify-content: center;
    }
}

@media (min-width: 768px) {

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_full_sub li.has-sub>.ets_mm_categories::-webkit-scrollbar-track {
        padding: 2px 0;
        border: 1px solid var(--mr_color__blue);
        background-color: var(--mr_color__blue);
    }

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_full_sub li.has-sub>.ets_mm_categories::-webkit-scrollbar {
        display: block;
        width: 9px;
    }

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_full_sub li.has-sub>.ets_mm_categories::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: rgba(0, 0, 0, 0.15);
        border: 1px solid var(--mr_color__blue);
    }

    /* 2 col products */
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_2_col_prod li.has-sub>.ets_mm_categories {
        overflow-y: scroll;
        width: 100%;
        height: 100%;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        margin-left: 40px;
    }

    /* 3 col products */
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_3_col_prod li.has-sub>.ets_mm_categories {
        overflow-y: scroll;
        width: 100%;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        margin-left: 40px;
        height: 100%;
    }
    /* all col products */
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.show-all-products li.has-sub>.ets_mm_categories {
        overflow-y: scroll;
        width: 100%;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        margin-left: 40px;
        height: 100%;
    }
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full .mm_columns_li {
        position: relative;
    }

    .mm_columns_li.column_size_10 .mm_block_type_product .ets_mm_block_content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-end;
        width: 925px;
        width: 100%;
        max-width: 100%;
    }


    /* manufacturer menu */

    .mm_blocks_li .mm_block_type_mnft {
        max-width: 662px;
        margin-right: -30px;
        margin-left: auto;
        padding-bottom: 30px;
    }

    .mm_blocks_li .mm_block_type_mnft .ets_item_name {
        display: none;
    }

    .mm_blocks_li .mm_block_type_mnft .h4 {
        text-transform: capitalize;
        font-weight: var(--mr_fontweight__light);
        border: none;
        margin-top: 5rem;
    }

    .mm_blocks_li .mm_block_type_mnft .ets_item_img {
        border: none;
    }

    .mm_blocks_li .item_has_img {
        padding: 10px;
        height: 90px;
        min-width: 100px;
        display: grid;
        place-items: center;
    }

    .mm_blocks_li .mm_block_type_mnft .ets_item_img img {
        max-height: 80px;
        max-width: 80px;
    }

    .ets_mm_block_content img {
        width: 100%;
    }

    .ets_mm_block_content img:hover {
        transform: none;
    }

    .mm_blocks_li .mm_block_type_mnft .mm_mnu_display_img {
        display: grid;
        margin-right: 0;
        margin-left: auto;
        grid-template-columns: repeat(auto-fit, 100px);
        padding-right: 20px;
    }

    .ets_mm_block_content ul li ul {
        background: none;
        border: none;
    }

    #header .layout_layout1 .ets_mm_block_content .has-sub>a {
        line-height: 1.25;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul>li>ul a {
        transition: color .3s ease;
    }

    #header .layout_layout1 .ets_mm_block_content .ets_mm_categories li>ul>li>ul a {
        margin-top: 12px;
        font-weight: var(--mr_fontweight__light);
        line-height: 1.25;
    }

    .layout_layout1 .ets_mm_block_content ul li>ul>li>ul a::before {
        top: -8px;
    }

    .mrs_header_custom_color {
        background-color: #bc0000;
    }

    #header .layout_layout1 .mr_product .mr_add-to-cart-bottom {
        left: 50%;
        width: 100%;
        transition: transform 0.3s ease, width .3s ease;
        box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
        transform: translate(-50%, 100%);
    }

    #header .layout_layout1 .mr_product:not(:hover) .mr_add-to-cart-bottom {
        transform: translate(-50%, -3px);
        width: calc(100% - 2px);
    }

    #header .layout_layout1 .column_size_2 {
        min-height: 420px;
        max-height: 420px;
        position: relative;
    }

    #header .layout_layout1 .mrs_large_first_column .column_size_2 {
        width: calc(240px + ((100% - (max(20%, 240px))) / 4) * 2);
    }

    #header .layout_layout1 .column_size_2::-webkit-scrollbar-track {
        padding: 2px 0;
        border: 1px solid var(--mr_color__blue);
        background-color: var(--mr_color__blue);
    }

    #header .layout_layout1 .column_size_2::-webkit-scrollbar {
        width: 9px;
    }

    #header .layout_layout1 .column_size_2::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: rgba(0, 0, 0, 0.15);
        border: 1px solid var(--mr_color__blue);
    }

    #header .layout_layout1 .column_size_10 {
        width: calc(100% - (max(20%, 240px)));
    }

    #header .layout_layout1 .mrs_large_first_column .column_size_10 {
        width: calc(100% - (max(20%, 240px)) - ((100% - (max(20%, 240px))) / 4) * 2);
    }

    #header .layout_layout1 .mrs_large_first_column .column_size_10 .product {
        /* width: 33.3333%; */
        width: 50%;
    }

    #header .ets_mm_block_content .ets_mm_categories .has-sub > a.notclosesub:after {
        display: none !important;
    }

    .showmoreproducts .column_size_5:nth-child(1) {
        width: 25%;
    }
    .showmoreproducts .column_size_5:nth-child(3) {
        width: 58.2%;
    }
    .showmoreproducts .column_size_7:nth-child(2) {
        width: 74.3333%;
    }
    .showmoreproducts .column_size_7:nth-child(3) {
        width: 58.3333%;
    }
    .mm_block_type_product .product:nth-child(3) {
        display: none;
    }
    .mm_block_type_product .product:nth-child(4) {
        display: none;
    }
    .showmoreproducts .mm_block_type_product .product:nth-child(3),
    .showmoreproducts .mm_block_type_product .product:nth-child(4) {
        display: block;
    }
    .customproductscount .mm_block_type_product .product:nth-child(3) {
        display: block;
    }
    .showonstart-3prod .mm_block_type_product .product:nth-child(3) {
        display: block;
    }

    /* .column_size_5 .slick-slider .slick-list,
    .column_size_5 .slick-slider .slick-track {
        width: calc(200px * 2 + 40px);
    }
    .column_size_7 .slick-slider .slick-list,
    .column_size_7 .slick-slider .slick-track {
        width: calc(200px * 3 + 60px);
    } */
}

@media (min-width: 768px) {
    /* #header .mm_menus_ul>li .mm_menu_content_title span {
        display: none;
    } */

    #header .mrs_reset_megamenu_btn {
        display: none;
    }

    #header .layout_layout1 .mm_menus_ul>.mm_menus_li.mm_has_sub .mm_columns_ul+.fix-hover-element {
        content: '';
        background-color: rgba(0, 0, 0, 0.5);
        width: 100vw;
        height: 100vh;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        transition: opacity 0.3s ease-in-out;
        position: absolute;
        opacity: 0;
        z-index: -1;
        pointer-events: none;
    }

    #header .layout_layout1.ets_mm_megamenu .mm_menus_li.mrs_hover_trigger:hover .mm_columns_ul+.fix-hover-element {
        opacity: 1;
    }

    #header .layout_layout1 .mm_menus_ul>.mm_menus_li.mm_has_sub:not(.mrs_hover_trigger) .mm_columns_ul+.fix-hover-element,
    #header .layout_layout1.ets_mm_megamenu .mm_menus_li:not(.mrs_hover_trigger) .mm_columns_ul {
        left: -200vw;
    }

    #header .layout_layout1 .mm_menus_ul>.mm_menus_li.mm_has_sub .mm_columns_ul {
        z-index: 999;
    }

    .mm_blocks_li_category-btn {
        display: none !important;
    }

    #header .layout_layout1 .mm_menus_li .mm_menus_li_title-mobile {
        display: none;
    }
}

/* Mega Menu Mobile */
#header {
    margin-bottom: 0 !important;
}

#header .mm_menus_ul>li .mm_menu_content_title {
    display: flex;
    gap: 5px;
    align-items: center;
    color: var(--mr_color__white);
    text-transform: uppercase;
    transition: font-weight 0.7s ease;
    /* FIX TWO ROWS TITLES */
    line-height: 1.35em;
    text-align: center;
}

#header .ets_mm_megamenu.hook-default {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* #header .layout_layout1 .mm_menus_ul, */
#header .ets_mm_megamenu_content {
    margin: 0 auto;
    /* width: var(--global-width) !important; */
    max-width: 100%;
}

#header .ets_mm_block_content a {
    color: #484848 !important;
    font-size: 14px;
    font-weight: var(--mr_fontweight__semibold);
}

@media (max-width: 767px) {

    /* icons mob */
    #header .hook-default .ets_mm_megamenu_content .container {
        width: 100% !important;
    }

    .mm_blocks_li {
        padding: 0;
        margin-bottom: 0;
    }

    #header .column_size_2:not(.mm_has_sub) .mm_blocks_ul .mm_blocks_li,
    #header .column_size_2.mm_has_sub .mm_blocks_ul .mm_blocks_li .ets_mm_categories {
        max-height: 370px;
    }
    #header .column_size_2.mm_has_sub .mm_blocks_ul .mm_blocks_li a + .ets_mm_categories {
        overflow: auto;
    }


    #header .layout_layout1 .mm_menus_li {
        /* border-top: 1px solid var(--mr_color__white); */
        border-top: 1px solid rgba(0, 0, 0, .2);
        border-left: 0 !important;
        border-right: 0 !important;
    }
    #header .layout_layout1 .mm_menus_li > a {
        font-weight: 400;
    }
    #header .layout_layout1 .mm_menus_li .mm_menus_li_title-desktop {
        display: none;
    }

    #header .transition_floating .mm_menus_ul,
    .hook-default.layout_layout1 .mm_menus_li {
        background-color: var(--mr_color__primary);
    }
    #header .transition_floating .mm_menus_ul {
        max-width: 100%;
    }

    #header .ets_mm_megamenu_content.mr_selection {
        background-color: var(--mr_color__primary);
    }

    #header .ets_mm_megamenu_content {
        border: 0;
    }

    #header .layout_layout1.ets_mm_megamenu .mm_columns_ul .mm_columns_li.column_size_10 {
        display: none;
    }

    #header .mrs_megamenu-trigger {
        position: absolute;
        top: 100%;
        left: 50%;
        opacity: 1;
        visibility: visible;
        width: 100vw;
        transform: translateX(-50%);
        height: max-content;
        padding: 0 0 4px;
    }

    #header .ets_mm_block_content .ets_mm_categories a {
        padding-right: 20px;
        padding-top: 9.5px;
        padding-bottom: 9.5px;
        /* padding-left: calc(((100vw - var(--global-width)) / 2) + 10px); */
        padding-left: calc(((100vw - (100vw - 30px)) / 2) + 10px);
        width: max-content;
        max-width: 100%;
        display: block;
        line-height: 1.5;
        white-space: normal;
    }
    #header .ets_mm_block_content .ets_mm_categories .has-sub > a {
        pointer-events: none !important;
    }

    #header .ets_mm_block_content .ets_mm_categories .has-sub > a.notclosesub {
        pointer-events: auto !important;
    }
    #header .ets_mm_block_content a::before {
        display: none !important;
    }

    #header .mm_menus_li>a {
        width: max-content;
        max-width: 100%;
        padding: 13px calc((100vw - var(--global-width)) / 2) 13px calc(((100vw - var(--global-width)) / 2) + 10px);
        font-size: 14px !important;
        line-height: 1;
        width: 100%;
    }
    #header .layout_layout1 .ets_mm_block_content>.ets_mm_categories>li>a::before {
        display: none !important;
    }
    .ets_mm_block_content ul li ul {
        background: none;
    }

    #header .mr_mobile_menu__btn {
        display: flex !important;
    }

    #header .layout_layout1:not(.open) .mrs_megamenu-trigger {
        transform: translateX(-250vw);
    }
    .mm_blocks_ul .mm_block_type_product {
        background: var(--mr_color__white);
        padding-top: 20px;
        padding-bottom: 8px;
    }
    .mm_columns_li .mm_block_type_product .ets_mm_block_content {
        margin: 0 auto;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    #header .product-miniature {
        margin: 0 7px;
        min-width: 170px;
    }

    #header .mr_mobile_menu__btn {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0;
        cursor: pointer;
        outline: none !important;
        margin: 0 auto;
        margin-left: 10px;
    }
    #header .mr_mobile_menu__btn span {
        font-size: 17px;
        color: var(--mr_color__primary);
        font-weight: var(--mr_fontweight__semibold);
        text-transform: uppercase;
        padding-top: 2.5px;
        padding-bottom: 2.5px;
    }

    #header .mr_mobile_menu__btn .line {
        fill: none;
        stroke: var(--mr_color__primary);
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    #header .mr_mobile_menu__btn .line1 {
        stroke-dasharray: 50 207;
        stroke-width: 6;
    }

    #header .mr_mobile_menu__btn .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }

    #header .mr_mobile_menu__btn .line3 {
        stroke-dasharray: 35 207;
        stroke-width: 6;
    }

    #header .mr_mobile_menu__btn.opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    #header .mr_mobile_menu__btn.opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }

    #header .mr_mobile_menu__btn.opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    #header .layout_layout1.ets_mm_megamenu .mm_columns_ul {
        margin-top: 0;
        /* padding-left: calc((100vw - var(--global-width)) / 2); */
        padding: 0;
        background-color: #edf4ff;
        /* border-color: var(--mr_color__primary); */
        border: none;
    }

    #header .arrow {
        right: 0;
        width: 100%;
    }

    #header ul.ets_mm_categories li.has-sub .arrow,
    #header .ets_mm_block_content ul.ets_mm_categories li.has-sub ul.ets_mm_categories li.has-sub .arrow {
        width: 100%;
        height: 40px;
    }
    #header ul.ets_mm_categories li.has-sub .arrow::before,
    #header .ets_mm_block_content ul.ets_mm_categories li.has-sub ul.ets_mm_categories li.has-sub .arrow::before {
        transform: rotate(-90deg);
    }

    .mm_blocks_li_category-btn {
        display: flex;
        padding: 8px 0;
        padding-left: calc(((100vw - (100vw - 30px)) / 2) + 10px);
        background-color: var(--mr_color__white);
        display: none;
    }
    .mm_columns_ul.active .mm_columns_li:nth-of-type(1) .mm_blocks_ul > .mm_blocks_li_category-btn {
        display: block;
    }

    .mm_blocks_li_category-btn a::before {
        display: none !important;
    }

    #header .layout_layout1 .mrs_parent_category-btn {
        cursor: pointer;
        padding: 10px 0;
        margin: 0;
        color: #484848 !important;
        font-weight: var(--mr_fontweight__medium);
        font-size: var(--mr_fontsize__normal);
        line-height: 1.25;
    }

    #header .ets_mm_block_content ul.ets_mm_categories li.has-sub ul.active {
        overflow: visible;
        order: 1;
        padding: 0;
        display: block;
    }
    ul.ets_mm_categories li {
        border-top: 1px solid #ffeded;
        width: 100%;
    }
    ul.ets_mm_categories li.has-sub {
        overflow-y: auto;
    }
    .mm_menus_ul .arrow::before {
        content: "";
        display: block;
        background-image: url('/themes/classic_child/assets/img/arrow-down-white.svg');
        margin: 0;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate3d(-50%, 0px, 0px);
        -webkit-transform: translate3d(-50%, 0px, 0px);
        height: 100%;
        width: 100%;
        border: 0 !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 12px;
        width: 20px;
        left: auto;
        right: 15px;
    }
    .mm_menus_ul .not-closed-sub + .arrow::before {
        right: 25px;
    }
    .mm_menus_ul .mm_columns_ul .arrow::before {
        background-image: url('/themes/classic_child/assets/img/arrow-down.svg');
    }
    .mm_columns_ul.active .arrow::after {
        content: "";
        display: block;
        height: 40px;
        position: absolute;
        top: 0;
        right: 0;
        width: calc(100vw - 30px);
        border: none !important;
        transform: unset;
        left: auto;
    }
    .mm_menus_ul .arrow.opened::after {
        display: block;
    }
    .mm_menus_ul .arrow::after {
        display: none !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub ul {
        height: auto;
        background-color: #fff;
        padding: 0;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub ul ul {
        display: none;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.mrs_li_opened li {
        display: none !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.mrs_li_opened .mrs_li_opened.openedli {
        display: block !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.mrs_li_opened .mrs_li_opened.openedli li {
        display: block !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli {
        background-color: var(--mr_color__blue);
        color: var(--mr_color__primary);
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .not-closed-sub ul {
        display: block;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli a {
        margin-left: 25px;
        width: calc(100% - 25px) !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .mm_blocks_li_category-btn {
        display: block !important;
        padding-left: 0;
        padding-bottom: 0;
        padding-top: 0;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .mrs_parent_category-btn {
        display: block !important;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .ets_mm_categories a {
        margin-left: 0;
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .arrow::before {
        background-image: url('/themes/classic_child/assets/img/arrow-left-back.svg');
        transform: rotate(0) !important;
        left: 0;
    }
    .mrs_li_opened:not(.openedli) > a:not(.notclosesub) {
        display: none !important;
    }
    .mm_menus_ul .arrow.opened::before {
        transform: rotateZ(180deg) translateY(0) translateX(50%);
    }
    .ets_mm_block_content ul.ets_mm_categories li.has-sub.openedli .arrow {
        left: 20px;
        width: calc(100% - 20px) !important;
    }
    .ets_mm_block.mm_block_type_product > .h4 {
        border: none;
        font-size: 14px !important;
        color: var(--mr_color__primary) !important;
        margin-top: 5px;
        margin-left: 10px;
    }
}
#header .mrs_reset_megamenu_btn {
    padding: 10px;
    width: 100%;
    font-size: var(--mr_fontsize__normal);
    font-weight: var(--mr_fontweight__semibold);
    color: var(--mr_color__white);
    background-color: var(--mr_color__primary);
    text-transform: uppercase;
    cursor: pointer;
}

.has-sub.mrs_li_opened>a>.mm_menu_content_title-hidden,
.has-sub:not(.mrs_li_opened)>a>.mm_menu_content_title-visible,
.mm_menus_li.mrs_li_opened .mm_menus_li_title-mobile .mm_menu_content_title-hidden,
.mm_menus_li:not(.mrs_li_opened) .mm_menus_li_title-mobile .mm_menu_content_title-visible {
    display: block;
}
.has-sub:not(.mrs_li_opened)>a>.mm_menu_content_title-visible {
    font-weight: 600;
    color: var(--mr_color__primary);
    text-transform: uppercase;
}

/* .has-sub:not(.mrs_li_opened)>a>.mm_menu_content_title-hidden,
.has-sub.mrs_li_opened>a>.mm_menu_content_title-visible,
.mm_menus_li:not(.mrs_li_opened) .mm_menus_li_title-mobile .mm_menu_content_title-hidden,
.mm_menus_li.mrs_li_opened .mm_menus_li_title-mobile .mm_menu_content_title-visible {
    display: none;
} */

.ets_mm_megamenu .mr_addbtn span {
    pointer-events: none;
}

.ets_mm_megamenu .mr_addbtn .spinner {
    top: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1279px) {

    #header .layout_layout1 .mm_menus_li.mm_sub_align_full .mm_columns_li.column_size_10 .ets_mm_block_content .product:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)),
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_full_sub .mm_columns_li.column_size_10 .mm_blocks_ul {
        display: none;
    }

    .ets_mm_block_content>ul>li>ul {
        grid-template-columns: 220px;
        left: 0;
    }
    /* 3 col products */
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_3_col_prod li.has-sub>.ets_mm_categories {
        margin-left: 25px;
    }

    .mrs_peptides .ets_mm_block_content>ul>li>ul {
        grid-template-columns: 220px 220px;
        left: 0;
    }
    #header .layout_layout1 .mm_menus_li.mm_sub_align_full.mrs_2_col_prod li.has-sub>.ets_mm_categories {
        margin-left: 20px;
    }
    #header .layout_layout1 .ets_mm_block_content>.ets_mm_categories>li>a {
        margin-left: 20px;
    }

    #header .mm_menu_content_title {
        padding: 12px 8px;
    }
    #header .layout_layout1.ets_mm_megamenu .mm_columns_ul {
        width: 100vw !important;
    }
    #header .product .mr_btn {
        padding: 8px;
    }
    #header .product .mr_btn span {
        font-size: 11px;
    }
    #header .product-miniature .thumbnail-container .product-thumbnail img {
        max-width: 120px;
    }
    .mm_columns_li .mm_block_type_product .ets_mm_block_content {
        margin: 0 15px;
        gap: 5px;
    }
}

.show-more-types span {
    font-weight: 500;
    padding: 8px 10px;
    text-decoration: underline;
    cursor: pointer;
}
.ets_mm_categories .hidden {
    display: none;
}

.menu-arrow-container {
    position: sticky;
    margin-right: 15px;
    margin-left: auto;
    width: 10px;
    top: 10px;
    z-index: 101;
    display: none;
}
.menu-arrow {
    width: 0;
    height: 40px;
    border: 1px solid var(--mr_color__pacificblue);
    position: relative;
    animation: scroll 1.5s infinite;
    -webkit-animation: scroll 1.5s infinite;
}
.menu-arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: -5px;
    width: 1px;
    height: 10px;
    border-top: 10px solid var(--mr_color__pacificblue);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

@keyframes scroll {
0% {
    height: 40px;
}
30% {
    height: 70px;
}
60% {
    height: 40px;
}
}
@-webkit-keyframes scroll {
0% {
    height: 40px;
}
30% {
    height: 70px;
}
60% {
    height: 40px;
}
}
@media (max-width: 767px) {
    .show-more-types {
        padding: 8px 15px;
        background-color: var(--mr_color__primary);
    }
    .show-more-types span {
        color: #fff;
        text-decoration: underline;
    }
    .ets_mm_megamenu.open .ets_mm_megamenu_content_content .mrs_megamenu-trigger {
        overflow: auto !important;
        height: calc(100vh - 132px) !important;
    }
    #header .ets_mm_megamenu.hook-default.open {
        height: 100vh;
        background-color: var(--mr_color__primary);
    }
}