@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive tr {
        border: 1px solid #ccc;
    }

    .table-responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        text-align: left;
        padding-left: 52% !important;
        white-space: pre-wrap !important;

}
    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #000;
    }

    .table-responsive td:before {
        /* Now like a table header */
        position: absolute;
        top: 50%;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: pre-wrap;
        text-align: left;
        font-weight: bold;
        transform: translateY(-50%);
    }

    /*
    Label the data
    */
    .table-responsive td:before {
        content: attr(data-title);
    }

    #account_history_table tr {
        border: 0;
        border-bottom: 1px solid #ddd;
    }

    #account_history_table tr td {
        min-height: 37px;
        border: 0;
        border-bottom: 1px solid #ddd;
    }

    #account_history_table tr td:last-of-type {
        border: 0;
        border-bottom: 1px solid #ddd;

    }

}

/*--------------------------------------- MEDIA QUERIES -------------------------------*/
@media (min-width: 1600px) {
    .big_banner img {
        width: 100% !important;
    }

    .col-xl-12 {
        width: 100%
    }

    .col-xl-11 {
        width: 91.66666667%
    }

    .col-xl-10 {
        width: 83.33333333%
    }

    .col-xl-9 {
        width: 75%
    }

    .col-xl-8 {
        width: 66.66666667%
    }

    .col-xl-7 {
        width: 58.33333333%
    }

    .col-xl-6 {
        width: 50%
    }

    .col-xl-5 {
        width: 41.66666667%
    }

    .col-xl-4 {
        width: 33.33333333%
    }

    .col-xl-3 {
        width: 25%
    }

    .col-xl-2 {
        width: 16.66666667%
    }

    .col-xl-1 {
        width: 8.33333333%
    }

    #sync1 img {
        /*width:auto;*/
        width: 100%;
    }

    .big_banner .big_banner-shadow .banner_icons-box .banner_icon img {
        width: auto !important;
    }
}

@media (max-width: 1199px) {
    .main_nav {
        margin: 0 auto 0 auto;
        text-align: center;
    }

    .main_nav li {
        display: inline-block;
        margin-bottom: 5px;
    }

    .call_me,
    .form_search_site {
        padding-left: 20px;
    }

    .news h2 > a,
    .customer_reviews h2 > a {
        margin: 0;
    }

    .user_info_container time {
        margin: 5px 0 0 0;
    }

    #browse_category .category_block img {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 1200px) {
    .col-lg-2-4 {
        width: 20%;
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1199px) {
    .phones_header {
        display: block;
        margin: 0;
    }

    .logo a {
        font-weight: 700;
        font-size: 40px;
    }
}

/* END MEDIA QUERIES */

@media (max-width: 1024px) {
    .brands_block {
        column-count: 4;
    }
}

/* END MEDIA QUERIES */

@media (min-width: 992px) {
    #modal_cart_popup .modal-dialog {
        width: 992px;
    }

    .sidebar-toggle-back,
    .sidebar-toggle-up {
        display: none;
    }

    .checkout_right {
        float: right;
    }

    .col-md-2-4 {
        width: 20%;
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .new_price_card_product {
        font-size: 19px;
    }

    /*.p_img_href img {*/
    /*  width: 100%;*/
    /*}*/
}
@media (min-width: 992px) and (max-width: 1599px) {
    .logo {
        margin-block: calc(97% - var(--logo-height));
    }
}

@media (max-width: 991px) {
    .call_me .phones_header {
        display: block;
    }

    .call_me,
    .form_search_site {
        padding-left: 0;
    }

    .enter_registration .social_header_facebook,
    .enter_registration .social_header_vk {
        display: none;
    }

    .call_me {
        text-align: center;
    }

    .call_me > p {
        display: inline-block;
    }

    .sidebar-toggle-back:hover,
    .sidebar-toggle-back {
        color: #fff;
        font-size: 20px;
        position: fixed;
        left: 210px;
        top: 50%;
        z-index: 9999;
        border: 0;
        background: #399FDF;
        padding: 10px;
        border-radius: 40px;
    }

    .sidebar.opened {
        visibility: visible;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        left: 0;
    }

    .right_content {
        float: none;
    }

    .sidebar {
        position: fixed;
        top: 0;
        visibility: hidden;
        z-index: 9999;
        width: 240px;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        text-shadow: none;
        bottom: 0;
        left: -240px;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        overflow-x: visible;
        overflow-y: auto;
        box-shadow: 0 0 53px rgba(0, 0, 0, 0.47);
    }

    #sidebar-left .inner {
        padding: 20px 20px 20px 0;
    }

    /*.p_img_href img {*/
    /*  width: 100%;*/
    /*}*/
    #browse_category .category_block img {
        width: 150px;
        height: 150px;
    }
}


