#wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: white;
}

.custom-align-end {
    display: flex;
    justify-content: flex-end;
    /* Ustawia element na koniec linii */
}

#searchResultsDropdownMobile {
    width: 100vw;
    max-width: none;
    left: 0;
    right: 0;
    /* position: absolute; */
}

.humberger__open .dropdown-menu {
    min-width: 100% !important;
    max-height: none !important;
    padding: 10px 0 !important;
}

.humberger__open .dropdown-item {
    font-size: 18px;
    padding: 12px 20px;
    height: auto;
}

.humberger__open .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.mobile-search-fixed {
    /* position: fixed; */
    top: 10px;
    /* left: 0; */
    right: 0;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

.mobile-search-fixed {

    top: -29px;
    /* transform: translateY(-80px); */
}

#searchResultsDropdownMobile {
    /* z-index: 1000; */
    transition: transform 0.3s ease;
}

#searchResultsDropdownMobile.scrolled {
    transform: translateY(-80px);
    margin-top: 80px;
}

.navbarStyle {
    background-color: white;

}

.header__menu ul li a {
    font-size: 1rem;

}

.active a {
    color: #7fad39 !important;
}

li a:hover {
    color: #7fad39 !important;
}

.nav-item {
    font-size: 14px;
    font-weight: 600;
    height: 100% !important;
}



@media screen and (min-width: 992px) {
    .dropdown-menu-right .dropdown-item {
        width: 180px;
        white-space: normal;
        display: block;
        box-sizing: border-box;
    }

    .dropdown-menu-main .dropdown-item {
        margin: -0.1px 0px !important;
    }

    /* Styl dla głównego menu */
    .dropdown-menu-main {
        position: fixed;
        /* right: 100%; */
        /* margin-inline: 9%  !important; */
        padding-inline: 1% !important;
        padding-top: 0px;
        display: block;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        width: 100vw;
        --line-h: 100%;
        box-sizing: border-box;
        text-align: left;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: hidden !important;
        max-height: none !important;
        transition: height 0.4s ease, opacity 0.4s ease;
    }



    .dropdown-menu-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 18rem;
        width: 1px;
        /* height: 100%; */
        height: var(--line-h);
        background-color: black;
        z-index: 10;
    }

.dropdown-menu-right {
position: absolute;
left: 18rem;
right: auto;
top: 0;
bottom: auto;

padding: 1rem;

display: block !important;
opacity: 0;
visibility: hidden;
z-index: 9999;

width: 80%;
height: auto;
min-height: 0;

text-align: left;

overflow: hidden !important;

box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.0) !important;
}

.dropdown-menu-right:not(.is-visible) {
height: 0 !important;
min-height: 0 !important;
padding-top: 0;
padding-bottom: 0;
overflow: hidden !important;
pointer-events: none;
}

