body a {
    text-decoration: none !important;
    transition: color 0.2s ease-out;
}

body a:hover {
    color: #7fad39;
}

.hero__categories {
    width: 100%;
    padding: 20px 0;
    background-color: #f8f8f8;
}

.main-category-item {
    margin-right: 15px;
}

.dropdown-menu {
    min-width: 200px;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.navbarStyle {
    background-color: #88be4c;
    height: 100px;
    transition: all 0.2s ease-in-out;
}

.custom-background-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    padding: 20px 30px;
    background: linear-gradient(180deg, #ffffff 20%, #4fab24 80%);
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-background-title:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.baner_element .banner__pic {
    width: 100%;
    /* Ustawiamy proporcję 5:2 */
    aspect-ratio: 5 / 2;
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}

.baner_element .banner__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner__pic span {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.baner_element {
    transition: transform 0.3s ease;
    /* Płynna animacja przy zmianie skali */
}

.baner_element:hover {
    transform: scale(1.03);
    /* Powiększenie elementu o 5% */
}

.banner__pic-cstt {
    position: relative;
    overflow: hidden;
}

.banner__pic-cstt img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.banner__pic-cstt span {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.baner_element-cstt {
    transition: transform 0.3s ease;
    /* Płynna animacja przy zmianie skali */
}

.baner_element-cstt:hover {
    transform: scale(1.03);
    /* Powiększenie elementu o 5% */
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.product-image-wrapper img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
}

h2 {
    position: relative;
    padding: 0;
    margin: 0;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

h2 span {
    display: block;
    font-size: 0.5em;
    line-height: 1.3;
}

.titleStyle {
    /* margin-top: 20px; */
    margin-bottom: 20px;
}

.titleStyle h2 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.titleStyle h2:before {
    width: 28px;
    height: 5px;
    display: block;
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    margin-left: -14px;
    background-color: #4fab24;
}

.titleStyle h2:after {
    width: 100px;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 25px;
    left: 50%;
    margin-left: -50px;
    background-color: #4fab24;
}

.box-3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-three {
    color: black;
    transition: all 0.5s;
    position: relative;
}

.btn-three::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s;
}

.btn-three:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
}

.btn-three::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.5);
    transform: scale(1.2, 1.2);
}

.btn-three:hover::after {
    opacity: 1;
    transform: scale(1, 1);
}

.step-circle {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background-color: #dee2e6;
    color: #6c757d;
    font-weight: bold;
    border-radius: 50%;
    line-height: 40px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #6c757d;
    transition: color 0.3s ease;
}

/* Aktywny krok */
.active-step .step-circle {
    background-color: #007bff;
    color: white;
}

.active-step .step-title {
    color: #007bff;
}

/* Ukończony krok */
.completed-step .step-circle {
    background-color: #7fad39;
    color: white;
}

.completed-step .step-title {
    color: #7fad39;
}

.shoping-cart-routes {
    padding-top: 50px;
}

.cartRouteDesc {
    font-size: 13px;
    color: #b3b3b3;
}

.position-relative {
    position: relative;
}

@media (min-width: 769px) {
    .img-top {
        position: absolute;
        z-index: -1;
        opacity: 0.8;
    }

    .img-bottom {
        position: absolute;
        bottom: 0;
        left: 15%;
        z-index: -1;
        opacity: 0.8;
    }
}

.product__details__price {
    font-size: 14px;
    color: #333;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount-price {
    font-size: 20px;
    color: #e53935;
    font-weight: bold;
}

.page-btn {
    margin: 0 4px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: color 0.2s ease-out;
}

.page-btn:hover {
    color: #7fad39;
}

.page-btn.active {
    background: #4fab24;
    color: #fff;
    border-color: #4fab24;
    transition: background-color 0.25s ease-out;
}

.page-btn.active:hover {
    background: #355306;
    color: #ffffff;
}

#product-container {
    margin-top: 2rem !important;
}

.manufacturer-filter.active,
.subcategory-filter.active {
    font-weight: bold;
    color: #4fab24;
    /* background-color: #f2ffec; */
    /* box-shadow: 1px 1px 2px rgb(189, 189, 189); */
    border-radius: 5px;
}

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

.orderHistoryLinkHover {
    color: black;
}

.custom-link {
    display: block;
    text-align: center;
    padding: 5px 5px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    /* background-color: #4fab24; */
    color: white;
    width: 80% !important;
    margin-inline: auto;
    text-decoration: none;
    /* border-radius: 5px; */
    /* border: 1px solid black; */
    -webkit-transition: all, 0.3s;
    -moz-transition: all, 0.3s;
    -ms-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
}