@media (max-width: 991px) {
    .form_search_site {
        width: 95%;
    }
    .add_nav .navbar-header .logo {
        justify-content: center;
    }
    .navbar-header {
        float: none !important;
    }
}

@media (min-width: 768px) {
    .categories_menu .navbar-collapse {
        padding: 0;
    }
    .categories_menu .full_width_list>.sub>a {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .social_buttons {
        margin-top: -1px;
        margin-left: 0;
    }
    .big_banner-shadow {
        padding: 45px 0 90px;
    }
    .wishlist_page__wrapper .product-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .wishlist_page__wrapper .product-card__image-block {
        flex: 1;
        min-width: 300px;
        margin-bottom: 0;
    }

    .wishlist_page__wrapper .product-card__info {
        flex-shrink: 0;
        margin-top: 0;
    }

    .wishlist_page__wrapper .product-card__control {
        flex-direction: row;
        justify-content: flex-end;
        gap: 30px;
    }

    .wishlist_page__wrapper .product-card__control-price {
        min-width: 120px;
        text-align: right;
    }

    .wishlist_page__wrapper .product-card__delete {
        position: static;
        /*margin-left: 20px;*/
        flex-shrink: 0;
    }
    .wishlist_box2 {
        top: var(--logo-height);
    }
}
/* Mega-menu dropdown (desktop): depth, grid, link hovers */
@media (min-width: 768px) {
    .categories_menu .sub_ul {
        display: none;
        padding: 16px 12px 22px;
        border: 1px solid rgba(24, 62, 76, 0.1);
        border-radius: 12px;
        box-shadow:
                0 4px 6px rgba(5, 10, 13, 0.04),
                0 18px 48px rgba(5, 10, 13, 0.1);
        background: #fff;
    }

    .categories_menu .sub_ul > li {
        margin-top: 18px;
        margin-bottom: 18px;
        padding: 0 16px 0 20px;
    }

    .categories_menu .sub_ul > li.full_width_list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 6px 10px;
        align-items: start;
    }

    .categories_menu .full_width_list > .sub {
        width: auto;
        min-width: 0;
        padding: 6px 4px 10px;
    }

    .categories_menu .full_width_list > .sub > a {
        font-weight: 600;
        font-size: 13px;
        line-height: 1.4;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 10px 12px;
        margin: 0;
        border-radius: 8px;
        color: #183e4c;
        color: var(--sm-text-color);
        transition:
                background-color 0.2s ease,
                color 0.2s ease,
                box-shadow 0.2s ease;
    }

    .categories_menu .full_width_list > .sub > a:hover {
        background-color: rgba(36, 139, 203, 0.09);
        color: #1a6d96;
        color: var(--sm-link-color, #248bcb);
        text-decoration: none;
        box-shadow: inset 0 0 0 1px rgba(36, 139, 203, 0.12);
    }

    .categories_menu .full_width_list > .sub > a svg {
        width: 9px;
        height: 9px;
        min-width: 9px;
        margin-right: 8px;
        flex-shrink: 0;
        opacity: 0.4;
        fill: #183e4c;
        fill: var(--sm-text-color);
        transition:
                opacity 0.2s ease,
                fill 0.2s ease,
                transform 0.2s ease;
    }

    .categories_menu .full_width_list > .sub > a:hover svg {
        opacity: 1;
        fill: #248bcb;
        fill: var(--sm-link-color, #248bcb);
        transform: translateX(3px);
    }
}
/* COMMENTS */
@media (max-width: 768px) {
    #browse_category > .row {
        flex-wrap: wrap;
        margin: 10px 0;
    }
    #browse_category .category_block {
        width: 25%;
        padding: 10px 0;
        margin: 0 30px;
    }
}
@media (max-width: 767px) {
    main {
        margin-top: 85px;
    }
    /* Меню категорій — лише по бургеру (як Bootstrap navbar-toggle ≤767px) */
    #responsive-add_nav.collapse,
    #responsive-add_nav.collapsing {
        display: none !important;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        background: aliceblue;
        /*background: var(--sm-bg-categories);*/
        padding: 0;
    }
    #responsive-add_nav.collapse.in,
    #responsive-add_nav.collapsing {
        display: flex !important;
    }

    .add_nav .navbar {
        background: var(--sm-bg-header);
    }

    .navbar-collapse {
        -webkit-transition: none !important;
        transition: none !important;
    }

    .collapsing {
        -webkit-transition: none !important;
        transition: none !important;
        height: auto !important;
    }

    .add_nav .navbar-inverse .navbar-nav>li {
        flex-wrap: wrap;
    }

    .nav2_dropdown .sub-category.active > .wrapper {
        align-items: center;
    }

    .categories_menu .full_width_list>.sub {
        width: 100%;
    }

    .categories_menu .full_width_list>.sub > a {
        font-weight: 600;
        width: 100%;
        display: flex;
    }

    .top_header {
        display: none;
    }
    /*.add_nav #responsive-add_nav.collapsing,*/
    /*.add_nav #responsive-add_nav.collapse.in {*/
    /*    display: flex !important;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*}*/
    .thumbs_row .thumbs div {
        width: 100%;
        max-width: calc(100% / 6);
        max-height: 100px;
    }
    .navbar-nav li>.btn-menu {
        fill: #050a0d !important;
    }
    #sync1 img {
        width: 100%!important;
        height: auto;
    }
    .img-responsive {
        display: inline-block;
        margin: 0 !important;
        height: auto !important;
    }

    .login_block {
        position: relative;
    }

    .login_block a {
        color: #000;
        background: transparent;
        display: flex;
        align-items: center;
        width: 100%;
        height: 40px;
        padding: 0 13px 0 0;
        text-transform: initial;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .login_block a svg {
        fill: #000000;
        width: 1em;
        height: 1em;
        margin-right: 10px;
        font-size: 16px;
    }

    .logo img {
        max-height: 52px;
    }

    #owl-frontslider .owl-controls, #owl-frontslider + .owl-dots {
        display: none !important;
    }

    .thumbnail p {
        font-size: 13px;
    }

    .thumbnail_text {
        font: 400 24px Arial, sans-serif;
    }
    .top_liks_mob > li > a {
        color: #020202 !important;
    }

    .wrapper_language_currency_select,
    .enter_registration {
        float: left;
    }

    .header_mob, .header_actions {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .call_me {
        margin: 0;
    }

    a.call {
        height: 28px;
    }

    .callback_round {
        margin: 0 9px 0 0;
    }

    #kabinet i {
        padding: 0;
    }

    #kabinet .logoff {
        margin-left: 7px;
    }

    .enter_link,
    .registration {
        text-transform: uppercase;
    }

    .enter_link {
        margin: 0 15px 0 0;
    }

    .lang_curr_block {
        margin: 0;
        color: #020202;
    }

    .mob_hr {
        border-top: 1px solid #d2d3d8;
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .language_select, .currency_select {
        margin: 0;
        position: relative;
    }
    .language_select, .currency_select .item {
        color: #000;
    }
    /*.language_select, .currency_select .item .selectize-control.single .selectize-input:after, .selectize-control.single .selectize-input.dropdown-active:after {*/
    /*    border-color: #000;*/
    /*}*/

        .selectize-control.single .selectize-input:after, .selectize-control.single .selectize-input.dropdown-active:after {
            border-color: #000000 transparent transparent transparent !important;
        }

    .language_select .language-dropdown-button {
        background: transparent;
        border: none;
        justify-content: flex-start;
    }

    .currency_select > span,
    .enter_registration {
        text-align: left;
    }

    .currency_select .selectize-input,
    .currency_select .selectize-input.full,
    .currency_select .selectize-input,
    .currency_select .selectize-control.single .selectize-input.input-active {
        background: transparent;
        border: none;
        color: #fff;
        width: 75px;
    }

    .checkout_form .currency_select .selectize-input,
    .checkout_form .currency_select .selectize-input.full,
    .checkout_form .currency_select .selectize-input,
    .checkout_form .currency_select .selectize-control.single .selectize-input.input-active {
        color: var(--sm-text-color);
    }

    .selectize-control.single .selectize-input:after,
    .selectize-control.single .selectize-input.dropdown-active:after {
        border-color: #fff transparent transparent transparent;
    }

    .checkout_form .selectize-control.single .selectize-input:after,
    .checkout_form .selectize-control.single .selectize-input.dropdown-active:after {
        border-color: var(--sm-text-color) transparent transparent transparent;
    }

    .dropdown-menu-language {
        top: 25px;
        margin: 0;
    }

    .caret {
        color: #fff;
        border-color: #fff transparent transparent transparent;
    }

    .checkout_form .language_select .caret {
        color: var(--sm-text-color);
        border-color: var(--sm-text-color) transparent transparent transparent;
    }

    .enter_registration {
        margin: 7px 0 0 10px;
    }

    .main_nav {
        float: right;
        margin: 0;
    }

    .main_nav > ul {
        display: block;
        position: absolute;
        z-index: 10;
        right: 0;
        top: 44px;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .main_nav.expand > ul {
        max-height: 900px;
    }

    .main_nav > ul * {
        display: block;
    }

    .main_nav ul > li {
        margin: 0;
    }

    .main_nav li.mobile {
        display: block;
    }

    .main_nav li > a {
        text-transform: uppercase;
        font-size: 14px;
        padding: 10px;
        border-bottom: 1px dashed #3CA3E4;
        background: #A8DBFA;
        color: #000;
    }

    .main_nav li > a:hover {
        color: #248bcb;
    }

    .main_nav li > a,
    .main_nav li > a:hover,
    .main_nav li > a:focus {
        text-decoration: none;
    }

    .main_nav li.active_page > a {
        background: #fff;
    }

    .main_nav ul > li:last-of-type > a {
        border-bottom: none;
    }

    .top_block_header .navbar {
        display: block;
    }

    .navbar-collapse {
        padding-left: 15px;
        padding-right: 15px;
        max-height: 100%;
        height: calc(100dvh - 55px)!important;
    }

    .container_middle_header {
        padding-bottom: 24px;
    }


    .add_nav {
        /*display: none;*/
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1000;
    }



    .navbar-header .basket_768 {
        position: absolute;
        top: 10px;
        right: 60px;
    }

    .navbar-header .basket_768:before {
        background-color: #d2d3d8;
        border-radius: 50%;
    }

    /* Контейнер меню — для позиціонування кнопки закриття */
    #responsive-add_nav.collapse.in {
        position: relative;
    }
    /* Кнопка «Закрити» всередині мобільного меню */
    .add_nav .mobile-menu-close {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 10;
        margin: 0;
        padding: 10px;
        border: none;
        background: transparent;
    }
    .add_nav .mobile-menu-close .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        margin: 2px 0;
        transition: transform 0.2s;
    }
    .add_nav .mobile-menu-close .icon-bar:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    .add_nav .mobile-menu-close .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .add_nav .mobile-menu-close .icon-bar:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .search_site {
        padding: 0 20px 0 0;
        height: 27px;
        line-height: 27px;
        margin-top: 10px;
        width: 75%;
    }

    .search_site:after {
        width: 100%;
        height: 0;
        visibility: hidden;
        overflow: hidden;
        content: '';
        display: inline-block;
    }

    .form_search_site,
    .basket_768 {
        display: inline-block;
        vertical-align: middle;
        height: 27px;
        line-height: 27px;
        position: relative;
    }

    .quantity_basket_768 {
        margin: 0;
        font-size: 14px;
        position: absolute;
        right: 10px;
        top: 4px;
        line-height: 1;
    }

    .form_search_site {
        width: 100%;
        display: inline-block;
        margin: 0;
    }

    .search_site_input {
        width: 95%;
        padding: 0 12px 0;
        height: 35px;
    }

    .search_site_submit {
        top: 0px;
        height: 35px;
        line-height: 27px;
        border: 1px solid #fff !important;
        color: #fff;
    }

    .add_nav .navbar-inverse .navbar-nav {
        flex-direction: column;
        margin: 0;
        padding-inline: 15px;
        align-items: unset;
        padding-bottom: 0;
    }

    .add_nav .navbar-default .navbar-nav > li {
        float: none;
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        border-left: none;
        border-bottom: 1px dashed #fff;
    }

    .add_nav .navbar-inverse .navbar-nav > li > a {
        display: block;
        text-transform: initial;
        padding: 5px 10px 5px 0;
        height: auto;
        text-align: left;
    }

    .add_nav .navbar-default .navbar-nav > li:last-of-type {
        border-right: none;
        border-bottom: none;
    }

    .add_nav .navbar-default .navbar-nav > li > a {
        min-height: 1px;
    }

    #responsive-add_nav .sub-category {
        font-weight: normal !important;
        font-size: 13pt;
        text-align: left;
    }

    #responsive-add_nav .sub_category_title {
        align-self: start;
    }

    #responsive-add_nav .sub_ul > li {
        margin-top: 0;
        font-weight: normal;
        font-size: 13pt;
    }

    #responsive-add_nav  > .mob_hr:has(+ .top_liks_mob) {
        margin-bottom: 5px;
    }

    .logo {
        margin: 5px 0 5px 15px;
        text-align: center;
    }

    .row_news_customer_reviews > div:first-of-type {
        padding: 0;
    }

    .money_systems,
    .copyright,
    .link_webstudio {
        margin-bottom: 20px;
    }

    .section_top_footer,
    .contacts_info_footer {
        display: inline-block;
        text-align: left;
    }

    .list_footer a,
    .adress {
        display: inline-block;
    }

    #sync2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .description_card_product_xs {
        padding: 0 5%;
    }

    .magazine_articles img {
        float: none;
    }

    .filtersMenu {
        /*min-height: 0;*/
        /*height: auto;*/
        padding: 10px 15px;
        margin: 10px 0 15px;
        align-items: flex-start;
    }

    .filtersMenu li.dropdown {
        margin-bottom: 10px;
    }

    b.filterTitle {
        width: 100%;
        margin: 0 0 6px 0;
    }

    .filterRight {
        width: 100%;
        flex: 1 1 100%;
    }

    .filtersMenu > ul.navbar-right {
        width: 100%;
        flex: 1 1 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .filtersMenu #pl_sort {
        max-width: 100%;
    }


    .call_me .phones_header {
        display: inline-block;
    }

    .footer_brands {
        flex-wrap: nowrap;
    }

    .social_group_footer {
        float: left;
    }

    .social_header_vk {
        margin-left: 0;
    }

    .section_top_footer {
        margin-top: 20px;
    }

    .phones_footer {
        float: left;
        margin-bottom: 20px;
    }

    #sync1 img {
        width: auto;
    }

    .top_liks_mob {
        padding-left: 0;
        padding-bottom: 10px;
        list-style: none;
    }

    .top_liks_mob > li > a {
        color: #fff;
        font-weight: bold;
        font-size: 12.5pt;
        padding: 5px 15px;
        display: block;
    }

    .top_liks_mob > li > hr {
        margin-block: 5px;
    }

    .ac_results {
        width: 100% !important;
        margin-left: -18px;
    }

    .category_heading {
        margin: 10px 0 -15px;
    }
    .category_heading .subcats_imgs > div {
        flex-direction: column;
        justify-content: flex-start;
    }
    .navbar-inverse .navbar-toggle, .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
        border-color: transparent;
        background-color: transparent;
    }

    #browse_category .category_block {
        width: 45%;
        margin: 10px;
    }

    #browse_category .category_block img {
        width: 210px;
        height: 210px !important;
        display: block;
        margin: 0 auto 20px !important;
    }

    .slider_product_card {
        padding: 40px 20px 20px;
    }

    .create-account form {
        width: 100%;
    }

    .moduleRow {
        padding: 0 5px;
    }

    .moduleRow > div {
        padding: 0;
    }

    div.scrollup {
        right: 25px;
        bottom: 100px;
        width: 45px;
        height: 45px;
        opacity: 0.75;
    }

    .scrollup > svg {
        font-size: 25px;
    }

    .navbar-nav{
        width: 100%;
    }

    /*.add_nav .navbar-nav *,*/
    .add_nav .navbar-nav {
        text-align: start;
        font-size: 12.5pt!important;
        font-weight: bold;
    }

    .nav2_dropdown.sfHover .sub-category,
    .nav2_dropdown a > .sf-sub-indicator {
        display: none;
    }
    .nav2_dropdown > .sub-category,
    .nav2_dropdown .sub-category .sub-category {
        width: 100%;
    }
    .nav2_dropdown > .sub-category.active,
    .nav2_dropdown .sub-category.active .sub-category {
        display: block !important;
        position: unset;
        height: auto;
        padding: 0;
        margin: 0;
        background-color: inherit;
        visibility: visible !important;
    }

    .nav2_dropdown .sub-category.active > .wrapper {
        display: flex;
        flex-direction: column;
        align-items: start;
        /*gap: 10px;*/
        padding: 5px 15px;
    }
    .sub_ul > li {
        margin-bottom: 0;
    }
    .categories_menu .sub {
        width: 100%;
        /*align-items: unset;*/
        /*text-align: unset;*/
    }
    .categories_menu .sub .sub_sub_list {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }
    .navbar-nav > li > a {
        display: inline-block !important;
        width: calc(100% - 35px);
        padding: 0 !important;
        height: 28px !important;
        vertical-align: middle ;
        line-height: 28px !important;
        margin-right: auto;
    }
    .navbar-nav li > .btn-menu {
        display: inline-block;
        fill: #fff;
        background-color: inherit;
        border: 0px;
        vertical-align: middle;
        transition: transform .3s ease;
        transform: rotate(90deg);
    }
    .navbar-nav li > .btn-menu svg {
        pointer-events: none;
    }

    .navbar-nav li > .btn-menu.active {
        transform: rotate(270deg);
        translate: 4px;
    }
    .nav2_dropdown .sub-category img,
    .nav2_dropdown .sub-category .parent_category_image {
        display: none;
    }
    .sub-category:after {
        display: none;
    }
    .sub-category.active a {
        display: inline-block;
        font-size: 12px;
        color: #000;
    }
    .sub-category.active svg {
        filter: invert(1);
    }
    /*.categories_menu .sub_sub {*/
    /*    text-align: unset;*/
    /*}*/
    .nav2_dropdown .sub-category:first-of-type a {
        margin-top: 10px;
    }
    .nav2_dropdown .sub-category a {
        display: inline-flex;
        /*align-items: flex-start;*/
        align-items: center;
        padding: 0;
        margin-bottom: 10px;
    }
    .nav2_dropdown a.active {
        font-weight: 700;
    }
    .wishlist_box2 {
        top: 15px;
        z-index: 1001;
    }
    .ajax-module-box,
    .row:has( .row_catalog_products .product_slider) {
        height: 515px;
        max-height: 515px;
        min-height: 430px;
    }
}

