.productSectionClass {
    margin-left: 3rem !important;
}

.category-desc a img {}

.mobile-category-toggle {
    display: none;
}

.carousel-mobile {
    display: none;
}

.qf2form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 400px;
}

.form-control {
    box-sizing: border-box;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-lg {
    width: 350px;
    height: 30px;
}

.input-file {
    width: 300px;
    padding: 4px 8px;
    font-size: 0.875rem;
}

.textarea-lg {
    width: 350px;
    height: 100px;
}


.qf2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.qf2label {
    margin: 0 !important;
}

.qf2 label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    width: 100% !important;
}

.qf2 input[type="text"],
.qf2 input[type="email"],
.qf2 input[type="tel"],
.qf2 select {
    width: 100% !important;
    max-width: 100%;
    height: 40px;
    /* USTALONA WYSOKOŚĆ */
    padding: 8px 12px;
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.qf2 textarea {
    width: 100% !important;
    max-width: 100%;
    height: 100px;
    /* Możesz zmienić, jeśli ma być tak samo */
    padding: 8px 12px;
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

/* Checkboxy nadal poziomo */
.qf2.qfcheckbox {
    flex-direction: row;
    align-items: flex-start;
}

.qf2.qfcheckbox input[type="checkbox"] {
    margin-top: 3px;
}

.qf2.qfcheckbox label {
    margin-left: 10px;
    font-size: 0.9rem;
}

.input-lg,
.input-file,
.textarea-lg {
    width: 100% !important;
}


.qf2form {
    max-width: 100%;
    /* padding: 0 10px; */
}

.popupClass {
    background: #000;
    /* pomarańczowy */
    /* max-width:800px; */
    margin: 1% auto;
    border-radius: 8px;
    overflow: hidden;
    /* żeby górny pasek ładnie się zgrywał */
    position: relative;
}

.breadcrumb>.active {
    color: #fc2624 !important;
}

.breadcrumb>.active a span {
    color: #fc2624 !important;
}

@media (max-width: 768px) {
    .span4 {
        margin-top: 50px !important;
    }

    .col-12.d-flex {
        justify-content: center !important;
        /* wyśrodkuj flexowo zawartość */
        padding-left: 0 !important;
        /* usuń ewentualne przesunięcia paddingiem */
        padding-right: 0 !important;
    }

    .popupClass {
        background: #000;
        /* pomarańczowy */
        max-width: 400px;
        margin: 1% auto !important;
        border-radius: 8px;
        overflow: hidden;
        /* żeby górny pasek ładnie się zgrywał */
        position: relative;
    }

    .contactClass {
        margin-top: 15px !important;
    }

    h3,
    h2.menutitle {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    .mobile-center {
        justify-content: center;
        /* wyśrodkuj elementy w rzędzie */
    }

    .mobile-center>div {
        justify-content: center;
        /* wyśrodkuj zawartość kolumn */
        max-width: 100%;
        /* zajmij pełną szerokość */
    }

    .mobile-center .carousel-post-wrapper {
        align-items: center;
        /* wyśrodkuj elementy flex w kolumnie */
        text-align: center;
        /* wyśrodkuj tekst */
    }

    .carousel-post-text {
        border-top: 2px solid #000;
        /* pozioma kreska */
        padding-top: 10px;
        /* odstęp między linią a tekstem */
        margin-top: 10px;
        /* odstęp między obrazkiem a kreską */
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        /* wyśrodkowanie tekstu */
    }

    .carousel-post-wrapper {
        border-bottom: 1px solid #ddd;
        /* delikatna kreska */
        padding-bottom: 15px;
        /* trochę odstępu pod postem */
        margin-bottom: 15px;
        /* odstęp między postami */
        width: 100%;
    }


    .qf2 {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .qf2label {
        margin: 0 !important;
    }

    .qf2 label {
        margin-bottom: 0.5rem;
        font-weight: 500;
        width: 100% !important;
    }

    .qf2 input[type="text"],
    .qf2 input[type="email"],
    .qf2 input[type="tel"],
    .qf2 select {
        width: 100% !important;
        max-width: 100%;
        height: 40px;
        /* USTALONA WYSOKOŚĆ */
        padding: 8px 12px;
        font-size: 1rem;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .qf2 textarea {
        width: 100% !important;
        max-width: 100%;
        height: 100px;
        /* Możesz zmienić, jeśli ma być tak samo */
        padding: 8px 12px;
        font-size: 1rem;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
        resize: vertical;
    }

    /* Checkboxy nadal poziomo */
    .qf2.qfcheckbox {
        flex-direction: row;
        align-items: flex-start;
    }

    .qf2.qfcheckbox input[type="checkbox"] {
        margin-top: 3px;
    }

    .qf2.qfcheckbox label {
        margin-left: 10px;
        font-size: 0.9rem;
    }

    .input-lg,
    .input-file,
    .textarea-lg {
        width: 100% !important;
    }


    .qf2form {
        max-width: 100%;
        padding: 0 10px;
    }

    .carousel-desktop {
        display: none !important;
    }

    .carousel-mobile {
        display: block !important;
    }

    .container {
        padding-top: 0 !important;
    }

    .mobile-category-toggle {
        display: block;
        padding: 10px;
        margin-bottom: 10px;
    }

    .product-name-box {
        margin-bottom: 20px !important;
    }

    .category-item {
        padding-bottom: 30px !important;
    }


    .productDescriptionBody table {
        width: 100%;
        /* border-collapse: collapse; */
        overflow-x: auto;
        display: block;
        /* ważne dla responsywności */
    }

    .productDescriptionBody table tbody {
        width: 100%;
        display: block;
        /* ważne dla responsywności */
    }

    .productDescriptionBody table tbody tr {
        width: 100%;
        display: block;
        /* ważne dla responsywności */
    }

    .productDescriptionBody table tbody tr td {
        width: 49%;
        display: inline-block;
        /* ważne dla responsywności */
    }

    .productDescriptionBody table td,
    .productDescriptionBody table th {
        padding: 10px;
        border: 1px solid #ccc;
    }

    .productDetailsTTable,
    .productDetailsTTable thead,
    .productDetailsTTable tbody,
    .productDetailsTTable th,
    .productDetailsTTable td,
    .productDetailsTTable tr {
        display: block;
        width: 100%;
    }

    .productDetailsTTable thead {
        display: none;
        /* ukryj nagłówki */
    }

    .productDetailsTTable td {
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    .productDetailsTTable td::before {
        position: absolute;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        content: attr(data-label);
        /* dodaj np. "Cena:", "Nazwa:" itd. */
    }

    .hamburgerSub {
        font-size: 18px;
        cursor: pointer;
        background-color: #ff2f18;
        /* ciemniejszy pomarańcz */
        color: white;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        font-weight: bold;
    }

    #mobileMenu {
        display: none !important;
        background-color: #000 !important;
        padding: 0;
        margin: 0;
        border-radius: 5px;
        overflow: hidden;
    }

    #mobileMenu.active {
        display: block !important;
    }

    #mobileMenu li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    #mobileMenu li:first-child {
        border-top: none;
    }

    #mobileMenu li a {
        display: block;
        padding: 5px 15px;
        text-decoration: none;
        color: white !important;
        font-weight: 500;
    }

    #mobileMenu li a:hover {
        background-color: #ff2f18;
        /* ciemniejszy hover */
    }






    .productSectionClass {
        margin-left: 0 !important;
    }

    /* Główny wrapper – zmiana kierunku flexa */
    div[style*="display: flex; gap: 30px;"] {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Sidebar: przeniesienie na dół */
    #left_column {
        order: 2 !important;
        margin-left: 0 !important;
        padding: 10px !important;
        background-color: #f9f9f9 !important;
        border-top: 1px solid #ddd !important;
        display: none;
    }

    .menu {
        width: 100%;
    }

    .menu li a {
        width: 100% !important;
    }

    /* (lub całkowite ukrycie sidebaru) */
    /* #left_column {
    display: none !important;
  } */

    /* Zawartość item-page – pionowo */
    .item-page.produkt>div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: stretch !important;
    }

    /* Zdjęcie produktu na górę */
    .item-page.produkt .category-item {
        order: -1 !important;
        align-self: center !important;
        text-align: center !important;
        padding: 0 !important;
        border: none !important;
    }

    .item-page.produkt .item-image img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Lewa kolumna z treścią – pełna szerokość */
    .item-page.produkt>div>div[style*="flex-basis"] {
        width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
    }

    /* Tabela – przewijanie, jeśli szeroka */
    .item-page.produkt table {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
    }

    .moduletable.oferta_home {
        padding-left: 0 !important;
        text-align: center !important;
    }

    .moduletable.oferta_home h4 {
        margin: 10px auto !important;
        /* góra/dół = 10px, automatyczne wyrównanie poziome */
        padding: 0 !important;
        display: block !important;
        height: 38px !important;
    }

    .moduletable.oferta_home h4 a {
        display: inline-block !important;
        text-align: center !important;
    }

    .moduletable.oferta_home h4 a span {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .nav.menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav.menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 28px;
        padding: 10px;
        user-select: none;
    }
}


