@media (min-width: 1230px) {
    .container {
        width: 1200px;
    }
}

@media (min-width: 1200px) {
    .main-nav .navbar-nav>li:hover>.dropdown-menu {
        display: block !important;
        margin-top: -2px;
        border-radius: 10px;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (min-width: 768px) {
    #menu .dropdown:hover .dropdown-menu {
        display: block
    }

    .product-list .product-thumb {
        height: 260px;
        margin-bottom: 15px
    }

    .product-list .product-thumb .image {
        float: left;
        padding: 0 15px 10px 12px
    }

    .product-list .product-thumb:hover {
        margin-left: -1px
    }

    .product-list .product-thumb:hover .labels {
        left: 12px
    }

    .product-list .product-thumb .caption, .product-list .product-thumb .rating, .product-list .product-thumb .button-group.button-cart, .product-list .product-thumb .description {
        text-align: left;
        margin-left: 255px;
        padding-left: 0
    }

    .cp-1 {
        line-height: 28px;
    }
    
    .cp-2 {
        text-align: right;
    }

}

@media (max-width: 1199px) {
    header .row > div {
        margin-bottom: 20px;
    }

    header .container {
        /* padding-bottom: 0; */
        /* padding-top: 20px; */
    }

    .mini-cart {
        width: 100%;
    }

    .product-categories {
        gap: 15px;
    }

    .mobile-menu {
        position: absolute;
        z-index: 2;
        background: #fff;
        width: 100%;
        padding: 15px 0;
        min-height: 100vh;
    }

    .mobile-menu .title {
        font-size: 16px;
        margin: 0;
        margin-bottom: 10px;
    }

    .mm-cat,
    .mobile-menu li {
        margin-bottom: 10px;
        list-style: none;
    }

    .mobile-menu ul {
        list-styled: none;
        list-style: none;
    }

    .child-inner {
        margin-top: 10px;
        margin-left: 10px;
    }

    .mm-cat.has-child .fa {
        padding: 0 7px;
        font-size: 12px;
    }

    .mm-inner {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        gap: 50px;
    }

    .mm-inner hr {
        max-width: 250px;
        margin: 20px 0;
    }

    .mm-inner p {
        margin-bottom: 0;
        font-weight: 500;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    /*checkout*/
    .checkout-light_checkout .buttons > div {
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {


/*    .product-thumb .image {
        overflow: hidden;
        margin-top: -10px;
    }

    .product-thumb:hover .img-responsive {
        max-width: calc(100% + 2px);
        margin: 0 -1px;
    }*/
}

@media (max-width: 991px) {
    #column-left .box-products-heading,
    #column-right .box-products-heading,
    .product-thumb-left {
        display: none;
    }

    .main-menu-wrapper.active {
        position: fixed;
        background-color: #2B363A;
        background-image: url("https://maxipropharma.com/catalog/view/theme/theme3/stylesheet/img/mframe.jpg");
        background-size: cover;
        z-index: 1020;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        display: flex !important;
        overflow: auto;
        flex-direction: column;
    }

    .main-menu {
        gap: 15px;
        flex-direction: column;
        align-items: end;
        /* height: 100%; */
        margin-bottom: 30px;
    }

    .main-menu a {
        color: #fff;
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        width: 100%;
        text-align: right;
    }
    .main-menu a:hover {
        color: #fff;
    }

    .main-menu-wrapper .container {
        height: 100%;
    }

    .mm-top {
        display: flex;
        align-items: center;
        padding: 20px;
    }

    .mm-top .logo img {
        max-width: 128px;
    }

    .mm-btm {
        color: #fff;
        text-align: right;
        padding: 20px;
        margin-top: auto;
    }

    .mm-btm a {
        color: #fff;
        display: block;
    }

    .mm-btm .title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .mm-btm .contact_inner > div {
        margin-bottom: 15px;
    }

    .mm-btm .contact_inner > div p {
        margin-bottom: 5px;
        font-weight: 500;
        line-height: 126.188%; /* 17.666px */
        text-transform: uppercase;
    }

    .mm-btm .menu_contacts {
        margin-bottom: 35px;
    }

    .mm-btm .nav_btn .btn_connection {
        margin: 0 0 30px 0;
    }

    .mm-btm .icon_group {
        justify-content: flex-end;
    }

    footer {
        border-radius: 40px 40px 0px 0px;
    }

    .category-item {
        width: 30%;
    }

    .mainbanner-content {
        padding: 25px;
    }

    .mainbanner-header,
    .mainbanner-category,
    .mainbanner-title,
    .mainbanner-description {
        max-width: 100%;
    }

    .cta-button {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .article-row {
        flex-direction: column !important;
    }

    .article-row .btn-outline {
        width: 100%;
    }

    #logo {
        text-align: center;
    }

    #logo img {
        display: inline-block;
    }

    header .phones {
        /* text-align: center; */
        padding-left: 15px;
        justify-content: center;
        min-height: auto;
    }

    #phone-widget {
        text-align: center;
        float: none;
    }

    #phone-widget ul {
        text-align: center;
        float: none;
        width: 100%;
    }

    #phone-widget ul li {
        display: inline-block;
        float: none;
    }

    #cart-modal .product-count,
    #cart-modal .product-total {
        float: right;
    }

    #menu {
        border-radius: 4px;
        margin-left: 0;
        margin-right: 0;
    }

    #menu div.dropdown-inner > ul.list-unstyled {
        display: block;
    }

    #menu div.dropdown-menu {
        margin-left: 0 !important;
        padding-bottom: 10px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    #menu .dropdown-inner {
        display: block;
    }

    #menu .dropdown-inner a {
        width: 100%;
        color: #fff;
    }

    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    #menu .see-all {
        margin-top: 0;
        border: none;
        border-radius: 0;
        color: #fff;
    }

    .footer-icons {
        text-align: left;
        padding-top: 15px;
    }

    footer ul li {
        padding: 3px 0;
    }

    header .all-cart {
        min-height: 0;
        margin-bottom: 0;
    }

    .cp-1 {
        margin-bottom: 15px;
        text-align: center;
    }

    footer .list-unstyled li.title,
    footer .list-unstyled li {
        text-align: center;
        justify-content: center;
    }

    .category-item {
        width: 45%;
    }

    .category-image {
        width: 60px;
        padding: 0;
    }

    .mainbanner-info {
        width: unset;
        text-align: center;
    }

    .banner-unit > div {
        margin-top: 15px !important;
    }

    .mainbanner-content {
        min-height: 359px;
    }

    .mainbanner-title {
        font-size: 28px;
    }

    h1, h1 {
        font-size: 20px;
    }
    /*
        span.mini-cart {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='27' viewBox='0 0 28 27' fill='none'%3E%3Cpath d='M1.05124 0.811627C0.913898 0.809678 0.777536 0.835139 0.650081 0.886529C0.522627 0.937919 0.406623 1.01421 0.30881 1.11098C0.210998 1.20775 0.133328 1.32305 0.0803139 1.4502C0.0273001 1.57735 0 1.7138 0 1.85162C0 1.98945 0.0273001 2.1259 0.0803139 2.25305C0.133328 2.38019 0.210998 2.4955 0.30881 2.59227C0.406623 2.68903 0.522627 2.76533 0.650081 2.81672C0.777536 2.86811 0.913898 2.89357 1.05124 2.89162H2.9987C3.23284 2.89162 3.42822 3.03874 3.49467 3.26537L7.91187 18.3331C8.29955 19.6557 9.51869 20.5715 10.8938 20.5715H22.2708C23.6684 20.5715 24.9024 19.6238 25.2709 18.2722L27.9634 8.36582C28.0054 8.21149 28.0113 8.04953 27.9808 7.89251C27.9503 7.7355 27.8841 7.58766 27.7873 7.46051C27.6905 7.33336 27.5659 7.23032 27.423 7.15939C27.28 7.08847 27.1227 7.05159 26.9633 7.0516H6.76607L5.48464 2.67834H5.48261C5.15934 1.57585 4.14308 0.811627 2.9987 0.811627H1.05124ZM11.4161 22.6515C10.8663 22.6515 10.339 22.8707 9.95026 23.2608C9.56151 23.6508 9.34311 24.1799 9.34311 24.7315C9.34311 25.2832 9.56151 25.8122 9.95026 26.2023C10.339 26.5924 10.8663 26.8115 11.4161 26.8115C11.9659 26.8115 12.4931 26.5924 12.8819 26.2023C13.2706 25.8122 13.489 25.2832 13.489 24.7315C13.489 24.1799 13.2706 23.6508 12.8819 23.2608C12.4931 22.8707 11.9659 22.6515 11.4161 22.6515ZM21.7809 22.6515C21.2311 22.6515 20.7038 22.8707 20.3151 23.2608C19.9263 23.6508 19.7079 24.1799 19.7079 24.7315C19.7079 25.2832 19.9263 25.8122 20.3151 26.2023C20.7038 26.5924 21.2311 26.8115 21.7809 26.8115C22.3307 26.8115 22.8579 26.5924 23.2467 26.2023C23.6355 25.8122 23.8539 25.2832 23.8539 24.7315C23.8539 24.1799 23.6355 23.6508 23.2467 23.2608C22.8579 22.8707 22.3307 22.6515 21.7809 22.6515Z' fill='%2315244F'/%3E%3C/svg%3E");
        }

        #cart {
            position: absolute;
            z-index: 2;
            right: 9px;
            top: -5px;
            transform: scale(0.85);
        }


    .tb-right {
        padding-right: 40px;
    }
    */

    #cart {
        position: fixed;
        bottom: 15px;
        right: 15px;
        z-index: 1001;

        border-radius: 32px;
        width: 50px;
        height: 50px;
        background: var(--accent-2, #7F9FEA);
        animation: pulse 2s infinite;

    }

    body.checkout-simplecheckout #cart {
        display: none;
    }

    span.mini-cart {
        margin-top: 15px;
        margin-right: 14px;
    }


    .breadcrumb {
        padding-top: 0;
        margin-top: -10px;
    }

    .mm-inner {
        gap: 0;
    }

    .tb-inner .menu-toggler {
        display: flex;
        width: 30px;
        height: 30px;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin-left: -5px;
    }

    .tb-inner .menu-toggler,
    .tb-right {
        transform: scale(1.1);
    }
}

@media (max-width: 550px) {
    .hidden-550 {
        display: none;
    }

    .footer-icons > a, .footer-icons > img {
        margin: 0 15px 15px 0;
        display: inline-block;
        float: left;
    }

    .product-tabs .nav-tabs > li {
        /*float: none;*/
        /*min-width: calc(50% - 30px);*/
        min-width: unset;
    }

    /*checkout*/
    .checkout-light_checkout .buttons > div {
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }

    .product-title {
        min-height: unset;
    }

    .product-categories {
        gap: 10px;
    }
}