:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    
    --bs-body-bg: #ffffff;
    --bs-gray: #6c757d;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-success: #00c853;
    --bs-success-lighter: #00d057;
    --bs-info: #0076FF;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}


:root {
    --bs-primary: #0d6efd; 
    --bs-primary-bg: #ffffff; 
    --bs-primary-text: #212529;
    --bs-secondary-bg: #eeeeee; 
    --bs-secondary-text: #212529; 
    --bs-accent: #07c152; 
    --bs-footer-bg: #ffffff; 
    --bs-footer-text: #212529; 
    
    --bs-preloader-second: #f21559; 
    --heading-prices-choose: #d63384;
    --bs-delete-lighter: #ff5e85;
    
    --bs-primary-lighter: #6AA4FF;
    --bs-primary-darker: #004CCB;
    --bs-secondary-lighter: #eeeeee;
    --bs-secondary-darker: #eee;
    --bs-primary-bg-lighter: #ffffff;
    --bs-primary-bg-darker: #f9f8fa;
    --bs-secondary-bg-lighter: #fff;
    --bs-secondary-bg-darker: #15161b;
    --bs-success-lighter: #00d057;
    --bs-accent-lighter: #00d057;
    --bs-gray: #6c757d;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-success: #00c853;
    --bs-info: #0076FF;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    
    --bs-body-color: #212529;
    --ip-btn-primary-background: #0d6efd;
    --ip-btn-primary-text: #ffffff;
    --ip-radio-primary-background: #ffffff;
    --ip-radio-primary-text: #212529;
    --ip-radio-primary-border: #0d6efd;
    --ip-radio-checked-background: #0d6efd;
    --ip-radio-checked-text: #ffffff;
    --ip-prices-chosen-background: #f9f8fa;
    --ip-prices-btn-color-text: #ffffff;
    --ip-prices-btn-secondary-background: #00d057;
    --ip-modal-primary-background: #ffffff;
    
    --ip-header-main-bg: #ffffff; 
    --ip-product-icons-text-color: #212529;
    --ip-header-menu-text-color: #6c757d;
    --ip-header-menu-text-color-active: #0d6efd;
    --ip-product-tab-list-nav-link-color: #212529;
    --ip-product-tab-list-nav-link-color-active: #0d6efd;
    --ip-btn-outlined-background: #ffffff;
    --ip-btn-outlined-text: #0d6efd;
    --ip-btn-outlined-secondary-background: #ffffff;
    --ip-btn-outlined-secondary-text: #0d6efd;
    --ip-product-icons-background-color: #ffffff;
    --ip-banner-text: #212529;
    --ip-input-text: #212529; 
    --ip-input-background: #ffffff; 
    --ip-carousel-button-color: #0d6efd;
    --ip-border-radius-boxes: 8px;
    --ip-border-radius-buttons: 50px;
    --ip-border-radius-inputs: 16px;
    --ip-box-shadow-boxes: 0 3px 24px rgba(0, 0, 0, .09);
    --page-max-width: 1200px; 
    --base-font-size: 16px; 
    --base-font-family: 'Arial', sans-serif; 
    --heading-font-family: 'Roboto', sans-serif; 
    --product-box-size: 250px; 


    
    --ip-icon-primary-1: #7f6eff;
    --ip-icon-primary-2: #7e37ff;
    --ip-icon-primary-3: #7c00ff;
    --ip-icon-primary-4: #6120de;
    --ip-icon-primary-5: #4300c4;

    --ip-icon-primary-accent: #f5a8f5;

    --ip-icon-secondary-1: #fff;
    --ip-icon-secondary-2: #f3f3f3;
    --ip-icon-secondary-3: #e9e9e9;
    --ip-icon-secondary-4: #e4e4e4;
    --ip-icon-secondary-5: #ccc;

    --ip-icon-eco-1: #f4e3d3;
    --ip-icon-eco-2: #f4e0ce;
    --ip-icon-eco-3: #dbccbd;

    --ip-icon-darkest: #3a3a3a;
}


/* =====================================================================
   POSkładani24 — skórka IP8: CSS GLOBALNY
   Panel: CMS → Edycja styli CSS (/administracja/a_layouts/editResellerThemeCss) — wklej CAŁY plik.
   Źródło: ip-custom-views/cv-poskladani/EDYTOR-CSS.css (repo), makieta Figma „IP8-Poskladani24”.
   Tylko rzeczy wspólne dla wszystkich stron: zmienne marki, wspólne komponenty, nagłówek z menu.
   Dodatki do nagłówka (pasek „Napisz do nas”, „Tu jesteśmy”, menu tabletu) dokłada widok
   „[...DEV...] POSkładani24 — nagłówek” (slot frontend.footer). CSS jednego widoku → jego widok własny.
   Style STOPKI są w widoku „[...DEV...] POSkładani24 — stopka” (też frontend.footer) — Edytor ma limit rozmiaru.
   ===================================================================== */