/* Podstawowy styl linków i ikon */
.responsive-link {
    display: block;
    text-align: center;
}

.responsive-icon {
    margin: 0 auto 5px;
    width: 45px;
    height: auto;
}

/* Styl tekstu, aby był responsywny */
.responsive-text {
    display: block;
    width: 100%;
    max-width: 700px;
    /* Maksymalna szerokość dla dużych ekranów */
    margin: 0 auto;
    font-size: 1.5rem;
}

/* Media Queries — płynne zmniejszanie */
.custom.oferta_home.oferta-cst h4 {
    text-align: center;
}

.custom.oferta_home.oferta-cst h4 a {
    display: block;
    text-align: center;
}

.custom.oferta_home.oferta-cst h4 a img {
    margin: 0 auto 5px;
    width: 45px;
}

.custom.oferta_home.oferta-cst h4 a span {
    display: block;
    width: 700px;
    /* zachowujemy dla dużych ekranów */
}

/* RESPONSYWNOŚĆ — tylko poniżej 700px */
@media (max-width: 700px) {

    .custom.oferta_home.oferta-cst h4 a span {
        width: 90% !important;
        /* dopasowanie szerokości */
        font-size: 1rem !important;
        margin: 0 auto;
    }

    .custom.oferta_home.oferta-cst h4 a img {
        width: 35px !important;
        /* mniejsze ikony */
    }

}

