.cms-static-brands .cms-brand-main .col-lg-4 {
    text-align: center;
}

.cms-static-brands .cms-brand-main .col-lg-4 > img {
    margin: 0 auto;
    display: inline-block;
    max-height: 40px;
}

.catalog-product-view .product.detailed .items-tabs .data.title.active .data.switch {
    color: var(--lgreen);
    font-weight: 500;
}

.modals-quickview .product-info-main {
    width: 100% !important;
    max-width: 100%;
}


.modals-quickview div#product-additional-links_custom .product-social-links {
    display: none;
}

.table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip > .omnibus-tooltip {
    position: absolute;
    top: 10px;
    right: 20px;
    margin: 0;
}
.table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip .price-box + .price-tracker {
    display: none !important;
}
@media all and (min-width: 1200px) {
    .table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip > .omnibus-tooltip {
        position: absolute;
        top: 0px;
        right: 0;
        margin: 0;
    }
}

@media all and (min-width: 1480px) {
    .table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip > .omnibus-tooltip {
        position: absolute;
        top: 10px;
        right: 20px;
        margin: 0;
    }
}

@media all and (max-width: 1199px) {
    .gw-col-cat .gw-col {
        padding: 15px 20px;
    }

    .catalog-product-view .product.detailed .items-tabs .data.title {
        padding: 0px 6px;
    }

    .catalog-product-view .product.detailed .items-tabs .data.title:hover .data.switch {
        color: var(--lgreen);
        font-weight: 500;
    }

    .catalog-product-view .product.detailed {
        margin-top: 40px;
    }

    .gw-col-cat .container > .row:not(:first-of-type) {
        margin-top: 0px;
    }

    .table.data.grouped .omnibus-tooltip:hover > .opt-tooltip {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .table.data.grouped .omnibus-tooltip:hover > .opt-tooltip:after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip > .omnibus-tooltip {
        position: absolute;
        top: 0px;
        right: auto;
        margin: 0;
        left: -10px;
    }
}

@media all and (max-width: 991px) {
    .page-footer .block-footer-top .collapsible:first-child {
        width: 100%;
    }

    .page-footer .block-footer-top .collapsible:last-child {
        grid-template-columns: 100%;
    }

    .fb_iframe_widget_fluid > span {
        display: inline-block;
        margin: 0 auto;
    }

    .page-footer .block-footer-top .collapsible:last-child > .zakupy-kontakt > .zakupy {
        margin-bottom: 35px;
    }

    .gw-col-cat > .container > .row > .col-12 {
        padding: 0;
        margin: 0 auto 20px;
    }

    .cms-index-index .cms-page-main-product.main-product .cms-page-countdown-product {
        display: none;
    }

    .cms-index-index .cms-page-main-product.main-product .cms-page-mix-product {
        margin-top: 0px;
    }

    .cms-index-index .cms-page-main-product.main-product {
        padding-top: 0px;
    }

    .static-home-slide .slick-slide .text-slide {
        text-align: left;
    }

    .slide-home.cms-static-main-slide {
        padding-bottom: 20px;
    }

    .gw-col-cat {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    catalog-product-view .product.detailed {
        margin-top: 0;
    }

    .header .search-area.toggle-visible .toggle-tab:before {
        z-index: 109;
    }
}

@media all and (max-width: 991px) and (min-width: 641px) {
    .gw-col-cat .grid-row-1, .gw-col-cat .grid-row-2 {
        display: inline-block;
        max-width: 50%;
        vertical-align: top;
    }

    .gw-col-cat .quadrant-container {
        float: none;
        display: inline-block;
        margin: 0 5px;
        width: calc(50% - 10px);
        vertical-align: top;
    }
}

@media all and (max-width: 768px) {
    body.account .sidebar.sidebar-main .block-collapsible-nav {
        top: 0;
    }

    .header .header-bottom .container .nav-sections .section-items.nav-sections-items:before,
    .header .header-bottom .container .nav-sections .section-items.nav-sections-items:after {
        display: none;
    }

    .nav-sections .navigation-mobile ul li {
        float: none !important;
    }

    .nav-open .nav-sections {
        z-index: 999;
    }
}

@media all and (max-width: 767px) {
    .catalog-product-view .product.detailed .items-tabs .data.title:hover .data.switch,
    .catalog-product-view .product.detailed .items-tabs .data.title.active .data.switch {
        padding-bottom: 0px;
        color: var(--lgreen);
    }

    .nav-open .nav-sections {
        width: 100% !important;
        max-width: 100%;
        left: 0;
        /*        max-height: calc(100vh - 50px);*/
        top: 50px;
        height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
        height: calc((var(--vh, 1vh) * 100) - 50px);
        overflow-y: auto;
    }

    .nav-open .nav-toggle-mobile .action.nav-toggle:before {
        content: 'X';
        color: white;
        z-index: 99999999999999;
        position: fixed;
        top: 10px;
        left: 50%;
        font-family: 'Open Sans';
        content: attr(data-navtogglelabel);
        text-align: center;
        transform: translateX(-50%);
        font-size: 16px;
        text-decoration: underline;
    }

    .nav-open .nav-sections .section-items.nav-sections-items {
        position: absolute;
        top: 10px;
        left: 0;
    }

    .nav-sections .nav-sections-item-content > .navigation {
        overflow: hidden;
        max-height: unset;
    }

    .nav-sections .navigation-mobile ul {
        overflow: hidden;
    }

    .static-home-slide .slick-slide img {
        object-position: 35% 50%;
        min-height: 435px;
    }

    .home-slider .slick-slide.slick-active .figcaption .slide-text-image.caption1 {
        display: none !important;
    }

    .message.global.cookie.magepow-gdpr-cookie-notice {
        max-width: 100vw;
    }

    .cms-index-index .blog-container .post-desc .blog_short_text {
        display: none;
    }

    .cms-index-index .blog-container .post-desc {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cms-index-index.loading_img .blog-container .post-desc .image-container img.lazyload {
        max-height: 250px;
        width: 100%;
        max-width: 80%;
        object-fit: contain;
        margin: 0 auto;
    }

    .cms-index-index .blog-container .post-desc .image-container,
    .cms-index-index .blog-container .post-desc .image-container > a,
    .cms-index-index .blog-container .post-desc .image-container img {
        display: block;
        width: 100%;
    }

    .blog-container .postname {
        text-align: center;
    }

    .amcheckout-step-container .amcheckout-summary-container .amcheckout-title {
        color: #000;
    }

    .am-checkout.-modern .opc-estimated-wrapper {
        display: none;
    }

    .amcheckout-step-container .amcheckout-summary-container .product-item-details .product-item-inner {
        grid-template-columns: 1fr;
    }

    .checkout-index-index .opc-block-summary .details-qty {
        text-align: right;
        justify-content: flex-end;
    }

    .amcheckout-step-container .amcheckout-summary-container .product-item-details .product-item-inner .product-item-name-block {
        margin-right: 0;
    }

    .page-footer .block-footer-top .collapsible:first-child {
        padding-right: 0;
    }

    .cms-static-brands .cms-brand-main .row > div a img {
        max-width: 100%;
    }

    .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.col:before {
        display: block !important;
        content: attr(data-th) ": ";
        margin-right: 10px;
        font-weight: bold;
    }

    .table-wrapper .table.grouped:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.col {
        display: inline-block !important;
    }

    .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > thead > tr > th {
        display: none;
    }

    .table.grouped tbody td img {
        display: block;
        width: 150px;
    }

    .table.grouped td.col.item_image:before {
        display: none !important;
        content: '' !important;
    }

    .table.grouped tbody tr {
        display: block !important;
        clear: both;
    }

    .table.grouped tbody tr td {
        display: inline-block !important;
        vertical-align: middle !important;
        max-width: 47%;
        width: 100% !important;
        float: none;
        padding-top: 0px !important;
    }

    .table-wrapper.grouped > table > tbody > tr > .col.item.item_price.price_tooltip > .omnibus-tooltip {
        position: absolute;
        top: 0px;
        right: auto;
        margin: 0;
        left: 65px;
    }

    .table.data.grouped .omnibus-tooltip:hover > .opt-tooltip {
        right: auto;
        left: -50px;
        transform: none;
        max-width: 300px;
    }

    .table.data.grouped .omnibus-tooltip:hover > .opt-tooltip:after {
        left: 55px;
        transform: none;
        right: auto;
    }
}

@media all and (max-width: 639px) {
    .row {
        margin-left: 0px;
        margin-right: 0px;
    }

    .modals-quickview .table-wrapper .table.grouped:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.col:not(.item_image),
    .modals-quickview .table-wrapper .table.grouped:not(.totals):not(.cart):not(.table-comparison) > tbody > tr {
        display: block !important;
        clear: both;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr:last-of-type {
        border-bottom: 0px;
    }
}

@media all and (max-width: 419px) {

    .table.grouped td.col.item_name {
        max-width: 100% !important;
    }

    .table.grouped tbody tr {
        padding-top: 20px;
    }

    .table-wrapper .table.grouped:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.col {
        display: block !important;
    }

    .table.grouped td.col.item_image {
        display: none !important;
    }

    .catalogsearch-result-index .block.filter .block-title.filter-title {
        top: 12px;
        left: 22px;
    }

    .catalogsearch-result-index .toolbar-top .toolbar.toolbar-products {
        box-sizing: border-box;
        padding-left: 110px;
    }

    .catalogsearch-result-index .column.main > .search.results > .toolbar-top + .block.similar_searches {
        margin-top: 40px;
    }

    .toolbar-top .toolbar .sorter .sorter-action {
        display: none;
    }
}

@media all and (max-width: 379px) {
    .catalogsearch-result-index .block.filter .block-title.filter-title {
        top: 40px;
    }
}
