/*
 * StickThat custom CSS
 * Clean Child Theme
 */

/* ==================================================
   OGÓLNE USTAWIENIA STRONY
   ================================================== */

.navigation-display-hide .menu_wrapper,
.navigation-display-hide .fixed-nav-prev {
    display: none !important;
}

/* NBDesigner – zielone przyciski */
#closeFrameDesign.nbdesigner_pp_close {
    background-color: #3b990c !important;
}

.nbd-main-bar ul.menu-right .menu-item.item-process {
    background-color: #3b990c !important;
}

/* Produkty niestandardowe */
.single-product.stickthat-custom-product .single_add_to_cart_button {
    display: none !important;
}

.single-product.stickthat-custom-product a.nb-custom-design,
.single-product.stickthat-custom-product a.custom-design,
.single-product.stickthat-custom-product button.nb-custom-design,
.single-product.stickthat-custom-product .custom-design-btn {
    display: none !important;
}

.single-product.stickthat-custom-product .start-design {
    margin-top: 10px;
}

/* Ukrycie starego przycisku edycji opcji */
.nbo-edit-option-cart {
    display: none !important;
}

/* Ukrycie przycisków koszyka w kategorii Wall Murals */
.stickthat-wall-murals-archive .products .add_to_cart_button,
.stickthat-wall-murals-archive .products .button.product_type_simple,
.stickthat-wall-murals-archive .products .button.product_type_variable,
.stickthat-wall-murals-archive .products .button.product_type_external {
    display: none !important;
}

/* ==================================================
   KOSZYK – USTAWIENIA PODSTAWOWE
   ================================================== */

body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    table-layout: auto;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
    display: block;
    width: 70px;
    max-width: 70px;
    height: auto;
    object-fit: contain;
    box-shadow: none;
}


/* ==================================================
   KOSZYK – TYLKO KOMPUTERY
   ================================================== */