/* ---------- 1. ZMIENNE MARKI (makieta: kolekcja IP8, tryb „POSkładani24”) ---------- */
:root {
    /* fonty — sam krój ładuje Ustawienia → „IwarePrint 3.0 - Szablon (Beta)” → Link do Google Fonts */
    --base-font-family: 'Archivo', sans-serif;
    --heading-font-family: 'Archivo', sans-serif;

    /* zaokrąglenia: przyciski pigułki, pola 16, boksy 8 */
    --ip-border-radius-buttons: 50px;
    --ip-border-radius-inputs: 16px;
    --ip-border-radius-boxes: 8px;

    /* kolory Bootstrap/IP8 */
    --bs-primary: #D60728;
    --bs-primary-lighter: #FF5A6E;
    --bs-primary-darker: #B00620;
    --bs-primary-bg: #FFFFFF;
    --bs-primary-bg-lighter: #FFFFFF;
    --bs-primary-bg-darker: #F3EEE7;
    --bs-primary-text: #18181A;
    --bs-secondary-bg: #F3EEE7;
    --bs-secondary-bg-lighter: #FFFFFF;
    --bs-secondary-bg-darker: #18181A;
    --bs-secondary-lighter: #F3EEE7;
    --bs-secondary-darker: #E4DED6;
    --bs-secondary-text: #18181A;
    --bs-accent: #D60728;
    --bs-accent-lighter: #FF5A6E;
    --bs-success: #D60728;
    --bs-success-lighter: #FF5A6E;
    --bs-info: #D60728;
    --bs-warning: #E8A317;
    --bs-danger: #D60728;
    --bs-delete-lighter: #FF5A6E;
    --bs-light: #F3EEE7;
    --bs-dark: #18181A;
    --bs-body-bg: #FFFFFF;
    --bs-body-color: #18181A;
    --bs-preloader-second: #FF5A6E;
    --bs-white: #FFFFFF;
    --bs-blue: #D60728;
    --bs-indigo: #D60728;
    --bs-purple: #D60728;
    --bs-pink: #D60728;
    --bs-red: #D60728;
    --bs-orange: #E8A317;
    --bs-yellow: #E8A317;
    --bs-green: #D60728;
    --bs-teal: #D60728;
    --bs-cyan: #D60728;
    --bs-gray: #5A554E;
    --bs-gray-dark: #262320;
    --bs-gray-100: #F7F4EF;
    --bs-gray-200: #F3EEE7;
    --bs-gray-300: #E4DED6;
    --bs-gray-400: #CFC6BA;
    --bs-gray-500: #A9A196;
    --bs-gray-600: #5A554E;
    --bs-gray-700: #3A3632;
    --bs-gray-800: #262320;
    --bs-gray-900: #18181A;
    --heading-prices-choose: #D60728;
    /* --bs-footer-bg / --bs-footer-text (makieta: #18181A / #D8D2CA) — w widoku stopki razem z jej układem;
       bez reszty stylów ciemna stopka miałaby nieczytelny tekst */

    /* kolory komponentów IP8 */
    --ip-banner-text: #18181A;
    --ip-btn-primary-background: #D60728;
    --ip-btn-primary-text: #FFFFFF;
    --ip-btn-outlined-background: #FFFFFF;
    --ip-btn-outlined-text: #D60728;
    --ip-btn-outlined-secondary-background: #FFFFFF;
    --ip-btn-outlined-secondary-text: #D60728;
    --ip-carousel-button-color: #D60728;
    --ip-header-main-bg: #FFFFFF;
    --ip-header-menu-text-color: #18181A;
    --ip-header-menu-text-color-active: #D60728;
    --ip-input-background: #FFFFFF;
    --ip-input-text: #18181A;
    --ip-modal-primary-background: #FFFFFF;
    --ip-prices-btn-color-text: #FFFFFF;
    --ip-prices-btn-secondary-background: #D60728;
    --ip-prices-chosen-background: #F3EEE7;
    --ip-product-icons-background-color: #FFFFFF;
    --ip-product-icons-text-color: #18181A;
    --ip-product-tab-list-nav-link-color: #18181A;
    --ip-product-tab-list-nav-link-color-active: #D60728;
    --ip-radio-checked-background: #D60728;
    --ip-radio-checked-text: #FFFFFF;
    --ip-radio-primary-background: #FFFFFF;
    --ip-radio-primary-border: #D60728;
    --ip-radio-primary-text: #18181A;

    /* ikony ilustracyjne IP8 (czerwień marki, beże, tektura) */
    --ip-icon-primary-1: #FF5A6E;
    --ip-icon-primary-2: #E53E54;
    --ip-icon-primary-3: #D60728;
    --ip-icon-primary-4: #B00620;
    --ip-icon-primary-5: #8A0518;
    --ip-icon-primary-accent: #FF8A99;
    --ip-icon-secondary-1: #FFFFFF;
    --ip-icon-secondary-2: #F3EEE7;
    --ip-icon-secondary-3: #E4DED6;
    --ip-icon-secondary-4: #CFC6BA;
    --ip-icon-secondary-5: #A9A196;
    --ip-icon-darkest: #18181A;
    --ip-icon-eco-1: #E6CCA8;
    --ip-icon-eco-2: #C99C6C;
    --ip-icon-eco-3: #B98B5E;

    /* ikony nagłówka z projektu klienta (maski SVG — kolor bierze się z background-color) */
    --pk-ik-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 4.5H15M3 9H15M3 13.5H15' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    --pk-ik-klucz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M11.025 4.725C10.4586 4.42804 9.81214 4.31985 9.17993 4.41621C8.54772 4.51257 7.96284 4.80844 7.51063 5.26064C7.05843 5.71285 6.76256 6.29772 6.6662 6.92994C6.56984 7.56215 6.67804 8.20861 6.97499 8.775L2.62499 13.125C2.42608 13.3239 2.31433 13.5937 2.31433 13.875C2.31433 14.1563 2.42608 14.4261 2.62499 14.625C2.8239 14.8239 3.09369 14.9357 3.37499 14.9357C3.6563 14.9357 3.92608 14.8239 4.12499 14.625L8.47499 10.275C9.04138 10.572 9.68784 10.6801 10.3201 10.5838C10.9523 10.4874 11.5371 10.1916 11.9894 9.73936C12.4416 9.28715 12.7374 8.70228 12.8338 8.07006C12.9301 7.43785 12.8219 6.79139 12.525 6.225L10.575 8.175L9.07499 6.675L11.025 4.725Z' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --pk-ik-wozek: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.83333' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.75 3.66667H4.58333L6.78333 13.75H16.8667L18.7 6.41667H5.68333'/%3E%3Ccircle cx='8.25' cy='18.3333' r='1.2833'/%3E%3Ccircle cx='15.5834' cy='18.3333' r='1.2833'/%3E%3C/g%3E%3C/svg%3E");
    --pk-ik-lupa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.83333' stroke-linecap='round'%3E%3Ccircle cx='9.1667' cy='9.1667' r='5.8333'/%3E%3Cpath d='M16.6667 16.6667L13.3334 13.3333'/%3E%3C/g%3E%3C/svg%3E");
    /* tablet 768 i telefon 390 mają w makiecie własne rysunki ikon (≡ z trzech belek 14×2, grubsze lupy) */
    --pk-ik-menu-768: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Crect width='14' height='2' rx='1'/%3E%3Crect y='5' width='14' height='2' rx='1'/%3E%3Crect y='10' width='14' height='2' rx='1'/%3E%3C/svg%3E");
    --pk-ik-lupa-768: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6' cy='6' r='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='11.0355' y='9.5711' width='6.2131' height='2.071' rx='1.0355' transform='rotate(45 11.0355 9.5711)'/%3E%3C/svg%3E");
    --pk-ik-lupa-390: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='9' r='6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='15.5' y='16.5' width='7' height='2.4' transform='rotate(45 15.5 16.5)'/%3E%3C/svg%3E");
    /* dymek wiadomości zalogowanego (natywny widżet IP8; makieta go nie ma) — konturowy jak lupa, koszyk i pinezka */
    --pk-ik-dymek: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 4H18.5A2.5 2.5 0 0 1 21 6.5V14.5A2.5 2.5 0 0 1 18.5 17H11L7 20.5V17H5.5A2.5 2.5 0 0 1 3 14.5V6.5A2.5 2.5 0 0 1 5.5 4Z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- 1a. WSPÓLNE KOMPONENTY (wzorzec: widoki makiety FAQ, Kategoria, Produkt, Rejestracja) ---------- */
/* przyciski: najechanie = ciemniejsza czerwień (IP8 rozjaśnia); „szary” = beż #CFC6BA z ciemnym tekstem; duży 58 px */
.ip-btn-primary:hover, .ip-btn-success:hover { background: var(--bs-primary-darker) !important; border-color: var(--bs-primary-darker) !important; }
.ip-btn-gray { background: var(--bs-gray-400) !important; border-color: var(--bs-gray-400) !important; color: var(--bs-gray-900) !important; }
.ip-btn-gray:hover { background: var(--bs-gray-500) !important; border-color: var(--bs-gray-500) !important; }
button.ip-btn-lg { height: 58px; line-height: 54px; }
/* pola: obrys #A9A196, aktywne i błędne czerwone (IP8: obrys w kolorze tekstu) */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=tel], textarea, select { border-color: var(--bs-gray-500); }
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=number]:focus, input[type=tel]:focus, textarea:focus, select:focus { border-color: var(--bs-primary); outline: 0; box-shadow: none; }
input[type=text].invalid, input[type=password].invalid, input[type=email].invalid, input[type=number].invalid, input[type=tel].invalid, textarea.invalid { border-color: var(--bs-danger); color: var(--bs-gray-900); }
/* pola wyboru: zwykłe zaznaczone na czerwono; IP8 (.input.checkbox) — ciemny obrys, zaznaczony czerwony z białym ptaszkiem */
input[type=checkbox], input[type=radio] { accent-color: var(--bs-primary); }
.input.checkbox label:before { border-color: var(--bs-gray-900); }
.input.checkbox input:checked + label:before { background: var(--bs-primary); border: 1px solid var(--bs-primary); }
.input.checkbox input:checked + label:after { border-color: #fff; }
.input.checkbox.invalid label:before { border-color: var(--bs-danger); }
/* okruszki: w makiecie na podstronach (IP8 je ukrywa) — bez logowania/rejestracji, gdzie makieta ich nie ma; Archivo 14, „/”, ostatni pogrubiony */
body:not(.authorization-view) nav[aria-label="breadcrumb"] { display: block; }
.breadcrumb { font-size: 14px; line-height: 24px; margin-bottom: 0; --bs-breadcrumb-divider-color: var(--bs-gray-600); --bs-breadcrumb-item-padding-x: 7px; }
.breadcrumb-item { font-size: 14px; }
.breadcrumb-item, .breadcrumb-item a { color: var(--bs-gray-600) !important; text-decoration: none; }
.breadcrumb-item a:hover { color: var(--bs-primary) !important; }
.breadcrumb-item:last-child, .breadcrumb-item:last-child a { color: var(--bs-gray-900) !important; font-weight: 700; }
/* zakładki (makieta „IP8 / Zakładka”, tematy FAQ): pigułki 42 px, aktywna czerwona z białym tekstem */
#faqTablist { border-bottom: 0; flex-wrap: wrap !important; justify-content: center; gap: 10px; overflow: visible !important; }
#faqTablist .nav-link {
    height: 42px; padding: 9px 20px !important; border: 1px solid var(--bs-gray-400) !important; border-radius: 21px !important;
    background: #fff !important; color: var(--bs-gray-900) !important; font-size: 15px; font-weight: 500; line-height: 22px;
}
#faqTablist .nav-link:hover { border-color: var(--bs-gray-900) !important; }
#faqTablist li .active { background: var(--bs-primary) !important; border: 1px solid var(--bs-primary) !important; color: #fff !important; }
/* akordeon (makieta „Box FAQ”): białe karty r12 z obrysem #E4DED6; rozwinięta — obrys 2 px czerwony i czerwony „×” */
.accordion-item.rounded-5 { border-radius: 12px !important; border-color: var(--bs-gray-300) !important; overflow: hidden; }
.accordion-item.rounded-5:has(> .accordion-collapse.show) { border-color: var(--bs-primary) !important; box-shadow: inset 0 0 0 1px var(--bs-primary); }
.accordion-item .accordion-header { margin: 21px 30px 20px !important; }   /* makieta 1440: pytanie 35 px od krawędzi karty, ikona 31 px */
.accordion-item .accordion-button, .accordion-item .accordion-button:not(.collapsed) { font-size: 20px !important; line-height: 24px; font-weight: 600; color: var(--bs-gray-900) !important; }
.accordion-item .accordion-button .ip-svg-primary-path-stroke path { stroke: var(--bs-gray-900) !important; }
.accordion-item .accordion-button:not(.collapsed) .ip-svg-primary-path-stroke path { stroke: var(--bs-primary) !important; }
.accordion-item .accordion-button:not(.collapsed) .custom-svg { transform: rotate(45deg); }
/* akordeon na tablecie i telefonie (makieta FAQ 768/390): pytanie Archivo 18/600 do lewej, ikona 20 px po prawej, 16 px od
   krawędzi karty; odpowiedź 15/23 wyrównana do pytania, 12 px pod nim. IP8 na telefonie stawia pytanie i ikonę w kolumnie. */