@media (max-width: 770px) {
    #over_banner {
        height: 100%;
        padding-left: 20px;
        /* ustaw swoją wysokość */
    }

    .custom.oferta_home.oferta-cst h4 {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Upewnij się, że linki są wyśrodkowane */
    .custom.oferta_home.oferta-cst h4 a {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


@media (max-width: 768px) {

    /* Wyśrodkowanie nagłówka */
    #carouselExample h3 {
        text-align: center !important;
        margin-bottom: 20px;
        /* odstęp od carousel */
    }

    /* Odstęp i wyśrodkowanie zdjęć */
    #carouselExample .carousel-inner .row {
        gap: 20px;
        /* odstęp między kolumnami w pionie */
        justify-content: center;
        /* wyśrodkowanie w poziomie */
    }

    #carouselExample .carousel-inner .col-md-4 {
        display: flex;
        justify-content: center;
        /* wyśrodkowanie obrazów poziomo */
        margin-bottom: 20px;
        /* odstęp między wierszami */
    }

    #carouselExample .carousel-inner img {
        width: 90%;
        height: auto;
    }
}

@media (max-width: 1000px) {
    .responsive-grid {
        flex-direction: column;
        align-items: center;
    }

    h1 span {
        font-size: 14pt !important;
    }
}


.responsive-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.responsive-grid .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 280px;
}