.dropdown-menu-right.is-visible {
opacity: 1;
visibility: visible;
}

    .dropdown-menu {
        /* height: 350px; */
        min-height: 200px;
        scrollbar-width: thin;
        scrollbar-color: #cccccc #f5f5f5;
        border: none;
        box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
    }



    .dropdown-menu-main .dropdown-item {
        padding: 8px 0;
        margin: 4px 0;
        display: block;
    }

    .dropdown-menu-main .dropdown-item.subMainCatStyle {
        max-width: calc(18rem - 1rem);
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        line-height: 1.25;
    }

    .dropdown-menu-main:hover {
        /* width: 330px; */
        /* transition: 1.2s ease; */
    }

    /* .nav-item.dropdown:hover>.dropdown-menu .dropdown-item:hover+.dropdown-menu-right {
        display: block;
        opacity: 1;
        visibility: visible;

        transition: height 0.4s ease, opacity 0.4s ease;
    } */

    .nav-item.dropdown:hover>.nav-link {
        font-weight: bold;
        color: black !important;
        /* główne menu */
    }

    .nav-item.dropdown:hover>.dropdown-menu > .dropdown-item:hover {
        font-weight: bold;
        background: none;
        color: black !important;
        /* pod kategorie (tylko lewa kolumna) */
    }

    .nav-item.dropdown:hover>.dropdown-menu .dropdown-menu-right .dropdown-item-fourth:hover,
    .nav-item.dropdown .dropdown-menu .dropdown-menu-right .dropdown-item-fourth:hover {
        font-weight: 400 !important;
        background: none !important;
        color: #7fad39 !important;
    }

    .nav-item.dropdown .dropdown-menu .dropdown-item .dropdown-item:hover {
        font-weight: bold;
        color: black !important;
    }

    .nav-item.dropdown .dropdown-menu .dropdown-item {
        /* font-size: 1rem; */
        font-size: 14px;
        font-weight: 400;

    }

    .navbar-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

    .nav-link {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 100% !important;
        text-align: center;
        padding-top: 15px;

        padding-bottom: 15px;

        /* padding: none !important; */

        /* background-color: black; */
    }

    body {
        overflow-x: hidden;
    }

    li {
        position: static !important;
    }

    .dropdown-menu-right-column {
        display: inline-block;

        vertical-align: top;

        width: auto;

        padding-right: 25px;
        padding-left: 0.5rem;

        margin-bottom: -2px;
        z-index: 99999;
    }

    .dropdown-menu-main .dropdown-item {
        padding: 12px;
    }

    .dropdown-menu-right .dropdown-item {
        padding: 6px;
    }

    .navbar {
        height: 50px !important;
        padding-inline: 1% !important;
        padding-block: 0 !important;
    }





    /* .dropdown-toggle {
        height: 100% !important;
    } */


    #navbarCategories {
        height: 100%;
    }


    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        /* transition: opacity 0.3s ease, visibility 0.3s ease; */
        /* pointer-events: none; */
    }

    .nav-item.dropdown:hover>.dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-menu {
        transition-delay: 0s;
    }

    /* .nav-item.dropdown:not(:hover)>.dropdown-menu {
        transition-delay: 0.3s;
    } */
}

@media (min-width: 1200px) {

    /* .nav-item.dropdown:hover>.dropdown-menu,
    .dropdown-menu-right:hover {
        display: block;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    } */

    .dropdown-menu-right .dropdown-item {
        width: 180px;
        white-space: normal;
        display: block;
        box-sizing: border-box;
    }

    .dropdown-menu-main .dropdown-item {
        margin: -0.1px 0px !important;
    }

    /* Styl dla głównego menu */
.dropdown-menu-main {
    position: fixed;
    left: 8%;
    width: 85%;

    padding-inline: 1% !important;
    padding-top: 0;

    display: block;
    opacity: 0;
    visibility: hidden;

    z-index: 999;

    --line-h: 100%;
    box-sizing: border-box;

    text-align: left;
    justify-content: space-between;

    overflow-x: hidden;
    overflow-y: hidden !important;
    max-height: none !important;

    transition: height 0.4s ease, opacity 0.4s ease;
}

    .dropdown-menu-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 17rem;
        width: 1px;
        /* height: 100%; */
        height: var(--line-h);
        background-color: black;
        z-index: 10;
    }

.dropdown-menu-right {
position: absolute;
left: 18rem;
right: auto;
top: 0;
bottom: auto;

padding: 1rem;

display: block !important;
opacity: 0;
visibility: hidden;
z-index: 9999;

width: 80%;
height: auto;
min-height: 0;

text-align: left;

overflow: hidden !important;

box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.0) !important;
}

.dropdown-menu-right:not(.is-visible) {
height: 0 !important;
min-height: 0 !important;
padding-top: 0;
padding-bottom: 0;
overflow: hidden !important;
pointer-events: none;
}