@media (max-width: 1023px) {
    .accordion-item.my-4 { margin-top: 12px !important; margin-bottom: 12px !important; }   /* odstęp kart 12 px (makieta 768/390; 1440 — 24 jak IP8) */
    .accordion-item .accordion-header { margin: 15px 16px !important; }
    .accordion-item:has(> .accordion-collapse.show) .accordion-header { margin-bottom: 12px !important; }
    .accordion-item .accordion-button, .accordion-item .accordion-button:not(.collapsed) { font-size: 18px !important; line-height: 20px; }
    .accordion-item .accordion-button { flex-direction: row !important; align-items: flex-start !important; justify-content: space-between; gap: 20px; }
    .accordion-item .accordion-button > span { margin: 0 !important; text-align: left !important; }
    .accordion-item .accordion-button > .custom-svg { order: 2; flex: 0 0 20px; width: 20px; height: 20px; margin: 0 !important; line-height: 0; }
    .accordion-item .accordion-button > .custom-svg svg { width: 20px; height: 20px; }
    .accordion-item .accordion-body { padding: 0 16px 15px 17px !important; }
    .accordion-item .accordion-body p { margin: 0 !important; font-size: 15px !important; line-height: 23px; }
    .accordion-item .accordion-body p + p { margin-top: 8px !important; }
}
/* FAQ: karty akordeonu i nagłówek kategorii na siatce makiety — 16 px od krawędzi telefonu, 24 px tabletu (IP8: 15 px
   kontenera strony + 20 px marginesu zakładki = 35 px). Tylko strona FAQ; reszta jej układu — zadanie widoku FAQ. */