.responsive-grid .text {
    text-align: center;
}

@media (min-width: 1000px) {
    .responsive-grid {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .responsive-grid .item {
        flex-direction: column;
        margin-bottom: 0;
    }
}


@media (max-width: 500px) {
    #over_main_container .container {

        display: flex;
        flex-direction: column;
    }

    .form-container {
        order: 99;
        /* ustawia formularz na końcu */
    }

    .footer_img {
        width: 350px !important;
        margin: auto;
    }

    .navigation .nav.menu li a {
        margin: auto !important;

    }



}

.custom.pull-left .fb-footer-icon {
    width: 21px !important;
    height: 20px !important;
    border-radius: 5px;
}

@media (max-width: 500px) {
    .generatory-images {
        flex-direction: column !important;
        align-items: center;
    }

    .generatory-images a {
        margin-bottom: 10px;
    }
}


/* @media screen and (max-width: 1000px) {

    .qf2 input[type="text"],
    .qf2 input[type="email"],
    .qf2 select,
    .qf2 textarea {
        width: 9rem !important;
    }
} */
/* Globalne style */
.ask_button_style {
    width: 250px !important;
}

/* Oryginalne style menu */
.navigation {
    background-color: #000;
    padding: 0;
    text-align: center !important;
}

.leftSideMenu li a {
    width: 200px !important;
}

/* Kontener listy menu - Domyślne wyświetlanie na dużych ekranach (poziomo) */
.nav.menu {
    margin: 0 auto !important;
    display: table !important;
}