.dropdown-menu-right.is-visible {
opacity: 1;
visibility: visible;
}

    .dropdown-menu {
        /* height: 350px; */
        min-height: 200px;
        /* scrollbar-width: thin; */
        scrollbar-color: #777777 #f5f5f5;
        border: none;
        box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
    }

    .dropdown-menu-main .dropdown-item {
        padding: 8px 0;
        margin: 4px 0;
        display: block;
    }

    .dropdown-menu-main .dropdown-item.subMainCatStyle {
        max-width: calc(17rem - 1rem);
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        line-height: 1.25;
    }

    .dropdown-menu-main:hover {
        /* width: 330px; */
        /* transition: 1.2s ease; */
    }

    /* .nav-item.dropdown:hover>.dropdown-menu .dropdown-item:hover+.dropdown-menu-right {
        display: block;
        opacity: 1;
        visibility: visible;

        transition: height 0.4s ease, opacity 0.4s ease;
    } */

    .nav-item.dropdown:hover>.nav-link {
        font-weight: bold;
        color: black !important;
        /* główne menu */
    }

    .nav-item.dropdown:hover>.dropdown-menu > .dropdown-item:hover {
        font-weight: bold;
        background: none;
        color: black !important;
        /* pod kategorie (tylko lewa kolumna) */
    }

    .nav-item.dropdown:hover>.dropdown-menu .dropdown-menu-right .dropdown-item-fourth:hover,
    .nav-item.dropdown .dropdown-menu .dropdown-menu-right .dropdown-item-fourth:hover {
        font-weight: 400 !important;
        background: none !important;
        color: #7fad39 !important;
    }

    .nav-item.dropdown .dropdown-menu .dropdown-item .dropdown-item:hover {
        font-weight: bold;
        color: black !important;
    }

    .nav-item.dropdown .dropdown-menu .dropdown-item {
        /* font-size: 1rem; */
        font-size: 14px;
        font-weight: 400;

    }

    .navbar-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

    .nav-link {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 100% !important;
        text-align: center;
        padding-top: 15px;

        padding-bottom: 15px;

        /* padding: none !important; */

        /* background-color: black; */
    }

    body {
        overflow-x: hidden;
    }

    li {
        position: static !important;
    }

    .dropdown-menu-right-column {
        display: inline-block;

        vertical-align: top;

        width: auto;

        padding-right: 25px;
        padding-left: 0.5rem;

        margin-bottom: -2px;
        z-index: 99999;
    }

    .dropdown-menu-main .dropdown-item {
        padding: 12px;
    }

    .dropdown-menu-right .dropdown-item {
        padding: 6px;
    }

    .navbar {
        height: 50px !important;
        padding-inline: 10% !important;
        padding-block: 0 !important;
    }





    /* .dropdown-toggle {
        height: 100% !important;
    } */


    #navbarCategories {
        height: 100%;
    }


    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        /* transition: opacity 0.3s ease, visibility 0.3s ease; */
        /* pointer-events: none; */
    }

    .nav-item.dropdown:hover>.dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-menu {
        transition-delay: 0s;
    }

    /* .nav-item.dropdown:not(:hover)>.dropdown-menu {
        transition-delay: 0.3s;
    } */
}


@media screen and (max-width: 991px) {
    :root {
        --split-hit: 80px;
    }

    #container-ham .navbar {
        flex-wrap: wrap;
        align-items: center;
    }

    #container-ham .navbar-toggler {
        margin: 0.5rem 0.75rem;
    }

    #navbarCategories.navbar-collapse.show,
    #navbarCategories.navbar-collapse.collapsing {
        display: block !important;
        width: 100%;
    }

    .header__top__right__language.is-open ul {
        top: 43px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-toggle::after {
        border: 0;
    }

    /* .nav-link.dropdown-toggle {
        font-size: 1.2rem;
    } */

    .nav-link {
        font-size: 1.2rem;
    }

    .dropdown-menu-main .dropdown-item {
        font-weight: bold;
    }

    .dropdown-menu-right .dropdown-item {
        font-weight: normal;
        padding-left: 35px;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        white-space: normal;
        /* pozwól łamać wiersz */
        /* overflow-wrap: anywhere;    łamie też bardzo długie słowa */
        /* line-height: 1.3;           odrobinę gęściej, żeby zmieścić więcej */
    }

    .navbar-nav .dropdown-menu .dropdown-item:active {
        color: inherit;
        background-color: inherit;
    }

    /* Ukryj submenu na mobilkach domyślnie */
    .navbar-nav .dropdown-menu {
        display: none !important;
    }

    /* Pokaż, jeśli aktywne */
    .navbar-nav .dropdown-menu.show-submenu {
        display: block !important;
    }

    /* 1.  <a> – kotwica i odstęp na strzałkę  */
    .navbar-nav .nav-item.dropdown>.nav-link {
        position: relative;
        /* kotwica dla ::after */
        display: flex;
        /* tekst z lewej, strzałka z prawej */
        justify-content: space-between;
        align-items: center;
        padding-right: calc(var(--split-hit)*0.8);
    }

    /* 2.  Pseudo-element = cały obszar, w który klikamy            */
    .navbar-nav .nav-item.dropdown>.nav-link::after {
        content: '';
    }

    .navbar-nav .nav-item.dropdown>.nav-link.has-submenu::after {
        /* ▼ albo ▶ – zależnie od stanu */
        content: '▼';
        position: absolute;
        top: 0;
        right: 0;
        width: var(--split-hit);
        height: 100%;
        display: flex;
        /* centrujemy znak                   */
        align-items: center;
        justify-content: end;
        font-size: 1rem;
        pointer-events: none;
        /* klik przechodzi na całe <a>       */
        /* padding-right: calc(var(--split-hit) * 0.15); */
        padding-right: 0.25rem;
    }

    /* -------------  DRUGI POZIOM (subMainCatStyle) ------------- */
    .dropdown-item.subMainCatStyle {
        position: relative;
        padding-right: calc(var(--split-hit)*0.5);
        /* zostawiamy hit-box */
        font-weight: bold;
        /* wizualnie 2-gi lvl */
    }

    .dropdown-item.subMainCatStyle::after {
        content: '';
    }

    .dropdown-item.subMainCatStyle.has-submenu::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 0;
        width: var(--split-hit);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        pointer-events: none;
        font-size: 0.85rem;
        font-weight: 600;
        /* padding-right: calc(var(--split-hit)*0.15); */
        padding-right: 0.875rem;
    }

    /* gdy 3-ci poziom otwarty – strzałka w dół */
    .dropdown-item.subMainCatStyle.open::after {
        content: '▲';
    }

    /* -------------  TRZECI POZIOM (dropdown-menu-right) -------- */
    .dropdown-menu-right {
        padding-left: 1.6rem;
        /* wizualne wcięcie            */
        background: #fff;
        /* kontrast przy przewijaniu   */
        box-shadow: none;
        /* zero cieni na mobile        */
    }

    .dropdown-menu-right .dropdown-item {
        font-weight: 500;
        padding-left: .5rem;
        /* lekkie wcięcie w stosunku do 2-go poziomu */
    }

    /* Gdy submenu otwarte, zmień strzałkę */
    .navbar-nav .nav-item.dropdown.open>.nav-link::after {
        content: '▲';
        /* strzałka w górę */
    }
}