@media (max-width: 767px) { #body.controller-faq .tab-content > .tab-pane { margin-left: 1px !important; margin-right: 1px !important; } }
@media (min-width: 768px) and (max-width: 1023px) { #body.controller-faq .tab-content > .tab-pane { margin-left: 9px !important; margin-right: 9px !important; } }

/* ---------- 2. NAGŁÓWEK — wspólne (wszystkie szerokości) ---------- */
/* tło na całą szerokość okna; zamiast białej „karty” IP8 z cieniem i zaokrągleniem */
.headerWrapper { background: var(--ip-header-main-bg); }
.headerWrapper #headerMain.bg-white { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
/* ikony z projektu klienta: maska SVG + kolor tła */
#headerMain .produkty-button::before,
#headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a::before,
#searchMagGlass::before,
#headerMain header-cart .cart-btn::before {
    content: ""; display: inline-block; flex: 0 0 auto; background-color: currentColor;
    -webkit-mask: var(--pk-ik-menu) center / contain no-repeat; mask: var(--pk-ik-menu) center / contain no-repeat;
}
#headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a::before { -webkit-mask-image: var(--pk-ik-klucz); mask-image: var(--pk-ik-klucz); }
#searchMagGlass::before { -webkit-mask-image: var(--pk-ik-lupa); mask-image: var(--pk-ik-lupa); }
#headerMain header-cart .cart-btn::before { -webkit-mask-image: var(--pk-ik-wozek); mask-image: var(--pk-ik-wozek); }
/* pasek „Napisz do nas / Tu jesteśmy” — elementy dokłada widok nagłówka; do czasu przeniesienia ukryte */
.pk-kontakt { color: var(--bs-gray-600); white-space: nowrap; }
.pk-kontakt a { color: var(--bs-gray-900); font-weight: 600; text-decoration: none; }
.pk-kontakt a:hover, #headerMain .custom-navbar.lighter li a:hover { color: var(--bs-primary) !important; }
#headerMain .pk-tu a { color: var(--bs-gray-900) !important; font-weight: 600; display: inline-flex; align-items: center; }
#headerMain .pk-tu svg { flex: 0 0 auto; color: var(--bs-primary); }
/* zastępczy placeholder wyszukiwarki w kolorze makiety */
#searchPrintingHouse::placeholder { color: var(--bs-gray-600); opacity: 1; font-size: inherit; }
/* zalogowany: natywny dymek IP8 „komentarze i powiadomienia” (wiadomości od drukarni) — zostaje, bo to funkcja;
   makieta go nie rysuje, więc wygląda jak reszta paska (kolor linków konta, rozmiar ikony pinezki) */
#headerMain .notifications-and-comments .nav-link { padding: 0 !important; display: flex; align-items: center; }
#headerMain .notifications-and-comments i.fa.fa-comment { color: var(--bs-gray-600); font-size: 16px; line-height: 1; }
#headerMain .notifications-and-comments i.fa.fa-comment::before {   /* zamiast pełnej ikony Font Awesome — kontur jak reszta ikon nagłówka */
    content: ""; display: block; width: 1em; height: 1em; background-color: currentColor;
    -webkit-mask: var(--pk-ik-dymek) center / contain no-repeat; mask: var(--pk-ik-dymek) center / contain no-repeat;
}
#headerMain .notifications-and-comments i.fa.fa-comment:hover { color: var(--bs-primary); }
/* liczniki (koszyk, nieprzeczytane komentarze) = plakietka z makiety 390: 16×15, promień 8, czerwień marki, Archivo 10/700 */
#headerMain header-cart .cartCounter, #headerMain .notifications-and-comments .not-read-number {
    width: auto; min-width: 16px; height: 15px; margin: 0; padding: 0 4px; border-radius: 8px; background: var(--bs-primary) !important;
    color: #fff; font-family: var(--base-font-family); font-size: 10px !important; font-weight: 700; line-height: 15px; text-align: center;
}
#headerMain .notifications-and-comments .not-read-number { top: -7px; right: -11px; bottom: auto; left: auto; }
#headerMain .notifications-and-comments .not-read-number.pk-zero { display: none; }   /* „0” — klasę nadaje widok nagłówka */

/* ---------- 3. NAGŁÓWEK — komputer ≥1024 (makieta 1440: wys. 130, treść 1170) ---------- */
@media (min-width: 1024px) {
    .headerWrapper { box-shadow: inset 0 -1px 0 var(--bs-gray-300); }   /* linia 1 px #E4DED6 na całą szerokość */
    /* siatka: rząd 1 = pasek kontaktu/konta, rząd 2 = logo | Produkty | Usługi | szukaj | koszyk (odstępy 20/12/16/16) */
    #headerMain {
        display: grid !important;
        grid-template-columns: 220px 20px auto 12px auto 16px minmax(0, 1fr) 16px auto;
        grid-template-rows: 16px 46px;
        row-gap: 28px;
        align-items: center;
        font-size: 15px;
    }
    /* .headerWrapper — mocniej niż reguła IP8 „#headerMain {padding 10px !important}” ładowana po tym arkuszu */
    .headerWrapper #headerMain { padding: 16px 0 24px !important; min-height: 130px !important; }
    /* kontenery IP8 „rozpuszczone”, żeby ich elementy stały się polami siatki (oryginalne elementy działają) */
    #headerMain > nav.headerNavbar, #headerMain #navbarsExample07XL, #headerMain .custom-navbar.me-auto,
    #headerMain > .desktop-bot-header, #headerMain > .desktop-bot-header > ul { display: contents !important; }
    #headerMain .desktop-bot-header li { margin: 0 !important; max-width: none !important; }
    #headerMain .pk-kontakt { grid-row: 1; grid-column: 1 / -1; justify-self: start; align-self: start; line-height: 16px; margin-top: 3px; }
    #headerMain .custom-navbar.lighter { grid-row: 1; grid-column: 1 / -1; justify-self: end; align-self: start; flex-direction: row; align-items: center; gap: 24px; margin: 0 !important; line-height: 16px; }
    #headerMain .desktopLogo { grid-row: 2; grid-column: 1; width: 220px; height: 55px; }
    #headerMain li:has(> .btn-group > .produkty-button) { grid-row: 2; grid-column: 3; }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li { grid-row: 2; grid-column: 5; }
    #headerMain .search-container { grid-row: 2; grid-column: 7; }
    #headerMain li:has(> header-cart) { grid-row: 2; grid-column: 9; }
    #headerMain .desktopLogo img { width: 220px; height: 55px; max-width: none !important; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: left center; }
    #headerMain .pk-tu svg { width: 16px; height: 16px; margin-right: 6px; }
}