/* .custom-link:hover {
            background-color: #3a8319;
        } */

.mobile-only {
    display: none;
}

.cst-desktop-only {
    display: block !important;
    -webkit-transition: all, 0.3s;
    -moz-transition: all, 0.3s;
    -ms-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
}

@media only screen and (max-width: 767px) {
    .mobile-only {
        display: block;
        -webkit-transition: all, 0.3s;
        -moz-transition: all, 0.3s;
        -ms-transition: all, 0.3s;
        -o-transition: all, 0.3s;
        transition: all, 0.3s;
    }

    .cst-desktop-only {
        display: none !important;
    }
}

.dropdown-menu-main {
    max-height: 500px !important;
    overflow-y: auto !important;
}

.producentsStyle {
    box-shadow: 2px 2px 10px rgb(133, 133, 133);
    border-radius: 4px;
}

.productImageClass {
    display: block;
    margin: auto;
    /* height: 300px; */
    /* max-height: 300px; */
    width: auto;
    object-fit: contain;
}
.product__item img {
    width: 100%;
    aspect-ratio: 1 / 1; /* lub np. 4 / 3, 3 / 4, 16 / 9 – zależnie od Twojego layoutu */
    object-fit: contain; /* lub cover, jeśli chcesz przyciąć */
    border-radius: 0.5rem;
}

.product__item {
    display: flex;
    /* flex-direction:column; */
    /* height: 100%; */
    /* max-height: 95%; */
    padding: 0.5rem;

    border-radius: 0.5rem;
    /* ≈ rounded-3 */
    border: 1px solid rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.header-logo-shift {
    margin-top: -20px;
    margin-bottom: -20px;

    height: 6.25rem;
    /* 100px */
}

.img-pop {
    display: inline-block;
    transition: transform 0.2s ease-out, filter 0.2s ease-out;
    transform-origin: center center;
}

/* efekt po najechaniu */
.img-pop:hover {
    transform: scale(1.05);
    filter: saturate(1.4);
}

.logo-border-anim {
    position: relative;
    /* kotwica dla ::before/::after */
    display: inline-block;
    /* zapobiega pękaniu układu */

    /* --- PSEUDOELEMENTY: dwa obramowania ------------------------ */
    &::before,
    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* pointer-events: none; */
        /* pseudo nie zasłoni obrazka  */
        border: 2px solid transparent;
        transition: transform 0.35s ease, opacity 0.35s ease,
            border-color 0.35s ease;
    }

    /* Obramowanie 1 – „od środka” */
    &::before {
        transform: scale(0.5);
        /* start: mniejsze */
        opacity: 0;
    }

    /* Obramowanie 2 – „z zewnątrz” */
    &::after {
        transform: scale(1.2);
        /* start: większe */
        opacity: 0;
    }

    /* --- HOVER --------------------------------------------------- */
    &:hover::before,
    &:hover::after {
        transform: scale(1);
        /* obydwa do 100 % */
        opacity: 1;
    }

    &:hover::before {
        border-color: #61b914;
    }

    &:hover::after {
        border-color: rgba(0, 0, 0, 0.4);
    }
}

.form-control:focus {
    border-color: #7fad39 !important;
    box-shadow: 0 0 0 0.25rem rgb(127, 173, 57, 0.25) !important;
}

/* app.css lub <style> w layoucie */
.breadcrumbs {
    display: flex;
    /* wszystko w jednym rzędzie */
    flex-wrap: wrap;
    /* w razie braku miejsca może się złamać */
    column-gap: 0.25rem;
    /* odstęp między elementami */
    align-items: center;
    white-space: nowrap;
    /* jeśli chcesz, aby NIGDY się nie łamało */
    padding-block: 1rem;
}

.breadcrumbs a {
    color: #000;
    /* domyślnie czarne */
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #7fad39;
    /* zielone po najechaniu (Bootstrap ‘success’) */
}

/* automatyczny separator “ / ” (zostawiasz tylko <a> w pętli) */
.breadcrumbs a + a::before {
    content: " /";
    margin-right: 0.25rem;
}