.header .navigation ul>li.parent {
    height: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.nav-child li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-child li a img {
    width: 30px;
    height: 30px;
    position: relative;
    top: -0.5rem;
}

.nav-child {
    margin-top: -5px !important;
}

.colored-icon {
    filter: brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(2081%) hue-rotate(10deg) brightness(101%) contrast(104%);
}

/* ------------------------------------------------------------------ */
/* REGUŁY CSS DLA OBSŁUGI BREAKPOINTU 1000PX */
/* ------------------------------------------------------------------ */

@media (max-width: 999.98px) {
    .navigation {
        min-height: 40px;
        /* domyślnie możesz dać np. 60px albo więcej */
        display: flex;
        align-items: center;
        /* margin-bottom: 50px; */
        /* żeby hamburger był wyśrodkowany w pionie */
    }

    .header .navigation ul>li.parent>a::after,
    .header .navigation ul>li.parent>.nav-header::after {
        content: " ▼";
        /* strzałka V */
        font-size: 0.8em;
        /* margin-left: 5px; */
    }

    .header .navigation ul.nav.menu>li.parent>ul.nav-child {
        display: none !important;
    }

    .header .navigation ul.nav.menu>li.parent.active>ul.nav-child {
        display: block !important;
    }

    .navigation .nav.menu .nav-header {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin-left: auto;
        line-height: 38px !important;
        box-sizing: border-box;
    }



    /* 1. Ukryj domyślnie mobilne menu */
    .navigation .nav.menu {
        display: none !important;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .navigation nav[role="navigation"] {
        display: block;
        width: 100%;
    }

    .navigation .nav.menu .divider {
        display: none;
    }

    /* Pokaż przycisk hamburgera */
    .hamburger-button {
        display: block !important;
        margin: 5px auto 5px 15px !important;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Ikona hamburgera - 3 kreski */
    .hamburger-icon {
        display: block;
        position: relative;
        width: 25px;
        height: 2px;
        background-color: #fff;
    }

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 2px;
        background-color: #fff;
        left: 0;
        transition: 0.3s;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

    /* Zmiana hamburgera w X */
    .navigation.menu-open .hamburger-icon {
        background-color: transparent;
    }

    .navigation.menu-open .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navigation.menu-open .hamburger-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Elementy listy menu pełna szerokość */
    .navigation .nav.menu li {
        width: 100%;
        text-align: center;
        /* wyrównanie linków */
        padding: 0;
        /* reset paddingu */
        margin: 0;
        /* reset marginesu */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navigation .nav.menu li a {
        display: block;
        padding: 10px 0;
        /* jednolita wysokość linków */
        text-align: center;
        /* wyrównanie tekstu */
        width: 100%;
        box-sizing: border-box;
    }

    .navigation .nav.menu li:last-of-type {
        border-bottom: none;
    }

    /* Desktopowe przyciski ukryte */
    .ask-buttons.desktop-only {
        display: none !important;
    }

    /* Mobilne przyciski ukryte domyślnie */
    .ask-buttons.mobile-only {
        display: none;
        padding: 10px 0 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        box-sizing: border-box;
    }

    .ask-buttons.mobile-only p {
        text-align: center;
        width: 100%;
        margin: 10px 0;
    }
}

/* 2. Duże ekrany (>=1000px) */
@media (min-width: 1000px) {
    .navigation nav[role="navigation"] {
        display: block;
    }

    .navigation .nav.menu {
        display: table !important;
    }

    /* Ukryj hamburgera */
    .hamburger-button {
        display: none !important;
    }

    /* Ukryj mobilne przyciski */
    .ask-buttons.mobile-only {
        display: none !important;
    }
}

/* 3. Aktywne menu na mobile */
.navigation.menu-open nav[role="navigation"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.navigation.menu-open .nav.menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    align-items: center;
}

.navigation.menu-open .ask-buttons.mobile-only {
    display: block !important;
}

.hamburger-button .hamburger-icon {
    display: block;
    margin-top: 8px;
    /* dostosuj wartość */
}

@media (max-width: 500px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* logo | prawa kolumna */
        align-items: start;
        gap: 10px;
    }

    .header-inner .brand img {
        margin-top: 0 !important;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 0 !important;
    }

    /* nowe ustawienie flag */
    .flags-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .item {
        padding: 0 !important;
        margin: 0 !important;
    }

    .flags-wrapper .flag {
        display: inline-flex;
    }

    .images-row {
        display: flex;
        align-items: center;

        gap: 10px;

    }

    .images-row img {
        max-width: 100%;
        height: auto;
    }


    .w-100 {
        margin-top: 20px;
        width: 95% !important;
    }
}

/* Ukryj na dużych ekranach */
.mobile-only-item {
    display: none !important;
    position: static !important;
}

/* Styl dla mobilnych (<768px) */
@media (max-width: 767.98px) {
    .mobile-only-item {
        display: block !important;
        position: static !important;
        /* order: 9999 !important; */
        /* na końcu menu */
    }

    .navigation.menu-open .nav.menu li {
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        margin: 5px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 0.05);
    }

    .navigation.menu-open .nav.menu li a,
    .navigation.menu-open .nav.menu li .nav-header {
        text-align: left !important;
        padding: 10px 12px !important;
        display: block;
        font-size: 0.85rem;
        line-height: 25px;
    }

    .navigation.menu-open .nav.menu {
        width: 80% !important;
        margin-left: 0 !important;
        /* przyklejone do lewej */
        margin-right: auto !important;
        align-items: stretch !important;
        margin-bottom: 20px !important;
    }

    .nav.menu {
        display: flex !important;
        flex-direction: column !important;
    }

    .nav.menu>li {
        width: 100% !important;
        box-sizing: border-box;
        line-height: 30px !important;
    }

    .mobile-only-item a {
        display: block;
        width: 100%;
        padding: 10px 15px;
        /* takie same paddingi jak reszta linków */
        color: inherit;
        text-decoration: none;
        font-size: 1rem;
    }

    .mobile-only-item a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        /* efekt hover taki jak w menu */
    }

    /* Zapewnij, że jest widoczny tylko w rozwiniętym menu */
    .navigation:not(.menu-open) .mobile-only-item {
        display: none !important;
    }

    .navigation .nav.menu li a {
        padding: 0 !important;
        line-height: 30px !important;
        /* margin-left: 5px !important; */

    }

    .navigation .nav.menu .nav-header {
        padding: 0 !important;
        /* line-height: 35px !important; */

    }


}

@media (max-width: 767.98px) {


    .navigation .nav.menu>li>a,
    .navigation .nav.menu>li>.nav-header {
        font-size: 0.85rem !important;

        line-height: 25px !important;

        padding: 6px 0 !important;

    }
}


@media (max-width: 767.98px) {


    .navigation .nav.menu li.parent ul.nav-child li {
        line-height: 24px !important;

        padding: 4px 10px !important;
        min-height: auto !important;
        text-align: center;

    }

    .navigation .nav.menu li.parent ul.nav-child li a {
        padding: 4px 5px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        /* wyśrodkowanie zawartości */
        gap: 5px;
        font-size: 0.90rem !important;
        /* lekko większa czcionka */
    }

    .navigation .nav.menu li.parent ul.nav-child li a img {
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
        /* usuń marginesy */
    }

    .navigation .nav.menu li.parent ul.nav-child li a .image-title {
        font-size: 0.90rem !important;
        /* większa czcionka */
        line-height: 20px !important;
    }
}

/* #fc2624 */
/* ff2e17 */
.mobile-only {
    display: none;
}

/* Na ekranach poniżej 999px chowamy submenu Home i pokazujemy osobne linki */
@media (max-width: 999px) {
    .home-desktop {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .category-item {
        padding-top: 20px;
    }
}

@media (max-width: 767.98px) {

    .navigation .nav.menu>li>a,
    .navigation .nav.menu>li>.nav-header {
        font-size: 0.75rem !important;
        line-height: 15px !important;
        padding: 4px 8px !important;
    }

    .navigation.menu-open .nav.menu {
        margin-left: 20px !important;
    }
}

@media (max-width: 500px) {
    .custom p {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        font-size: 0.7rem;
    }

    .images-row-mobile {
        margin-top: -15px;
    }

    .custom p strong:first-child {
        flex-basis: 100%;
        /* telefon w osobnej linii */
    }

    .custom p strong:nth-child(2),
    .custom p strong:nth-child(3),
    .custom p a[href^="mailto"] {
        display: inline;
    }

    .custom p a[href^="http"] {
        display: inline-block;
        /* ikony w jednej linii */
        margin-right: 6px;
    }

    .header .navigation ul>li.parent {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }



    #bannerCarousel .carousel-control-next {
        right: 16px;
        /* domyślnie jest 0, przesuwamy w lewo */
    }

    .header .navigation ul.nav.menu>li.parent>ul.nav-child {
        width: 80% !important;
    }

    .search.mod_search108 form {
        position: relative;
        width: 100%;
    }

    .search.mod_search108 .inputbox {
        width: 100%;
        height: 40px;
        padding-right: 35px;
        /* miejsce na ikonkę */
        box-sizing: border-box;
    }

    .search.mod_search108 .button {
        position: absolute;
        right: 8px;
        transform: translateY(-50%);
        width: 20px;
        /* dostosuj do swojej ikonki */
        height: 20px;
    }

    .header .search input.button {
        position: absolute;
        top: 21px;
    }

}

@media (max-width: 767.98px) {
    .two-column-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .two-column-nav img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.images-row-mobile {
    display: none;
    /* domyślnie ukryte */
}

@media (max-width: 767.98px) {
    .images-row {
        display: none;

    }

    .images-row-mobile {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 5px;
        width: 100%;
    }

    .images-row-mobile img {
        width: 100%;
        height: auto;
    }
}

.left-footer-title,
.left-footer-address,
.left-footer-contact {
    font-size: 0.8rem;
    margin-bottom: 1px !important;
    font-family: Arial, Helvetica, sans-serif;
}

.left-footer-contact a {
    margin: 0 !important;
}

.footer-facebook {
    margin-bottom: 15px !important;
}


@media (max-width: 767.98px) {

    .left-footer-title,
    .left-footer-address,
    .left-footer-contact {
        margin-bottom: 0px !important;
    }


}