/* ---------- 4. NAGŁÓWEK — tablet 768–1023 (makieta 768: wys. 104) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
    .headerWrapper { box-shadow: inset 0 -1px 0 var(--bs-gray-300), 0 2px 8px rgba(0, 0, 0, .12); }
    #headerMain {
        display: grid !important;
        grid-template-columns: 140px 16px auto 8px auto 12px minmax(0, 1fr) 12px auto;
        grid-template-rows: 14px 40px;
        row-gap: 25px;
        align-items: center;
        font-size: 12px;
    }
    .headerWrapper #headerMain { padding: 9px 24px 16px !important; min-height: 104px !important; }
    #header-fixer { min-height: 104px !important; }
    #headerMain > nav.headerNavbar, #headerMain #navbarsExample07XL, #headerMain .custom-navbar.me-auto,
    #headerMain > .desktop-bot-header, #headerMain > .desktop-bot-header > ul { display: contents !important; }
    #headerMain .desktop-bot-header li { margin: 0 !important; max-width: none !important; }
    #headerMain .pk-kontakt { grid-row: 1; grid-column: 1 / -1; justify-self: start; line-height: 14px; }
    #headerMain .custom-navbar.lighter { grid-row: 1; grid-column: 1 / -1; justify-self: end; flex-direction: row; align-items: center; gap: 18px; margin: 0 !important; line-height: 14px; }
    #headerMain .custom-navbar.lighter li a { font-size: 12px !important; }
    #headerMain .pk-tu a { font-weight: 700; }
    #headerMain .pk-tu svg { width: 12px; height: 12px; margin-right: 4px; }
    #headerMain .notifications-and-comments i.fa.fa-comment { font-size: 12px; }
    #headerMain .desktopLogo { grid-row: 2; grid-column: 1; width: 140px; height: 38px; }
    #headerMain li:has(> .btn-group > .produkty-button) { grid-row: 2; grid-column: 3; }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li { grid-row: 2; grid-column: 5; }
    /* makieta 768: pole wyszukiwania zamiast samej lupy */
    #headerMain .search-container { grid-row: 2; grid-column: 7; display: block !important; }
    #headerMain li:has(> button[data-bs-target="#searchBar"]) { display: none !important; }
    #headerMain li:has(> header-cart) { grid-row: 2; grid-column: 9; }
    #headerMain .desktopLogo img { width: 140px; height: 38px; max-width: none !important; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: left center; }
    /* menu tabletu (przycisk Produkty) — pod nagłówkiem, przewijane, na całą szerokość */
    #headerMain > .mobile-top-menu.tablet.opened {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
        max-height: calc(100vh - 104px); overflow-y: auto;
        overscroll-behavior: contain;   /* koniec listy nie przewija strony — IP8 zamyka menu przy przewinięciu strony */
        padding: 8px 24px 28px; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .16);
    }
}