/* Na desktopie nic nie zmieniamy */
@media screen and (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        display: block !important;
    }

    .navbar-nav .dropdown-menu.dropdown-menu-right {
        display: block !important;
    }

    .navbar-nav .nav-item.dropdown>.nav-link::after {
        content: '';
    }
}

.container {
    min-width: 80% !important;
}

@media screen and (max-width: 992px) {
    #container-ham {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
}


/* .header {

}

.hero {
    position: sticky;
    top: 130px;
    z-index: 999;
    background-color: white;
    transition: all 0.2s ease-in-out;
} */

@media screen and (max-width: 991px) {
    .header__logo a {
        margin-top: 5px;
        margin-bottom: 5px;
        width: 130px;
        height: auto !important;
    }

    .header__logo {
        height: 60px;
    }

    .indyvidualContactOnMobile {
        display: block;
    }

    .indyvidualContactOnMobile p {
        font-size: 13px !important;
        text-align: center;
        margin: 0;
    }

    .mobile-search-fixed {
        margin-top: 50px;
        margin-right: 10px
    }

}

@media screen and (min-width: 992px) {
    .header__logo {
        width: 200px;
        height: auto !important;
    }

    .indyvidualContactOnMobile {
        display: none;
    }
}

.input-group {
    width: 170px;
}

#searchProducts {
    border-right: none;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    height: 38px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-right: 22px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.classicViewSearch .desktop-search-field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}

.classicViewSearch .desktop-search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    z-index: 2;
}

.classicViewSearch .desktop-search-clear[hidden] {
    display: none !important;
}

.classicViewSearch .desktop-search-clear i {
    font-size: 12px;
    line-height: 1;
}

#search-submit {
    cursor: pointer;
    background-color: white;
}

#search-submit i {
    font-size: 13px;
    transition: all 0.3s ease;
}

/* Ustawienie stałej szerokości dla inputa i ikony */


.input-group-append {
    width: 20px;
    /* Stała szerokość sekcji z ikoną */
}

.humberger__open .input-group {
    margin-right: 15px;
}

.mobile-search-fixed .input-group {
    display: flex;
    flex-wrap: nowrap !important;
    flex-direction: row;
    align-items: stretch;
    height: 38px;
    width: 130px;
    gap: 0;
}

.mobile-search-fixed .input-group > .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.mobile-search-fixed .mobile-search-field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
    margin: 0;
}