@media screen and (max-width: 768px) {
    .breadcrumbs a {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 768px) {
    .producentsStyle {
        margin-bottom: 30px !important;
    }
}

.producentsStyle {
    /* wygląd pudełka */
    background: #fff;
    /* jeśli chcesz zupełnie biały */
    border: 1px solid #212529;
    /* ciemnoszara ramka = kolor tekstu Bootstrap */
    border-radius: 4px;
    /* opcjonalne, usuń jeśli ma być “ostro” */
    box-shadow: none !important;
    /* wycina poprzedni cień */

    /* odstępy */
    padding: 1rem 1.25rem;
    /* wewnątrz */
    margin-bottom: 1.5rem;
    /* na dole (dostosuj według potrzeb) */
}

@media screen and (max-width: 1200px) {
    .producentsStyle {
        font-size: 0.8rem;
        padding-inline: 0.75rem;
        padding-block: 0.75rem;
    }
}

/* linia pod tytułem */
.producentsStyle > hr {
    margin: 0.75rem 0 1rem;
    /* góra | boki | dół */
}

/* --- LISTA PRODUCENTÓW ----------------------------------------- */
/* każdy “rzadek” = flex-row Bootstrapa ⇒ usuń boczne pady, żeby nie
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        zjadały ramki; dzięki temu tekst jest wyrównany z borderem. */
.producentsStyle .row {
    margin-right: 0;
    margin-left: 0;
}

/* trochę luftu między wierszami */
.producentsStyle .row + .row {
    /* każdy kolejny row */
    margin-top: 0.25rem;
}

/* ---------------- SPAN = link udający anchor ------------------- */
.manufacturer-filter {
    display: block;
    /* 100 % szerokości – łatwiej kliknąć */
    padding: 0.25rem 0;
    /* pionowy odstęp */
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

/* zielony hover jak w linkach (zmień jeśli masz zmienną $green itp.) */
.manufacturer-filter:hover {
    color: #7fad39;
}

.product-link {
    /* ← JEST kontenerem siatki  */
    display: grid;
    grid-template-rows: auto 1fr auto;
    /*  obrazek | tytuł | cena   */
    height: 100%;
    text-decoration: none;
}

/* --- TYTUŁ --- */
.product-title {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /*   <= liczba linii   */
    overflow: hidden;

    /* stała wysokość = 3 linie => równe karty   */
    min-height: calc(1.2em * 4);
    /* line-height * liczba linii */
}

/* --- CENA --- */
.product-price {
    margin-top: auto;
    /* i tak siedzi w ostatnim rzędzie, ale to trzyma minimalny odstęp od tytułu  */
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.original-price {
    color: #6c757d;
}

.discount-price {
    color: #c00;
}

.product__item__text {
    margin-top: auto;
    /* popycha blok na sam dół      */
    text-align: center;
    padding: 0.75rem;
    min-height: clamp(80px, 10vw, 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* .product__item > a{
        display:flex;
        flex-direction:column;
        height:100%;
        text-decoration:none;
    } */

.product__item:hover,
.product__item:focus-visible {
    /* border-color: var(--bs-secondary);
       box-shadow: 0 0 .5rem rgba(0, 0, 0, .15); */
}

.product-grid-item {
    margin-bottom: 0rem !important;
}

#manufacturer-filters {
    /* padding-bottom: 15px; */
}

@media (min-width: 768px) and (max-width: 940px) {
    .container {
        max-width: 95% !important;
    }
}

.product__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* .product__item__text {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    } */

.add-to-cart-form button {
    width: 100%;
}

.rating-cst span {
    font-size: 20px;
}
#manufacturerSearch:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #d5dadf !important;
}

.panels {
    /* background-color: #7fad39; */
    border-radius: 8px;
    width: auto;
    text-align: center;
    /* Wyśrodkowanie tekstu poziomo */
    color: white;
    /* Biały kolor tekstu */
    padding: 5px;
    margin: 2px;
    /* Dodatkowy padding dla lepszej czytelności */
    font-weight: bold;
    /* Opcjonalnie pogrubienie tekstu */
    display: flex;
    /* Wyśrodkowanie w pionie i poziomie */
    align-items: center;
    justify-content: center;
}

.panels-promotion {
    background-color: #d00;
}

.panels-bestseller {
    background-color: rgb(151, 0, 0);
}

.panels-vege {
    background-color: rgb(4, 124, 0);
}

.panels-date {
    background-color: rgb(1, 175, 228);
}

.bioIcon {
    color: #7fad39;
}
/* .titleStyle h2 {
        margin-top: 20px;
        font-size:26px; font-weight:700;  letter-spacing:1px; text-transform:uppercase; width:160px; text-align:center; margin:auto; white-space:nowrap; padding-bottom:13px;
      }
    .titleStyle h2:before {
        background-color: #c50000;
        content: '';
        display: block;
        height: 3px;
        width: 75px;
        margin-bottom: 5px;
    }
    .titleStyle h2:after {
        background-color: #c50000;
        content: '';
        display: block;
      position:absolute; right:0; bottom:0;
        height: 3px;
        width: 75px;
        margin-bottom: 0.25em;
    } */
