/* start: STOPKA PANEL KIENTA */
.vest-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0;
}
.vest-footer__client-panel,
.vest-footer__menu {
    box-sizing: border-box;
}
.vest-footer__client-panel {
    flex: 0 0 20%; 
}
.vest-footer__menu {
    flex: 0 0 72%; 
}
@media (max-width: 768px) {
    .vest-footer {
        flex-direction: column;
    }

    .vest-footer__client-panel,
    .vest-footer__menu {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .vest-footer__menu {
        margin-bottom: 0;
    }
    .header-iconbox__link-login .icon, .header-iconbox__link-favorite .icon, .header-iconbox__link .icon { background-size:20px; }
    .header-search__form { padding: 0 0px;}

}
/* end: STOPKA PANEL KIENTA */


/* start: WYSZUKIWARKA */
@media (min-width: 769px) {
    .mobile-search-toggle-searchicon {
        display: none;
    }
}
@media (max-width: 768px) {
    .header-search__cont {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    }
    .mobile-search-toggle-searchicon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5px;
    margin-right: 5px
    }
    .mobile-search-toggle-searchicon img {
    width: 26px;
    height: 26px;
}
}
@media (max-width: 768px) {
    .header-search__cont.show-search {
        max-height: 500px; 
        opacity: 1;
    }
}
/* end: WYSZUKIWARKA */

/* start: STRONA GŁÓWNA - BOKSY/BLOKI */
.vest-collection-section-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny na desktopie */
    gap: 5px;
    margin: 0 0 5px 0;
    overflow: hidden;
    border-top: 1px solid #f4f9f9;
    padding: 0px 0px 10px 0px;
}

.vest-collection-section-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 0 0 5px 0;
    overflow: hidden;
    border-top: 1px solid #f4f9f9;
    padding: 0px 0px 10px 0px;
}

/* Stylizacja dla bloków */
.vest-collection-block {
    border-radius: 0px;
    overflow: hidden;
    text-align: center;
}

/* Stylizacja dla obrazów w blokach */
.vest-collection-image img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}

/* Treść w blokach */
.vest-collection-content {
    padding: 0 0 20px 0;
}

.vest-collection-subtitle {
    font-size: 12px;
    color: #fff;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0px 0px 10px 0px;
}
.vest-collection-subtitle_box {
    font-size: 12px;
    color: #000;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0px 0px 10px 0px;
}

.vest-collection-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0px;
    text-transform: uppercase;
}

.vest-cta-btn {
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
    background-color: #ea3a32;
    border: 1px solid #ea3a32;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.vest-cta-btn:hover {
    background-color: #c1272d;
}

/* Stylizacja dla sekcji tytułu głównego */
.vest-collection-content_bloktitle {
    padding: 20px 0;
    text-align: center;
}

.vest-collection-title_bloktitle {
    font-size: 25px;
    font-weight: 500;
    margin: 0 0 0px 0;
    line-height: 24px;
    color: #252e50;
}
.vest-collection-subtitle-title_bloktitle {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 0px 0;
    line-height: 24px;
    color: #ea3a32;
}

.vest-collection-subtitle_bloktitle {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}

/* Wersja mobilna */
@media (max-width: 768px) {
    /* Zmiana na flex dla mobilnych sekcji */
    .vest-collection-section-5, .vest-collection-section-7, .vest-collection-section-4, .vest-collection-section-9 {
        display: flex;
        overflow-x: auto; /* Zmiana z 'scroll' na 'auto' dla lepszej kompatybilności */
        scroll-snap-type: x mandatory;
        /* Możesz rozważyć usunięcie 'scroll-padding' jeśli powoduje problemy */
        /* scroll-padding: 0 20px; */
        -webkit-overflow-scrolling: touch; /* Dla płynnego przewijania */
    }

    /* Banery w formacie przewijanym */
    .vest-collection-block {
        min-width: 85%;
        margin-right: 15px; /* Odstęp między banerami */
        scroll-snap-align: start;
    }

    .vest-collection-block:last-child {
        margin-right: 0;
    }
}
/* end: STRONA GŁÓWNA - BOKSY/BLOKI */