@media (max-width: 600px) {
    .thumbnail p {
        font-size: 10px;
    }

    .thumbnail_text {
        font: 400 18px Arial, sans-serif;
    }
}

@media (max-width: 546px) {
    .social_buttons {
        margin-top: -1px;
        margin-left: 0;
    }
    .thumbs_row .thumbs div {
        width: 100%;
        max-width: calc(100% / 4);
        max-height: 70px;
    }
}

@media (max-width: 480px) {

    #browse_category .category_block {
        width: 98%;
        margin: 0 0 20px;
    }

    #browse_category .category_block img {
        width: 270px;
        height: 270px !important;
    }

    #featured .owl-item.cloned {
        /* margin-right: 0px !important; */
    }

    .owl-nav .owl-prev {
        left: -8px;
    }
    .owl-nav .owl-next {
        right: -8px;
    }


    /* #owl-frontslider .owl-lazy, .single_slide .item {
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
        width: 100% !important;
        object-fit: cover !important;
        height: 455px !important;
    } */
    .brands_block {
        column-count: 3;
    }
    .brands_block h3 {
        margin: 0 0 15px;
    }

    .btn.outstock {
        max-width: 130px;
        padding: 6px 8px;
    }
    h2, h1, .like_h2 {
        margin-top: 20px;
    }
    .compare_table td.first-column {
        width: 100px;
        min-width: 100px;
    }

    .compare_table td.product-column {
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }
}

@media (max-width: 460px) {
    #wishlist_bg {
        max-width: 100px;
    }
}

@media (max-width: 420px) {
    .thumbnail_wrapper {
        flex-direction: column;
    }

    .thumbnail_wrapper .col-xs-4 {
        width: 100% !important;
    }

    .btn.outstock {
        height: 32px;
        max-width: 110px;
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media (max-width: 396px) {
    .wishlist_box2 {
        padding: 5px;
        max-width: 110px;
    }
}
@media (max-width: 350px) {
    .product_card .btn.btn-primary,
    .btn.outstock {
        margin-top: 5px;
    }
    .btn.outstock {
        max-width: 100px;
        font-size: 11px;
        padding: 8px 4px;
        width: 100%;
    }
}

/* END MEDIA QUERIES */

@media (max-width: 1240px) {
    .product_slider .owl-nav .owl-prev {
        left: 13px;
    }

    .product_slider .owl-nav .owl-next {
        right: 13px;
    }
}