/* =====================================================================
   zMobileUX.css – poprawki UX sklepu na telefonach (<= 767px)

   Plik zawiera WYŁĄCZNIE reguły mobilne, desktop pozostaje bez zmian.


   1. Powiadomienia (toasty) – na dole, nie zasłaniają nagłówka i koszyka
   2. Karty produktów – duży przycisk "Do koszyka" i wygodny licznik ilości
   3. Lista produktów (sklep / kategoria / wyszukiwanie) – 2 kolumny
   4. Baner "Darmowa dostawa / Rabat" – wersja kompaktowa
   5. Strona produktu – produkt nad kategoriami + przyklejony pasek zakupu
   6. Kategorie jako przewijany pasek, wyszukiwarka w jednej linii
   7. Nagłówek – niższy (76px zamiast 133px)
   8. Okno cookies – arkusz od dołu z widocznymi przyciskami
   9. Stronicowanie – duże, czytelne przyciski w jednej linii
  10. Koszyk – etykieta rabatu zamiast rozsypanego dymka
  11. Style widgetu „mobileUX” (wyszukiwarka z lupy, klikalny toast, arkusz kategorii)
   ===================================================================== */

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

    /* ---------- 1. Powiadomienia ---------- */

    html {
        --lz-toast-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        --lz-toast-cart-h: 58px;
    }

    /* na stronie produktu toasty lądują nad paskiem zakupu */
    html.page-product-details {
        --lz-toast-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    body div.notify[data-notify="container"] {
        top: auto!important;
        left: 10px!important;
        right: 10px!important;
        bottom: var(--lz-toast-bottom)!important;
        display: block!important;
        box-sizing: border-box;
        width: auto!important;
        max-width: none!important;
        margin: 0!important;
        padding: 10px 46px 10px 14px!important;
        border-radius: 10px;
        border: 1px solid rgba(247, 204, 134, 0.45)!important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
        font-family: var(--inter)!important;
        font-size: 13px!important;
        font-weight: 500!important;
        line-height: 1.4!important;
        text-align: left!important;
    }

    body div.notify[data-notify="container"] [data-notify="message"] {
        font-family: var(--inter)!important;
        text-align: left!important;
    }

    /* krzyżyk – wygodny cel dotyku */
    body div.notify[data-notify="container"] button.close {
        top: 50%!important;
        right: 4px!important;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
        font-size: 24px;
        line-height: 40px;
        text-align: center;
        opacity: 0.75;
        text-shadow: none;
    }

    /* "Dodano do koszyka" – stała, niska wysokość: tytuł + nazwa w jednej linii */
    body div.notify.alert-add-to-cart[data-notify="container"] {
        height: var(--lz-toast-cart-h);
        overflow: hidden;
        color: #1A1A1A!important;
    }

    body div.notify.alert-add-to-cart [data-notify="message"] {
        font-size: 0!important;
        line-height: 0!important;
    }

    body div.notify.alert-add-to-cart [data-notify="message"]::before {
        content: "\2713\00a0 Dodano do koszyka";
        display: block;
        font-size: 13px;
        font-weight: 700;
        line-height: 18px;
        color: #1A1A1A;
    }

    body div.notify.alert-add-to-cart [data-notify="message"] span.product-name {
        display: block!important;
        font-family: var(--inter)!important;
        font-size: 13px!important;
        font-weight: 500!important;
        line-height: 18px!important;
        color: #1A1A1A!important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body div.notify.alert-add-to-cart button.close {
        color: #1A1A1A!important;
    }

    /* komunikat o progu rabatowym w kolorach motywu zamiast jasnozielonego */
    body div.notify.alert-discount-level[data-notify="container"] {
        background: #15221A!important;
        color: #EED48A!important;
    }

    body div.notify.alert-discount-level button.close {
        color: #EED48A!important;
    }

    /* pozostałe komunikaty (np. próg rabatowy) układają się NAD toastem koszyka */
    body:has(div.notify.alert-add-to-cart) div.notify[data-notify="container"]:not(.alert-add-to-cart) {
        bottom: calc(var(--lz-toast-bottom) + var(--lz-toast-cart-h) + 8px)!important;
    }

    /* w koszyku dół ekranu to suma i przycisk zamówienia – tam toasty idą pod nagłówek */
    html.koszyk body div.notify[data-notify="container"] {
        top: calc(var(--lz-header-h) + 10px)!important;
        bottom: auto!important;
    }

    html.koszyk body:has(div.notify.alert-add-to-cart) div.notify[data-notify="container"]:not(.alert-add-to-cart) {
        top: calc(var(--lz-header-h) + 10px + var(--lz-toast-cart-h) + 8px)!important;
        bottom: auto!important;
    }


    /* ---------- 2. Karty produktów: licznik + przycisk ---------- */

    html body div.product-item-container div.product-data-container div.quantity-change {
        display: flex!important;
        align-items: stretch;
        box-sizing: border-box;
        width: 100%!important;
        height: 42px!important;
        margin: 8px 0!important;
        border: 1px solid rgba(178, 150, 92, 0.55);
        border-radius: 6px;
        overflow: hidden;
    }

    html body div.product-item-container div.product-data-container div.quantity-change button {
        position: static!important;
        flex: 0 0 42px;
        width: 42px!important;
        height: auto!important;
        font-size: 22px!important;
        line-height: 1!important;
        color: #EED48A!important;
        background: rgba(178, 150, 92, 0.12)!important;
        touch-action: manipulation;
    }

    html body div.product-item-container div.product-data-container div.quantity-change button:disabled {
        color: rgba(178, 150, 92, 0.35)!important;
    }

    html body div.product-item-container div.product-data-container div.quantity-change input {
        position: static!important;
        flex: 1 1 auto;
        min-width: 0;
        width: auto!important;
        height: auto!important;
        padding: 0!important;
        font-family: var(--inter)!important;
        font-size: 16px!important; /* 16px = brak auto-zoomu w iOS */
        font-weight: 600;
        color: #FFF!important;
        background: transparent!important;
        border-radius: 0;
    }

    html body div.product-item-container button.btn-add-to-cart {
        justify-content: center;
        width: 100%!important;
        min-height: 42px;
        margin: auto 0 0!important;
        padding: 8px 10px!important;
        /* obrys zamiast złotego wypełnienia – na liście jest 12 takich przycisków naraz */
        border: 1px solid #B2965C!important;
        border-radius: 6px;
        background: transparent!important;
        touch-action: manipulation;
    }

    html body div.product-item-container button.btn-add-to-cart span {
        padding: 0!important;
        border: none!important;
        font-family: var(--inter)!important;
        font-size: 12px!important;
        font-weight: 600!important;
        letter-spacing: 0.1em;
        color: #EED48A!important;
    }

    html body div.product-item-container button.btn-add-to-cart:active {
        background: rgba(178, 150, 92, 0.2)!important;
    }

    html body div.product-item-container p.product-price span.product-price-wrap {
        font-size: 16px!important;
        font-weight: 600!important;
        color: #FFF!important;
    }

    /* promocja: nowa cena wyróżniona, stara mała i przekreślona (nie odwrotnie) */
    html body div.product-item-container p.product-price span.product-price-promotion {
        font-size: 16px!important;
        font-weight: 700!important;
        color: #EED48A!important;
    }

    html body div.product-item-container p.product-price span.product-price-promotion ~ span.product-price-wrap {
        font-size: 13px!important;
        font-weight: 400!important;
        color: #A79D9C!important;
    }

    html body div.product-item-container div.historical-price {
        margin: 0 0 2px!important;
        gap: 0 4px!important;
    }

    html body div.product-item-container div.historical-price span {
        font-size: 11px!important;
        line-height: 1.3!important;
        color: #A79D9C!important;
    }


    /* ---------- 3. Lista produktów: 2 kolumny ---------- */

    html.Sklep .list-products div.list-products-container:not(.slick-initialized),
    html.wyszukiwanie .list-products div.list-products-container:not(.slick-initialized),
    html.page-category-details .list-products div.list-products-container:not(.slick-initialized) {
        display: grid!important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 4px;
    }

    html.Sklep .list-products div.list-products-container > div.product-item,
    html.wyszukiwanie .list-products div.list-products-container > div.product-item,
    html.page-category-details .list-products div.list-products-container > div.product-item {
        float: none!important;
        width: auto!important;
        max-width: none!important;
        min-width: 0;
        margin: 0!important;
        padding: 0!important;
    }

    html.Sklep .list-products div.product-item div.product-item-container,
    html.wyszukiwanie .list-products div.product-item div.product-item-container,
    html.page-category-details .list-products div.product-item div.product-item-container {
        max-width: none!important;
        margin: 0!important;
    }

    html.Sklep .list-products div.product-item-container div.product-data-container,
    html.wyszukiwanie .list-products div.product-item-container div.product-data-container,
    html.page-category-details .list-products div.product-item-container div.product-data-container {
        padding: 10px 8px 8px!important;
    }

    html.Sklep .list-products div.product-item-container h3.product-title,
    html.wyszukiwanie .list-products div.product-item-container h3.product-title,
    html.page-category-details .list-products div.product-item-container h3.product-title {
        margin: 0 0 6px!important;
        line-height: 1.3!important;
        text-align: center;
    }

    html.Sklep .list-products div.product-item-container h3.product-title a,
    html.wyszukiwanie .list-products div.product-item-container h3.product-title a,
    html.page-category-details .list-products div.product-item-container h3.product-title a {
        padding-top: 0!important;
        font-size: 14px!important;
        line-height: 1.3!important;
    }

    html.Sklep .list-products div.product-item-container .product-short-description,
    html.wyszukiwanie .list-products div.product-item-container .product-short-description,
    html.page-category-details .list-products div.product-item-container .product-short-description {
        display: none!important;
    }

    /* cena i akcje dociśnięte do dołu – przyciski w rzędzie są na jednej wysokości */
    html.Sklep .list-products div.product-item-container p.product-price,
    html.wyszukiwanie .list-products div.product-item-container p.product-price,
    html.page-category-details .list-products div.product-item-container p.product-price {
        margin-top: auto!important;
        gap: 4px 8px;
    }

    html.Sklep .list-products div.product-item-container button.btn-add-to-cart,
    html.wyszukiwanie .list-products div.product-item-container button.btn-add-to-cart,
    html.page-category-details .list-products div.product-item-container button.btn-add-to-cart {
        margin: 0!important;
    }

    /* tytuł listy mieści się w jednej linii */
    html body div.widget.list-products div.widget-header h1 {
        font-size: 26px!important;
        line-height: 1.2!important;
    }

    /* bardzo wąskie ekrany – jedna kolumna */
    @media screen and (max-width: 319px) {
        html.Sklep .list-products div.list-products-container:not(.slick-initialized),
        html.wyszukiwanie .list-products div.list-products-container:not(.slick-initialized),
        html.page-category-details .list-products div.list-products-container:not(.slick-initialized) {
            grid-template-columns: minmax(0, 1fr);
        }
    }


    /* ---------- 4. Baner dostawa / rabat: wersja kompaktowa ---------- */

    html body div.advertisingContainer div.infos {
        flex-direction: row!important;
        align-items: stretch!important;
        gap: 8px!important;
        padding: 0 4px!important;
    }

    html body div.advertisingContainer div.infos div.info {
        flex: 1 1 0;
        flex-direction: column!important;
        justify-content: flex-start!important;
        gap: 6px!important;
        width: auto!important;
        min-width: 0;
        margin: 0!important;
    }

    html body div.advertisingContainer div.infos div.info div.infoImg {
        width: 48px!important;
        height: 48px!important;
    }

    html body div.advertisingContainer div.infos div.info div.infoText {
        width: 100%!important;
    }

    html body div.advertisingContainer div.infos div.info div.infoText h2 {
        margin: 0 0 4px!important;
        font-size: 17px!important;
        line-height: 1.2!important;
        text-align: center!important;
    }

    html body div.advertisingContainer div.infos div.info div.infoText p {
        margin: 0!important;
        font-size: 13px!important;
        line-height: 1.35!important;
        text-align: center!important;
    }

    html body div.advertisingContainer div.infos div.info.two div.infoText p.tiersLead {
        display: none!important;
    }

    html body div.advertisingContainer div.infos div.infoLine {
        flex: 0 0 1px;
        width: 1px!important;
        height: auto!important;
        background: linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0) 0%,
                #F7CC86 30%,
                #F7CC86 70%,
                rgba(255, 255, 255, 0) 100%
        )!important;
    }

    html body div.advertisingContainer ul.discountTiers {
        gap: 4px!important;
    }

    html body div.advertisingContainer ul.discountTiers li {
        padding: 4px 2px!important;
    }

    html body div.advertisingContainer ul.discountTiers li span.tierValue {
        font-size: 11px;
    }

    html body div.advertisingContainer ul.discountTiers li span.tierDiscount {
        font-size: 16px;
    }


    /* ---------- 5. Strona produktu ---------- */

    /* produkt nad kategoriami i wyszukiwarką (wcześniej ~1500px przewijania do zdjęcia) */
    html.page-product-details div.content div.container > div.row {
        display: flex;
        flex-direction: column;
    }

    html.page-product-details div.content div.container > div.row > div.col-sm-3 {
        order: 2;
        margin-top: 24px;
    }

    html.page-product-details div.content div.container > div.row > div.col-sm-9 {
        order: 1;
    }

    html.page-product-details div.widget-product-details div.product-details-data-container h1.product-details-title {
        font-size: 24px!important;
        line-height: 1.25!important;
    }

    html.page-product-details div.widget-product-details div.product-details-price {
        display: block!important;
        width: 100%!important;
    }

    /* cena: mała etykieta, duża kwota; przy promocji nowa cena złota, stara przekreślona */
    html.page-product-details body div.widget-product-details div.product-details-price p {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 10px;
        padding: 0!important;
    }

    html.page-product-details body div.widget-product-details div.product-details-price p > span:first-child {
        flex: 0 0 100%;
        font-family: var(--inter)!important;
        font-size: 12px!important;
        font-weight: 500!important;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #A79D9C!important;
    }

    html.page-product-details body div.widget-product-details div.product-details-price p > span:last-child,
    html.page-product-details body div.widget-product-details div.product-details-price p > span:last-child text {
        margin: 0!important;
        font-family: var(--inter)!important;
        font-size: 28px!important;
        font-weight: 700!important;
        line-height: 1.15!important;
        color: #FFF!important;
    }

    html.page-product-details body div.widget-product-details div.product-details-price p > span.product-price-promotion {
        font-family: var(--inter)!important;
        font-size: 28px!important;
        font-weight: 700!important;
        line-height: 1.15!important;
        color: #EED48A!important;
    }

    html.page-product-details body div.widget-product-details div.product-details-price p > span.product-price-promotion ~ span:last-child,
    html.page-product-details body div.widget-product-details div.product-details-price p > span.product-price-promotion ~ span:last-child text {
        font-size: 16px!important;
        font-weight: 400!important;
        color: #A79D9C!important;
        text-decoration: line-through;
    }

    html.page-product-details body div.widget-product-details div.product-details-price div.historical-price span {
        font-family: var(--inter)!important;
        font-size: 12px!important;
        line-height: 1.4!important;
        color: #A79D9C!important;
    }

    /* opisy wklejane z edytora miewają czcionkę ~10px – na telefonie minimum 15px */
    html.page-product-details body div.item-description :is(p, li, td, div),
    html.page-product-details body div.item-description :is(p, li, td, div) :is(span, strong, b, em, font) {
        font-size: 15px!important;
        line-height: 1.6!important;
    }

    /* przyklejony pasek zakupu: licznik + duży przycisk zawsze pod kciukiem */
    html.page-product-details body div.product-details-data-container div.product-details-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: flex!important;
        align-items: stretch;
        gap: 10px;
        box-sizing: border-box;
        width: auto!important;
        margin: 0!important;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px))!important;
        background: #0E1510;
        border-top: 1px solid #B2965C;
        box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.5);
    }

    html.page-product-details body div.product-details-actions:not(:has(button.btn-add-to-cart)) {
        display: none!important;
    }

    /* miejsce na pasek, żeby nie zasłaniał stopki */
    html.page-product-details body:has(div.product-details-actions button.btn-add-to-cart) {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    html.page-product-details body div.product-details-actions div.quantity-change {
        display: flex!important;
        align-items: stretch;
        flex: 0 0 132px;
        box-sizing: border-box;
        width: 132px!important;
        height: 48px!important;
        margin: 0!important;
        border: 1px solid rgba(178, 150, 92, 0.6);
        border-radius: 6px;
        overflow: hidden;
    }

    html.page-product-details body div.product-details-actions div.quantity-change button {
        position: static!important;
        flex: 0 0 44px;
        width: 44px!important;
        height: auto!important;
        border: none!important;
        font-size: 22px!important;
        line-height: 1!important;
        color: #EED48A!important;
        background: rgba(178, 150, 92, 0.12)!important;
        touch-action: manipulation;
    }

    html.page-product-details body div.product-details-actions div.quantity-change button:disabled {
        color: rgba(178, 150, 92, 0.35)!important;
    }

    html.page-product-details body div.product-details-actions div.quantity-change input {
        position: static!important;
        flex: 1 1 auto;
        min-width: 0;
        width: auto!important;
        height: auto!important;
        padding: 0!important;
        border: none!important;
        font-family: var(--inter)!important;
        font-size: 16px!important;
        font-weight: 600;
        color: #FFF!important;
        background: transparent!important;
    }

    html.page-product-details body div.product-details-data-container div.product-details-actions button.btn-add-to-cart {
        flex: 1 1 auto;
        width: auto!important;
        height: 48px!important;
        margin: 0!important;
        padding: 0 12px!important;
        border: none!important;
        border-radius: 6px;
        background: #C9A24D!important; /* jedyny wypełniony przycisk na stronie, bez połysku */
        font-family: var(--inter)!important;
        font-size: 15px!important;
        font-weight: 700!important;
        letter-spacing: 0.04em;
        color: #1A1A1A!important;
        touch-action: manipulation;
    }

    html.page-product-details body div.product-details-data-container div.product-details-actions button.btn-add-to-cart:hover,
    html.page-product-details body div.product-details-data-container div.product-details-actions button.btn-add-to-cart:active {
        color: #1A1A1A!important;
        filter: brightness(0.92);
    }

    /* ---------- 6. Kategorie jako przewijany pasek + wyszukiwarka w jednej linii ---------- */
    /* wcześniej rozwinięta lista kategorii zajmowała ~640px nad produktami */

    html body div.widget.category-list div.widget-header {
        display: block!important;
        margin: 0 0 8px!important;
        padding: 0 6px!important;
        border: none!important;
    }

    html body div.widget.category-list div.widget-header h4 {
        margin: 0!important;
        padding: 0!important;
        border: none!important;
        font-family: var(--inter)!important;
        font-size: 11px!important;
        font-weight: 600!important;
        letter-spacing: 0.14em;
        line-height: 1.2!important;
        text-transform: uppercase;
        color: #A79D9C!important;
    }

    /* wygaszenie przy prawej krawędzi podpowiada, że pasek się przewija */
    html body div.widget.category-list div.widget-content {
        position: relative;
    }

    html body div.widget.category-list div.widget-content::after {
        content: "";
        position: absolute;
        top: 0;
        right: -6px;
        bottom: 0;
        width: 40px;
        background: linear-gradient(to right, rgba(26, 26, 26, 0), #1A1A1A);
        pointer-events: none;
    }

    html body div.widget.category-list div.widget-content button.navbar-toggle,
    html body div.widget.category-list span.category-item-icon {
        display: none!important;
    }

    html body div.widget.category-list div.nav-collapse {
        display: block!important;
        height: auto!important;
        overflow: visible!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category {
        display: flex!important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        margin: 0 -6px!important;
        padding: 4px 40px 10px 12px!important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border: none!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category::-webkit-scrollbar {
        display: none;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category::before,
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category::after {
        content: none!important;
    }

    /* li "znika" z układu – link i ewentualne podkategorie stają się elementami paska */
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item {
        display: contents!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item > a {
        flex: 0 0 auto;
        display: block!important;
        margin: 0!important;
        padding: 10px 14px!important;
        border: 1px solid #B2965C!important;
        border-radius: 999px;
        background: #1D2E23!important;
        font-family: var(--inter)!important;
        font-size: 14px!important;
        font-weight: 600!important;
        line-height: 1.2!important;
        color: #EED48A!important;
        white-space: nowrap;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item > a::after,
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item > a::before {
        content: none!important;
        display: none!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item.active > a {
        background: #C9A24D!important;
        border-color: #C9A24D!important;
        color: #1A1A1A!important;
    }

    /* aktywna kategoria i jej podkategorie zawsze na początku paska */
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item.active > a,
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.category-item.active > ul.subnav li.category-item > a {
        order: -1;
    }

    /* podkategorie: ukryte, poza rozwiniętą (aktywną) kategorią – wtedy stoją tuż za nią */
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category ul.subnav {
        display: none!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category ul.subnav.in,
    html body div.widget.category-list div.nav-collapse div.category ul.nav.category li.active > ul.subnav {
        display: contents!important;
    }

    html body div.widget.category-list div.nav-collapse div.category ul.nav.category ul.subnav li.category-item > a {
        padding: 8px 12px!important;
        border-style: dashed!important;
        background: transparent!important;
        font-size: 13px!important;
        font-weight: 500!important;
        color: #E6DFCF!important;
    }

    html body div.widget.advanced-search div.widget-header,
    html body div.widget.advanced-search form.advanced-search-form label {
        display: none!important;
    }

    html body div.widget.advanced-search form.advanced-search-form {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    html body div.widget.advanced-search form.advanced-search-form div.form-group:nth-of-type(1) {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0!important;
    }

    html body div.widget.advanced-search form.advanced-search-form div.form-group input[type="text"] {
        height: 46px!important;
        font-size: 16px!important;
    }

    /* przycisk w obrysie, jak „Do koszyka” na kartach (kolory pola: Sklep35.css / KartaProduktu32524.css) */
    html body div.widget.advanced-search form.advanced-search-form button.btn-search {
        flex: 0 0 auto;
        width: auto!important;
        min-height: 46px;
        margin: 0!important;
        padding: 0 16px!important;
        border: 1px solid #B2965C!important;
        border-radius: 6px;
        background: transparent!important;
        font-family: var(--inter)!important;
        font-size: 12px!important;
        font-weight: 600!important;
        letter-spacing: 0.1em;
        color: #EED48A!important;
    }

    /* ---------- 7. Nagłówek: 76px zamiast 133px ---------- */

    html {
        --lz-header-h: 76px;
        /* linki z kotwicą (np. stronicowanie -> #OfertaProduktowa) nie chowają celu pod nagłówkiem */
        scroll-padding-top: calc(var(--lz-header-h) + 10px);
    }

    html body header {
        height: var(--lz-header-h)!important;
        margin-top: 0!important;
    }

    html body header div.mobileHeader {
        top: 0;
        left: 0;
    }

    html body header div.mobileHeader div.mobUpper {
        height: calc(var(--lz-header-h) - 3px);
    }

    html body header div.mobileHeader div.mobUpper div.mobLogo {
        width: 92px;
        height: 64px;
        margin-left: 14px;
    }

    html body header div.mobileHeader div.mobUpper div.mobFunc {
        padding-right: 14px!important;
        transform: translateY(-4px); /* ikony na osi niższego nagłówka */
    }

    html body header div.mobileHeader div.mobUpper div.mobHamb {
        top: 0;
    }

    /* otwarte menu nie przewija strony pod spodem */
    html body:has(div.mobMenu.open) {
        overflow: hidden;
    }

    html body header div.mobileHeader div.mobMenu.open {
        height: calc(100vh - var(--lz-header-h));
        height: calc(100dvh - var(--lz-header-h));
    }


    /* ---------- 8. Okno cookies: arkusz od dołu ---------- */
    /* wcześniej okno miało ~900px wysokości, a przyciski były pod krawędzią ekranu */

    html body div.modal.in:has(#privacyAndCookiePolicy) {
        padding: 0!important;
        overflow: hidden!important;
    }

    html body div.modal.in:has(#privacyAndCookiePolicy) div.modal-dialog {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto!important;
        max-width: none!important;
        margin: 0!important;
        transform: none!important;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy {
        display: flex;
        flex-direction: column;
        max-height: 74vh;
        max-height: 74dvh;
        border-radius: 16px 16px 0 0;
        overflow: hidden;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-header {
        flex: 0 0 auto;
        padding: 16px 16px 8px!important;
        border: none!important;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-header h3 {
        margin: 0!important;
        font-size: 20px!important;
        line-height: 1.25!important;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 16px 12px!important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-body div.containerC-information {
        padding: 0!important;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-body p {
        margin: 0 0 10px!important;
        padding: 0!important;
        border: none!important;
        font-size: 13px!important;
        line-height: 1.45!important;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-footer {
        flex: 0 0 auto;
        flex-wrap: wrap;
        gap: 10px!important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px))!important;
        border-top: 1px solid #E5E5E5;
    }

    html body div.modal-dialog div#privacyAndCookiePolicy div.modal-footer button {
        flex: 1 1 40%;
        width: auto!important;
        min-width: 0;
        max-width: none!important;
        min-height: 46px;
        padding: 6px 8px!important;
        border-radius: 6px;
        font-size: 14px!important;
        line-height: 1.2!important;
        white-space: normal;
    }

    /* ---------- 9. Stronicowanie ---------- */
    /* wcześniej: numery prawie niewidoczne, pasek wychodził poza ekran */

    html body div.pagination {
        margin-top: 18px!important;
    }

    html body div.pagination div {
        flex-wrap: wrap;
        gap: 8px 3px;
    }

    html body div.pagination div > a.offer-paging-item,
    html body div.pagination div > span.current-page,
    html body div.pagination div > a.arrow-right,
    html body div.pagination div > a.arrow-left {
        display: flex!important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 38px!important;
        height: 38px!important;
        margin: 0!important;
        padding: 0!important;
        border: 1px solid rgba(178, 150, 92, 0.5)!important;
        border-radius: 6px;
        background: #15221A!important;
    }

    html body div.pagination div > a.offer-paging-item,
    html body div.pagination div > span.current-page {
        font-family: var(--inter)!important;
        font-size: 15px!important;
        line-height: 1!important;
        color: #EED48A!important;
    }

    html body div.pagination div > span.current-page {
        background: #C9A24D!important;
        border-color: #B2965C!important;
        font-weight: 700!important;
        color: #1A1A1A!important;
    }

    /* pole "idź do strony" nie mieści się na telefonie */
    html body div.pagination div > span.offer-paging-input,
    html body div.pagination div > button {
        display: none!important;
    }

    html body div.pagination div > span.current-of {
        width: 20px;
        font-size: 0!important;
    }

    html body div.pagination div > span.current-of::before {
        content: "\2026";
        font-size: 16px;
        color: #B2965C;
    }

    /* na dalszych stronach (jest strzałka "wstecz") skrót do ostatniej strony by się nie zmieścił */
    html body div.pagination div:has(> a.arrow-left) > span.current-of,
    html body div.pagination div:has(> a.arrow-left) > span.current-of + a.offer-paging-item {
        display: none!important;
    }

    html body div.pagination div > a.arrow-right,
    html body div.pagination div > a.arrow-left {
        font-size: 0!important;
        text-indent: 0!important;
        overflow: hidden;
    }

    html body div.pagination div > a.arrow-right {
        order: 2;
    }

    html body div.pagination div > a.arrow-left {
        order: -1;
    }

    html body div.pagination div > a.arrow-right::before,
    html body div.pagination div > a.arrow-left::before {
        content: "\203A";
        font-family: var(--inter);
        font-size: 26px;
        line-height: 1;
        color: #EED48A;
    }

    html body div.pagination div > a.arrow-left::before {
        content: "\2039";
    }


    /* ---------- 10. Koszyk: rabat pozycji ---------- */
    /* dymek "Promocja: 25%" wyświetlał się na stałe jako białe pole z czerwoną ramką */

    html.koszyk #basket-grid .basket-area-items-list td .tooltip-toggle .tooltip {
        display: none!important;
    }

    html.koszyk #basket-grid .basket-area-items-list td .tooltip-toggle > div:first-child {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 4px;
        background: linear-gradient(to right, #C9A24D 0%, #EED48A 50%, #9F7A27 100%);
        font-family: var(--inter);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        color: #1A1A1A;
    }

    html.koszyk #basket-grid .basket-area-items-list td .tooltip-toggle > div:first-child::before {
        content: "\2212";
    }

    /* pozycja bez rabatu pokazywała samotny myślnik */
    html.koszyk #basket-grid .basket-area-items-list td:nth-child(5):nth-last-child(3):not(:has(.tooltip-toggle)) {
        display: none!important;
    }

    /* ---------- 11. Widget „mobileUX” (skrypt w panelu, widgets/lz-mobile-ux-widget.html) ---------- */
    /* klasa html.lz-ux pojawia się dopiero, gdy widget działa – bez niego nic się nie zmienia */

    html.lz-search-open,
    html.lz-search-open body {
        overflow: hidden;
    }

    html body div.lz-search {
        position: fixed;
        top: var(--lz-header-h);
        left: 0;
        right: 0;
        z-index: 99;
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - var(--lz-header-h));
        max-height: calc(100dvh - var(--lz-header-h));
        background: #0E1510;
        border-bottom: 1px solid #B2965C;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    }

    html body div.lz-search[hidden],
    html body div.lz-search__backdrop[hidden] {
        display: none!important;
    }

    html body div.lz-search__backdrop {
        position: fixed;
        top: var(--lz-header-h);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 98;
        background: rgba(0, 0, 0, 0.6);
    }

    html body div.lz-search form.lz-search__form {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0!important;
        padding: 10px 8px 10px 12px!important;
    }

    html body div.lz-search input.lz-search__input {
        flex: 1 1 auto;
        box-sizing: border-box;
        min-width: 0;
        width: auto!important;
        height: 46px!important;
        margin: 0!important;
        padding: 0 14px!important;
        border: 1px solid rgba(178, 150, 92, 0.6)!important;
        border-radius: 6px!important;
        background: #15221A!important;
        font-family: var(--inter)!important;
        font-size: 16px!important; /* 16px = brak auto-zoomu w iOS */
        font-weight: 500!important;
        color: #FFF!important;
        outline: none;
        box-shadow: none!important;
        -webkit-appearance: none;
        appearance: none;
    }

    html body div.lz-search input.lz-search__input:focus {
        border-color: #EED48A!important;
    }

    html body div.lz-search input.lz-search__input::placeholder {
        color: #8F8A80;
    }

    html body div.lz-search input.lz-search__input::-webkit-search-cancel-button {
        display: none;
    }

    html body div.lz-search button.lz-search__go {
        flex: 0 0 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px!important;
        height: 46px!important;
        margin: 0!important;
        padding: 0!important;
        border: none!important;
        border-radius: 6px;
        background: linear-gradient(to right, #C9A24D 0%, #EED48A 50%, #9F7A27 100%)!important;
        color: #1A1A1A!important;
    }

    html body div.lz-search button.lz-search__close {
        flex: 0 0 40px;
        width: 40px!important;
        height: 46px!important;
        margin: 0!important;
        padding: 0!important;
        border: none!important;
        background: transparent!important;
        font-family: var(--inter)!important;
        font-size: 30px!important;
        font-weight: 300!important;
        line-height: 1!important;
        color: #EED48A!important;
    }

    html body div.lz-search div.lz-search__results {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    html body div.lz-search a.lz-search__item {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 64px;
        padding: 8px 12px;
        border-top: 1px solid rgba(178, 150, 92, 0.2);
        text-decoration: none!important;
    }

    html body div.lz-search a.lz-search__item:active {
        background: rgba(178, 150, 92, 0.12);
    }

    html body div.lz-search a.lz-search__item img,
    html body div.lz-search a.lz-search__item span.lz-search__noimg {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 4px;
        background: #2A1B16;
        object-fit: cover;
    }

    html body div.lz-search span.lz-search__name {
        flex: 1 1 auto;
        min-width: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-family: var(--playFair)!important;
        font-size: 14px!important;
        font-weight: 700!important;
        line-height: 1.3!important;
        color: #C9A24D!important;
    }

    html body div.lz-search span.lz-search__price {
        flex: 0 0 auto;
        font-family: var(--inter)!important;
        font-size: 14px!important;
        font-weight: 600!important;
        line-height: 1.3!important;
        color: #FFF!important;
        text-align: right;
        white-space: nowrap;
    }

    html body div.lz-search span.lz-search__old {
        display: block;
        font-family: var(--inter)!important;
        font-size: 12px!important;
        font-weight: 400!important;
        color: #A79D9C!important;
        text-decoration: line-through;
    }

    html body div.lz-search a.lz-search__all,
    html body div.lz-search div.lz-search__note {
        display: block;
        padding: 15px 12px;
        border-top: 1px solid rgba(178, 150, 92, 0.2);
        font-family: var(--inter)!important;
        font-size: 14px!important;
        font-weight: 600!important;
        line-height: 1.3!important;
        color: #EED48A!important;
        text-align: center;
        text-decoration: none!important;
    }

    html body div.lz-search div.lz-search__note {
        font-weight: 400!important;
        color: #A79D9C!important;
    }

    /* toast „Dodano do koszyka” jako przycisk do koszyka */
    html.lz-ux body div.notify.alert-add-to-cart[data-notify="container"] {
        padding-right: 134px!important;
        cursor: pointer;
    }

    html.lz-ux body div.notify.alert-add-to-cart[data-notify="container"]::after {
        content: "Koszyk \203A";
        position: absolute;
        top: 50%;
        right: 46px;
        transform: translateY(-50%);
        padding: 7px 10px;
        border: 1px solid #1A1A1A;
        border-radius: 6px;
        font-family: var(--inter);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        text-transform: uppercase;
        color: #1A1A1A;
    }

    /* --- kategorie: przycisk + arkusz z kafelkami (widget „mobileUX”, część 3) --- */
    /* html.lz-cat-on ustawia skrypt; bez niego zostaje pasek kategorii z sekcji 6 */

    html.lz-cat-on body div.widget.category-list div.widget-header,
    html.lz-cat-on body div.widget.category-list div.nav-collapse {
        display: none!important;
    }

    html.lz-cat-on body div.widget.category-list div.widget-content::after {
        content: none;
    }

    html.lz-cat-open,
    html.lz-cat-open body {
        overflow: hidden;
    }

    html body button.lz-cat__open {
        display: flex;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        width: 100%!important;
        min-height: 58px;
        margin: 0!important;
        padding: 8px 14px!important;
        border: 1px solid #B2965C!important;
        border-radius: 8px;
        background: linear-gradient(135deg, #1D2E23 0%, #15221A 100%)!important;
        color: #EED48A!important;
        text-align: left;
        touch-action: manipulation;
    }

    html body button.lz-cat__open:active {
        background: #1D2E23!important;
    }

    html body button.lz-cat__open span.lz-cat__open-icon,
    html body button.lz-cat__open span.lz-cat__open-chev {
        flex: 0 0 auto;
        display: flex;
        color: #C9A24D;
    }

    html body button.lz-cat__open span.lz-cat__open-text {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    html body button.lz-cat__open span.lz-cat__open-label {
        font-family: var(--inter)!important;
        font-size: 11px!important;
        font-weight: 600!important;
        letter-spacing: 0.14em;
        line-height: 1.2!important;
        text-transform: uppercase;
        color: #A79D9C!important;
    }

    html body button.lz-cat__open span.lz-cat__open-current {
        overflow: hidden;
        font-family: var(--playFair)!important;
        font-size: 17px!important;
        font-weight: 700!important;
        line-height: 1.25!important;
        color: #EED48A!important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html body div.lz-cat__subs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px 0 0;
    }

    html body a.lz-cat__chip {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 12px;
        border: 1px solid rgba(178, 150, 92, 0.55);
        border-radius: 6px;
        font-family: var(--inter)!important;
        font-size: 13px!important;
        font-weight: 500!important;
        line-height: 1.2!important;
        color: #E6DFCF!important;
        text-decoration: none!important;
    }

    html body a.lz-cat__chip.lz-cat__chip--all {
        font-weight: 600!important;
        color: #EED48A!important;
    }

    html body a.lz-cat__chip.is-active {
        background: #C9A24D;
        border-color: #C9A24D;
        font-weight: 600!important;
        color: #1A1A1A!important;
    }

    html body div.lz-cat__backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        background: rgba(0, 0, 0, 0.65);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    html body div.lz-cat__backdrop.is-open {
        opacity: 1;
    }

    html body div.lz-cat {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1041;
        display: flex;
        flex-direction: column;
        max-height: 86vh;
        max-height: 86dvh;
        border-top: 1px solid #B2965C;
        border-radius: 16px 16px 0 0;
        background: #0E1510;
        box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.6);
        transform: translateY(100%);
        transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    html body div.lz-cat.is-open {
        transform: none;
    }

    html body div.lz-cat[hidden],
    html body div.lz-cat__backdrop[hidden],
    html body div.lz-cat div.lz-cat__sub[hidden] {
        display: none!important;
    }

    @media (prefers-reduced-motion: reduce) {
        html body div.lz-cat,
        html body div.lz-cat__backdrop {
            transition: none;
        }
    }

    html body div.lz-cat div.lz-cat__head {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 8px 6px 16px;
    }

    html body div.lz-cat span.lz-cat__title {
        font-family: var(--playFair)!important;
        font-size: 20px!important;
        font-weight: 700!important;
        line-height: 1.2!important;
        color: #C9A24D!important;
    }

    html body div.lz-cat button.lz-cat__close {
        width: 44px!important;
        height: 44px!important;
        margin: 0!important;
        padding: 0!important;
        border: none!important;
        background: transparent!important;
        font-family: var(--inter)!important;
        font-size: 30px!important;
        font-weight: 300!important;
        line-height: 1!important;
        color: #EED48A!important;
    }

    html body div.lz-cat div.lz-cat__body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 12px calc(16px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    html body div.lz-cat a.lz-cat__all {
        display: block;
        padding: 10px 4px 12px;
        font-family: var(--inter)!important;
        font-size: 14px!important;
        font-weight: 600!important;
        line-height: 1.3!important;
        color: #EED48A!important;
        text-decoration: none!important;
    }

    html body div.lz-cat div.lz-cat__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: dense; /* rozwinięte podkategorie nie zostawiają dziury obok kafelka */
        gap: 10px;
    }

    html body div.lz-cat .lz-cat__tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-sizing: border-box;
        width: 100%!important;
        min-height: 88px;
        margin: 0!important;
        padding: 10px 8px!important;
        border: 1px solid rgba(178, 150, 92, 0.35)!important;
        border-radius: 10px;
        background: #15221A!important;
        text-align: center;
        text-decoration: none!important;
        touch-action: manipulation;
    }

    /* rozwinięty kafelek: jaśniejsze tło; bieżąca kategoria: złota ramka i złota nazwa */
    html body div.lz-cat .lz-cat__tile:active,
    html body div.lz-cat .lz-cat__tile[aria-expanded="true"] {
        border-color: #EED48A!important;
        background: #24382B!important;
    }

    html body div.lz-cat .lz-cat__tile.is-active {
        border-color: #C9A24D!important;
    }

    html body div.lz-cat .lz-cat__tile.is-active span.lz-cat__name {
        color: #EED48A!important;
    }

    html body div.lz-cat span.lz-cat__ico {
        display: flex;
        color: #C9A24D;
    }

    html body div.lz-cat span.lz-cat__name {
        font-family: var(--playFair)!important;
        font-size: 14px!important;
        font-weight: 700!important;
        line-height: 1.25!important;
        color: #F1E7CF!important;
    }

    html body div.lz-cat span.lz-cat__more {
        font-family: var(--inter)!important;
        font-size: 11px!important;
        font-weight: 500!important;
        line-height: 1.2!important;
        color: #A79D9C!important;
    }

    html body div.lz-cat div.lz-cat__sub {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 2px 0 8px;
    }
}