/* ---------- 5. Pigułki, wyszukiwarka, koszyk — komputer i tablet ---------- */
@media (min-width: 768px) {
    /* ukryte w nagłówku: natywne „Logowanie” z tarczą (zastępują je „Zaloguj się/Załóż konto”), reszta menu górnego (jest w menu tabletu/telefonu) */
    #headerMain .ip-login-register-btn-group,
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li ~ li { display: none !important; }
    #headerMain .custom-navbar.lighter li a { padding: 0 !important; font-size: 15px; line-height: inherit; }
    /* Produkty i Usługi — białe pigułki z obrysem #CFC6BA */
    #headerMain .produkty-button,
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a {
        display: inline-flex !important; align-items: center; gap: 10px;
        height: 46px; max-width: none; padding: 0 20px !important;
        background: #fff !important; color: var(--bs-gray-900) !important;
        border: 1px solid var(--bs-gray-400) !important; border-radius: 23px !important;
        font-size: 15px !important; font-weight: 600 !important; line-height: 1; white-space: nowrap; text-decoration: none;
    }
    #headerMain .produkty-button::before, #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a::before { width: 18px; height: 18px; }
    #headerMain .produkty-button::after, #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a::after { display: none !important; }
    #headerMain .produkty-button, #headerMain header-cart .cart-btn { min-height: 0 !important; }   /* IP8: min-height 45 !important */
    #headerMain .produkty-button:hover, #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a:hover { border-color: var(--bs-gray-900) !important; }
    /* menu Produkty otwarte — obrys jak w makiecie (stan „menu Produkty rozwinięte”: jasny, także pod kursorem) */
    #headerMain:has(.menu-ul.opened) .produkty-button { border-color: var(--bs-gray-400) !important; }
    /* wyszukiwarka: pigułka z ciemnym przyciskiem lupy */
    /* pigułka przycina pole i przycisk razem (bez jasnej szczeliny na łuku) */
    #headerMain .search-container { max-width: none !important; position: relative; overflow: hidden; border-radius: 23px; }
    /* #headerMain + !important: IP8 daje wszystkim polom „input {border-radius: 16px !important}” */
    #headerMain #searchPrintingHouse {
        height: 46px; padding: 0 70px 0 17px; border: 1px solid var(--bs-gray-900); border-radius: 23px !important;
        font-size: 15px; color: var(--bs-gray-900); background: #fff; box-shadow: none;
    }
    #searchMagGlass {
        position: absolute; top: 0; right: 0; width: 54px; height: 46px; margin: 0;
        display: flex; align-items: center; justify-content: center; cursor: pointer;
        background: var(--bs-gray-900); color: #fff; border-radius: 0;
    }
    #searchMagGlass::before { width: 20px; height: 20px; }
    #searchMagGlass > svg { display: none; }
    #searchMagGlass:hover { background: var(--bs-gray-700); }
    /* koszyk: pigułka z czerwonym obrysem, wózek z projektu klienta, kwota */
    #headerMain header-cart .cart-btn {
        display: inline-flex !important; align-items: center; gap: 10px; width: auto !important;
        height: 46px; padding: 0 20px !important; border: 2px solid var(--bs-primary) !important; border-radius: 23px !important;
        background: #fff !important; color: var(--bs-primary) !important; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap;
    }
    #headerMain header-cart .cart-btn::before { width: 22px; height: 22px; }
    #headerMain header-cart .cart-btn > svg.cartIconSvg { display: none; }
    #headerMain header-cart .cartPriceSummary, #headerMain header-cart .cartPriceSummary * { color: var(--bs-primary) !important; font-size: 15px !important; font-weight: 700; }
    #headerMain header-cart .cart-btn:hover { background: var(--bs-gray-100) !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    #headerMain .custom-navbar.lighter li a { font-size: 12px !important; }
    #headerMain .produkty-button, #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a { height: 40px; padding: 0 15px !important; border-radius: 20px !important; font-size: 14px !important; }
    #headerMain .produkty-button { gap: 8px; }
    #headerMain .produkty-button::before { width: 14px; height: 12px; -webkit-mask-image: var(--pk-ik-menu-768); mask-image: var(--pk-ik-menu-768); }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li > a { gap: 4px; }
    #headerMain #searchPrintingHouse { height: 40px; padding: 0 56px 0 17px; border-radius: 20px !important; font-size: 14px; }
    #headerMain .search-container { border-radius: 20px; }
    #searchMagGlass { width: 46px; height: 40px; }
    #searchMagGlass::before { width: 16px; height: 16px; -webkit-mask-image: var(--pk-ik-lupa-768); mask-image: var(--pk-ik-lupa-768); }
    /* makieta 768: obrys 1 px, natywna ikona wózka z plusem, pole min. 130, kwota wyśrodkowana w miejscu za wózkiem */
    #headerMain header-cart .cart-btn { height: 40px; min-width: 130px; padding: 0 15px !important; gap: 8px; border-width: 1px !important; border-radius: 20px !important; font-size: 14px; }
    #headerMain header-cart .cart-btn::before { display: none; }
    #headerMain header-cart .cart-btn > svg.cartIconSvg { display: block; position: static; transform: none; width: 24px; height: 24px; flex: 0 0 auto; }
    #headerMain header-cart .cartPriceSummary { flex: 1 1 auto; text-align: center; }
    #headerMain header-cart .cartPriceSummary, #headerMain header-cart .cartPriceSummary * { font-size: 14px !important; }
}

/* ---------- 6. Stan po przewinięciu (IP8 dodaje .wrapped po 81 px) — tylko rząd z logo i wyszukiwarką ---------- */
@media (min-width: 769px) {
    .headerWrapper.wrapped #headerMain { min-height: 0 !important; grid-template-rows: 0 46px; row-gap: 0; padding-top: 12px !important; padding-bottom: 12px !important; }
    .headerWrapper.wrapped #headerMain .pk-kontakt, .headerWrapper.wrapped #headerMain .custom-navbar.lighter { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .headerWrapper.wrapped #headerMain { grid-template-rows: 0 40px; padding-top: 10px !important; padding-bottom: 10px !important; }
}

/* ---------- 7. MEGAMENU PRODUKTY — komputer (makieta: 318 grupy + 852 produkty, cień, przyciemnienie strony) ---------- */
@media (min-width: 1024px) {
    #headerMain ul#main-top-menu {
        top: 100%; left: 0; width: 100%; max-width: none; min-height: 0;
        padding: 20px 8px 20px 15px; border-radius: 0 0 8px 8px;
        background: linear-gradient(to right, #fff 318px, var(--bs-gray-100) 318px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, .16), 0 0 0 100vmax rgba(0, 0, 0, .4);
        clip-path: inset(0 -100vmax -100vmax -100vmax);
    }
    #headerMain ul#main-top-menu > li { width: 295px; }
    #headerMain ul#main-top-menu > li > a, #headerMain ul#main-top-menu > li > h3 {
        padding: 10.5px 20px 10.5px 0 !important; font-size: 14px; line-height: 20px; color: var(--bs-gray-900); font-weight: 400;
    }
    #headerMain ul#main-top-menu > li > a::after, #headerMain ul#main-top-menu > li > h3::after {
        right: 0; top: 50%; transform: translateY(-50%); border-top-width: 4.5px; border-bottom-width: 4.5px; border-left: 7px solid var(--bs-gray-600);
    }
    #headerMain ul#main-top-menu:not(:has(> li:hover)) > li:first-child > a,
    #headerMain ul#main-top-menu > li:hover > a { color: var(--bs-primary); font-weight: 700; }
    #headerMain ul#main-top-menu:not(:has(> li:hover)) > li:first-child > a::after,
    #headerMain ul#main-top-menu > li:hover > a::after { border-left-color: var(--bs-primary); }
    /* panel produktów aktywnej grupy */
    #headerMain ul#main-top-menu > li.item > .menu-header-wrapper {
        left: 318px; right: 0; width: auto; top: 0; bottom: 0;
        padding: 22px 29px; background: var(--bs-gray-100); box-shadow: none; border-radius: 0 0 8px 0;
    }
    #headerMain ul#main-top-menu > li.item > .menu-header-wrapper > ul { min-height: 0 !important; }
    #headerMain ul#main-top-menu > li.item > .menu-header-wrapper > ul a {
        padding: 5.5px 0; font-size: 14px; line-height: 20px; color: var(--bs-gray-600); opacity: 1;
    }
    #headerMain ul#main-top-menu > li.item > .menu-header-wrapper > ul a:hover { color: var(--bs-primary); }
}

