@media (max-width: 1440px) {
    /*menu*/
    .megamenu-style-dev .megamenu-wrapper {
        padding-top: 10px;
    }
    .megamenu-wrapper ul.megamenu > li > a {
        font-size: 1.5rem;
        padding: 15px 22px;
    }
    ul.megamenu .title-submenu {
        font-size: 1.5rem;
    }
    .megamenu-wrapper ul.megamenu li .sub-menu .content .static-menu a.main-menu {
        font-size: 1.3rem;
    }
}
@media (max-width: 1366px) {
    /*homepage*/
    .more-category-wrapper .category-info {
        padding: 20px;
    }
    .more-category-wrapper .category-info h3 {
        font-size: 2.5rem;
    }
    .more-category-btn {
        padding: 10px 20px;
    }
    .carousel-container .nav-tabs > li.active a {
        font-size: 2rem;
    }
    /*category*/
    .product-col {
        width: 33.333%;
    }
    .product-col:nth-child(3n+1) {
        clear: both;
    }
    .product-col:nth-child(4n+1){
        clear: none;
    }
}
@media (max-width: 1280px) {
    /*checkout page*/
    .checkout-container.container {
        width: 100%;
    }
    .navbar {
        padding: 15px;
    }
    .checkout-logo span.logo-icon svg, .checkout-logo span.logo-icon {
        width: 220px;
        height: auto;
    }
}
@media (max-width: 1140px) {
    .sub-categories .sub-category-column {
        width: 25%;
    }
}
@media (max-width: 1024px) {
    /*header*/
    .logo-icon,
    .logo-icon svg {
        width: 240px;
        height: auto;
    }

    /*homepage*/
    .home-categories-container {
        margin: 25px auto 75px;
    }
    .categories-wrapper .category-item .category-info {
        width: calc(100% - 3.333vw);
        padding: 20px;
    }
    .more-category-wrapper.flex-row {
        flex-wrap: wrap;
    }
    .more-category-wrapper .category-item {
        margin-bottom: 30px;
        width: calc(50% - 30px);
    }
    .more-category-wrapper .category-item a {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: center;
    }
    /*footer*/
    .footer-container {
        padding: 50px 15px 25px;
    }
    .footer-wrapper .flex-row:first-child  {
        flex-wrap: wrap-reverse;
    }
    .footer-wrapper .flex-row:first-child  > div {
        width: calc(33.3333% - 30px);
        margin: 0 15px;
        max-width: unset;
    }
    .footer-wrapper .flex-row:first-child > div:last-child {
        width: 100%;
        margin: 0 auto;
    }
    .footer-newsletter .newsletter-form {
        margin: 0 auto 50px;
        text-align: center;
    }
    h4.footer-title {
        margin-bottom: 0;
    }
    .newsletter-wrapper {
        margin: 0 auto;
    }

    /*product*/
    .carousel-container {
        margin: 50px auto;
    }
    .related-products {
        padding-top: 50px;
    }
    .related-products.combine-with {
        margin-bottom: 50px;
    }
}
.mobile-account-items {
    display: none;
}
@media (max-width: 991px) {
    body:not(.checkout-page) {
        padding-top: 50px;
    }
    /*header*/
    #main-header {
        align-items: flex-start;
        position: fixed;
        padding: 15px;
        width: 100%;
        top: 0;
        background: #ffff;
        z-index: 999;
        min-height: 50px;
    }
    .header-mobile-menu,
    .main-logo,
    .shortcuts-items.mobile.cart {
        flex-basis: 33.3333333%;
    }

    #logo {
        margin-bottom: 0;
    }
    .main-logo img {
        max-width: 148px;
        width: 100%;
        margin: 0 auto;
    }

    #cart .dropdown-menu {
        top: 49px;
        right: 0;
        left: unset;
        -webkit-box-shadow: unset;
        -moz-box-shadow: unset;
        box-shadow: unset;
        min-width: auto;
        width: 100vw;
        position: fixed;
        height: calc(100vh - 50px);
        overflow-y: auto;
    }
    #cart .dropdown-menu li > div {
        min-width: unset;
    }
    .close-mini-cart {
        margin-right: 0;
    }
    .alert-dismissable .close, .alert-dismissible .close {
        top: -30px;
        right: -7px;
    }


    .logo-icon, .logo-icon svg {
        width: 160px;
    }
    .shortcuts-items.mobile #cart {
        float: right;
    }
    .shortcuts-items.mobile #cart .cart-btn {
        top: -5px;
    }
    .shortcuts-items.mobile #search {
        margin: 0 auto;
        max-width: unset;
        position: relative;
    }
    .shortcuts-items.mobile #search .form-control {
        border-top: 1px solid #000;
        padding: 0 35px 0 15px;
    }
    .shortcuts-items.mobile #search  .input-group-btn {
        position: absolute;
        right: 30px;
        top: 5px;
    }

    .discount-bar {
        font-size: 1.2rem;
    }

    /*menu*/
    body.menu-is-open {
        overflow: hidden;
    }
    .body-cover {
        position: fixed;
        z-index: 99;
        display: block;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, .7);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    body.menu-is-open .body-cover  {
        opacity: 1;
        visibility: visible;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }

    .responsive.megamenu-style-dev {
        position: fixed;
        top: 0;
        z-index: 999;
        left: 15px;
    }
    .responsive.megamenu-style-dev .navbar-default .navbar-toggle {
        background-color: transparent;
        border: none;
        border-radius: 0;
        width: 30px;
        padding: 0;
        height: 34px;
        display: inline-block;
        padding-top: 5px;
    }
    .responsive.megamenu-style-dev .navbar-default .navbar-toggle span {
        position: relative;
        display: block;
        width: 100%;
        height: 2px;
        margin-bottom: 5px;
        background-color: #000;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    .responsive.megamenu-style-dev .navbar-default .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    .responsive.megamenu-style-dev .navbar-default .navbar-toggle.active span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        top: 10px;
    }
    .responsive.megamenu-style-dev .navbar-default .navbar-toggle.active span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        bottom: 4px;
    }

    /*menu*/
    .megamenu-style-dev .megamenu-wrapper  {
        display: block;
        padding: 0;
        position: fixed;
        top: 51px;
        left: -100%;
        z-index: 999;
        width: 50%;
        height: calc(100vh - 51px);
        max-height: unset;
        opacity: 0;
        visibility: hidden;
        background-color: #fff;
        -webkit-transition: left .3s ease, opacity .4s ease .4s, visibility .4s ease .4s;
        -moz-transition: left .3s ease, opacity .4s ease .4s, visibility .4s ease .4s;
        -o-transition: left .3s ease, opacity .4s ease .4s, visibility .4s ease .4s;
        transition: left .3s ease, opacity .4s ease .4s, visibility .4s ease .4s;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
    .megamenu-style-dev .megamenu-wrapper.so-megamenu-active {
        left: 0;
        opacity: 1;
        visibility: visible;
        overflow-y: hidden;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    .mobile-account-items {
        display: inline-block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, .7);
        max-height: 51px;
        height: 100%;
    }
    .mobile-account-items a {
        display: inline-block;
        float: left;
        width: 33.333333%;
        background-color: #eaeaea;
        padding: 15px 15px 10px;
        text-align: center;
        color: #000;
    }
    .mobile-account-items a:nth-child(2) {
        border-left: 1px solid rgba(0, 0, 0, .7);
        border-right: 1px solid rgba(0, 0, 0, .7);
    }
    .mobile-account-items a .text {
        vertical-align: top;
    }
    .language-switcher {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        float: left;
        width: 33.333333%;
        align-items: center;
        justify-content: center;
        background: #eaeaea;
        height: 100%;
    }
    .language-switcher span,
    .language-switcher button .fa {
        color: #000;
    }
    .language-switcher .dropdown-menu {
        padding: 5px 0 10px 15px;
    }
    .megamenu-style-dev .megamenu-wrapper ul.megamenu {
        flex-direction: column-reverse;
    }
    .megamenu-style-dev .megamenu-pattern {
        height: calc(100vh - 51px);
        overflow-y: auto;
    }
    .megamenu-wrapper ul.megamenu li .sub-menu .content .static-menu .menu ul {
        margin-top: 0;
    }
    .container-megamenu.horizontal ul.megamenu > li,
    .container-megamenu.vertical ul.megamenu > li {
        border-bottom: 1px solid #f0f0f0;
    }
    .megamenu-style-dev.responsive ul.megamenu > li > a {
        color: #000;
    }

    /*submenu*/
    .megamenu-wrapper .megamenu .sub-menu .content > .row > div {
        width: 100%;
    }
    .megamenu-wrapper ul.megamenu > li > .sub-menu {
        padding-top: 0;
    }
    .megamenu-wrapper.so-megamenu-active ul.megamenu .title-submenu,
    .megamenu-wrapper.so-vertical-active ul.megamenu .title-submenu {
        display: inline-block;
        max-width: unset;
        margin-top: 0;
        margin-bottom: 5px;
    }
    .megamenu-wrapper ul.megamenu li .sub-menu .content .static-menu > .menu > ul > li {
        padding-top: 5px;
    }
    .megamenu-wrapper ul.megamenu .subcategory {
        margin-top: 10px;
    }
    .megamenu-wrapper .sub-menu .discount-bar {
        display: none;
    }
    .megamenu-wrapper .sub-menu {
        padding-bottom: 20px;
    }


    /*homepage*/
    .home-categories-container {
        margin-bottom: 55px;
    }
    .categories-wrapper .category-item .title h3 {
        font-size: 1.5rem;
        max-width: 100%;
    }

    /*footer*/
    .credits.flex-row {
        flex-direction: column-reverse;
        align-items: center;
    }
    .credits.flex-row .right {
        margin-bottom: 20px;
    }

    /*category*/
    .caption > h4,
    h4.sub-category-name {
        line-height: 1.5;
    }
    .product-col {
        width: 50%;
    }
    .product-col:nth-child(3n+1) {
        clear: none;
    }
    .product-col:nth-child(2n+1){
        clear: both;
    }

    /*account pages*/
    #account-login.container {
        width: 100%;
    }

    /*checkout page*/
    .checkout-container #logo {
        margin-bottom: 20px;
    }
    .checkout-logo span.logo-icon svg,
    .checkout-logo span.logo-icon {
        top: 0;
    }
    .checkout-container.container > .row .col-md-3 .text-right {
        text-align: center;
    }
    div#xlogin {
        padding: 0 15px;
    }
    .login-panel-bg .login-section {
        max-width: 480px;
        width: 100%;
        border: 1px solid #ddd;
        margin: 40px auto 0;
    }
    .login-panel-bg .tab-content {
        padding: 15px;
    }
    #step_login_panel .tabbable .nav-tabs>li.active {
        border-top: none;
        border-bottom: 1px solid #000000;
    }
    #step_login_panel .tabbable .nav-tabs>li{
        background-color: transparent;
    }
    .group .inputMaterial {
        font-size: 1.3rem !important;
    }
    .inlineaddress {
        padding: 0 15px;
    }
}
@media (max-width: 767px) {

    /*homepage*/
    /*.hero .slick-slide img {*/
        /*object-fit: cover;*/
        /*width: 100%;*/
        /*height: calc(100vh - 145px);*/
    /*}*/

    .hero .slick-slide img {
        display: block;
        margin: 0 auto;
    }
    .hero .slider-arrows .arrow svg {
        fill: #000;
    }
    .hero .slider-arrows {
        display: block;
        top: 0;
        height: 100%;
        -webkit-transform: unset;
        -moz-transform: unset;
        -o-transform: unset;
        transform: unset;
    }
    .hero .slider-arrows .arrow {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 70px;
    }
    .hero .slider-arrows .arrow.arrow-prev {
        left: 0;
    }
    .hero .slider-arrows .arrow.arrow-next {
        right: 0;
    }
    .categories-wrapper.flex-row {
        flex-direction: column;
        padding: 0 15px;
    }
    .home-categories-container {
        margin-bottom: 35px;
    }
    .categories-wrapper .category-item:first-child,
    .categories-wrapper .category-item:last-child {
        margin: 0 auto;
    }
    .categories-wrapper .category-item + .category-item {
        margin-top: 15px;
    }
    .categories-wrapper .category-item .category-info {
        width: calc(100% - 15vw);
        padding: 10px;
        text-align: center;
    }
    .categories-wrapper .category-item .title h3 {
        margin: 5px auto;
    }
    .categories-wrapper .category-item .title {
        flex-direction: column;
    }
    .home-more-categories {
        padding-bottom: 0;
    }
    .home-more-categories h2 {
        font-size: 2rem;
    }
    .more-category-wrapper .category-item {
        width: calc(50% - 30px);
        margin: 0 auto 15px;
    }
    .carousel-container .nav-tabs > li.active a {
        font-size: 1.6rem;
        padding: 15px;
    }

    /*footer*/
    .footer-container {
        padding-top: 25px;
    }
    p.newsletter-promo {
        line-height: 1.5;
        margin: 10px auto;
    }
    .footer-wrapper .flex-row:first-child {
        flex-wrap: wrap;
    }
    .footer-wrapper .flex-row:first-child > div {
        width: 100%;
        margin: auto;
    }
    .footer-wrapper .flex-row .footer-newsletter {
        order: 1;
    }
    .footer-wrapper .flex-row .footer-menu {
        order: 2;
    }
    .footer-wrapper .flex-row .footer-information {
        order: 3;
    }
    .footer-wrapper .flex-row .footer-social {
        order: 4;
    }

    .footer-newsletter .newsletter-form {
        margin-bottom: 25px;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div h4 + .footer-links {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: max-height .2s ease, opacity .3s ease .4s;
        -moz-transition: max-height .2s ease, opacity .3s ease .4s;
        -o-transition: max-height .2s ease, opacity .3s ease .4s;
        transition: max-height .2s ease, opacity .3s ease .4s;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div h4.open + .footer-links {
        margin-top: 15px;
        max-height: 500px;
        opacity:  1;
        visibility: visible;
        -webkit-transition: max-height .6s ease, opacity .2s ease .2s;
        -moz-transition: max-height .6s ease, opacity .2s ease .2s;
        -o-transition: max-height .6s ease, opacity .2s ease .2s;
        transition: max-height .6s ease, opacity .2s ease .2s;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div h4 {
        position: relative;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div:not(.footer-newsletter) h4 {
        line-height: 5rem;
        border-bottom: 1px solid #000;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div:not(.footer-newsletter) h4:after {
        content: '';
        display: block;
        width: 12px;
        height: 7px;
        background-image: url("../icons/arrow-down.svg");
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        position: absolute;
        right: 5px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: transform .3s ease;
        -moz-transition: transform .3s ease;
        -o-transition: transform .3s ease;
        transition: transform .3s ease;
    }
    .footer-wrapper > .flex-row:nth-of-type(1) > div h4.open:after {
        -webkit-transform: translateY(-50%) rotate(180deg);
        -moz-transform: translateY(-50%) rotate(180deg);
        -o-transform: translateY(-50%) rotate(180deg);
        transform: translateY(-50%) rotate(180deg);
        -webkit-transition: transform .3s ease;
        -moz-transition: transform .3s ease;
        -o-transition: transform .3s ease;
        transition: transform .3s ease;
    }

    /*Search Modal*/
    #searchModal .modal-dialog {
        margin: 0;
        height: 100vh;
        background: rgba(255, 255, 255, .6);
    }
    #searchModal .modal-content {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }
    #searchModal .modal-header {
        padding-top: 10px;
    }
    #searchModal #search_mobile {
        width: 100%;
    }
    #searchModal #d_ajax_search_results {
        width: 100%;
        left: 0;
        top: -5px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: none;
    }
    #searchModal #search_mobile span.pull-right i {
        margin-bottom: 10px;
    }
    #searchModal #d_ajax_search_results .row {
        padding: 5px 15px;
    }

    /*category*/
    .breadcrumb {
        padding: 10px 0;
    }
    .category-container {
        padding: 0 15px;
    }
    .products-block {
        margin: 0 auto;
    }
    .caption > h4 {
        font-size: 1.4rem;
    }

    .category-grid {
        margin-left: 0;
    }
    .sub-categories {
        margin: 0 auto;
    }
    .sub-categories .sub-category-column:nth-child(4n + 1) {
        clear: both;
    }
    h4.sub-category-name {
        font-size: 1.2rem;
    }
    span.category-separator {
        margin: 15px 0;
    }
    /*filters*/
    .filters-btn {
        color: #000;
        font-size: 1.2rem;
        letter-spacing: .025em;
        width: calc(50% - 15px);
        border-bottom: 1px solid #000;
        padding-bottom: 9px;
    }
    .filters-btn:hover,
    .filters-btn:active,
    .filters-btn:focus {
        color: #000;
    }
    .filter-icon,
    .filter-icon svg {
        display: inline-block;
        width: 12px;
        height: 13px;
    }
    .filter-icon svg .st0 {
        fill: #000;
    }
    .filters-btn .text {
        display: inline-block;
        padding-left: 5px;
    }
    .close-filters {
        position: fixed;
        top: 0;
        right: 0;
        height: 22px;
        z-index: 99;
        background-color: #fff;
        width: 100%;
    }
    .close-filters-icon,
    .close-filters-icon svg {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: 5px;
        float: right;
    }
    .close-filters .filters-icon svg .st0 {
        fill: #000;
    }
    .category-short-by {
        width: calc(50% - 15px);
        max-width: unset;
    }
    .category-short-by .form-group.input-group {
        max-width: unset;
    }
    body.category-filters-open {
        overflow: hidden;
    }
    .products-filters.leftSidebar {
        position: fixed;
        top: 0;
        left: -100%;
        background: rgba(0, 0, 0, 0);
        width: 100%;
        max-width: unset;
        opacity: 0;
        visibility: hidden;
        z-index: 99;
        -webkit-transition: left .4s ease, background-color .1s ease, visibility 0s ease .4s, opacity 0s ease .4s;
        -moz-transition: left .4s ease, background-color .1s ease, visibility 0s ease .4s, opacity 0s ease .4s;
        -o-transition: left .4s ease, background-color .1s ease, visibility 0s ease .4s, opacity 0s ease .4s;
        transition: left .4s ease, background-color .1s ease, visibility 0s ease .4s, opacity 0s ease .4s;
    }
    .products-filters.leftSidebar.active {
        left: 0;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, .7);
        -webkit-transition: left .3s ease, background-color .3s ease .2s;
        -moz-transition: left .3s ease, background-color .3s ease .2s;
        -o-transition: left .3s ease, background-color .3s ease .2s;
        transition: left .3s ease, background-color .3s ease .2s;
    }
    #column-left {
        max-width: 50%;
        padding: 0 20px;
        height: 100vh;
        background-color: #fff;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    .products-filters .bf-panel-wrapper {
        height: calc(100vh - 50px);
        overflow-y: auto;
        padding-top: 10px;
    }
    .products-filters .bf-buttonclear-box {
        position: fixed;
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        z-index: 9;
    }
    .products-filters .bf-form > .bf-attr-block:first-of-type .bf-attr-header,
    .bf-attr-block .bf-attr-header.bf-clickable {
        font-size: 1.4rem;
        line-height: 2;
    }
    .products-filters .bf-cross,
    .products-filters .bf-close-btn,
    .products-filters .bf-arrow {
        background-image: url(../image/brainyfilter/sprite.png) !important;
    }

    /*product*/
    .product-container {
        padding: 0 15px;
    }
    .product-row.flex-row {
        flex-direction: column;
    }
    .product-row .left-col {
        padding-right: 0;
    }
    .product-row .right-col {
        padding: 0;
        max-width: unset;
    }
    .product-thumbnails .thumb {
        margin-bottom: 0;
    }
    .product-thumbnails .thumb:nth-child(even),
    .product-thumbnails .thumb:nth-child(odd) {
        padding: 0;
    }
    .product-thumbnails .slick-slide img {
        margin: 0 auto;
    }
    .product-row .slider-arrows {
        display: block;
        top: 0;
        height: 100%;
        -webkit-transform: unset;
        -moz-transform: unset;
        -o-transform: unset;
        transform: unset;
    }
    .product-row .slider-arrows .arrow {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 70px;
    }
    .product-row .slider-arrows .arrow.arrow-prev {
        left: 0;
    }
    .product-row .slider-arrows .arrow.arrow-next {
        right: 0;
    }
    .product-row .slider-arrows .arrow svg {
        fill: #000;
    }
    .products-block .product-thumb {
        margin-bottom: 15px;
    }

    .flex-row.category-pagination {
        padding: 15px 0;
    }

    .popup-alert {
        padding: 15px;
        width: 90%;
    }

    /*account pages*/

    /*login*/
    #account-login #content {
        padding-top: 50px;
    }
    #account-login .well {
        padding: 15px 0 0;
    }
    #account-login .well h2 {
        margin-top: 0;
    }
    .well.new-customer-form:before {
        content: none;
    }

    /*create*/
    .container.common-account {
        padding: 50px 15px;
    }

    /*search results*/
    .search-container {
        padding: 50px 15px 0;
    }
    #input-search {
        margin-bottom: 15px;
    }
    .flex-row.search-checkboxes {
        flex-direction: column;
    }
    #button-search {
        max-width: unset;
    }
}