.mobile-search-fixed #searchProductsMobile {
    height: 38px;
    width: 100%;
    min-width: 0;
    border-right: none;
    box-sizing: border-box;
    padding-right: 22px;
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mobile-search-fixed .mobile-search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}

.mobile-search-fixed .mobile-search-clear[hidden] {
    display: none !important;
}

.mobile-search-fixed .mobile-search-clear i {
    font-size: 12px;
    line-height: 1;
}

.mobile-search-fixed .input-group-append {
    width: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    margin: 0 !important;
}

.mobile-search-fixed #search-submit-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mobile-search-fixed #search-icon-mobile {
    font-size: 13px;
    line-height: 1;
}

.input-group-append {
    cursor: pointer;
}



#searchResultsDropdown,
#searchResultsDropdownMobile {
    max-height: min(70vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid #ebe7dd;
    border-radius: 12px;
    z-index: 99999;
    height: auto;
    box-shadow: 0 8px 24px rgba(43, 34, 8, 0.1);
    padding: 6px 4px;
}

#searchResultsDropdown {
    left: 0;
    top: 65%;
    margin-top: 4px;
    position: absolute;
}








.search-result-item {
    cursor: default;
    border-bottom: none;
}

.search-result-item:hover {
    background-color: transparent;
}

.search-result-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 0;
}

.search-result-item h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.search-result-item p {
    margin: 0;
    font-size: 12px;
    color: #555;
}

#searchResultsDropdownMobile {
    left: 0;
    right: 0;
    width: 100vw;
    display: none;
    z-index: 9999;
}

.ae-search-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 6px;
    margin: 0 4px 6px;
    border: 1px solid #ebe7dd;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ae-search-item:last-child {
    margin-bottom: 0;
}

.ae-search-item:hover {
    border-color: #d8d0bc;
    box-shadow: 0 4px 14px rgba(43, 34, 8, 0.08);
    background: #fbfaf7;
}

.ae-search-item__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
    text-transform: none;
}

#searchResultsDropdown .ae-search-item__link,
#searchResultsDropdownMobile .ae-search-item__link,
.custom-dropdown .ae-search-item__link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.ae-search-item__link:hover {
    color: inherit;
    text-decoration: none;
}

.ae-search-item__pic-wrap {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin-left: 12px;
    border-radius: 8px;
    border: 1px solid #ebe7dd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ae-search-item__pic {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ae-search-item__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.ae-search-item__title {
    margin: 0;
    font-family: var(--body, 'Open Sans', sans-serif);
    font-size: 13px;
    font-weight: 500 !important;
    line-height: 1.35;
    color: #2b2a25;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ae-search-item__body .ae-price {
    margin: 0;
    font-family: var(--head, Montserrat, sans-serif);
    font-weight: 800;
    font-size: 15px;
    color: #305308;
    line-height: 1.2;
}

.ae-search-item__body .ae-price s {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    margin-right: 6px;
}

.ae-search-item__body .ae-price.promo {
    color: #c0392b;
}

.ae-flags.ae-flags--search-inline {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 4px;
    align-items: flex-start;
}

.ae-search-item .ae-flag {
    font-size: 0.62rem;
    gap: 5px;
    padding: 0 7px 0 0;
}

.ae-search-item .ae-flag svg {
    width: 18px;
    height: 18px;
    padding: 4px;
}

.ae-search-item__cart {
    flex: 0 0 auto;
    margin: 0 20px 0 12px;
    align-self: center;
}