/* ---------- 8. NAGŁÓWEK — telefon <768 (makieta 390: wys. 72, logo | lupa | koszyk | ≡) ---------- */
@media (max-width: 767px) {
    /* makieta 390: pasek z dolnymi rogami 8 px i cieniem 0 2 8 — przy otwartym menu cień paska leży na menu.
       Cień rysuje pseudo-element paska (pasek jest w DOM po menu, więc maluje się nad nim). */
    .headerWrapper { box-shadow: none; border-radius: 0 0 8px 8px; }
    #headerMain > .desktop-bot-header::before {
        content: ""; position: absolute; top: 0; bottom: 0; left: -16px; right: -16px;
        border-radius: 0 0 8px 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); pointer-events: none;
    }
    #headerMain { padding: 0 16px !important; min-height: 72px !important; }
    #header-fixer { min-height: 72px !important; }
    #headerMain > .desktop-bot-header > ul { height: 72px; column-gap: 26px; }
    #headerMain .desktop-bot-header li { margin: 0 !important; padding: 0 !important; }
    #headerMain .desktopLogo { width: auto; height: auto; }
    #headerMain .desktop-bot-header li.desktopLogo { margin-right: auto !important; }
    #headerMain .desktopLogo .navbar-brand { height: auto; }
    #headerMain .desktopLogo img { width: 140px; height: 38px; max-width: none !important; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: left center; }
    /* lupa (otwiera natywne pole #searchBar) — rysunek z makiety 390 zamiast ikony IP8 */
    #headerMain li:has(> button[data-bs-target="#searchBar"]) { display: block !important; }
    #headerMain button[data-bs-target="#searchBar"] { width: 24px; height: 24px; padding: 0 !important; border: 0 !important; background: transparent !important; display: flex; align-items: center; justify-content: center; }
    #headerMain button[data-bs-target="#searchBar"] svg { display: none; }
    #headerMain button[data-bs-target="#searchBar"]::before {
        content: ""; flex: 0 0 auto; width: 24px; height: 24px; background-color: var(--bs-gray-900);
        -webkit-mask: var(--pk-ik-lupa-390) center / contain no-repeat; mask: var(--pk-ik-lupa-390) center / contain no-repeat;
    }
    /* koszyk: sama czerwona ikona (bez kółka); licznik w prawym górnym rogu */
    #headerMain header-cart .cart-btn { width: 24px !important; height: 24px; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; display: block; }
    #headerMain header-cart .cart-btn::before { display: none; }
    #headerMain header-cart a.cart-btn .cartIconSvg { left: 0; width: 24px; height: 24px; }
    #headerMain header-cart .cartCounter { top: 0; left: 100%; }
    /* zalogowany: dymek komentarzy IP8 w pasku jako ikona 24 px jak lupa i koszyk (IP8: 40 px — spychał „≡” poza ekran) */
    #headerMain .user-comments-mobile .nav-link { padding: 0 !important; }
    #headerMain .user-comments-mobile .notifications-and-comments i.fa.fa-comment { font-size: 21px; color: var(--bs-gray-900); }
    /* ≡ ciemne 18×2, po otwarciu czerwony krzyżyk */
    #headerMain .hamburgerWrap.navbar-toggler { width: 24px; height: 24px; margin: 0; padding: 0 !important; }
    #headerMain .hamburgerWrap.navbar-toggler span { left: 3px; width: 18px; height: 2px; border-radius: 1px; background-color: var(--bs-gray-900); }
    #headerMain .hamburgerWrap.navbar-toggler span:nth-child(1) { top: 6px; }
    #headerMain .hamburgerWrap.navbar-toggler span:nth-child(2), #headerMain .hamburgerWrap.navbar-toggler span:nth-child(3) { top: 11px; }
    #headerMain .hamburgerWrap.navbar-toggler span:nth-child(4) { top: 16px; }
    #headerMain .hamburgerWrap.navbar-toggler:not(.collapsed) span { background-color: var(--bs-primary); }
    #headerMain .hamburgerWrap.navbar-toggler:not(.collapsed) span:nth-child(1), #headerMain .hamburgerWrap.navbar-toggler:not(.collapsed) span:nth-child(4) { top: 11px; width: 0; left: 12px; }
    /* pole po kliknięciu lupy — beżowe jak w menu */
    #headerMain #searchBar { margin: 0 0 16px !important; }
    /* pasek kontaktu i linki „Tu jesteśmy / Zaloguj się / Załóż konto” tylko od tabletu w górę */
    .pk-kontakt, #headerMain .pk-desktop { display: none !important; }
}