@media (max-width: 660px) {
    /*menu*/
    .megamenu-style-dev .megamenu-wrapper {
        width: 85%;
    }
    .more-category-wrapper.flex-row {
        flex-direction: column;
    }
    .more-category-wrapper .category-item {
        width: 100%;
        margin: 0 auto 15px;
    }

    /*homepage*/
    .carousel-container {
        margin-top: 20px;
        padding: 0 15px;
    }
    .carousel-container .nav-tabs {
        margin-bottom: 20px;
    }
    .carousel-container .nav-tabs > li a {
        font-size: 1.5rem;
        padding: 10px;
    }
    .carousel-container .nav-tabs > li.active a {
        font-size: 1.6rem;
    }
    /*category*/
    .products-filters.leftSidebar {
        max-width: unset;
        margin-right: 0;
    }
    #column-left {
        max-width: unset;
    }
    span.sale_badge i,
    span.new_arrival_badge.badge i {
        font-size: 1.2rem;
    }
    .badge {
        top: 10px;
        left: 15px;
        width: 35px;
        height: 35px;
    }
    .product-thumb a.add-to-wishlist {
        top: 20px;
        right: 18px;
    }
    .product-thumb .add-to-cart {
        right: 18px;
    }
    .product-thumb .image {
        padding: 0;
    }

}
@media (max-width: 421px) {
    /*category*/
    span.sale_badge i,
    span.new_arrival_badge.badge i {
        font-size: 1.1rem;
    }
    .badge {
        top: 5px;
        left: 10px;
        width: 30px;
        height: 30px;
    }
    .product-thumb a.add-to-wishlist {
        top: 10px;
        right: 10px;
    }
    .product-thumb .add-to-cart {
        right: 18px;
        bottom: 10px;
        width: 13px;
        height: 13px;
    }
    /*footer*/
    .payment-cards > li:first-child {
        margin-left: 0;
    }
    .payment-cards > li {
        margin: 0 7px;
    }
}
@media (max-width: 375px) {
    /*category*/
    .product-thumb .add-to-cart {
        right: 15px;
    }
}
/*Mega menu*/
@media (min-width: 1001px) and (max-width: 1025px) {
    #mega_menu #menu .sub-menu .container {
        max-width: 970px;
        width: 100%;
    }
}