.ae-search-item__cart .ae-add,
.ae-search-item__cart .ae-search-add-btn {
    width: auto;
    min-height: 36px;
    height: auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: #305308;
    color: #fff;
    border: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-family: var(--head, Montserrat, sans-serif);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.ae-search-item__cart .ae-add:hover,
.ae-search-item__cart .ae-search-add-btn:hover {
    background: #e8dfc8;
    color: #2b2208;
}

.ae-search-add-btn__label {
    display: inline-block;
}

.ae-search-add-btn__icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.ae-search-item__cart .ae-add i {
    font-size: 14px;
    color: inherit;
}

.ae-search-empty {
    margin: 0;
    padding: 14px 16px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.ae-search-hint {
    line-height: 1.45;
    color: var(--muted, #6f7368);
}



.custom-dropdown {
    background-color: #fff;
    border: 1px solid #ebe7dd;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(43, 34, 8, 0.1);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    position: absolute;
    z-index: 99999;
    display: none;
    width: 100%;
    padding: 6px 0;
}

#searchResultsDropdown:not(.show),
#searchResultsDropdownMobile:not(.show),
#searchResultsDropdown[hidden],
#searchResultsDropdownMobile[hidden] {
    display: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

#searchResultsDropdown.show:empty,
#searchResultsDropdownMobile.show:empty {
    display: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.custom-dropdown.show {
    display: block;
}

.custom-dropdown .dropdown-item {
    padding: 0;
    color: inherit;
    text-decoration: none;
    display: block;
    background: transparent;
}

.custom-dropdown .dropdown-item.ae-search-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

#searchResultsDropdown .ae-search-item,
#searchResultsDropdownMobile .ae-search-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.custom-dropdown .dropdown-item:hover {
    background-color: transparent;
    color: inherit;
    cursor: default;
}

@media (max-width: 991.98px) {
    .ae-search-item {
        margin: 0 6px 8px;
        padding: 10px 10px 10px 4px;
        gap: 8px;
    }

    .ae-search-item__pic-wrap {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        margin-left: 10px;
    }

    .ae-search-item__title {
        font-size: 12.5px;
    }

    .ae-search-item__cart {
        margin: 0 14px 0 8px;
    }

    .ae-search-item__cart .ae-add,
    .ae-search-item__cart .ae-search-add-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .ae-search-add-btn__icon {
        width: 15px;
        height: 15px;
    }
}

/* .classicViewSearch {
    width: 300px !important;
} */

.middleNavLink {
    color: #6f6f6f;
}

.middleNavLink:hover {
    color: #7fad39;
}

.mobileViewText {
    width: 90% !important;
    white-space: normal;
    /* pozwala na łamanie linii */
    word-wrap: break-word;
    /* łamie długie słowa, jeśli trzeba */
    overflow-wrap: break-word;
    /* to samo, nowsza wersja */
}

.mobileViewText h5 {
    width: 90%;
}

/* =-======================== */
/* .classicViewSearch {
    transition: all 0.4s ease !important;
}

.classicViewSearch.scrolled {
    position: fixed;
    top: 40px;
    left: 0;
    width: 300px;
    z-index: 1001;
    transform: translateX(0) !important;
} */
.classicViewWrapper {
    position: fixed;
    top: 90px;
    left: 25%;
    transform: translateX(-10%);
    /* dokładnie wyśrodkowany */
    /* transition: all 0.4s ease; */
    z-index: 1001;
    width: 100%;
    max-width: 300px;
    transition: all 0.2s ease-in-out;
}

.classicViewWrapper.scrolled {
    left: auto;
    right: 0;
    transform: translateX(-30%);
    /* już nie przesuwamy, bo pozycjonujemy z prawej */
    width: 300px;
}

/* ========================== */
#searchResultsDropdown {
    position: absolute;
    top: 100%;
    left: 10%;
    transform: translateX(-50%);
    width: min(800px, calc(100vw - 32px));
    background: #fff;
    z-index: 1001;
    border: 1px solid #ebe7dd;
    border-radius: 12px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(43, 34, 8, 0.1);
    padding: 6px 0;
}

/* Dropdown po scrollu — przesunięty pod prawy input */
#searchResultsDropdown.scrolled {
    position: fixed;
    left: auto;
    right: 0;
    transform: translateX(8%);
    width: min(800px, calc(100vw - 32px)) !important;
}

.input-groupClassic {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    align-items: stretch;
}

@media screen and (min-width: 992px) {
    .page-aleeko .input-groupClassic {
        width: 100%;
        max-width: 100%;
    }
}

.header-logo {
    width: 200px;
    max-height: 72px;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: all 0.2s ease-in-out;
}

.header-logo-col {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 18px;
    box-sizing: border-box;
}

.header__logo {
    min-height: 72px;
}