/* ---------- 9. MENU TELEFONU (≡) i MENU TABLETU (Produkty) — makieta „Megamenu mobile” ---------- */
@media (max-width: 767px) {
    #headerMain #navbarsExample07XL { padding: 16px 0 28px !important; }
    #headerMain #navbarsExample07XL > form { padding: 0 !important; margin: 0 0 16px !important; }
    /* PRODUKTY — etykieta, lista grup zawsze widoczna */
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none > a.produkty-button {
        display: block; padding: 0 !important; margin: 0 0 16px; pointer-events: none; min-height: 0 !important;
        font-size: 13px !important; line-height: 14px; font-weight: 700 !important; text-transform: uppercase; color: var(--bs-gray-600) !important;
    }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none > a.produkty-button::after { display: none; }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none > .mobile-top-menu.mobile { display: block !important; }
    /* MENU — etykieta przed pierwszą zwykłą pozycją (pierwsza pozycja menu górnego = „Usługi”, w menu telefonu ukryta jak w makiecie) */
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li { display: none !important; }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li + li::before { content: "Menu"; }
    #headerMain .custom-navbar.me-auto > li.w-100.d-md-none + li + li::before,
    #headerMain .custom-navbar.me-auto > li > h3 {
        display: block; margin: 0 0 16px; padding: 16px 0 0 !important; border-top: 1px solid var(--bs-gray-200);
        font-size: 13px !important; line-height: 14px; font-weight: 700 !important; text-transform: uppercase; color: var(--bs-gray-600) !important;
    }
    #headerMain .custom-navbar.me-auto > li > h3::after { display: none; }
    /* zwykłe pozycje i pozycje grupy „Pomoc” */
    #headerMain .custom-navbar.me-auto > li:not(.w-100) > a,
    #headerMain .custom-navbar.me-auto .sub > li > a,
    #headerMain .custom-navbar.lighter > li > a {
        display: block; padding: 11px 0 !important; margin: 0 0 16px; font-size: 16px !important; line-height: 17px; font-weight: 400 !important; color: var(--bs-gray-900) !important;
    }
    #headerMain .custom-navbar.me-auto > li:not(.w-100) > a.active { color: var(--bs-primary) !important; }
    #headerMain .custom-navbar.me-auto .sub, #headerMain .custom-navbar.me-auto .sub.showSubMenu {
        display: block !important; position: static; padding: 0; margin: 0; border: 0; list-style: none; background: transparent;
    }
    #headerMain .custom-navbar.me-auto .sub > li { padding: 0; }
    /* konto (Logowanie / Panel / Wyloguj) — pod menu, po linii */
    #headerMain .custom-navbar.lighter { border-top: 1px solid var(--bs-gray-200); padding-top: 16px; }
    #headerMain .custom-navbar.lighter svg { display: none; }
    /* wyszukiwarka w menu: beżowe pole z szarą lupą */
    #headerMain #navbarsExample07XL > form input[name=phrase], #headerMain #searchBar input[name=phrase] {
        height: 46px; padding: 0 48px 0 16px !important; border: 1px solid var(--bs-gray-300); border-radius: 16px !important;
        background: var(--bs-gray-100); font-size: 16px; color: var(--bs-gray-900); box-shadow: none;
    }
    #headerMain #navbarsExample07XL > form input[name=phrase]::placeholder, #headerMain #searchBar input[name=phrase]::placeholder { color: var(--bs-gray-600); opacity: 1; }
    #headerMain #navbarsExample07XL > form .searchMagGlass { right: 16px; top: 50%; transform: translateY(-50%); padding: 0; line-height: 0; }
    #headerMain #navbarsExample07XL > form .searchMagGlass svg { width: 18px; height: 18px; }
    #headerMain #navbarsExample07XL > form .searchMagGlass svg path { fill: var(--bs-gray-600) !important; }
}
/* grupy produktów (telefon i tablet): wiersz 48, pigułka „rozwiń/zwiń”, produkty w beżowym boksie */
.headerWrapper ul.mobile-top-menu { padding: 0; margin: 0; box-shadow: none; }
.headerWrapper ul.mobile-top-menu > li.item { position: relative; margin: 0 0 16px; }
.headerWrapper ul.mobile-top-menu > li.item > a, .headerWrapper ul.mobile-top-menu > li.item > h3 {
    display: block; padding: 12px 92px 12px 0 !important; margin: 0; font-size: 16px !important; line-height: 24px; font-weight: 400 !important; color: var(--bs-gray-900) !important;
}
.headerWrapper ul.mobile-top-menu > li.item.opened-list > a, .headerWrapper ul.mobile-top-menu > li.item.opened-list > h3 { color: var(--bs-primary) !important; font-weight: 700 !important; }
.headerWrapper ul.mobile-top-menu li.item .menu-arrow {
    right: 0; top: 24px; height: 24px; min-width: 0; padding: 0 10px 0 12px; gap: 6px;
    border-radius: 50px; background: var(--bs-gray-200); color: var(--bs-gray-600); font-size: 12px; font-weight: 700; line-height: 1;
}
.headerWrapper ul.mobile-top-menu li.item .menu-arrow:hover { background: var(--bs-gray-300); color: var(--bs-gray-900); }
.headerWrapper ul.mobile-top-menu li.item .menu-arrow::after {
    width: 6px; height: 6px; margin: 0 3px 0 4px; border: 0; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg);
}
.headerWrapper ul.mobile-top-menu li.item.opened-list > .menu-arrow { background: var(--bs-primary); color: #fff; }
.headerWrapper ul.mobile-top-menu li.item.opened-list > .menu-arrow::after { transform: translateY(-2px) rotate(45deg); }
.headerWrapper ul.mobile-top-menu li.item > ul {
    margin: 16px 0 0 !important; padding: 8px 16px !important; border-radius: 8px; background: var(--bs-gray-200) !important; box-shadow: none !important;
}
.headerWrapper ul.mobile-top-menu li.item > ul a {   /* waga 400 jak w makiecie — IP8 na telefonie: .custom-navbar li a {500 !important} */
    display: block; padding: 8px 0 !important; font-size: 15px !important; line-height: 16px; font-weight: 400 !important; color: var(--bs-gray-900) !important;
}
.headerWrapper ul.mobile-top-menu li.item > ul a:hover, .headerWrapper ul.mobile-top-menu .pk-sekcja a:hover { color: var(--bs-primary) !important; }
/* sekcje menu tabletu dokładane przez widok nagłówka: wyszukiwarka, PRODUKTY, MENU, POMOC */
.headerWrapper ul.mobile-top-menu .pk-etykieta { display: block; margin: 0 0 16px; font-size: 13px; line-height: 14px; font-weight: 700; text-transform: uppercase; color: var(--bs-gray-600); }
.headerWrapper ul.mobile-top-menu .pk-sekcja { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--bs-gray-200); }
.headerWrapper ul.mobile-top-menu .pk-sekcja ul { list-style: none; padding: 0; margin: 0; }
.headerWrapper ul.mobile-top-menu .pk-sekcja a { display: block; padding: 11px 0 !important; margin: 0 0 16px; font-size: 16px !important; line-height: 17px; color: var(--bs-gray-900) !important; text-decoration: none; }
.headerWrapper ul.mobile-top-menu .pk-szukaj { list-style: none; margin: 0 0 16px; }
.headerWrapper ul.mobile-top-menu .pk-szukaj form { position: relative; margin: 0; padding: 0; }
.headerWrapper ul.mobile-top-menu .pk-szukaj input[name=phrase] {
    width: 100%; height: 48px; padding: 0 48px 0 16px !important; border: 1px solid var(--bs-gray-300); border-radius: 16px !important;
    background: var(--bs-gray-100); font-size: 16px; color: var(--bs-gray-900); box-shadow: none;
}
.headerWrapper ul.mobile-top-menu .pk-szukaj input[name=phrase]::placeholder { color: var(--bs-gray-600); opacity: 1; }
.headerWrapper ul.mobile-top-menu .pk-szukaj .searchMagGlass { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); padding: 0; line-height: 0; background: transparent; border: 0; }
.headerWrapper ul.mobile-top-menu .pk-szukaj .searchMagGlass svg { width: 18px; height: 18px; }
.headerWrapper ul.mobile-top-menu .pk-szukaj .searchMagGlass svg path { fill: var(--bs-gray-600) !important; }

/* ---------- 10. Stopka: wygląd w widoku „[...DEV...] POSkładani24 — stopka”; tu tylko znak pod newsletterem (favikona,
   IP8 bierze ją z ustawień) w rozmiarze sprzed zmiany — na wypadek odpięcia widoku stopki ---------- */
#newsletter img.mx-auto.my-5.d-block { width: auto; height: 47px; }
