@media screen and (min-width: 850px) {
    .large-9 {
        max-width: 75%;
        -ms-flex-preferred-size: 75%;
        flex-basis: 75%;
    }
}

@media screen and (max-width: 991px) {
    .newsletter-form-inline .newsletter {
        flex-direction: column;
    }
    .newsletter-form-inline h3 {
        margin-bottom: 15px !important;
    }
    .about-us-top .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .mansory-item h4 {
        font-size: 18px;
        line-height: 24px;
    }
    .mansory-item ul li {
        font-size: 14px;
    }
    .about-us-top h3 {
        font-size: 20px;
        line-height: 28px;
    }
    .mansory-item .banner {
        height: 240px;
    }
    .section-join-our-membership .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .section-join-our-membership h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .nav-step ul li a {
        width: 200px
    }
    .header-wrapper .megamenu-wrapper {
        background-color: #fff;
        max-height: 100%;
        -moz-box-shadow: 0 0px 15px 5px rgba(0,0,0,0.1);
        -webkit-box-shadow: 0 0px 15px 5px rgba(0,0,0,0.1);
        box-shadow: 0 0px 15px 5px rgba(0,0,0,0.1);
    }
    .megamenu-pattern {
        padding-top: 40px;
    }
    .responsive ul.megamenu > li.home {
        display: block;
    }
    .header-wrapper .megamenu-wrapper ul.megamenu > li > a {
        padding-left: 0;
        padding-right: 0;
    }
    .header-wrapper .megamenu-wrapper ul.megamenu > li.active > a {
        color: var(--primary-color);
        background: transparent !important;
    }
    .header-wrapper .megamenu-wrapper ul.megamenu > li > a:hover,
    .header-wrapper .megamenu-wrapper ul.megamenu > li > a:focus {
        color: var(--secondary-color) !important;
    }
    .responsive ul.megamenu > li.active:not(.with-sub-menu) .close-menu {
        display: none;
    }
}

@media screen and (max-width: 769px) {
    .bg-contact-us .col-inner {
        padding: 30px;
    }
    .contact-us-box {
        margin: 0;
        padding: 30px;
    }
    .about-us-top .d-flex-middle {
        flex-direction: column;
    }
    .mansory {
        grid-template-columns: repeat(2, 1fr);
    }
    .mansory-item .banner-layers {
        padding: 15px;
    }
    .mansory-item:nth-child(3) {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .mansory-item:nth-child(4) {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .icon-box .image img {
        max-width: 150px;
    }
    .nav-step ul li a {
         width: 150px
     }
    #product .product-options {
        overflow-x: auto;
    }
    .product-options .table th, .product-options .table td {
        padding: 10px;
    }
    #fixed-menu.affix {
        position: static;
        width: 100%;
        top: 0px;
        max-height: 100%;
        min-height: 0;
        overflow-y: initial;
        overflow-x: initial;
    }
    #fixed-menu.affix-top {
        position: static;
        width: 100%;
        max-height: 100%;
        min-height: 0;
        overflow-y: initial;
        overflow-x: initial;
    }
    #fixed-menu.affix-bottom {
        position: static;
        width: 100%;
        max-height: 100%;
        overflow-y: initial;
        overflow-x: initial;
    }
    .flatpickr-time {
        line-height: 60px !important;
        max-height: 60px !important;
    }
    .flatpickr-time .numInputWrapper {
        height: 60px !important;
    }
    .flatpickr-calendar.hasTime {
        max-width: 265px;
    }
    .numInputWrapper span {
        width: 30px !important;
        padding-left: 10px !important;
    }
}

@media screen and (max-width: 600px) {
    .m-order-1 {
        order: 1;
        margin-bottom: 30px;
    }
    .m-order-2 {
        order: 2;
    }
    .heading-title {
        font-size: 22px;
        line-height: 30px;
    }
    .header-main {
        height: 90px;
    }
    .logo-left .logo {
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
    }
    .logo-left .logo img {
        max-width: 90px;
    }
    .header-menu-top {
        padding: 0;
        margin-bottom: 5px;
    }
    .header-menu .navbar-toggle {
        margin: 0;
    }
    .header-menu-top a > span {
        display: none;
    }
    .sohomepage-slider .so-homeslider .owl2-nav {
        display: none;
    }
    .bg-contact-us .col-inner,
    .contact-us-box {
        padding: 15px;
    }
    .contact-form .contact-row {
        flex-direction: column;
    }
    .contact-form .contact-row .two-cols {
        width: 100%;
    }
    .contact-form .contact-row .two-cols:first-child {
        margin-bottom: 15px;
    }
    .memberships {
        padding: 0 15px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .memberships .membership-column {
        width: 100%;
        max-width: 240px;
        text-align: center;
        margin-bottom: 30px;
    }
    .membership-top .d-flex-middle {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }
    .widget-category {
        margin-top: 30px;
    }
    #product-category #content, #product-product #content {
        padding-left: 15px;
    }
    .product-item .name {
        padding: 5px 0;
        height: auto;
        /*padding: 5px;
        display: block;
        display: -webkit-box;
        line-height: 1;
        height: 54px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;*/
    }
    .product-item .name a {
        font-size: 15px;
        line-height: 22px;
    }
    .nav-step ul li a {
        width: 120px;
    }
    .footer-wrapper .d-flex-row {
        flex-direction: column;
    }
    .footer-wrapper .d-flex-row .d-flex-col {
        flex: 1 0 100%;
        margin-bottom: 30px;
    }
    .footer-wrapper .d-flex-row .d-flex-col:last-child {
        margin-bottom: 0;
    }
    .footer-2 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .absolute-footer {
        padding: 0 0 15px 0;
    }
    .main-table .main-table-row .main-table-cell {
        width: 100% !important;
        display: block;
        border-right: 0;
    }
    .nav-step > ul {
        margin: 0;
        padding: 0;
    }
    .newsletter-form-inline .input-group .form-control {
        max-width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .nav-step ul li a {
        width: 100px;
    }
    .newsletter-form-inline .input-group .form-control {
        max-width: 100%;
    }
    .about-us-bottom .col-xs-6 {
        width: 100%;
    }
    .mansory-items {
        column-count: 1;
        column-gap: 0;
    }
    .header-wrapper .megamenu-wrapper ul.megamenu > li:hover > a,
    .header-wrapper .megamenu-wrapper ul.megamenu > li.active > a {
        color: var(--secondary-color);
    }

    .responsive ul.megamenu > li.with-sub-menu.click:before,
    .responsive ul.megamenu > li.with-sub-menu.hover:before {
        padding: 8px 15px 8px 15px;
    }
}

@media screen and (max-width: 360px) {
    .nav-step ul li a {
        width: 90px;
    }
}