@media screen and (max-width: 991px) {
    .header.scrolled .header-logo {
        width: 150px;
        max-height: 56px;
    }

    .header.scrolled .header-logo-col {
        padding-top: 0;
    }

    .header.scrolled .header__menu {
        padding: 22px 0 0 0;
    }

    .hero.hero-normal.scrolled {
        padding-top: 0;
        padding-bottom: 0;
    }

    .header.scrolled .navbarStyle {
        height: 80px;
    }

    .header.scrolled .classicViewWrapper {
        top: 72px;
    }

    .header .indyvidualContactOnMobile {
        display: none;
    }

    .header .header-logo {
        width: 150px;
        max-height: 56px;
    }

    .header .header-logo-col {
        padding-top: 0;
    }

    .hero.hero-normal {
        padding-bottom: 0;
    }

    .header .navbarStyle {
        height: 80px;
    }

    .header .classicViewWrapper {
        top: 72px;
    }

    /* .hero.hero-normal.scrolled {
        top: 80px;
    } */

    .mobile-search-fixed {
        margin-right: 4px;
    }

    .mobile-search-fixed .input-group {
        width: 200px;
    }

    .header .header__menu {
        padding: 22px 0 0 0;
    }
}



.dropdown-item-third {
font-size: 16px;
font-weight: 700 !important;
text-transform: uppercase;
letter-spacing: 0.5px;

display: block;

padding-bottom: 6px !important;
margin-bottom: 6px;

border-bottom: 1.5px solid #6b6b6b;
}

.dropdown-item-third:hover {
color: #7fad39 !important;
/* background: none; */
}

.dropdown-fourth-level {
margin-top: -2px;
/* padding-left: 18px; */
margin-bottom: 8px;
}

.dropdown-item-fourth {
font-size: 12px;
font-weight: 400;
color: #6f6f6f;
display: block;
padding: 2px 0 2px 0;
line-height: 1.2;
}

.dropdown-item-fourth:hover {
color: #7fad39 !important;
background: none !important;
}


.third-fourth-block {
width: 180px;
max-width: 180px;
box-sizing: border-box;
margin-bottom: 18px;
}

@media screen and (min-width: 992px) {
    .dropdown-menu-right .third-fourth-block {
        position: absolute;
        margin-bottom: 0;
    }

    .dropdown-menu-right .masonry-spacer {
        width: 1px;
        pointer-events: none;
        visibility: hidden;
    }
}

/* .header.scrolled .header-logo-shift {
    height: 80px;
    transition: height 0.2s ease-in-out;
}

.header.scrolled .header__menu {
    padding: 15px 0 0 0;
    transition: padding 0.2s ease-in-out;
} */

                    .cart-link {
                        position: relative;
                        display: flex;
                        align-items: center;
                        gap: 5px;
                    }

                    .cart-icon-wrapper {
                        position: relative;
                        display: inline-block;
                    }

                    .cart-icon-wrapper i {
                        font-size: 22px;
                        color: #7fad39;
                    }

                    /* ✔️ Zielone okrągłe kółko z liczbą */
                    .cart-badge {
                        position: absolute;
                        top: -8px;
                        right: -10px;
                        background-color: #7fad39;
                        color: white;
                        font-size: 11px;
                        font-weight: bold;
                        padding: 2px 6px;
                        border-radius: 50%;
                        min-width: 18px;
                        height: 18px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }

                    /* Tekst Koszyk obok ikony */
                    .cart-text {
                        color: #7fad39;
                        font-weight: 500;
                        font-size: 16px;
                    }

/* Mobile bottom menu (hamberger.blade.php) */
.humberger__menu__wrapper {
display: none;
}

.mobile-menu-wrapper {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
max-width: 100%;
box-sizing: border-box;
background-color: #fff;
box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
z-index: 999;
overflow: hidden;
}

.mobile-menu {
display: flex;
justify-content: space-around;
width: 100%;
max-width: 100%;
padding: 10px 0;
margin: 0;
box-sizing: border-box;
}

.mobile-menu li {
list-style: none;
text-align: center;
width: 25%;
min-width: 0;
}

.mobile-menu li a {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-decoration: none;
color: #000;
}

.mobile-menu li i {
font-size: 24px;
margin-bottom: 5px;
}

.mobile-menu li span {
font-size: 10px;
color: #000;
}

.mobile-menu li a:hover,
.mobile-menu li a:hover i,
.mobile-menu li a:hover span {
color: #4fab24;
}

@media screen and (max-width: 768px) {
.mobile-menu-wrapper {
    display: block;
}

.humberger__menu__wrapper {
    display: none;
}

.searchOption {
    display: block;
}
}

.cart-count {
position: absolute;
top: 0;
background-color: #4fab24;
color: white;
font-size: 14px !important;
padding: 2px 6px;
border-radius: 50%;
font-weight: bold;
line-height: 1;
}



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

    .nav-item{
        margin-left: 15px;
    }

}