@media only screen and (min-width: 1024px) {

    /*
     * Główny układ:
     * tabela produktów po lewej,
     * Basket totals po prawej,
     * polecane produkty na dole.
     */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce:not(.mfn-cart-tmpl-builder) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Komunikaty WooCommerce nad koszykiem */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-notices-wrapper {
        order: 0 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-notices-wrapper:empty {
        display: none !important;
    }

    /* Formularz i tabela produktów */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-cart-form {
        order: 1 !important;
        flex: 1 1 calc(100% - 350px) !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        float: none !important;
        overflow: visible !important;
    }

    /*
     * Dzieci cart-collaterals uczestniczą bezpośrednio
     * w układzie głównego kontenera.
     */
    body.woocommerce-cart
    .mfn-be-cart
    .cart-collaterals {
        display: contents !important;
    }

    /* Basket totals po prawej */
    body.woocommerce-cart
    .mfn-be-cart
    .cart_totals {
        order: 2 !important;
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 !important;
        float: none !important;
        position: relative !important;
        z-index: 2 !important;
    }

    /* Polecane produkty pod całym koszykiem */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 35px 0 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: both !important;
    }


    /* ==================================================
       TABELA PRODUKTÓW
       ================================================== */

    body.woocommerce-cart table.shop_table.cart {
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }

    /* Miniatura */
    body.woocommerce-cart
    table.shop_table.cart th.product-thumbnail,
    body.woocommerce-cart
    table.shop_table.cart td.product-thumbnail {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        padding-left: 0 !important;
        padding-right: 8px !important;
        vertical-align: top !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.product-thumbnail img {
        display: block !important;
        width: 56px !important;
        max-width: 56px !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain !important;
        box-shadow: none !important;
    }

    /* Nazwa produktu i opcje */
    body.woocommerce-cart
    table.shop_table.cart th.product-name,
    body.woocommerce-cart
    table.shop_table.cart td.product-name {
        width: auto !important;
        min-width: 0 !important;
        padding-left: 5px !important;
        padding-right: 12px !important;
        vertical-align: top !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.product-name > a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }

    /* Cena */
    body.woocommerce-cart
    table.shop_table.cart th.product-price,
    body.woocommerce-cart
    table.shop_table.cart td.product-price {
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    /* Ilość */
    body.woocommerce-cart
    table.shop_table.cart th.product-quantity,
    body.woocommerce-cart
    table.shop_table.cart td.product-quantity {
        width: 118px !important;
        min-width: 118px !important;
        max-width: 118px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    /* Suma produktu */
    body.woocommerce-cart
    table.shop_table.cart th.product-subtotal,
    body.woocommerce-cart
    table.shop_table.cart td.product-subtotal {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    /* Krzyżyk usunięcia produktu */
    body.woocommerce-cart
    table.shop_table.cart th.product-remove,
    body.woocommerce-cart
    table.shop_table.cart td.product-remove {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        text-align: center !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.product-remove a.remove {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 auto !important;
        line-height: 1 !important;
        font-size: 22px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart .product-price .amount,
    body.woocommerce-cart
    table.shop_table.cart .product-subtotal .amount {
        display: inline-block !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }


    /* ==================================================
       COUPON CODE + UPDATE BASKET
       ================================================== */

    body.woocommerce-cart
    table.shop_table.cart td.actions {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        float: none !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon .input-text {
        width: 125px !important;
        min-width: 125px !important;
        margin: 0 !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon .button {
        width: auto !important;
        margin: 0 !important;
        float: none !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions button[name="update_cart"],
    body.woocommerce-cart
    table.shop_table.cart td.actions input[name="update_cart"] {
        display: inline-block !important;
        width: auto !important;
        margin: 0 0 0 auto !important;
        float: none !important;
        position: static !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }


    /* ==================================================
       YOU MAY BE INTERESTED IN – 4 PRODUKTY
       ================================================== */

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product:nth-child(n) {
        width: auto !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ==================================================
   TABLETY
   ================================================== */

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

    .mfn-be-cart
    .woocommerce:not(.mfn-cart-tmpl-builder)
    .cart-collaterals {
        flex-basis: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}


/* ==================================================
   TELEFONY
   ================================================== */

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

    /* Nagłówek pod designerem */
    #Header_wrapper {
        position: relative !important;
        z-index: 0 !important;
    }

    /* Designer nad nagłówkiem */
    .nbd-main-bar {
        position: relative !important;
        z-index: 9999 !important;
    }

    /* Miniatura produktu w koszyku */
    body.woocommerce-cart .product-thumbnail {
        display: block !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-thumbnail img {
        display: block !important;
        width: 80px !important;
        max-width: 80px !important;
        height: auto !important;
        box-shadow: none !important;
    }

    /* Nazwa produktu może przechodzić do nowego wiersza */
    body.woocommerce-cart
    table.shop_table.cart
    .product-name > a {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
    }

    /* Przyciski koszyka na pełną szerokość */
    .woocommerce .cart .button,
    .woocommerce .cart input.button {
        float: none;
        width: 100%;
    }
}


/* ==================================================
   NBDESIGNER – TELEFONY
   ================================================== */

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

    .nbd-sidebar {
        top: 90%;
    }
}

/* ==================================================
   KOSZYK – USTAWIENIA PODSTAWOWE
   ================================================== */

body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    table-layout: auto;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
    display: block;
    width: 70px;
    max-width: 70px;
    height: auto;
    object-fit: contain;
    box-shadow: none;
}


/* ==================================================
   KOSZYK – WERSJA KOMPUTEROWA
   ================================================== */

@media only screen and (min-width: 1024px) {

    /*
     * Układ:
     * 1. Komunikaty WooCommerce
     * 2. Tabela produktów na pełną szerokość
     * 3. Polecane produkty po lewej
     * 4. Basket totals po prawej
     */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce:not(.mfn-cart-tmpl-builder) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 320px !important;
        grid-template-areas:
            "notices notices"
            "cart cart"
            "cross totals" !important;
        column-gap: 30px !important;
        row-gap: 35px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Komunikaty WooCommerce */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-notices-wrapper {
        grid-area: notices !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-notices-wrapper:empty {
        display: none !important;
    }

    /* Tabela produktów na całą szerokość */
    body.woocommerce-cart
    .mfn-be-cart
    .woocommerce-cart-form {
        grid-area: cart !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        float: none !important;
        overflow: visible !important;
        position: relative !important;
    }

    /*
     * Cross-sells i Basket totals stają się
     * bezpośrednimi elementami głównej siatki.
     */
    body.woocommerce-cart
    .mfn-be-cart
    .cart-collaterals {
        display: contents !important;
    }


    /* ==================================================
       TABELA PRODUKTÓW
       ================================================== */

    body.woocommerce-cart
    table.shop_table.cart {
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }

    /* Miniatura produktu */
    body.woocommerce-cart
    table.shop_table.cart th.product-thumbnail,
    body.woocommerce-cart
    table.shop_table.cart td.product-thumbnail {
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        padding-left: 0 !important;
        padding-right: 10px !important;
        vertical-align: top !important;
    }

    /* Miniatura produktu – większa, z zachowaniem odstępu */
body.woocommerce-cart
table.shop_table.cart th.product-thumbnail,
body.woocommerce-cart
table.shop_table.cart td.product-thumbnail {
    width: 125px !important;
    min-width: 125px !important;
    max-width: 125px !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart
table.shop_table.cart td.product-thumbnail a {
    display: block !important;
    width: 115px !important;
    max-width: 115px !important;
}

body.woocommerce-cart
table.shop_table.cart td.product-thumbnail img {
    display: block !important;
    width: 115px !important;
    max-width: 115px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
}

/* Bezpieczny odstęp między zdjęciem a informacjami */
body.woocommerce-cart
table.shop_table.cart th.product-name,
body.woocommerce-cart
table.shop_table.cart td.product-name {
    padding-left: 10px !important;
}
    }

    /* Nazwa produktu i wybrane opcje */
    body.woocommerce-cart
    table.shop_table.cart th.product-name,
    body.woocommerce-cart
    table.shop_table.cart td.product-name {
        width: auto !important;
        min-width: 0 !important;
        padding-left: 6px !important;
        padding-right: 14px !important;
        vertical-align: top !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.product-name > a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }

    /* Cena */
    body.woocommerce-cart
    table.shop_table.cart th.product-price,
    body.woocommerce-cart
    table.shop_table.cart td.product-price {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    /* Ilość */
    body.woocommerce-cart
    table.shop_table.cart th.product-quantity,
    body.woocommerce-cart
    table.shop_table.cart td.product-quantity {
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        vertical-align: middle !important;
        overflow: visible !important;
    }

    /* Zmniejszenie całego modułu ilości o 25% */
    body.woocommerce-cart
    table.shop_table.cart
    td.product-quantity
    .quantity {
        display: inline-flex !important;
        vertical-align: middle !important;
        zoom: 0.75;
    }

    /* Suma produktu */
    body.woocommerce-cart
    table.shop_table.cart th.product-subtotal,
    body.woocommerce-cart
    table.shop_table.cart td.product-subtotal {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    /* Usunięcie produktu */
    body.woocommerce-cart
    table.shop_table.cart th.product-remove,
    body.woocommerce-cart
    table.shop_table.cart td.product-remove {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
        text-align: center !important;
        overflow: visible !important;
        vertical-align: middle !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.product-remove a.remove {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        margin: 0 auto !important;
        line-height: 1 !important;
        font-size: 22px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart .product-price .amount,
    body.woocommerce-cart
    table.shop_table.cart .product-subtotal .amount {
        display: inline-block !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }


    /* ==================================================
       COUPON CODE + UPDATE BASKET
       ================================================== */

    body.woocommerce-cart
    table.shop_table.cart td.actions {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        overflow: visible !important;
        position: static !important;
    }

    /* Kupon po lewej stronie */
    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        float: none !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon .input-text {
        width: 125px !important;
        min-width: 125px !important;
        margin: 0 !important;
    }

    body.woocommerce-cart
    table.shop_table.cart td.actions .coupon .button {
        display: inline-block !important;
        width: auto !important;
        margin: 0 !important;
        float: none !important;
        white-space: nowrap !important;
    }

    /*
     * Update basket po prawej stronie tabeli.
     * Bez position:absolute i bez przesuwania względem ekranu.
     */
    body.woocommerce-cart
    table.shop_table.cart td.actions button[name="update_cart"],
    body.woocommerce-cart
    table.shop_table.cart td.actions input[name="update_cart"] {
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        min-width: 150px !important;
        max-width: none !important;
        margin: 0 0 0 auto !important;
        float: none !important;
        transform: none !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }


    /* ==================================================
       YOU MAY BE INTERESTED IN…
       LEWA STRONA, UKŁAD 2 × 2
       ================================================== */

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells {
        grid-area: cross !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 26px 28px 32px !important;
        background-color: #f7f7f7 !important;
        box-sizing: border-box !important;
        float: none !important;
        clear: none !important;
        align-self: start !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells > h2 {
        margin: 0 0 26px !important;
        text-align: center !important;
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells .products_wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 28px !important;
        row-gap: 34px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /*
     * Usunięcie niewidocznych elementów czyszczących,
     * które wcześniej zajmowały miejsce produktu.
     */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products::before,
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products::after {
        content: none !important;
        display: none !important;
    }

    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product,
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product:nth-child(n) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        text-align: center !important;
    }

    /* Mniejsze zdjęcia polecanych produktów */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product img {
        display: block !important;
        width: auto !important;
        max-width: 140px !important;
        height: auto !important;
        max-height: 115px !important;
        margin: 0 auto 16px !important;
        object-fit: contain !important;
    }

    /* Tytuł polecanego produktu */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product
    .woocommerce-loop-product__title {
        min-height: 44px !important;
        margin: 0 0 7px !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    /* Cena polecanego produktu */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product
    .price {
        margin: 0 0 12px !important;
        text-align: center !important;
    }

    /* Przycisk polecanego produktu */
    body.woocommerce-cart
    .mfn-be-cart
    .cross-sells ul.products li.product
    .button {
        width: auto !important;
        min-width: 120px !important;
        margin: auto auto 0 !important;
        white-space: nowrap !important;
    }


    /* ==================================================
       BASKET TOTALS – PRAWA STRONA
       ================================================== */

    body.woocommerce-cart
    .mfn-be-cart
    .cart_totals {
        grid-area: totals !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        position: relative !important;
        align-self: start !important;
        z-index: 2 !important;
    }
}


/* ==================================================
   FALLBACK DLA PRZEGLĄDAREK BEZ OBSŁUGI ZOOM
   ================================================== */

@supports not (zoom: 1) {

    @media only screen and (min-width: 1024px) {

        body.woocommerce-cart
        table.shop_table.cart
        td.product-quantity
        .quantity {
            transform: scale(0.75);
            transform-origin: center center;
        }
    }
}


/* ==================================================
   TABLETY
   ================================================== */

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

    .mfn-be-cart
    .woocommerce:not(.mfn-cart-tmpl-builder)
    .cart-collaterals {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}


/* ==================================================
   TELEFONY
   ================================================== */

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

    /* Nagłówek pod designerem */
    #Header_wrapper {
        position: relative !important;
        z-index: 0 !important;
    }

    /* Designer nad nagłówkiem */
    .nbd-main-bar {
        position: relative !important;
        z-index: 9999 !important;
    }

    /* Miniatura produktu w koszyku */
    body.woocommerce-cart .product-thumbnail {
        display: block !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-thumbnail img {
        display: block !important;
        width: 80px !important;
        max-width: 80px !important;
        height: auto !important;
        box-shadow: none !important;
    }

    /* Tytuł produktu może przechodzić do nowego wiersza */
    body.woocommerce-cart
    table.shop_table.cart
    .product-name > a {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
    }

    /* Przyciski koszyka na pełną szerokość */
    .woocommerce .cart .button,
    .woocommerce .cart input.button {
        float: none;
        width: 100%;
    }
}


/* ==================================================
   NBDESIGNER – TELEFONY
   ================================================== */

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

    .nbd-sidebar {
        top: 90%;
    }
}