.klaviyo-form-QQ3a8j { margin:20px 0px;
}

.related-products__item {
    display: flex;
}

.related-products__item-cont.active {
    display: none;
}

/* Ukryj całe li, jeśli produkt jest aktywny */
.related-products__item-cont.active {
    display: none;
}

/* Ukryj całe li, jeśli element zawiera aktywny produkt */
.related-products__item-cont.active + .related-products__item-title {
    display: none;
}

.related-products__item > .related-products__item-cont.active {
    display: none;
}

.related-products__item > .related-products__item-cont.active + .related-products__item-title {
    display: none;
}

.related-products__item > .related-products__item-cont.active {
    display: none;
}

.related-products__item > .related-products__item-cont.active + .related-products__item-title {
    display: none;
}

.header-top__content {flex-wrap: wrap;}
.vestpol-container {margin-bottom:5px !important}

.product-options__atr {font-weight: 400; font-size: 11px; text-transform: uppercase; color:#000}
.fancybox-slide--image .fancybox-close-small, .fancybox-slide--iframe .fancybox-close-small {top: 0;right: 0px !important;}
.list-nav__item.list-view {display:none;}

.product-options-second {
    width: 100%;
}

@media only screen and (max-width: 479px) {
.product-cart__form-options { display: flex; flex-direction: column; flex-flow: wrap; justify-content: space-between; }
.product-options { width: 45%;}
.product-options input {
    width: 100%;
    font-size:10px;
    }
.product-options-second {
    margin-bottom: 10px;
    }
}
.fancybox-slide--image .fancybox-close-small:after {color:#fff !important; text-shadow: 1px 1px 5px #000;}
.product-options-title { width:100%;}
.price-box__price { margin:15px 0px 15px 0px !important; }
.product-options .product-options__items {width:100%}

.product-cart__form-options hr {display:none;}

/* Blog */
.content-box.sbox.articles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Odstęp między elementami */
    justify-content: flex-start; /* Wyrównanie do lewej */
}

.articles-item {
    flex: 0 1 calc(33.333% - 20px); /* Trzy kolumny z uwzględnieniem odstępu */
    box-sizing: border-box; /* Upewnij się, że padding i border są wliczane w szerokość */
    margin-bottom: 20px; /* Odstęp poniżej każdej sekcji */
    padding: 10px; /* Opcjonalnie: dodaj padding wewnątrz artykułów */
    background: #f9f9f9; /* Opcjonalnie: tło dla artykułów */
    border: 1px solid #ddd; /* Opcjonalnie: obramowanie artykułów */
    border-radius: 5px; /* Opcjonalnie: zaokrąglone rogi artykułów */
}

.articles-item img {
    max-width: 100%; /* Upewnij się, że obrazy nie wychodzą poza kontener */
    height: 250px;
}

.articles-item .title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.articles-item .more {
    margin-top: 10px;
    text-align: right; /* Opcjonalnie: wyrównanie linku "Więcej" do prawej */
}
.articles-item .linked {display:none;}
.articles-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Ogranicz tekst do 3 linii na desktopie */
    overflow: hidden;
    text-overflow: ellipsis;
}
/* end: Blog */

/* Stylizacja dla urządzeń mobilnych */
@media (max-width: 768px) {
    .articles-item {
        flex: 0 1 calc(50% - 20px); /* Dwie kolumny z uwzględnieniem odstępu */
    }

    .articles-item p {
        -webkit-line-clamp: 5; /* Ogranicz tekst do 5 linii na mobilnych */
    }
}

/* Stylizacja dla bardzo małych urządzeń (np. telefony) */
@media (max-width: 480px) {
    .articles-item {
        flex: 0 1 100%; /* Jedna kolumna na bardzo małych urządzeniach */
    }

    .articles-item p {
        -webkit-line-clamp: 3; /* Ogranicz tekst do 3 linii na bardzo małych urządzeniach */
    }
}


@media only screen and (max-width: 479px) {
.product-options__item { width: calc(31% - 4px);}
.product-options__items { max-height: 200px; }
}